@ttt-productions/ttt-core 0.3.0 → 0.4.1
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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/media/atoms.d.ts +38 -0
- package/dist/media/atoms.d.ts.map +1 -0
- package/dist/media/atoms.js +19 -0
- package/dist/media/atoms.js.map +1 -0
- package/dist/media/domain-events.d.ts +2184 -0
- package/dist/media/domain-events.d.ts.map +1 -0
- package/dist/media/domain-events.js +531 -0
- package/dist/media/domain-events.js.map +1 -0
- package/dist/media/file-origin.d.ts +4 -0
- package/dist/media/file-origin.d.ts.map +1 -0
- package/dist/media/file-origin.js +22 -0
- package/dist/media/file-origin.js.map +1 -0
- package/dist/media/index.d.ts +8 -0
- package/dist/media/index.d.ts.map +1 -0
- package/dist/media/index.js +8 -0
- package/dist/media/index.js.map +1 -0
- package/dist/media/pending-media.d.ts +20133 -0
- package/dist/media/pending-media.d.ts.map +1 -0
- package/dist/media/pending-media.js +26 -0
- package/dist/media/pending-media.js.map +1 -0
- package/dist/media/start-upload.d.ts +48 -0
- package/dist/media/start-upload.d.ts.map +1 -0
- package/dist/media/start-upload.js +19 -0
- package/dist/media/start-upload.js.map +1 -0
- package/dist/media/target-info.d.ts +434 -0
- package/dist/media/target-info.d.ts.map +1 -0
- package/dist/media/target-info.js +157 -0
- package/dist/media/target-info.js.map +1 -0
- package/dist/media/ttt-media-specs.d.ts +4 -0
- package/dist/media/ttt-media-specs.d.ts.map +1 -0
- package/dist/media/ttt-media-specs.js +548 -0
- package/dist/media/ttt-media-specs.js.map +1 -0
- package/dist/paths/storage-paths.d.ts +1 -1
- package/dist/paths/storage-paths.d.ts.map +1 -1
- package/dist/schemas/admin.d.ts +17 -17
- package/dist/schemas/chat.d.ts +16 -16
- package/dist/schemas/chat.d.ts.map +1 -1
- package/dist/schemas/chat.js +1 -23
- package/dist/schemas/chat.js.map +1 -1
- package/dist/schemas/jobs.d.ts +8 -8
- package/dist/schemas/library.d.ts +4 -4
- package/dist/schemas/project-management.d.ts +20 -20
- package/dist/schemas/share-operation.d.ts +72 -72
- package/dist/schemas/skills.d.ts +2 -2
- package/dist/schemas/social.js +1 -1
- package/dist/schemas/social.js.map +1 -1
- package/dist/types/admin.d.ts +0 -39
- package/dist/types/admin.d.ts.map +1 -1
- package/dist/types/admin.js +3 -2
- package/dist/types/admin.js.map +1 -1
- package/dist/types/audit.d.ts +25 -0
- package/dist/types/audit.d.ts.map +1 -0
- package/dist/types/audit.js +10 -0
- package/dist/types/audit.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/moderation.d.ts +3 -31
- package/dist/types/moderation.d.ts.map +1 -1
- package/dist/types/moderation.js +2 -1
- package/dist/types/moderation.js.map +1 -1
- package/dist/types/project.d.ts +2 -6
- package/dist/types/project.d.ts.map +1 -1
- package/dist/types/project.js +0 -1
- package/dist/types/project.js.map +1 -1
- package/dist/types/social.d.ts +2 -7
- package/dist/types/social.d.ts.map +1 -1
- package/dist/types/social.js +0 -1
- package/dist/types/social.js.map +1 -1
- package/dist/upload-variables/apply-to-job-variables.d.ts +1 -1
- package/dist/upload-variables/apply-to-job-variables.d.ts.map +1 -1
- package/dist/upload-variables/create-admin-opportunity-variables.d.ts +1 -1
- package/dist/upload-variables/create-admin-opportunity-variables.d.ts.map +1 -1
- package/dist/upload-variables/create-job-variables.d.ts +1 -1
- package/dist/upload-variables/create-job-variables.d.ts.map +1 -1
- package/dist/upload-variables/create-opportunity-reply-variables.d.ts +1 -1
- package/dist/upload-variables/create-opportunity-reply-variables.d.ts.map +1 -1
- package/dist/upload-variables/create-project-opportunity-variables.d.ts +1 -1
- package/dist/upload-variables/create-project-opportunity-variables.d.ts.map +1 -1
- package/dist/upload-variables/streetz-post-variables.d.ts +3 -3
- package/dist/upload-variables/streetz-post-variables.d.ts.map +1 -1
- package/dist/upload-variables/streetz-post-variables.js +1 -1
- package/dist/upload-variables/streetz-post-variables.js.map +1 -1
- package/dist/upload-variables/update-chapter-media-variables.d.ts +3 -3
- package/dist/upload-variables/update-chapter-media-variables.d.ts.map +1 -1
- package/dist/upload-variables/update-show-media-variables.d.ts +3 -3
- package/dist/upload-variables/update-show-media-variables.d.ts.map +1 -1
- package/dist/upload-variables/update-song-media-variables.d.ts +3 -3
- package/dist/upload-variables/update-song-media-variables.d.ts.map +1 -1
- package/dist/upload-variables/update-tale-cover-photo-variables.d.ts +3 -3
- package/dist/upload-variables/update-tale-cover-photo-variables.d.ts.map +1 -1
- package/dist/upload-variables/update-television-cover-photo-variables.d.ts +3 -3
- package/dist/upload-variables/update-television-cover-photo-variables.d.ts.map +1 -1
- package/dist/upload-variables/update-tune-cover-photo-variables.d.ts +3 -3
- package/dist/upload-variables/update-tune-cover-photo-variables.d.ts.map +1 -1
- package/dist/upload-variables/upload-profile-picture-variables.d.ts +1 -1
- package/dist/upload-variables/upload-profile-picture-variables.d.ts.map +1 -1
- package/dist/upload-variables/upload-project-file-variables.d.ts +1 -1
- package/dist/upload-variables/upload-project-file-variables.d.ts.map +1 -1
- package/dist/upload-variables/upload-skill-variables.d.ts +1 -1
- package/dist/upload-variables/upload-skill-variables.d.ts.map +1 -1
- package/package.json +9 -2
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -56,14 +56,14 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
56
56
|
url: z.ZodString;
|
|
57
57
|
storagePath: z.ZodString;
|
|
58
58
|
}, "strict", z.ZodTypeAny, {
|
|
59
|
-
type: "
|
|
59
|
+
type: "image" | "video" | "audio" | "text";
|
|
60
60
|
id: string;
|
|
61
61
|
name: string;
|
|
62
62
|
size: number;
|
|
63
63
|
url: string;
|
|
64
64
|
storagePath: string;
|
|
65
65
|
}, {
|
|
66
|
-
type: "
|
|
66
|
+
type: "image" | "video" | "audio" | "text";
|
|
67
67
|
id: string;
|
|
68
68
|
name: string;
|
|
69
69
|
size: number;
|
|
@@ -73,15 +73,15 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
73
73
|
}, "strict", z.ZodTypeAny, {
|
|
74
74
|
projectId: string;
|
|
75
75
|
text: string;
|
|
76
|
-
channelId: string;
|
|
77
76
|
threadKind: "projectChannel";
|
|
77
|
+
channelId: string;
|
|
78
78
|
replyTo?: {
|
|
79
79
|
messageId: string;
|
|
80
80
|
senderId: string;
|
|
81
81
|
messagePreview: string;
|
|
82
82
|
} | undefined;
|
|
83
83
|
attachment?: {
|
|
84
|
-
type: "
|
|
84
|
+
type: "image" | "video" | "audio" | "text";
|
|
85
85
|
id: string;
|
|
86
86
|
name: string;
|
|
87
87
|
size: number;
|
|
@@ -91,15 +91,15 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
91
91
|
}, {
|
|
92
92
|
projectId: string;
|
|
93
93
|
text: string;
|
|
94
|
-
channelId: string;
|
|
95
94
|
threadKind: "projectChannel";
|
|
95
|
+
channelId: string;
|
|
96
96
|
replyTo?: {
|
|
97
97
|
messageId: string;
|
|
98
98
|
senderId: string;
|
|
99
99
|
messagePreview: string;
|
|
100
100
|
} | undefined;
|
|
101
101
|
attachment?: {
|
|
102
|
-
type: "
|
|
102
|
+
type: "image" | "video" | "audio" | "text";
|
|
103
103
|
id: string;
|
|
104
104
|
name: string;
|
|
105
105
|
size: number;
|
|
@@ -131,14 +131,14 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
131
131
|
url: z.ZodString;
|
|
132
132
|
storagePath: z.ZodString;
|
|
133
133
|
}, "strict", z.ZodTypeAny, {
|
|
134
|
-
type: "
|
|
134
|
+
type: "image" | "video" | "audio" | "text";
|
|
135
135
|
id: string;
|
|
136
136
|
name: string;
|
|
137
137
|
size: number;
|
|
138
138
|
url: string;
|
|
139
139
|
storagePath: string;
|
|
140
140
|
}, {
|
|
141
|
-
type: "
|
|
141
|
+
type: "image" | "video" | "audio" | "text";
|
|
142
142
|
id: string;
|
|
143
143
|
name: string;
|
|
144
144
|
size: number;
|
|
@@ -147,15 +147,15 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
147
147
|
}>>;
|
|
148
148
|
}, "strict", z.ZodTypeAny, {
|
|
149
149
|
text: string;
|
|
150
|
-
threadKind: "projectInvite";
|
|
151
150
|
inviteId: string;
|
|
151
|
+
threadKind: "projectInvite";
|
|
152
152
|
replyTo?: {
|
|
153
153
|
messageId: string;
|
|
154
154
|
senderId: string;
|
|
155
155
|
messagePreview: string;
|
|
156
156
|
} | undefined;
|
|
157
157
|
attachment?: {
|
|
158
|
-
type: "
|
|
158
|
+
type: "image" | "video" | "audio" | "text";
|
|
159
159
|
id: string;
|
|
160
160
|
name: string;
|
|
161
161
|
size: number;
|
|
@@ -164,15 +164,15 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
164
164
|
} | undefined;
|
|
165
165
|
}, {
|
|
166
166
|
text: string;
|
|
167
|
-
threadKind: "projectInvite";
|
|
168
167
|
inviteId: string;
|
|
168
|
+
threadKind: "projectInvite";
|
|
169
169
|
replyTo?: {
|
|
170
170
|
messageId: string;
|
|
171
171
|
senderId: string;
|
|
172
172
|
messagePreview: string;
|
|
173
173
|
} | undefined;
|
|
174
174
|
attachment?: {
|
|
175
|
-
type: "
|
|
175
|
+
type: "image" | "video" | "audio" | "text";
|
|
176
176
|
id: string;
|
|
177
177
|
name: string;
|
|
178
178
|
size: number;
|
|
@@ -205,14 +205,14 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
205
205
|
url: z.ZodString;
|
|
206
206
|
storagePath: z.ZodString;
|
|
207
207
|
}, "strict", z.ZodTypeAny, {
|
|
208
|
-
type: "
|
|
208
|
+
type: "image" | "video" | "audio" | "text";
|
|
209
209
|
id: string;
|
|
210
210
|
name: string;
|
|
211
211
|
size: number;
|
|
212
212
|
url: string;
|
|
213
213
|
storagePath: string;
|
|
214
214
|
}, {
|
|
215
|
-
type: "
|
|
215
|
+
type: "image" | "video" | "audio" | "text";
|
|
216
216
|
id: string;
|
|
217
217
|
name: string;
|
|
218
218
|
size: number;
|
|
@@ -230,7 +230,7 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
230
230
|
messagePreview: string;
|
|
231
231
|
} | undefined;
|
|
232
232
|
attachment?: {
|
|
233
|
-
type: "
|
|
233
|
+
type: "image" | "video" | "audio" | "text";
|
|
234
234
|
id: string;
|
|
235
235
|
name: string;
|
|
236
236
|
size: number;
|
|
@@ -248,7 +248,7 @@ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"thread
|
|
|
248
248
|
messagePreview: string;
|
|
249
249
|
} | undefined;
|
|
250
250
|
attachment?: {
|
|
251
|
-
type: "
|
|
251
|
+
type: "image" | "video" | "audio" | "text";
|
|
252
252
|
id: string;
|
|
253
253
|
name: string;
|
|
254
254
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/schemas/chat.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/schemas/chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwBrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,kCAAkC;;;;;;;;;EAGpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;EAO9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
package/dist/schemas/chat.js
CHANGED
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
// ---------------------------------------------------------------------------
|
|
2
|
-
// TODO(chat-core): ReplyToSchema and ChatAttachmentSchema are parked here
|
|
3
|
-
// temporarily. They describe ChatMessage-shaped data and rightfully belong
|
|
4
|
-
// in @ttt-productions/chat-core, but chat-core does not yet have a Zod
|
|
5
|
-
// surface. Move them when chat-core grows one.
|
|
6
|
-
//
|
|
7
|
-
// See:
|
|
8
|
-
// - docs/design/architectural-preferences.md (Section 2)
|
|
9
|
-
// - the chat architecture review backlog
|
|
10
|
-
// ---------------------------------------------------------------------------
|
|
11
1
|
import { z } from 'zod';
|
|
12
2
|
import { projectIdSchema, channelIdSchema, inviteIdSchema, messageIdSchema, } from './atoms.js';
|
|
13
3
|
import { MAX_CHAT_MESSAGE_LENGTH } from '../constants/chat.js';
|
|
14
|
-
|
|
15
|
-
messageId: messageIdSchema,
|
|
16
|
-
senderId: z.string().min(1),
|
|
17
|
-
messagePreview: z.string(),
|
|
18
|
-
}).strict();
|
|
19
|
-
const ChatAttachmentSchema = z.object({
|
|
20
|
-
id: z.string().min(1),
|
|
21
|
-
name: z.string(),
|
|
22
|
-
type: z.enum(['image', 'video', 'audio', 'text']),
|
|
23
|
-
size: z.number(),
|
|
24
|
-
url: z.string(),
|
|
25
|
-
storagePath: z.string(),
|
|
26
|
-
}).strict();
|
|
4
|
+
import { ReplyToSchema, ChatAttachmentSchema, } from '@ttt-productions/chat-schemas';
|
|
27
5
|
export const ArchiveChatChannelInputSchema = z.object({
|
|
28
6
|
projectId: projectIdSchema,
|
|
29
7
|
channelId: channelIdSchema,
|
package/dist/schemas/chat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/schemas/chat.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/schemas/chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EACL,aAAa,EACb,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,SAAS,EAAE,eAAe;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,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
|
-
jobId: string;
|
|
9
7
|
replyId: string;
|
|
10
|
-
}, {
|
|
11
|
-
sharesOffered: number;
|
|
12
8
|
jobId: string;
|
|
9
|
+
sharesOffered: number;
|
|
10
|
+
}, {
|
|
13
11
|
replyId: string;
|
|
12
|
+
jobId: string;
|
|
13
|
+
sharesOffered: number;
|
|
14
14
|
}>;
|
|
15
15
|
export type AcceptJobApplicantInput = z.infer<typeof AcceptJobApplicantInputSchema>;
|
|
16
16
|
export declare const CloseJobInputSchema: z.ZodObject<{
|
|
@@ -33,11 +33,11 @@ export declare const RejectJobApplicantInputSchema: z.ZodObject<{
|
|
|
33
33
|
jobId: z.ZodString;
|
|
34
34
|
replyId: z.ZodString;
|
|
35
35
|
}, "strict", z.ZodTypeAny, {
|
|
36
|
-
jobId: string;
|
|
37
36
|
replyId: string;
|
|
38
|
-
}, {
|
|
39
37
|
jobId: string;
|
|
38
|
+
}, {
|
|
40
39
|
replyId: string;
|
|
40
|
+
jobId: string;
|
|
41
41
|
}>;
|
|
42
42
|
export type RejectJobApplicantInput = z.infer<typeof RejectJobApplicantInputSchema>;
|
|
43
43
|
export declare const SetJobApplicantSavedInputSchema: z.ZodObject<{
|
|
@@ -45,12 +45,12 @@ export declare const SetJobApplicantSavedInputSchema: z.ZodObject<{
|
|
|
45
45
|
replyId: z.ZodString;
|
|
46
46
|
saved: z.ZodBoolean;
|
|
47
47
|
}, "strict", z.ZodTypeAny, {
|
|
48
|
-
jobId: string;
|
|
49
48
|
replyId: string;
|
|
49
|
+
jobId: string;
|
|
50
50
|
saved: boolean;
|
|
51
51
|
}, {
|
|
52
|
-
jobId: string;
|
|
53
52
|
replyId: string;
|
|
53
|
+
jobId: string;
|
|
54
54
|
saved: boolean;
|
|
55
55
|
}>;
|
|
56
56
|
export type SetJobApplicantSavedInput = z.infer<typeof SetJobApplicantSavedInputSchema>;
|
|
@@ -49,15 +49,15 @@ export declare const ReviewLibraryItemInputSchema: z.ZodObject<{
|
|
|
49
49
|
adminNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
}, "strict", z.ZodTypeAny, {
|
|
51
51
|
projectType: "Tales" | "Tunes" | "Television";
|
|
52
|
-
decision: "approved" | "needs_revision" | "rejected";
|
|
53
|
-
libraryId: string;
|
|
54
52
|
itemId: string;
|
|
53
|
+
libraryId: string;
|
|
54
|
+
decision: "approved" | "needs_revision" | "rejected";
|
|
55
55
|
adminNotes?: string | null | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
projectType: "Tales" | "Tunes" | "Television";
|
|
58
|
-
decision: "approved" | "needs_revision" | "rejected";
|
|
59
|
-
libraryId: string;
|
|
60
58
|
itemId: string;
|
|
59
|
+
libraryId: string;
|
|
60
|
+
decision: "approved" | "needs_revision" | "rejected";
|
|
61
61
|
adminNotes?: string | null | undefined;
|
|
62
62
|
}>;
|
|
63
63
|
export type ReviewLibraryItemInput = z.infer<typeof ReviewLibraryItemInputSchema>;
|
|
@@ -8,15 +8,15 @@ export declare const CreateProjectInputSchema: z.ZodDiscriminatedUnion<"origin",
|
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
9
|
libraryType: string;
|
|
10
10
|
type: "Tales" | "Tunes" | "Television";
|
|
11
|
-
origin: "newUniverse";
|
|
12
|
-
workingTitle: string;
|
|
13
11
|
workingDescription: string;
|
|
12
|
+
workingTitle: string;
|
|
13
|
+
origin: "newUniverse";
|
|
14
14
|
}, {
|
|
15
15
|
libraryType: string;
|
|
16
16
|
type: "Tales" | "Tunes" | "Television";
|
|
17
|
-
origin: "newUniverse";
|
|
18
|
-
workingTitle: string;
|
|
19
17
|
workingDescription: string;
|
|
18
|
+
workingTitle: string;
|
|
19
|
+
origin: "newUniverse";
|
|
20
20
|
}>, z.ZodObject<{
|
|
21
21
|
origin: z.ZodLiteral<"existingUniverse">;
|
|
22
22
|
universeId: z.ZodString;
|
|
@@ -27,16 +27,16 @@ export declare const CreateProjectInputSchema: z.ZodDiscriminatedUnion<"origin",
|
|
|
27
27
|
}, "strict", z.ZodTypeAny, {
|
|
28
28
|
libraryType: string;
|
|
29
29
|
type: "Tales" | "Tunes" | "Television";
|
|
30
|
-
origin: "existingUniverse";
|
|
31
|
-
workingTitle: string;
|
|
32
30
|
workingDescription: string;
|
|
31
|
+
workingTitle: string;
|
|
32
|
+
origin: "existingUniverse";
|
|
33
33
|
universeId: string;
|
|
34
34
|
}, {
|
|
35
35
|
libraryType: string;
|
|
36
36
|
type: "Tales" | "Tunes" | "Television";
|
|
37
|
-
origin: "existingUniverse";
|
|
38
|
-
workingTitle: string;
|
|
39
37
|
workingDescription: string;
|
|
38
|
+
workingTitle: string;
|
|
39
|
+
origin: "existingUniverse";
|
|
40
40
|
universeId: string;
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
42
|
origin: z.ZodLiteral<"standalone">;
|
|
@@ -47,15 +47,15 @@ export declare const CreateProjectInputSchema: z.ZodDiscriminatedUnion<"origin",
|
|
|
47
47
|
}, "strict", z.ZodTypeAny, {
|
|
48
48
|
libraryType: string;
|
|
49
49
|
type: "Tales" | "Tunes" | "Television";
|
|
50
|
-
origin: "standalone";
|
|
51
|
-
workingTitle: string;
|
|
52
50
|
workingDescription: string;
|
|
51
|
+
workingTitle: string;
|
|
52
|
+
origin: "standalone";
|
|
53
53
|
}, {
|
|
54
54
|
libraryType: string;
|
|
55
55
|
type: "Tales" | "Tunes" | "Television";
|
|
56
|
-
origin: "standalone";
|
|
57
|
-
workingTitle: string;
|
|
58
56
|
workingDescription: string;
|
|
57
|
+
workingTitle: string;
|
|
58
|
+
origin: "standalone";
|
|
59
59
|
}>]>;
|
|
60
60
|
export type CreateProjectInput = z.infer<typeof CreateProjectInputSchema>;
|
|
61
61
|
export declare const DeleteProjectFileInputSchema: z.ZodObject<{
|
|
@@ -110,8 +110,8 @@ export declare const InviteUserToProjectInputSchema: z.ZodObject<{
|
|
|
110
110
|
};
|
|
111
111
|
}>>;
|
|
112
112
|
}, "strict", z.ZodTypeAny, {
|
|
113
|
-
message: string;
|
|
114
113
|
projectId: string;
|
|
114
|
+
message: string;
|
|
115
115
|
sharesOffered: number;
|
|
116
116
|
inviteeUid: string;
|
|
117
117
|
source?: {
|
|
@@ -121,8 +121,8 @@ export declare const InviteUserToProjectInputSchema: z.ZodObject<{
|
|
|
121
121
|
};
|
|
122
122
|
} | undefined;
|
|
123
123
|
}, {
|
|
124
|
-
message: string;
|
|
125
124
|
projectId: string;
|
|
125
|
+
message: string;
|
|
126
126
|
sharesOffered: number;
|
|
127
127
|
inviteeUid: string;
|
|
128
128
|
source?: {
|
|
@@ -151,13 +151,13 @@ export declare const UpdateProjectMemberProfessionsInputSchema: z.ZodObject<{
|
|
|
151
151
|
action: z.ZodEnum<["add", "remove"]>;
|
|
152
152
|
}, "strict", z.ZodTypeAny, {
|
|
153
153
|
projectId: string;
|
|
154
|
-
action: "add" | "remove";
|
|
155
154
|
userId: string;
|
|
155
|
+
action: "add" | "remove";
|
|
156
156
|
profession: string;
|
|
157
157
|
}, {
|
|
158
158
|
projectId: string;
|
|
159
|
-
action: "add" | "remove";
|
|
160
159
|
userId: string;
|
|
160
|
+
action: "add" | "remove";
|
|
161
161
|
profession: string;
|
|
162
162
|
}>;
|
|
163
163
|
export type UpdateProjectMemberProfessionsInput = z.infer<typeof UpdateProjectMemberProfessionsInputSchema>;
|
|
@@ -168,13 +168,13 @@ export declare const UpdateProjectMemberRoleInputSchema: z.ZodObject<{
|
|
|
168
168
|
action: z.ZodEnum<["add", "remove"]>;
|
|
169
169
|
}, "strict", z.ZodTypeAny, {
|
|
170
170
|
projectId: string;
|
|
171
|
-
action: "add" | "remove";
|
|
172
171
|
userId: string;
|
|
172
|
+
action: "add" | "remove";
|
|
173
173
|
role: string;
|
|
174
174
|
}, {
|
|
175
175
|
projectId: string;
|
|
176
|
-
action: "add" | "remove";
|
|
177
176
|
userId: string;
|
|
177
|
+
action: "add" | "remove";
|
|
178
178
|
role: string;
|
|
179
179
|
}>;
|
|
180
180
|
export type UpdateProjectMemberRoleInput = z.infer<typeof UpdateProjectMemberRoleInputSchema>;
|
|
@@ -184,12 +184,12 @@ export declare const UpdatePublicProjectDetailsInputSchema: z.ZodObject<{
|
|
|
184
184
|
workingDescription: z.ZodString;
|
|
185
185
|
}, "strict", z.ZodTypeAny, {
|
|
186
186
|
projectId: string;
|
|
187
|
-
workingTitle: string;
|
|
188
187
|
workingDescription: string;
|
|
188
|
+
workingTitle: string;
|
|
189
189
|
}, {
|
|
190
190
|
projectId: string;
|
|
191
|
-
workingTitle: string;
|
|
192
191
|
workingDescription: string;
|
|
192
|
+
workingTitle: string;
|
|
193
193
|
}>;
|
|
194
194
|
export type UpdatePublicProjectDetailsInput = z.infer<typeof UpdatePublicProjectDetailsInputSchema>;
|
|
195
195
|
//# sourceMappingURL=project-management.d.ts.map
|