mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 04:11:57 +00:00
feat: Add crypto, getRandomString
This commit is contained in:
10
lib/types.ts
10
lib/types.ts
@@ -390,10 +390,12 @@ export type Effects = {
|
||||
|
||||
stopped(packageId?: string): Promise<boolean>
|
||||
|
||||
vaultList(): Promise<string[]>
|
||||
vaultSet(opt: { key: string; value: string }): Promise<void>
|
||||
vaultMove(opt: { fromKey: string; toKey: string }): Promise<void>
|
||||
vaultDelete(opt: { key: string }): Promise<void>
|
||||
vault: {
|
||||
list(): Promise<string[]>
|
||||
set(opt: { key: string; value: string }): Promise<void>
|
||||
move(opt: { fromKey: string; toKey: string }): Promise<void>
|
||||
delete(opt: { key: string }): Promise<void>
|
||||
}
|
||||
}
|
||||
|
||||
// prettier-ignore
|
||||
|
||||
Reference in New Issue
Block a user