@ttt-productions/media-contracts 0.2.25 → 0.2.26
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/domain-events.d.ts +10 -10
- package/dist/file-origin.d.ts +1 -1
- package/dist/file-origin.d.ts.map +1 -1
- package/dist/file-origin.js +1 -0
- package/dist/file-origin.js.map +1 -1
- package/dist/schemas.d.ts +90 -83
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +10 -0
- package/dist/schemas.js.map +1 -1
- package/dist/ttt-media-specs.d.ts.map +1 -1
- package/dist/ttt-media-specs.js +36 -0
- package/dist/ttt-media-specs.js.map +1 -1
- package/dist/types.d.ts +3 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/domain-events.d.ts
CHANGED
|
@@ -269,17 +269,17 @@ export declare const ModerationViolationCreatedEventSchema: z.ZodObject<{
|
|
|
269
269
|
ids: z.ZodObject<{
|
|
270
270
|
userId: z.ZodString;
|
|
271
271
|
violationId: z.ZodString;
|
|
272
|
-
fileOrigin: z.ZodEnum<["profile-picture", "skill-media", "streetz", "job-posting", "job-reply", "opportunity-prompt", "opportunity-reply", "library-cover-square", "library-cover-poster", "library-cover-cinematic", "chapter-photo", "song-photo", "song-audio", "show-photo", "show-video", "chat-attachment"]>;
|
|
272
|
+
fileOrigin: z.ZodEnum<["profile-picture", "skill-media", "streetz", "job-posting", "job-reply", "opportunity-prompt", "opportunity-reply", "library-cover-square", "library-cover-poster", "library-cover-cinematic", "chapter-photo", "song-photo", "song-audio", "show-photo", "show-video", "chat-attachment", "project-file"]>;
|
|
273
273
|
pendingMediaId: z.ZodString;
|
|
274
274
|
}, "strict", z.ZodTypeAny, {
|
|
275
275
|
userId: string;
|
|
276
276
|
violationId: string;
|
|
277
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
277
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
278
278
|
pendingMediaId: string;
|
|
279
279
|
}, {
|
|
280
280
|
userId: string;
|
|
281
281
|
violationId: string;
|
|
282
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
282
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
283
283
|
pendingMediaId: string;
|
|
284
284
|
}>;
|
|
285
285
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -287,7 +287,7 @@ export declare const ModerationViolationCreatedEventSchema: z.ZodObject<{
|
|
|
287
287
|
ids: {
|
|
288
288
|
userId: string;
|
|
289
289
|
violationId: string;
|
|
290
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
290
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
291
291
|
pendingMediaId: string;
|
|
292
292
|
};
|
|
293
293
|
}, {
|
|
@@ -295,7 +295,7 @@ export declare const ModerationViolationCreatedEventSchema: z.ZodObject<{
|
|
|
295
295
|
ids: {
|
|
296
296
|
userId: string;
|
|
297
297
|
violationId: string;
|
|
298
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
298
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
299
299
|
pendingMediaId: string;
|
|
300
300
|
};
|
|
301
301
|
}>;
|
|
@@ -585,17 +585,17 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
585
585
|
ids: z.ZodObject<{
|
|
586
586
|
userId: z.ZodString;
|
|
587
587
|
violationId: z.ZodString;
|
|
588
|
-
fileOrigin: z.ZodEnum<["profile-picture", "skill-media", "streetz", "job-posting", "job-reply", "opportunity-prompt", "opportunity-reply", "library-cover-square", "library-cover-poster", "library-cover-cinematic", "chapter-photo", "song-photo", "song-audio", "show-photo", "show-video", "chat-attachment"]>;
|
|
588
|
+
fileOrigin: z.ZodEnum<["profile-picture", "skill-media", "streetz", "job-posting", "job-reply", "opportunity-prompt", "opportunity-reply", "library-cover-square", "library-cover-poster", "library-cover-cinematic", "chapter-photo", "song-photo", "song-audio", "show-photo", "show-video", "chat-attachment", "project-file"]>;
|
|
589
589
|
pendingMediaId: z.ZodString;
|
|
590
590
|
}, "strict", z.ZodTypeAny, {
|
|
591
591
|
userId: string;
|
|
592
592
|
violationId: string;
|
|
593
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
593
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
594
594
|
pendingMediaId: string;
|
|
595
595
|
}, {
|
|
596
596
|
userId: string;
|
|
597
597
|
violationId: string;
|
|
598
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
598
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
599
599
|
pendingMediaId: string;
|
|
600
600
|
}>;
|
|
601
601
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -603,7 +603,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
603
603
|
ids: {
|
|
604
604
|
userId: string;
|
|
605
605
|
violationId: string;
|
|
606
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
606
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
607
607
|
pendingMediaId: string;
|
|
608
608
|
};
|
|
609
609
|
}, {
|
|
@@ -611,7 +611,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
611
611
|
ids: {
|
|
612
612
|
userId: string;
|
|
613
613
|
violationId: string;
|
|
614
|
-
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment";
|
|
614
|
+
fileOrigin: "profile-picture" | "skill-media" | "streetz" | "job-posting" | "job-reply" | "opportunity-prompt" | "opportunity-reply" | "library-cover-square" | "library-cover-poster" | "library-cover-cinematic" | "chapter-photo" | "song-photo" | "song-audio" | "show-photo" | "show-video" | "chat-attachment" | "project-file";
|
|
615
615
|
pendingMediaId: string;
|
|
616
616
|
};
|
|
617
617
|
}>, z.ZodObject<{
|
package/dist/file-origin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const FileOriginSchema: z.ZodEnum<["profile-picture", "skill-media", "streetz", "job-posting", "job-reply", "opportunity-prompt", "opportunity-reply", "library-cover-square", "library-cover-poster", "library-cover-cinematic", "chapter-photo", "song-photo", "song-audio", "show-photo", "show-video", "chat-attachment"]>;
|
|
2
|
+
export declare const FileOriginSchema: z.ZodEnum<["profile-picture", "skill-media", "streetz", "job-posting", "job-reply", "opportunity-prompt", "opportunity-reply", "library-cover-square", "library-cover-poster", "library-cover-cinematic", "chapter-photo", "song-photo", "song-audio", "show-photo", "show-video", "chat-attachment", "project-file"]>;
|
|
3
3
|
export type FileOrigin = z.infer<typeof FileOriginSchema>;
|
|
4
4
|
//# sourceMappingURL=file-origin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-origin.d.ts","sourceRoot":"","sources":["../src/file-origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"file-origin.d.ts","sourceRoot":"","sources":["../src/file-origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,wTAkB3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/file-origin.js
CHANGED
package/dist/file-origin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-origin.js","sourceRoot":"","sources":["../src/file-origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,iBAAiB;IACjB,aAAa;IACb,SAAS;IACT,aAAa;IACb,WAAW;IACX,oBAAoB;IACpB,mBAAmB;IACnB,sBAAsB;IACtB,sBAAsB;IACtB,yBAAyB;IACzB,eAAe;IACf,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,iBAAiB;
|
|
1
|
+
{"version":3,"file":"file-origin.js","sourceRoot":"","sources":["../src/file-origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,iBAAiB;IACjB,aAAa;IACb,SAAS;IACT,aAAa;IACb,WAAW;IACX,oBAAoB;IACpB,mBAAmB;IACnB,sBAAsB;IACtB,sBAAsB;IACtB,yBAAyB;IACzB,eAAe;IACf,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,iBAAiB;IACjB,cAAc;CACf,CAAC,CAAC"}
|