mirror of
https://github.com/standardnotes/server
synced 2026-07-14 09:01:33 -04:00
refactor: vault files
This commit is contained in:
@@ -2,4 +2,5 @@ export enum ValetTokenOperation {
|
||||
Read = 'read',
|
||||
Write = 'write',
|
||||
Delete = 'delete',
|
||||
Move = 'move',
|
||||
}
|
||||
|
||||
@@ -4,4 +4,11 @@ export type VaultValetTokenData = {
|
||||
vaultUuid: string
|
||||
permittedOperation: ValetTokenOperation
|
||||
remoteIdentifier: string
|
||||
unencryptedFileSize?: number
|
||||
uploadBytesUsed: number
|
||||
uploadBytesLimit: number
|
||||
moveOperation?: {
|
||||
type: 'vault-to-user' | 'user-to-vault'
|
||||
userUuid: string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user