@shumai-one/shumai-transcode 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shumai-one/shumai-transcode",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Media transcoding worker for the shumai media workspace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"exiftool-vendored": "38.1.0"
|
|
26
26
|
},
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"@shumai-one/shumai-transcode-darwin-arm64": "0.6.
|
|
29
|
-
"@shumai-one/shumai-transcode-darwin-x64": "0.6.
|
|
30
|
-
"@shumai-one/shumai-transcode-linux-arm64": "0.6.
|
|
31
|
-
"@shumai-one/shumai-transcode-linux-x64": "0.6.
|
|
32
|
-
"@shumai-one/shumai-transcode-win32-arm64": "0.6.
|
|
33
|
-
"@shumai-one/shumai-transcode-win32-x64": "0.6.
|
|
28
|
+
"@shumai-one/shumai-transcode-darwin-arm64": "0.6.4",
|
|
29
|
+
"@shumai-one/shumai-transcode-darwin-x64": "0.6.4",
|
|
30
|
+
"@shumai-one/shumai-transcode-linux-arm64": "0.6.4",
|
|
31
|
+
"@shumai-one/shumai-transcode-linux-x64": "0.6.4",
|
|
32
|
+
"@shumai-one/shumai-transcode-win32-arm64": "0.6.4",
|
|
33
|
+
"@shumai-one/shumai-transcode-win32-x64": "0.6.4"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
-- AlterEnum
|
|
2
|
+
-- This migration adds more than one value to an enum.
|
|
3
|
+
-- With PostgreSQL versions 11 and earlier, this is not possible
|
|
4
|
+
-- in a single migration. This can be worked around by creating
|
|
5
|
+
-- multiple migrations, each migration adding only one value to
|
|
6
|
+
-- the enum.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
ALTER TYPE "AssetStatus" ADD VALUE 'archiving';
|
|
10
|
+
ALTER TYPE "AssetStatus" ADD VALUE 'archived';
|
|
11
|
+
ALTER TYPE "AssetStatus" ADD VALUE 'restoring';
|
|
12
|
+
|
|
13
|
+
-- AlterEnum
|
|
14
|
+
-- This migration adds more than one value to an enum.
|
|
15
|
+
-- With PostgreSQL versions 11 and earlier, this is not possible
|
|
16
|
+
-- in a single migration. This can be worked around by creating
|
|
17
|
+
-- multiple migrations, each migration adding only one value to
|
|
18
|
+
-- the enum.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
ALTER TYPE "WorkflowTaskType" ADD VALUE 'archive_asset';
|
|
22
|
+
ALTER TYPE "WorkflowTaskType" ADD VALUE 'restore_asset';
|
|
23
|
+
|
|
24
|
+
-- AlterTable
|
|
25
|
+
ALTER TABLE "storage_keys" ADD COLUMN "is_archived" BOOLEAN NOT NULL DEFAULT false;
|
package/prisma/schema.prisma
CHANGED
|
@@ -40,6 +40,9 @@ enum AssetStatus {
|
|
|
40
40
|
uploaded
|
|
41
41
|
processing
|
|
42
42
|
processed
|
|
43
|
+
archiving
|
|
44
|
+
archived
|
|
45
|
+
restoring
|
|
43
46
|
failed
|
|
44
47
|
trashed
|
|
45
48
|
pending_purge
|
|
@@ -128,6 +131,8 @@ enum WorkflowTaskType {
|
|
|
128
131
|
query_embedding_for_search
|
|
129
132
|
agent_tool_call // @deprecated: Agent tools now execute directly in-process via Core services
|
|
130
133
|
kanban_agent_run
|
|
134
|
+
archive_asset
|
|
135
|
+
restore_asset
|
|
131
136
|
}
|
|
132
137
|
|
|
133
138
|
enum WorkflowTaskStatus {
|
|
@@ -606,12 +611,13 @@ model Asset {
|
|
|
606
611
|
}
|
|
607
612
|
|
|
608
613
|
model StorageKey {
|
|
609
|
-
id
|
|
610
|
-
key
|
|
611
|
-
status
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
614
|
+
id String @id @default(ulid())
|
|
615
|
+
key String @unique
|
|
616
|
+
status StorageKeyStatus @default(active)
|
|
617
|
+
isArchived Boolean @default(false) @map("is_archived")
|
|
618
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
619
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
620
|
+
assets Asset[]
|
|
615
621
|
|
|
616
622
|
@@map("storage_keys")
|
|
617
623
|
}
|