@ttt-productions/ttt-core 0.7.18 → 0.8.0
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/doc-schemas/audit.d.ts +105 -0
- package/dist/doc-schemas/audit.d.ts.map +1 -0
- package/dist/doc-schemas/audit.js +39 -0
- package/dist/doc-schemas/audit.js.map +1 -0
- package/dist/doc-schemas/commissions.d.ts +313 -0
- package/dist/doc-schemas/commissions.d.ts.map +1 -0
- package/dist/doc-schemas/commissions.js +80 -0
- package/dist/doc-schemas/commissions.js.map +1 -0
- package/dist/doc-schemas/content.d.ts +650 -0
- package/dist/doc-schemas/content.d.ts.map +1 -0
- package/dist/doc-schemas/content.js +182 -0
- package/dist/doc-schemas/content.js.map +1 -0
- package/dist/doc-schemas/index.d.ts +15 -0
- package/dist/doc-schemas/index.d.ts.map +1 -0
- package/dist/doc-schemas/index.js +20 -0
- package/dist/doc-schemas/index.js.map +1 -0
- package/dist/doc-schemas/messaging.d.ts +362 -0
- package/dist/doc-schemas/messaging.d.ts.map +1 -0
- package/dist/doc-schemas/messaging.js +62 -0
- package/dist/doc-schemas/messaging.js.map +1 -0
- package/dist/doc-schemas/moderation.d.ts +331 -0
- package/dist/doc-schemas/moderation.d.ts.map +1 -0
- package/dist/doc-schemas/moderation.js +70 -0
- package/dist/doc-schemas/moderation.js.map +1 -0
- package/dist/doc-schemas/notifications.d.ts +154 -0
- package/dist/doc-schemas/notifications.d.ts.map +1 -0
- package/dist/doc-schemas/notifications.js +42 -0
- package/dist/doc-schemas/notifications.js.map +1 -0
- package/dist/doc-schemas/operational.d.ts +48 -0
- package/dist/doc-schemas/operational.d.ts.map +1 -0
- package/dist/doc-schemas/operational.js +24 -0
- package/dist/doc-schemas/operational.js.map +1 -0
- package/dist/doc-schemas/publicUser.d.ts +31 -0
- package/dist/doc-schemas/publicUser.d.ts.map +1 -0
- package/dist/doc-schemas/publicUser.js +17 -0
- package/dist/doc-schemas/publicUser.js.map +1 -0
- package/dist/doc-schemas/registry.d.ts +12176 -0
- package/dist/doc-schemas/registry.d.ts.map +1 -0
- package/dist/doc-schemas/registry.js +125 -0
- package/dist/doc-schemas/registry.js.map +1 -0
- package/dist/doc-schemas/report-docs.d.ts +264 -0
- package/dist/doc-schemas/report-docs.d.ts.map +1 -0
- package/dist/doc-schemas/report-docs.js +92 -0
- package/dist/doc-schemas/report-docs.js.map +1 -0
- package/dist/doc-schemas/social.d.ts +201 -0
- package/dist/doc-schemas/social.d.ts.map +1 -0
- package/dist/doc-schemas/social.js +58 -0
- package/dist/doc-schemas/social.js.map +1 -0
- package/dist/doc-schemas/system.d.ts +19 -0
- package/dist/doc-schemas/system.d.ts.map +1 -0
- package/dist/doc-schemas/system.js +10 -0
- package/dist/doc-schemas/system.js.map +1 -0
- package/dist/doc-schemas/user.d.ts +296 -0
- package/dist/doc-schemas/user.d.ts.map +1 -0
- package/dist/doc-schemas/user.js +79 -0
- package/dist/doc-schemas/user.js.map +1 -0
- package/dist/doc-schemas/work-project.d.ts +320 -0
- package/dist/doc-schemas/work-project.d.ts.map +1 -0
- package/dist/doc-schemas/work-project.js +104 -0
- package/dist/doc-schemas/work-project.js.map +1 -0
- package/dist/media/atoms.d.ts +6 -6
- package/dist/media/domain-events.d.ts +136 -136
- package/dist/media/pending-media.d.ts +1294 -1294
- package/dist/media/target-info.d.ts +27 -27
- package/dist/media/target-info.d.ts.map +1 -1
- package/dist/media/target-info.js +0 -5
- package/dist/media/target-info.js.map +1 -1
- package/dist/schemas/admin-dispatch-actions.d.ts +4 -4
- package/dist/schemas/admin.d.ts +48 -49
- package/dist/schemas/admin.d.ts.map +1 -1
- package/dist/schemas/chat.d.ts +2 -2
- package/dist/schemas/hall-library.d.ts +8 -8
- package/dist/schemas/notification.d.ts +14 -14
- package/dist/schemas/social.d.ts +8 -8
- package/dist/schemas/users.d.ts +2 -2
- package/dist/schemas/work-project-management.d.ts +34 -34
- package/dist/types/admin.d.ts +1 -1
- package/dist/types/admin.d.ts.map +1 -1
- package/dist/types/commissions.d.ts +1 -83
- package/dist/types/commissions.d.ts.map +1 -1
- package/dist/types/content.d.ts +5 -176
- package/dist/types/content.d.ts.map +1 -1
- package/dist/types/content.js.map +1 -1
- package/dist/types/messaging.d.ts +1 -64
- package/dist/types/messaging.d.ts.map +1 -1
- package/dist/types/moderation.d.ts +1 -57
- package/dist/types/moderation.d.ts.map +1 -1
- package/dist/types/publicUser.d.ts +1 -10
- package/dist/types/publicUser.d.ts.map +1 -1
- package/dist/types/social.d.ts +1 -51
- package/dist/types/social.d.ts.map +1 -1
- package/dist/types/system.d.ts +1 -25
- package/dist/types/system.d.ts.map +1 -1
- package/dist/types/user.d.ts +1 -75
- package/dist/types/user.d.ts.map +1 -1
- package/dist/types/work-project.d.ts +2 -114
- package/dist/types/work-project.d.ts.map +1 -1
- package/dist/types/work-project.js.map +1 -1
- package/dist/upload-variables/create-admin-audition-variables.d.ts +2 -2
- package/dist/upload-variables/create-commission-variables.d.ts +4 -4
- package/dist/upload-variables/create-work-project-audition-variables.d.ts +4 -4
- package/dist/upload-variables/square-streetz-post-variables.d.ts +8 -8
- package/dist/upload-variables/upload-work-asset-variables.d.ts +43 -4
- package/dist/upload-variables/upload-work-asset-variables.d.ts.map +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TTTAuditEventSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
type: z.ZodString;
|
|
5
|
+
schemaVersion: z.ZodNumber;
|
|
6
|
+
actor: z.ZodNullable<z.ZodDiscriminatedUnion<"actorMode", [z.ZodObject<{
|
|
7
|
+
uid: z.ZodNullable<z.ZodString>;
|
|
8
|
+
isAdmin: z.ZodBoolean;
|
|
9
|
+
actorMode: z.ZodEnum<["user", "projectMember", "system"]>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
uid: string | null;
|
|
12
|
+
actorMode: "user" | "system" | "projectMember";
|
|
13
|
+
isAdmin: boolean;
|
|
14
|
+
}, {
|
|
15
|
+
uid: string | null;
|
|
16
|
+
actorMode: "user" | "system" | "projectMember";
|
|
17
|
+
isAdmin: boolean;
|
|
18
|
+
}>, z.ZodObject<{
|
|
19
|
+
uid: z.ZodNullable<z.ZodString>;
|
|
20
|
+
isAdmin: z.ZodBoolean;
|
|
21
|
+
actorMode: z.ZodEnum<["adminReview", "adminOverride"]>;
|
|
22
|
+
systemRole: z.ZodEnum<["admin", "jrAdmin"]>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
uid: string | null;
|
|
25
|
+
actorMode: "adminReview" | "adminOverride";
|
|
26
|
+
isAdmin: boolean;
|
|
27
|
+
systemRole: "admin" | "jrAdmin";
|
|
28
|
+
}, {
|
|
29
|
+
uid: string | null;
|
|
30
|
+
actorMode: "adminReview" | "adminOverride";
|
|
31
|
+
isAdmin: boolean;
|
|
32
|
+
systemRole: "admin" | "jrAdmin";
|
|
33
|
+
}>]>>;
|
|
34
|
+
target: z.ZodNullable<z.ZodObject<{
|
|
35
|
+
uid: z.ZodNullable<z.ZodString>;
|
|
36
|
+
ref: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
uid: string | null;
|
|
39
|
+
ref: string | null;
|
|
40
|
+
}, {
|
|
41
|
+
uid: string | null;
|
|
42
|
+
ref: string | null;
|
|
43
|
+
}>>;
|
|
44
|
+
timestamp: z.ZodNumber;
|
|
45
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
46
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
|
47
|
+
region: z.ZodNullable<z.ZodString>;
|
|
48
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
49
|
+
result: z.ZodEnum<["success", "failure"]>;
|
|
50
|
+
failureReason: z.ZodNullable<z.ZodString>;
|
|
51
|
+
correlationId: z.ZodNullable<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
type: string;
|
|
54
|
+
id: string;
|
|
55
|
+
result: "success" | "failure";
|
|
56
|
+
timestamp: number;
|
|
57
|
+
schemaVersion: number;
|
|
58
|
+
actor: {
|
|
59
|
+
uid: string | null;
|
|
60
|
+
actorMode: "user" | "system" | "projectMember";
|
|
61
|
+
isAdmin: boolean;
|
|
62
|
+
} | {
|
|
63
|
+
uid: string | null;
|
|
64
|
+
actorMode: "adminReview" | "adminOverride";
|
|
65
|
+
isAdmin: boolean;
|
|
66
|
+
systemRole: "admin" | "jrAdmin";
|
|
67
|
+
} | null;
|
|
68
|
+
target: {
|
|
69
|
+
uid: string | null;
|
|
70
|
+
ref: string | null;
|
|
71
|
+
} | null;
|
|
72
|
+
ip: string | null;
|
|
73
|
+
userAgent: string | null;
|
|
74
|
+
region: string | null;
|
|
75
|
+
metadata: Record<string, unknown>;
|
|
76
|
+
failureReason: string | null;
|
|
77
|
+
correlationId: string | null;
|
|
78
|
+
}, {
|
|
79
|
+
type: string;
|
|
80
|
+
id: string;
|
|
81
|
+
result: "success" | "failure";
|
|
82
|
+
timestamp: number;
|
|
83
|
+
schemaVersion: number;
|
|
84
|
+
actor: {
|
|
85
|
+
uid: string | null;
|
|
86
|
+
actorMode: "user" | "system" | "projectMember";
|
|
87
|
+
isAdmin: boolean;
|
|
88
|
+
} | {
|
|
89
|
+
uid: string | null;
|
|
90
|
+
actorMode: "adminReview" | "adminOverride";
|
|
91
|
+
isAdmin: boolean;
|
|
92
|
+
systemRole: "admin" | "jrAdmin";
|
|
93
|
+
} | null;
|
|
94
|
+
target: {
|
|
95
|
+
uid: string | null;
|
|
96
|
+
ref: string | null;
|
|
97
|
+
} | null;
|
|
98
|
+
ip: string | null;
|
|
99
|
+
userAgent: string | null;
|
|
100
|
+
region: string | null;
|
|
101
|
+
metadata: Record<string, unknown>;
|
|
102
|
+
failureReason: string | null;
|
|
103
|
+
correlationId: string | null;
|
|
104
|
+
}>;
|
|
105
|
+
//# sourceMappingURL=audit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/audit.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc9B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Registry schema for auditEvents/{eventId}. Mirrors the structural shape of
|
|
2
|
+
// TTTAuditEvent in ../types/audit.ts — which stays the canonical TYPE because it encodes
|
|
3
|
+
// compiler-enforced actor/role rules (systemRole required on admin modes, forbidden
|
|
4
|
+
// otherwise) that Zod can't express. `type` is validated as a string here; the exact
|
|
5
|
+
// ~80-value AuditEventType union remains the source of truth in ../types/audit.ts.
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
const TTTAuditActorSchema = z.discriminatedUnion('actorMode', [
|
|
8
|
+
z.object({
|
|
9
|
+
uid: z.string().nullable(),
|
|
10
|
+
isAdmin: z.boolean(),
|
|
11
|
+
actorMode: z.enum(['user', 'projectMember', 'system']),
|
|
12
|
+
}),
|
|
13
|
+
z.object({
|
|
14
|
+
uid: z.string().nullable(),
|
|
15
|
+
isAdmin: z.boolean(),
|
|
16
|
+
actorMode: z.enum(['adminReview', 'adminOverride']),
|
|
17
|
+
systemRole: z.enum(['admin', 'jrAdmin']),
|
|
18
|
+
}),
|
|
19
|
+
]);
|
|
20
|
+
const TTTAuditTargetSchema = z.object({
|
|
21
|
+
uid: z.string().nullable(),
|
|
22
|
+
ref: z.string().nullable(),
|
|
23
|
+
});
|
|
24
|
+
export const TTTAuditEventSchema = z.object({
|
|
25
|
+
id: z.string(),
|
|
26
|
+
type: z.string(),
|
|
27
|
+
schemaVersion: z.number(),
|
|
28
|
+
actor: TTTAuditActorSchema.nullable(),
|
|
29
|
+
target: TTTAuditTargetSchema.nullable(),
|
|
30
|
+
timestamp: z.number(),
|
|
31
|
+
ip: z.string().nullable(),
|
|
32
|
+
userAgent: z.string().nullable(),
|
|
33
|
+
region: z.string().nullable(),
|
|
34
|
+
metadata: z.record(z.string(), z.unknown()),
|
|
35
|
+
result: z.enum(['success', 'failure']),
|
|
36
|
+
failureReason: z.string().nullable(),
|
|
37
|
+
correlationId: z.string().nullable(),
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=audit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/doc-schemas/audit.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,yFAAyF;AACzF,oFAAoF;AACpF,qFAAqF;AACrF,mFAAmF;AAEnF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,mBAAmB,GAAG,CAAC,CAAC,kBAAkB,CAAC,WAAW,EAAE;IAC5D,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;QACpB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAC;KACvD,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;QACpB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;QACnD,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;KACzC,CAAC;CACH,CAAC,CAAC;AAEH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;
|
|
7
|
+
size: z.ZodNumber;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
type: string;
|
|
10
|
+
name: string;
|
|
11
|
+
url: string;
|
|
12
|
+
size: number;
|
|
13
|
+
pendingMediaId?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
type: string;
|
|
16
|
+
name: string;
|
|
17
|
+
url: string;
|
|
18
|
+
size: number;
|
|
19
|
+
pendingMediaId?: string | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type CommissionAttachment = z.infer<typeof CommissionAttachmentSchema>;
|
|
22
|
+
export declare const FullCommissionListingSchema: z.ZodObject<{
|
|
23
|
+
commissionListingId: z.ZodString;
|
|
24
|
+
title: z.ZodString;
|
|
25
|
+
description: z.ZodString;
|
|
26
|
+
commissionAttachment: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
pendingMediaId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
url: z.ZodString;
|
|
30
|
+
type: z.ZodString;
|
|
31
|
+
size: z.ZodNumber;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
type: string;
|
|
34
|
+
name: string;
|
|
35
|
+
url: string;
|
|
36
|
+
size: number;
|
|
37
|
+
pendingMediaId?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
type: string;
|
|
40
|
+
name: string;
|
|
41
|
+
url: string;
|
|
42
|
+
size: number;
|
|
43
|
+
pendingMediaId?: string | undefined;
|
|
44
|
+
}>>;
|
|
45
|
+
requiredTradeProfessions: z.ZodArray<z.ZodString, "many">;
|
|
46
|
+
stakeSharesOffered: z.ZodNumber;
|
|
47
|
+
createdAt: z.ZodNumber;
|
|
48
|
+
createdBy: z.ZodObject<{
|
|
49
|
+
uid: z.ZodString;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
uid: string;
|
|
52
|
+
}, {
|
|
53
|
+
uid: string;
|
|
54
|
+
}>;
|
|
55
|
+
workProjectAssociatedWith: z.ZodObject<{
|
|
56
|
+
workProjectId: z.ZodString;
|
|
57
|
+
type: z.ZodString;
|
|
58
|
+
workingDescription: z.ZodString;
|
|
59
|
+
workingTitle: z.ZodString;
|
|
60
|
+
}, "strict", z.ZodTypeAny, {
|
|
61
|
+
type: string;
|
|
62
|
+
workProjectId: string;
|
|
63
|
+
workingTitle: string;
|
|
64
|
+
workingDescription: string;
|
|
65
|
+
}, {
|
|
66
|
+
type: string;
|
|
67
|
+
workProjectId: string;
|
|
68
|
+
workingTitle: string;
|
|
69
|
+
workingDescription: string;
|
|
70
|
+
}>;
|
|
71
|
+
status: z.ZodEnum<["open", "closed"]>;
|
|
72
|
+
savedProposalArtisans: z.ZodArray<z.ZodString, "many">;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
status: "open" | "closed";
|
|
75
|
+
title: string;
|
|
76
|
+
description: string;
|
|
77
|
+
createdAt: number;
|
|
78
|
+
createdBy: {
|
|
79
|
+
uid: string;
|
|
80
|
+
};
|
|
81
|
+
commissionListingId: string;
|
|
82
|
+
requiredTradeProfessions: string[];
|
|
83
|
+
stakeSharesOffered: number;
|
|
84
|
+
workProjectAssociatedWith: {
|
|
85
|
+
type: string;
|
|
86
|
+
workProjectId: string;
|
|
87
|
+
workingTitle: string;
|
|
88
|
+
workingDescription: string;
|
|
89
|
+
};
|
|
90
|
+
savedProposalArtisans: string[];
|
|
91
|
+
commissionAttachment?: {
|
|
92
|
+
type: string;
|
|
93
|
+
name: string;
|
|
94
|
+
url: string;
|
|
95
|
+
size: number;
|
|
96
|
+
pendingMediaId?: string | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
status: "open" | "closed";
|
|
100
|
+
title: string;
|
|
101
|
+
description: string;
|
|
102
|
+
createdAt: number;
|
|
103
|
+
createdBy: {
|
|
104
|
+
uid: string;
|
|
105
|
+
};
|
|
106
|
+
commissionListingId: string;
|
|
107
|
+
requiredTradeProfessions: string[];
|
|
108
|
+
stakeSharesOffered: number;
|
|
109
|
+
workProjectAssociatedWith: {
|
|
110
|
+
type: string;
|
|
111
|
+
workProjectId: string;
|
|
112
|
+
workingTitle: string;
|
|
113
|
+
workingDescription: string;
|
|
114
|
+
};
|
|
115
|
+
savedProposalArtisans: string[];
|
|
116
|
+
commissionAttachment?: {
|
|
117
|
+
type: string;
|
|
118
|
+
name: string;
|
|
119
|
+
url: string;
|
|
120
|
+
size: number;
|
|
121
|
+
pendingMediaId?: string | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
}>;
|
|
124
|
+
export type FullCommissionListing = z.infer<typeof FullCommissionListingSchema>;
|
|
125
|
+
export declare const CommissionProposalSchema: z.ZodObject<{
|
|
126
|
+
commissionProposalId: z.ZodString;
|
|
127
|
+
commissionListingId: z.ZodString;
|
|
128
|
+
workProjectId: z.ZodString;
|
|
129
|
+
proposalText: z.ZodString;
|
|
130
|
+
proposalFileUrl: z.ZodOptional<z.ZodString>;
|
|
131
|
+
proposalFileType: z.ZodOptional<z.ZodString>;
|
|
132
|
+
createdBy: z.ZodObject<{
|
|
133
|
+
uid: z.ZodString;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
uid: string;
|
|
136
|
+
}, {
|
|
137
|
+
uid: string;
|
|
138
|
+
}>;
|
|
139
|
+
createdOn: z.ZodNumber;
|
|
140
|
+
status: z.ZodEnum<["open", "invited", "accepted", "rejected"]>;
|
|
141
|
+
guildInviteId: z.ZodOptional<z.ZodString>;
|
|
142
|
+
invitedOn: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
acceptedOn: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
rejectedAt: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
status: "open" | "rejected" | "accepted" | "invited";
|
|
147
|
+
createdOn: number;
|
|
148
|
+
workProjectId: string;
|
|
149
|
+
createdBy: {
|
|
150
|
+
uid: string;
|
|
151
|
+
};
|
|
152
|
+
commissionListingId: string;
|
|
153
|
+
commissionProposalId: string;
|
|
154
|
+
proposalText: string;
|
|
155
|
+
guildInviteId?: string | undefined;
|
|
156
|
+
proposalFileUrl?: string | undefined;
|
|
157
|
+
proposalFileType?: string | undefined;
|
|
158
|
+
invitedOn?: number | undefined;
|
|
159
|
+
acceptedOn?: number | undefined;
|
|
160
|
+
rejectedAt?: number | undefined;
|
|
161
|
+
}, {
|
|
162
|
+
status: "open" | "rejected" | "accepted" | "invited";
|
|
163
|
+
createdOn: number;
|
|
164
|
+
workProjectId: string;
|
|
165
|
+
createdBy: {
|
|
166
|
+
uid: string;
|
|
167
|
+
};
|
|
168
|
+
commissionListingId: string;
|
|
169
|
+
commissionProposalId: string;
|
|
170
|
+
proposalText: string;
|
|
171
|
+
guildInviteId?: string | undefined;
|
|
172
|
+
proposalFileUrl?: string | undefined;
|
|
173
|
+
proposalFileType?: string | undefined;
|
|
174
|
+
invitedOn?: number | undefined;
|
|
175
|
+
acceptedOn?: number | undefined;
|
|
176
|
+
rejectedAt?: number | undefined;
|
|
177
|
+
}>;
|
|
178
|
+
export type CommissionProposal = z.infer<typeof CommissionProposalSchema>;
|
|
179
|
+
export declare const AuditionTypeSchema: z.ZodEnum<["platformAudition", "sponsoredAudition", "workAudition"]>;
|
|
180
|
+
export type AuditionType = z.infer<typeof AuditionTypeSchema>;
|
|
181
|
+
export declare const AuditionSchema: z.ZodObject<{
|
|
182
|
+
auditionId: z.ZodString;
|
|
183
|
+
type: z.ZodEnum<["platformAudition", "sponsoredAudition", "workAudition"]>;
|
|
184
|
+
title: z.ZodString;
|
|
185
|
+
description: z.ZodString;
|
|
186
|
+
videoUrl: z.ZodString;
|
|
187
|
+
mediaType: z.ZodOptional<z.ZodEnum<["video", "image", "audio", "other"]>>;
|
|
188
|
+
openTill: z.ZodNumber;
|
|
189
|
+
createdOn: z.ZodNumber;
|
|
190
|
+
createdBy: z.ZodObject<{
|
|
191
|
+
uid: z.ZodString;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
uid: string;
|
|
194
|
+
}, {
|
|
195
|
+
uid: string;
|
|
196
|
+
}>;
|
|
197
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
198
|
+
sponsoredAuditionAmountUSD: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
stakeSharesOffered: z.ZodOptional<z.ZodNumber>;
|
|
200
|
+
status: z.ZodEnum<["open", "closed", "pendingReview"]>;
|
|
201
|
+
auditionEntryCount: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
shortId: z.ZodOptional<z.ZodString>;
|
|
203
|
+
shortUrl: z.ZodOptional<z.ZodString>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
type: "platformAudition" | "sponsoredAudition" | "workAudition";
|
|
206
|
+
status: "open" | "closed" | "pendingReview";
|
|
207
|
+
title: string;
|
|
208
|
+
description: string;
|
|
209
|
+
createdOn: number;
|
|
210
|
+
videoUrl: string;
|
|
211
|
+
createdBy: {
|
|
212
|
+
uid: string;
|
|
213
|
+
};
|
|
214
|
+
auditionId: string;
|
|
215
|
+
openTill: number;
|
|
216
|
+
mediaType?: "video" | "image" | "audio" | "other" | undefined;
|
|
217
|
+
workProjectId?: string | undefined;
|
|
218
|
+
stakeSharesOffered?: number | undefined;
|
|
219
|
+
sponsoredAuditionAmountUSD?: number | undefined;
|
|
220
|
+
auditionEntryCount?: number | undefined;
|
|
221
|
+
shortId?: string | undefined;
|
|
222
|
+
shortUrl?: string | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
type: "platformAudition" | "sponsoredAudition" | "workAudition";
|
|
225
|
+
status: "open" | "closed" | "pendingReview";
|
|
226
|
+
title: string;
|
|
227
|
+
description: string;
|
|
228
|
+
createdOn: number;
|
|
229
|
+
videoUrl: string;
|
|
230
|
+
createdBy: {
|
|
231
|
+
uid: string;
|
|
232
|
+
};
|
|
233
|
+
auditionId: string;
|
|
234
|
+
openTill: number;
|
|
235
|
+
mediaType?: "video" | "image" | "audio" | "other" | undefined;
|
|
236
|
+
workProjectId?: string | undefined;
|
|
237
|
+
stakeSharesOffered?: number | undefined;
|
|
238
|
+
sponsoredAuditionAmountUSD?: number | undefined;
|
|
239
|
+
auditionEntryCount?: number | undefined;
|
|
240
|
+
shortId?: string | undefined;
|
|
241
|
+
shortUrl?: string | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
export type Audition = z.infer<typeof AuditionSchema>;
|
|
244
|
+
export declare const AuditionEntrySchema: z.ZodObject<{
|
|
245
|
+
auditionEntryId: z.ZodString;
|
|
246
|
+
auditionId: z.ZodString;
|
|
247
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
248
|
+
videoUrl: z.ZodString;
|
|
249
|
+
mediaType: z.ZodOptional<z.ZodEnum<["video", "image", "other"]>>;
|
|
250
|
+
createdBy: z.ZodObject<{
|
|
251
|
+
uid: z.ZodString;
|
|
252
|
+
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
uid: string;
|
|
254
|
+
}, {
|
|
255
|
+
uid: string;
|
|
256
|
+
}>;
|
|
257
|
+
createdAt: z.ZodNumber;
|
|
258
|
+
votes: z.ZodNumber;
|
|
259
|
+
shortId: z.ZodOptional<z.ZodString>;
|
|
260
|
+
shortUrl: z.ZodOptional<z.ZodString>;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
videoUrl: string;
|
|
263
|
+
createdAt: number;
|
|
264
|
+
createdBy: {
|
|
265
|
+
uid: string;
|
|
266
|
+
};
|
|
267
|
+
auditionId: string;
|
|
268
|
+
auditionEntryId: string;
|
|
269
|
+
votes: number;
|
|
270
|
+
mediaType?: "video" | "image" | "other" | undefined;
|
|
271
|
+
workProjectId?: string | undefined;
|
|
272
|
+
shortId?: string | undefined;
|
|
273
|
+
shortUrl?: string | undefined;
|
|
274
|
+
}, {
|
|
275
|
+
videoUrl: string;
|
|
276
|
+
createdAt: number;
|
|
277
|
+
createdBy: {
|
|
278
|
+
uid: string;
|
|
279
|
+
};
|
|
280
|
+
auditionId: string;
|
|
281
|
+
auditionEntryId: string;
|
|
282
|
+
votes: number;
|
|
283
|
+
mediaType?: "video" | "image" | "other" | undefined;
|
|
284
|
+
workProjectId?: string | undefined;
|
|
285
|
+
shortId?: string | undefined;
|
|
286
|
+
shortUrl?: string | undefined;
|
|
287
|
+
}>;
|
|
288
|
+
export type AuditionEntry = z.infer<typeof AuditionEntrySchema>;
|
|
289
|
+
export declare const UserAuditionVoteSchema: z.ZodObject<{
|
|
290
|
+
votedForAuditionEntryId: z.ZodString;
|
|
291
|
+
votedOn: z.ZodNumber;
|
|
292
|
+
auditionEntryArtisanCreator: z.ZodObject<{
|
|
293
|
+
uid: z.ZodString;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
uid: string;
|
|
296
|
+
}, {
|
|
297
|
+
uid: string;
|
|
298
|
+
}>;
|
|
299
|
+
}, "strip", z.ZodTypeAny, {
|
|
300
|
+
votedForAuditionEntryId: string;
|
|
301
|
+
votedOn: number;
|
|
302
|
+
auditionEntryArtisanCreator: {
|
|
303
|
+
uid: string;
|
|
304
|
+
};
|
|
305
|
+
}, {
|
|
306
|
+
votedForAuditionEntryId: string;
|
|
307
|
+
votedOn: number;
|
|
308
|
+
auditionEntryArtisanCreator: {
|
|
309
|
+
uid: string;
|
|
310
|
+
};
|
|
311
|
+
}>;
|
|
312
|
+
export type UserAuditionVote = z.infer<typeof UserAuditionVoteSchema>;
|
|
313
|
+
//# sourceMappingURL=commissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commissions.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/commissions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,kBAAkB,sEAAoE,CAAC;AACpG,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// Commission + Audition Firestore document SCHEMAS — commissionListings/{id} and its
|
|
2
|
+
// commissionProposals, auditionBoard/{id} and its auditionEntries, plus the per-user
|
|
3
|
+
// auditionVotes doc. Types inferred via z.infer.
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
import { ShortWorkProjectSchema } from '../media/atoms.js';
|
|
6
|
+
import { CommissionProposalStatusSchema } from '../schemas/commissions.js';
|
|
7
|
+
const userRefSchema = z.object({ uid: z.string() });
|
|
8
|
+
export const CommissionAttachmentSchema = z.object({
|
|
9
|
+
pendingMediaId: z.string().optional(),
|
|
10
|
+
name: z.string(),
|
|
11
|
+
url: z.string(),
|
|
12
|
+
// Original type is `'image' | 'video' | 'audio' | 'other' | string`, which TS widens to string.
|
|
13
|
+
type: z.string(),
|
|
14
|
+
size: z.number(),
|
|
15
|
+
});
|
|
16
|
+
export const FullCommissionListingSchema = z.object({
|
|
17
|
+
commissionListingId: z.string(),
|
|
18
|
+
title: z.string(),
|
|
19
|
+
description: z.string(),
|
|
20
|
+
commissionAttachment: CommissionAttachmentSchema.optional(),
|
|
21
|
+
requiredTradeProfessions: z.array(z.string()),
|
|
22
|
+
stakeSharesOffered: z.number(),
|
|
23
|
+
createdAt: z.number(),
|
|
24
|
+
createdBy: userRefSchema,
|
|
25
|
+
workProjectAssociatedWith: ShortWorkProjectSchema,
|
|
26
|
+
status: z.enum(['open', 'closed']),
|
|
27
|
+
savedProposalArtisans: z.array(z.string()),
|
|
28
|
+
});
|
|
29
|
+
export const CommissionProposalSchema = z.object({
|
|
30
|
+
commissionProposalId: z.string(),
|
|
31
|
+
commissionListingId: z.string(),
|
|
32
|
+
workProjectId: z.string(),
|
|
33
|
+
proposalText: z.string(),
|
|
34
|
+
proposalFileUrl: z.string().optional(),
|
|
35
|
+
proposalFileType: z.string().optional(),
|
|
36
|
+
createdBy: userRefSchema,
|
|
37
|
+
createdOn: z.number(),
|
|
38
|
+
status: CommissionProposalStatusSchema,
|
|
39
|
+
guildInviteId: z.string().optional(),
|
|
40
|
+
invitedOn: z.number().optional(),
|
|
41
|
+
acceptedOn: z.number().optional(),
|
|
42
|
+
rejectedAt: z.number().optional(),
|
|
43
|
+
});
|
|
44
|
+
export const AuditionTypeSchema = z.enum(['platformAudition', 'sponsoredAudition', 'workAudition']);
|
|
45
|
+
export const AuditionSchema = z.object({
|
|
46
|
+
auditionId: z.string(),
|
|
47
|
+
type: AuditionTypeSchema,
|
|
48
|
+
title: z.string(),
|
|
49
|
+
description: z.string(),
|
|
50
|
+
videoUrl: z.string(),
|
|
51
|
+
mediaType: z.enum(['video', 'image', 'audio', 'other']).optional(),
|
|
52
|
+
openTill: z.number(),
|
|
53
|
+
createdOn: z.number(),
|
|
54
|
+
createdBy: userRefSchema,
|
|
55
|
+
workProjectId: z.string().optional(),
|
|
56
|
+
sponsoredAuditionAmountUSD: z.number().optional(),
|
|
57
|
+
stakeSharesOffered: z.number().optional(),
|
|
58
|
+
status: z.enum(['open', 'closed', 'pendingReview']),
|
|
59
|
+
auditionEntryCount: z.number().optional(),
|
|
60
|
+
shortId: z.string().optional(),
|
|
61
|
+
shortUrl: z.string().optional(),
|
|
62
|
+
});
|
|
63
|
+
export const AuditionEntrySchema = z.object({
|
|
64
|
+
auditionEntryId: z.string(),
|
|
65
|
+
auditionId: z.string(),
|
|
66
|
+
workProjectId: z.string().optional(),
|
|
67
|
+
videoUrl: z.string(),
|
|
68
|
+
mediaType: z.enum(['video', 'image', 'other']).optional(),
|
|
69
|
+
createdBy: userRefSchema,
|
|
70
|
+
createdAt: z.number(),
|
|
71
|
+
votes: z.number(),
|
|
72
|
+
shortId: z.string().optional(),
|
|
73
|
+
shortUrl: z.string().optional(),
|
|
74
|
+
});
|
|
75
|
+
export const UserAuditionVoteSchema = z.object({
|
|
76
|
+
votedForAuditionEntryId: z.string(),
|
|
77
|
+
votedOn: z.number(),
|
|
78
|
+
auditionEntryArtisanCreator: userRefSchema,
|
|
79
|
+
});
|
|
80
|
+
//# sourceMappingURL=commissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commissions.js","sourceRoot":"","sources":["../../src/doc-schemas/commissions.ts"],"names":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