mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 02:57:20 +00:00
refactor(asset): optimize cleanup job and solidify GC with locking
This commit is contained in:
Generated
+9
-2
@@ -37,13 +37,20 @@ export const AssetStatus = {
|
||||
processing: 'processing',
|
||||
processed: 'processed',
|
||||
trashed: 'trashed',
|
||||
pending_purge: 'pending_purge',
|
||||
purging: 'purging'
|
||||
pending_purge: 'pending_purge'
|
||||
} as const
|
||||
|
||||
export type AssetStatus = (typeof AssetStatus)[keyof typeof AssetStatus]
|
||||
|
||||
|
||||
export const StorageKeyStatus = {
|
||||
active: 'active',
|
||||
purging: 'purging'
|
||||
} as const
|
||||
|
||||
export type StorageKeyStatus = (typeof StorageKeyStatus)[keyof typeof StorageKeyStatus]
|
||||
|
||||
|
||||
export const InviteRole = {
|
||||
editor: 'editor',
|
||||
reviewer: 'reviewer'
|
||||
|
||||
Reference in New Issue
Block a user