@shumai-one/shumai-transcode 0.3.7 → 0.3.8
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.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Media transcoding worker for the shumai media workspace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"zod": "4.4.3"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@shumai-one/shumai-transcode-darwin-arm64": "0.3.
|
|
31
|
-
"@shumai-one/shumai-transcode-darwin-x64": "0.3.
|
|
32
|
-
"@shumai-one/shumai-transcode-linux-arm64": "0.3.
|
|
33
|
-
"@shumai-one/shumai-transcode-linux-x64": "0.3.
|
|
34
|
-
"@shumai-one/shumai-transcode-win32-arm64": "0.3.
|
|
35
|
-
"@shumai-one/shumai-transcode-win32-x64": "0.3.
|
|
30
|
+
"@shumai-one/shumai-transcode-darwin-arm64": "0.3.8",
|
|
31
|
+
"@shumai-one/shumai-transcode-darwin-x64": "0.3.8",
|
|
32
|
+
"@shumai-one/shumai-transcode-linux-arm64": "0.3.8",
|
|
33
|
+
"@shumai-one/shumai-transcode-linux-x64": "0.3.8",
|
|
34
|
+
"@shumai-one/shumai-transcode-win32-arm64": "0.3.8",
|
|
35
|
+
"@shumai-one/shumai-transcode-win32-x64": "0.3.8"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `agentmd` on the `assets` table. All the data in the column will be lost.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- AlterTable
|
|
8
|
+
ALTER TABLE "assets" DROP COLUMN "agentmd";
|
|
9
|
+
|
|
10
|
+
-- CreateTable
|
|
11
|
+
CREATE TABLE "asset_agentmd" (
|
|
12
|
+
"asset_id" TEXT NOT NULL,
|
|
13
|
+
"content" TEXT NOT NULL,
|
|
14
|
+
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
15
|
+
"updated_at" TIMESTAMP(3) NOT NULL,
|
|
16
|
+
|
|
17
|
+
CONSTRAINT "asset_agentmd_pkey" PRIMARY KEY ("asset_id")
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
-- AddForeignKey
|
|
21
|
+
ALTER TABLE "asset_agentmd" ADD CONSTRAINT "asset_agentmd_asset_id_fkey" FOREIGN KEY ("asset_id") REFERENCES "assets"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
package/prisma/schema.prisma
CHANGED
|
@@ -490,6 +490,7 @@ model Asset {
|
|
|
490
490
|
shareLinkRootFolder ShareLink? @relation("ShareLinkToRootFolder")
|
|
491
491
|
agentSessions AgentSession[] @relation("AssetToAgentSession")
|
|
492
492
|
watermarkFiles WatermarkFile[] @relation("AssetToWatermarkFile")
|
|
493
|
+
agentMd AssetAgentMd? @relation("AssetToAgentMd")
|
|
493
494
|
|
|
494
495
|
@@map("assets")
|
|
495
496
|
@@index([type])
|
|
@@ -537,6 +538,17 @@ model AssetMetadataValue {
|
|
|
537
538
|
@@map("asset_metadata_values")
|
|
538
539
|
}
|
|
539
540
|
|
|
541
|
+
model AssetAgentMd {
|
|
542
|
+
assetId String @id @map("asset_id")
|
|
543
|
+
content String @db.Text
|
|
544
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
545
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
546
|
+
|
|
547
|
+
asset Asset @relation("AssetToAgentMd", fields: [assetId], references: [id], onDelete: Cascade)
|
|
548
|
+
|
|
549
|
+
@@map("asset_agentmd")
|
|
550
|
+
}
|
|
551
|
+
|
|
540
552
|
model AssetComment {
|
|
541
553
|
id String @id @default(ulid())
|
|
542
554
|
message String?
|