@ttt-productions/ttt-core 0.79.16 → 0.79.17
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/upload-variables/index.d.ts +1 -0
- package/dist/upload-variables/index.d.ts.map +1 -1
- package/dist/upload-variables/index.js +1 -0
- package/dist/upload-variables/index.js.map +1 -1
- package/dist/upload-variables/update-work-realm-cover-variables.d.ts +21 -0
- package/dist/upload-variables/update-work-realm-cover-variables.d.ts.map +1 -0
- package/dist/upload-variables/update-work-realm-cover-variables.js +12 -0
- package/dist/upload-variables/update-work-realm-cover-variables.js.map +1 -0
- package/package.json +1 -1
|
@@ -13,4 +13,5 @@ export * from './update-episode-media-variables.js';
|
|
|
13
13
|
export * from './update-chapter-media-variables.js';
|
|
14
14
|
export * from './update-track-media-variables.js';
|
|
15
15
|
export * from './upload-conversation-file-variables.js';
|
|
16
|
+
export * from './update-work-realm-cover-variables.js';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/upload-variables/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/upload-variables/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC"}
|
|
@@ -13,4 +13,5 @@ export * from './update-episode-media-variables.js';
|
|
|
13
13
|
export * from './update-chapter-media-variables.js';
|
|
14
14
|
export * from './update-track-media-variables.js';
|
|
15
15
|
export * from './upload-conversation-file-variables.js';
|
|
16
|
+
export * from './update-work-realm-cover-variables.js';
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/upload-variables/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC","sourcesContent":["export * from './square-streetz-post-variables.js';\nexport * from './create-commission-variables.js';\nexport * from './apply-to-commission-variables.js';\nexport * from './create-work-project-audition-variables.js';\nexport * from './create-admin-audition-variables.js';\nexport * from './create-audition-entry-variables.js';\nexport * from './upload-profile-picture-variables.js';\nexport * from './upload-craft-skill-variables.js';\nexport * from './update-tale-cover-photo-variables.js';\nexport * from './update-tune-cover-photo-variables.js';\nexport * from './update-television-cover-photo-variables.js';\nexport * from './update-episode-media-variables.js';\nexport * from './update-chapter-media-variables.js';\nexport * from './update-track-media-variables.js';\nexport * from './upload-conversation-file-variables.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/upload-variables/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC","sourcesContent":["export * from './square-streetz-post-variables.js';\nexport * from './create-commission-variables.js';\nexport * from './apply-to-commission-variables.js';\nexport * from './create-work-project-audition-variables.js';\nexport * from './create-admin-audition-variables.js';\nexport * from './create-audition-entry-variables.js';\nexport * from './upload-profile-picture-variables.js';\nexport * from './upload-craft-skill-variables.js';\nexport * from './update-tale-cover-photo-variables.js';\nexport * from './update-tune-cover-photo-variables.js';\nexport * from './update-television-cover-photo-variables.js';\nexport * from './update-episode-media-variables.js';\nexport * from './update-chapter-media-variables.js';\nexport * from './update-track-media-variables.js';\nexport * from './upload-conversation-file-variables.js';\nexport * from './update-work-realm-cover-variables.js';\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const UpdateWorkRealmCoverVariablesSchema: z.ZodObject<{
|
|
3
|
+
file: z.ZodUnion<[z.ZodCustom<File, File>, z.ZodCustom<Blob, Blob>]>;
|
|
4
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
kind: z.ZodEnum<{
|
|
6
|
+
file: "file";
|
|
7
|
+
image: "image";
|
|
8
|
+
video: "video";
|
|
9
|
+
audio: "audio";
|
|
10
|
+
}>;
|
|
11
|
+
source: z.ZodEnum<{
|
|
12
|
+
"file-picker": "file-picker";
|
|
13
|
+
"camera-capture": "camera-capture";
|
|
14
|
+
"media-recorder": "media-recorder";
|
|
15
|
+
}>;
|
|
16
|
+
}, z.core.$strict>>;
|
|
17
|
+
onProgress: z.ZodOptional<z.ZodCustom<(state: import("@ttt-productions/media-schemas").UploadState | null) => void, (state: import("@ttt-productions/media-schemas").UploadState | null) => void>>;
|
|
18
|
+
signal: z.ZodOptional<z.ZodCustom<AbortSignal, AbortSignal>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export type UpdateWorkRealmCoverVariables = z.infer<typeof UpdateWorkRealmCoverVariablesSchema>;
|
|
21
|
+
//# sourceMappingURL=update-work-realm-cover-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-work-realm-cover-variables.d.ts","sourceRoot":"","sources":["../../src/upload-variables/update-work-realm-cover-variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;kBAOrC,CAAC;AACZ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ClientMediaClaimSchema } from '@ttt-productions/media-schemas';
|
|
3
|
+
import { onProgressSchema } from './on-progress.js';
|
|
4
|
+
export const UpdateWorkRealmCoverVariablesSchema = z.object({
|
|
5
|
+
file: z.instanceof(File).or(z.instanceof(Blob)),
|
|
6
|
+
// Untrusted client claim of what the user's action implies (advisory; the
|
|
7
|
+
// server byte inspection is the only classification authority).
|
|
8
|
+
claim: ClientMediaClaimSchema.optional(),
|
|
9
|
+
onProgress: onProgressSchema,
|
|
10
|
+
signal: z.instanceof(AbortSignal).optional(),
|
|
11
|
+
}).strict();
|
|
12
|
+
//# sourceMappingURL=update-work-realm-cover-variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-work-realm-cover-variables.js","sourceRoot":"","sources":["../../src/upload-variables/update-work-realm-cover-variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1D,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC/C,0EAA0E;IAC1E,gEAAgE;IAChE,KAAK,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IACxC,UAAU,EAAE,gBAAgB;IAC5B,MAAM,EAAE,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC,MAAM,EAAE,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ClientMediaClaimSchema } from '@ttt-productions/media-schemas';\nimport { onProgressSchema } from './on-progress.js';\n\n\nexport const UpdateWorkRealmCoverVariablesSchema = z.object({\n file: z.instanceof(File).or(z.instanceof(Blob)),\n // Untrusted client claim of what the user's action implies (advisory; the\n // server byte inspection is the only classification authority).\n claim: ClientMediaClaimSchema.optional(),\n onProgress: onProgressSchema,\n signal: z.instanceof(AbortSignal).optional(),\n}).strict();\nexport type UpdateWorkRealmCoverVariables = z.infer<typeof UpdateWorkRealmCoverVariablesSchema>;\n"]}
|