@shumai-one/shumai-transcode 0.1.6 → 0.1.7
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.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Media transcoding worker for the shumai media workspace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"zod": "4.4.3"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@shumai-one/shumai-transcode-darwin-arm64": "0.1.
|
|
30
|
-
"@shumai-one/shumai-transcode-darwin-x64": "0.1.
|
|
31
|
-
"@shumai-one/shumai-transcode-linux-arm64": "0.1.
|
|
32
|
-
"@shumai-one/shumai-transcode-linux-x64": "0.1.
|
|
33
|
-
"@shumai-one/shumai-transcode-win32-arm64": "0.1.
|
|
34
|
-
"@shumai-one/shumai-transcode-win32-x64": "0.1.
|
|
29
|
+
"@shumai-one/shumai-transcode-darwin-arm64": "0.1.7",
|
|
30
|
+
"@shumai-one/shumai-transcode-darwin-x64": "0.1.7",
|
|
31
|
+
"@shumai-one/shumai-transcode-linux-arm64": "0.1.7",
|
|
32
|
+
"@shumai-one/shumai-transcode-linux-x64": "0.1.7",
|
|
33
|
+
"@shumai-one/shumai-transcode-win32-arm64": "0.1.7",
|
|
34
|
+
"@shumai-one/shumai-transcode-win32-x64": "0.1.7"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE "asset_comments" ADD COLUMN "completion_last_changed_by_id" TEXT,
|
|
3
|
+
ADD COLUMN "is_completed" BOOLEAN NOT NULL DEFAULT false;
|
|
4
|
+
|
|
5
|
+
-- AddForeignKey
|
|
6
|
+
ALTER TABLE "asset_comments" ADD CONSTRAINT "asset_comments_completion_last_changed_by_id_fkey" FOREIGN KEY ("completion_last_changed_by_id") REFERENCES "users"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
package/prisma/schema.prisma
CHANGED
|
@@ -136,7 +136,8 @@ model User {
|
|
|
136
136
|
authTokens AuthToken[] @relation("UserToAuthToken")
|
|
137
137
|
tasks Task[] @relation("UserToTask")
|
|
138
138
|
teamMembers TeamMember[] @relation("UserToTeamMember")
|
|
139
|
-
comments
|
|
139
|
+
comments AssetComment[] @relation("UserToAssetComment")
|
|
140
|
+
completionChangedComments AssetComment[] @relation("UserToAssetCommentCompletionChanged")
|
|
140
141
|
createdInvites Invite[] @relation("UserToInvite")
|
|
141
142
|
createdNotifications Notification[] @relation("UserToCreatedNotification")
|
|
142
143
|
notifications Notification[] @relation("UserToNotification")
|
|
@@ -471,6 +472,10 @@ model AssetComment {
|
|
|
471
472
|
creatorId String? @map("creator_id")
|
|
472
473
|
creator User? @relation("UserToAssetComment", fields: [creatorId], references: [id])
|
|
473
474
|
|
|
475
|
+
isCompleted Boolean @default(false) @map("is_completed")
|
|
476
|
+
completionLastChangedById String? @map("completion_last_changed_by_id")
|
|
477
|
+
completionLastChangedBy User? @relation("UserToAssetCommentCompletionChanged", fields: [completionLastChangedById], references: [id])
|
|
478
|
+
|
|
474
479
|
replyToId String? @map("reply_to_id")
|
|
475
480
|
replyTo AssetComment? @relation("CommentReplies", fields: [replyToId], references: [id], onDelete: Cascade)
|
|
476
481
|
replies AssetComment[] @relation("CommentReplies")
|