@ttt-productions/ttt-core 0.79.16 → 0.79.18
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 +2 -0
- package/dist/upload-variables/index.d.ts.map +1 -1
- package/dist/upload-variables/index.js +2 -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/dist/upload-variables/upload-work-file-variables.d.ts +23 -0
- package/dist/upload-variables/upload-work-file-variables.d.ts.map +1 -0
- package/dist/upload-variables/upload-work-file-variables.js +14 -0
- package/dist/upload-variables/upload-work-file-variables.js.map +1 -0
- package/package.json +1 -1
|
@@ -13,4 +13,6 @@ 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';
|
|
17
|
+
export * from './upload-work-file-variables.js';
|
|
16
18
|
//# 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;AACvD,cAAc,iCAAiC,CAAC"}
|
|
@@ -13,4 +13,6 @@ 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';
|
|
17
|
+
export * from './upload-work-file-variables.js';
|
|
16
18
|
//# 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;AACvD,cAAc,iCAAiC,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';\nexport * from './upload-work-file-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"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const UploadWorkFileVariablesSchema: z.ZodObject<{
|
|
3
|
+
workProjectId: z.ZodString;
|
|
4
|
+
folderId: z.ZodString;
|
|
5
|
+
file: z.ZodCustom<File, File>;
|
|
6
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
kind: z.ZodEnum<{
|
|
8
|
+
file: "file";
|
|
9
|
+
image: "image";
|
|
10
|
+
video: "video";
|
|
11
|
+
audio: "audio";
|
|
12
|
+
}>;
|
|
13
|
+
source: z.ZodEnum<{
|
|
14
|
+
"file-picker": "file-picker";
|
|
15
|
+
"camera-capture": "camera-capture";
|
|
16
|
+
"media-recorder": "media-recorder";
|
|
17
|
+
}>;
|
|
18
|
+
}, z.core.$strict>>;
|
|
19
|
+
onProgress: z.ZodOptional<z.ZodCustom<(state: import("@ttt-productions/media-schemas").UploadState | null) => void, (state: import("@ttt-productions/media-schemas").UploadState | null) => void>>;
|
|
20
|
+
signal: z.ZodOptional<z.ZodCustom<AbortSignal, AbortSignal>>;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export type UploadWorkFileVariables = z.infer<typeof UploadWorkFileVariablesSchema>;
|
|
23
|
+
//# sourceMappingURL=upload-work-file-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-work-file-variables.d.ts","sourceRoot":"","sources":["../../src/upload-variables/upload-work-file-variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;kBAS/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ClientMediaClaimSchema } from '@ttt-productions/media-schemas';
|
|
3
|
+
import { onProgressSchema } from './on-progress.js';
|
|
4
|
+
export const UploadWorkFileVariablesSchema = z.object({
|
|
5
|
+
workProjectId: z.string().min(1),
|
|
6
|
+
folderId: z.string().min(1),
|
|
7
|
+
file: z.instanceof(File),
|
|
8
|
+
// Untrusted client claim of what the user's action implies (advisory; the
|
|
9
|
+
// server byte inspection is the only classification authority).
|
|
10
|
+
claim: ClientMediaClaimSchema.optional(),
|
|
11
|
+
onProgress: onProgressSchema,
|
|
12
|
+
signal: z.instanceof(AbortSignal).optional(),
|
|
13
|
+
}).strict();
|
|
14
|
+
//# sourceMappingURL=upload-work-file-variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-work-file-variables.js","sourceRoot":"","sources":["../../src/upload-variables/upload-work-file-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,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;IACxB,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 UploadWorkFileVariablesSchema = z.object({\n workProjectId: z.string().min(1),\n folderId: z.string().min(1),\n file: z.instanceof(File),\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 UploadWorkFileVariables = z.infer<typeof UploadWorkFileVariablesSchema>;\n"]}
|