@shumai-one/shumai-transcode 0.4.3 → 0.4.5

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.4.3",
3
+ "version": "0.4.5",
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.5.4"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@shumai-one/shumai-transcode-darwin-arm64": "0.4.3",
31
- "@shumai-one/shumai-transcode-darwin-x64": "0.4.3",
32
- "@shumai-one/shumai-transcode-linux-arm64": "0.4.3",
33
- "@shumai-one/shumai-transcode-linux-x64": "0.4.3",
34
- "@shumai-one/shumai-transcode-win32-arm64": "0.4.3",
35
- "@shumai-one/shumai-transcode-win32-x64": "0.4.3"
30
+ "@shumai-one/shumai-transcode-darwin-arm64": "0.4.5",
31
+ "@shumai-one/shumai-transcode-darwin-x64": "0.4.5",
32
+ "@shumai-one/shumai-transcode-linux-arm64": "0.4.5",
33
+ "@shumai-one/shumai-transcode-linux-x64": "0.4.5",
34
+ "@shumai-one/shumai-transcode-win32-arm64": "0.4.5",
35
+ "@shumai-one/shumai-transcode-win32-x64": "0.4.5"
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "assets" ADD COLUMN "upload_id" TEXT;
@@ -0,0 +1,2 @@
1
+ -- CreateIndex
2
+ CREATE INDEX "asset_comments_asset_id_idx" ON "asset_comments"("asset_id");
@@ -522,6 +522,7 @@ model Asset {
522
522
  sizeByte BigInt @default(0) @map("size_byte")
523
523
  status AssetStatus
524
524
  transcodeTaskId String? @map("transcode_task_id")
525
+ uploadId String? @map("upload_id")
525
526
  /// [MediaInfo]
526
527
  media Json?
527
528
  isDeleted Boolean @default(false) @map("is_deleted")
@@ -656,6 +657,7 @@ model AssetComment {
656
657
 
657
658
  attachments AssetCommentAttachment[] @relation("CommentToAttachment")
658
659
 
660
+ @@index([assetId])
659
661
  @@map("asset_comments")
660
662
  }
661
663