@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,201 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SquareStreetzPostTypeSchema: z.ZodEnum<["PROFILE_PICTURE_UPDATE", "NEW_CRAFT_SKILL", "NEW_ARTISAN_CREATOR", "COMMISSION_ACCEPTED", "DELETE_CRAFT_SKILL", "USER_POST", "NEW_WORK_PROJECT", "LIBRARY_PUBLISHED"]>;
|
|
3
|
+
export type SquareStreetzPostType = z.infer<typeof SquareStreetzPostTypeSchema>;
|
|
4
|
+
export declare const SquareStreetzPostSchema: z.ZodObject<{
|
|
5
|
+
postId: z.ZodString;
|
|
6
|
+
createdBy: z.ZodObject<{
|
|
7
|
+
uid: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
uid: string;
|
|
10
|
+
}, {
|
|
11
|
+
uid: string;
|
|
12
|
+
}>;
|
|
13
|
+
authorId: z.ZodString;
|
|
14
|
+
content: z.ZodString;
|
|
15
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
placeholder: z.ZodString;
|
|
17
|
+
type: z.ZodEnum<["user", "workProject", "workRealm", "commission", "audition"]>;
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
text: z.ZodString;
|
|
20
|
+
}, "strict", z.ZodTypeAny, {
|
|
21
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
22
|
+
id: string;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
text: string;
|
|
25
|
+
}, {
|
|
26
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
27
|
+
id: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
text: string;
|
|
30
|
+
}>, "many">>;
|
|
31
|
+
relatedIds: z.ZodArray<z.ZodString, "many">;
|
|
32
|
+
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
33
|
+
mediaType: z.ZodOptional<z.ZodEnum<["image", "video", "audio", "other"]>>;
|
|
34
|
+
createdAt: z.ZodNumber;
|
|
35
|
+
likes: z.ZodNumber;
|
|
36
|
+
postType: z.ZodOptional<z.ZodEnum<["PROFILE_PICTURE_UPDATE", "NEW_CRAFT_SKILL", "NEW_ARTISAN_CREATOR", "COMMISSION_ACCEPTED", "DELETE_CRAFT_SKILL", "USER_POST", "NEW_WORK_PROJECT", "LIBRARY_PUBLISHED"]>>;
|
|
37
|
+
relatedAssetId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
moderationStatus: z.ZodOptional<z.ZodEnum<["pending", "approved", "rejected", "pending_review"]>>;
|
|
39
|
+
moderationReason: z.ZodOptional<z.ZodString>;
|
|
40
|
+
moderationLayer: z.ZodOptional<z.ZodEnum<["word_filter", "perspective"]>>;
|
|
41
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
content: string;
|
|
44
|
+
createdAt: number;
|
|
45
|
+
createdBy: {
|
|
46
|
+
uid: string;
|
|
47
|
+
};
|
|
48
|
+
postId: string;
|
|
49
|
+
authorId: string;
|
|
50
|
+
relatedIds: string[];
|
|
51
|
+
likes: number;
|
|
52
|
+
mediaType?: "video" | "image" | "audio" | "other" | undefined;
|
|
53
|
+
mentions?: {
|
|
54
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
55
|
+
id: string;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
text: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
mediaUrl?: string | undefined;
|
|
60
|
+
postType?: "PROFILE_PICTURE_UPDATE" | "NEW_CRAFT_SKILL" | "NEW_ARTISAN_CREATOR" | "COMMISSION_ACCEPTED" | "DELETE_CRAFT_SKILL" | "USER_POST" | "NEW_WORK_PROJECT" | "LIBRARY_PUBLISHED" | undefined;
|
|
61
|
+
relatedAssetId?: string | undefined;
|
|
62
|
+
moderationStatus?: "pending" | "approved" | "rejected" | "pending_review" | undefined;
|
|
63
|
+
moderationReason?: string | undefined;
|
|
64
|
+
moderationLayer?: "word_filter" | "perspective" | undefined;
|
|
65
|
+
visible?: boolean | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
content: string;
|
|
68
|
+
createdAt: number;
|
|
69
|
+
createdBy: {
|
|
70
|
+
uid: string;
|
|
71
|
+
};
|
|
72
|
+
postId: string;
|
|
73
|
+
authorId: string;
|
|
74
|
+
relatedIds: string[];
|
|
75
|
+
likes: number;
|
|
76
|
+
mediaType?: "video" | "image" | "audio" | "other" | undefined;
|
|
77
|
+
mentions?: {
|
|
78
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
79
|
+
id: string;
|
|
80
|
+
placeholder: string;
|
|
81
|
+
text: string;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
mediaUrl?: string | undefined;
|
|
84
|
+
postType?: "PROFILE_PICTURE_UPDATE" | "NEW_CRAFT_SKILL" | "NEW_ARTISAN_CREATOR" | "COMMISSION_ACCEPTED" | "DELETE_CRAFT_SKILL" | "USER_POST" | "NEW_WORK_PROJECT" | "LIBRARY_PUBLISHED" | undefined;
|
|
85
|
+
relatedAssetId?: string | undefined;
|
|
86
|
+
moderationStatus?: "pending" | "approved" | "rejected" | "pending_review" | undefined;
|
|
87
|
+
moderationReason?: string | undefined;
|
|
88
|
+
moderationLayer?: "word_filter" | "perspective" | undefined;
|
|
89
|
+
visible?: boolean | undefined;
|
|
90
|
+
}>;
|
|
91
|
+
export type SquareStreetzPost = z.infer<typeof SquareStreetzPostSchema>;
|
|
92
|
+
export declare const MentionHistoryItemSchema: z.ZodObject<{
|
|
93
|
+
placeholder: z.ZodString;
|
|
94
|
+
type: z.ZodEnum<["user", "workProject", "workRealm", "commission", "audition"]>;
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
text: z.ZodString;
|
|
97
|
+
} & {
|
|
98
|
+
viewedAt: z.ZodNumber;
|
|
99
|
+
}, "strict", z.ZodTypeAny, {
|
|
100
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
101
|
+
viewedAt: number;
|
|
102
|
+
id: string;
|
|
103
|
+
placeholder: string;
|
|
104
|
+
text: string;
|
|
105
|
+
}, {
|
|
106
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
107
|
+
viewedAt: number;
|
|
108
|
+
id: string;
|
|
109
|
+
placeholder: string;
|
|
110
|
+
text: string;
|
|
111
|
+
}>;
|
|
112
|
+
export type MentionHistoryItem = z.infer<typeof MentionHistoryItemSchema>;
|
|
113
|
+
export declare const MentionHistoryDocumentSchema: z.ZodObject<{
|
|
114
|
+
userId: z.ZodString;
|
|
115
|
+
items: z.ZodArray<z.ZodObject<{
|
|
116
|
+
placeholder: z.ZodString;
|
|
117
|
+
type: z.ZodEnum<["user", "workProject", "workRealm", "commission", "audition"]>;
|
|
118
|
+
id: z.ZodString;
|
|
119
|
+
text: z.ZodString;
|
|
120
|
+
} & {
|
|
121
|
+
viewedAt: z.ZodNumber;
|
|
122
|
+
}, "strict", z.ZodTypeAny, {
|
|
123
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
124
|
+
viewedAt: number;
|
|
125
|
+
id: string;
|
|
126
|
+
placeholder: string;
|
|
127
|
+
text: string;
|
|
128
|
+
}, {
|
|
129
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
130
|
+
viewedAt: number;
|
|
131
|
+
id: string;
|
|
132
|
+
placeholder: string;
|
|
133
|
+
text: string;
|
|
134
|
+
}>, "many">;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
userId: string;
|
|
137
|
+
items: {
|
|
138
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
139
|
+
viewedAt: number;
|
|
140
|
+
id: string;
|
|
141
|
+
placeholder: string;
|
|
142
|
+
text: string;
|
|
143
|
+
}[];
|
|
144
|
+
}, {
|
|
145
|
+
userId: string;
|
|
146
|
+
items: {
|
|
147
|
+
type: "workRealm" | "user" | "workProject" | "commission" | "audition";
|
|
148
|
+
viewedAt: number;
|
|
149
|
+
id: string;
|
|
150
|
+
placeholder: string;
|
|
151
|
+
text: string;
|
|
152
|
+
}[];
|
|
153
|
+
}>;
|
|
154
|
+
export type MentionHistoryDocument = z.infer<typeof MentionHistoryDocumentSchema>;
|
|
155
|
+
export declare const FollowEdgeSchema: z.ZodObject<{
|
|
156
|
+
followerUid: z.ZodString;
|
|
157
|
+
targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
|
|
158
|
+
targetId: z.ZodString;
|
|
159
|
+
followedOn: z.ZodNumber;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
targetType: "workRealm" | "user" | "workProject";
|
|
162
|
+
targetId: string;
|
|
163
|
+
followerUid: string;
|
|
164
|
+
followedOn: number;
|
|
165
|
+
}, {
|
|
166
|
+
targetType: "workRealm" | "user" | "workProject";
|
|
167
|
+
targetId: string;
|
|
168
|
+
followerUid: string;
|
|
169
|
+
followedOn: number;
|
|
170
|
+
}>;
|
|
171
|
+
export type FollowEdge = z.infer<typeof FollowEdgeSchema>;
|
|
172
|
+
export declare const PledgePaymentSchema: z.ZodObject<{
|
|
173
|
+
pledgePaymentId: z.ZodString;
|
|
174
|
+
stripeSessionId: z.ZodString;
|
|
175
|
+
amount: z.ZodNumber;
|
|
176
|
+
currency: z.ZodString;
|
|
177
|
+
message: z.ZodString;
|
|
178
|
+
status: z.ZodString;
|
|
179
|
+
createdAt: z.ZodNumber;
|
|
180
|
+
userId: z.ZodString;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
message: string;
|
|
183
|
+
status: string;
|
|
184
|
+
userId: string;
|
|
185
|
+
createdAt: number;
|
|
186
|
+
amount: number;
|
|
187
|
+
pledgePaymentId: string;
|
|
188
|
+
stripeSessionId: string;
|
|
189
|
+
currency: string;
|
|
190
|
+
}, {
|
|
191
|
+
message: string;
|
|
192
|
+
status: string;
|
|
193
|
+
userId: string;
|
|
194
|
+
createdAt: number;
|
|
195
|
+
amount: number;
|
|
196
|
+
pledgePaymentId: string;
|
|
197
|
+
stripeSessionId: string;
|
|
198
|
+
currency: string;
|
|
199
|
+
}>;
|
|
200
|
+
export type PledgePayment = z.infer<typeof PledgePaymentSchema>;
|
|
201
|
+
//# sourceMappingURL=social.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/social.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,2BAA2B,oLAStC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;EAAiD,CAAC;AACvF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAK3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Social Firestore document SCHEMAS — SquareStreetz posts, mention history,
|
|
2
|
+
// follow edges, and pledge-payment ledger docs. Types inferred via z.infer.
|
|
3
|
+
// (SquareStreetzPostPayload is a transport shape, not a stored doc — it stays in
|
|
4
|
+
// ../types/social.ts.)
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import { MentionSchema } from '../media/atoms.js';
|
|
7
|
+
import { FollowableTargetTypeSchema } from '../schemas/social.js';
|
|
8
|
+
const mediaTypeSchema = z.enum(['image', 'video', 'audio', 'other']);
|
|
9
|
+
export const SquareStreetzPostTypeSchema = z.enum([
|
|
10
|
+
'PROFILE_PICTURE_UPDATE',
|
|
11
|
+
'NEW_CRAFT_SKILL',
|
|
12
|
+
'NEW_ARTISAN_CREATOR',
|
|
13
|
+
'COMMISSION_ACCEPTED',
|
|
14
|
+
'DELETE_CRAFT_SKILL',
|
|
15
|
+
'USER_POST',
|
|
16
|
+
'NEW_WORK_PROJECT',
|
|
17
|
+
'LIBRARY_PUBLISHED',
|
|
18
|
+
]);
|
|
19
|
+
export const SquareStreetzPostSchema = z.object({
|
|
20
|
+
postId: z.string(),
|
|
21
|
+
createdBy: z.object({ uid: z.string() }),
|
|
22
|
+
authorId: z.string(),
|
|
23
|
+
content: z.string(),
|
|
24
|
+
mentions: z.array(MentionSchema).optional(),
|
|
25
|
+
relatedIds: z.array(z.string()),
|
|
26
|
+
mediaUrl: z.string().optional(),
|
|
27
|
+
mediaType: mediaTypeSchema.optional(),
|
|
28
|
+
createdAt: z.number(),
|
|
29
|
+
likes: z.number(),
|
|
30
|
+
postType: SquareStreetzPostTypeSchema.optional(),
|
|
31
|
+
relatedAssetId: z.string().optional(),
|
|
32
|
+
moderationStatus: z.enum(['pending', 'approved', 'rejected', 'pending_review']).optional(),
|
|
33
|
+
moderationReason: z.string().optional(),
|
|
34
|
+
moderationLayer: z.enum(['word_filter', 'perspective']).optional(),
|
|
35
|
+
visible: z.boolean().optional(),
|
|
36
|
+
});
|
|
37
|
+
export const MentionHistoryItemSchema = MentionSchema.extend({ viewedAt: z.number() });
|
|
38
|
+
export const MentionHistoryDocumentSchema = z.object({
|
|
39
|
+
userId: z.string(),
|
|
40
|
+
items: z.array(MentionHistoryItemSchema),
|
|
41
|
+
});
|
|
42
|
+
export const FollowEdgeSchema = z.object({
|
|
43
|
+
followerUid: z.string(),
|
|
44
|
+
targetType: FollowableTargetTypeSchema,
|
|
45
|
+
targetId: z.string(),
|
|
46
|
+
followedOn: z.number(),
|
|
47
|
+
});
|
|
48
|
+
export const PledgePaymentSchema = z.object({
|
|
49
|
+
pledgePaymentId: z.string(),
|
|
50
|
+
stripeSessionId: z.string(),
|
|
51
|
+
amount: z.number(),
|
|
52
|
+
currency: z.string(),
|
|
53
|
+
message: z.string(),
|
|
54
|
+
status: z.string(),
|
|
55
|
+
createdAt: z.number(),
|
|
56
|
+
userId: z.string(),
|
|
57
|
+
});
|
|
58
|
+
//# sourceMappingURL=social.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.js","sourceRoot":"","sources":["../../src/doc-schemas/social.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AppConfigSchema: z.ZodObject<{
|
|
3
|
+
appVersion: z.ZodString;
|
|
4
|
+
maintenanceMode: z.ZodBoolean;
|
|
5
|
+
maintenanceMessage: z.ZodOptional<z.ZodString>;
|
|
6
|
+
registrationEnabled: z.ZodBoolean;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
appVersion: string;
|
|
9
|
+
maintenanceMode: boolean;
|
|
10
|
+
registrationEnabled: boolean;
|
|
11
|
+
maintenanceMessage?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
appVersion: string;
|
|
14
|
+
maintenanceMode: boolean;
|
|
15
|
+
registrationEnabled: boolean;
|
|
16
|
+
maintenanceMessage?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export type AppConfig = z.infer<typeof AppConfigSchema>;
|
|
19
|
+
//# sourceMappingURL=system.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/system.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAK1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// System Firestore document SCHEMAS — the `_config/app` runtime-config singleton.
|
|
2
|
+
// Type inferred via z.infer. (Field docs live in ../types/system.ts.)
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
export const AppConfigSchema = z.object({
|
|
5
|
+
appVersion: z.string(),
|
|
6
|
+
maintenanceMode: z.boolean(),
|
|
7
|
+
maintenanceMessage: z.string().optional(),
|
|
8
|
+
registrationEnabled: z.boolean(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/doc-schemas/system.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,sEAAsE;AAEtE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE;IAC5B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;CACjC,CAAC,CAAC"}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CraftSkillSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
createdAt: z.ZodNumber;
|
|
8
|
+
type: z.ZodEnum<["image", "video", "audio"]>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
type: "video" | "image" | "audio";
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
url: string;
|
|
14
|
+
tags: string[];
|
|
15
|
+
createdAt: number;
|
|
16
|
+
}, {
|
|
17
|
+
type: "video" | "image" | "audio";
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
url: string;
|
|
21
|
+
tags: string[];
|
|
22
|
+
createdAt: number;
|
|
23
|
+
}>;
|
|
24
|
+
export type CraftSkill = z.infer<typeof CraftSkillSchema>;
|
|
25
|
+
export declare const CraftSkillReferenceSchema: z.ZodObject<{
|
|
26
|
+
craftSkillId: z.ZodString;
|
|
27
|
+
compositeId: z.ZodString;
|
|
28
|
+
userId: z.ZodString;
|
|
29
|
+
craftSkillName: z.ZodString;
|
|
30
|
+
craftSkillUrl: z.ZodString;
|
|
31
|
+
craftSkillType: z.ZodEnum<["image", "video", "audio"]>;
|
|
32
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
33
|
+
createdAt: z.ZodNumber;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
userId: string;
|
|
36
|
+
tags: string[];
|
|
37
|
+
createdAt: number;
|
|
38
|
+
craftSkillId: string;
|
|
39
|
+
compositeId: string;
|
|
40
|
+
craftSkillName: string;
|
|
41
|
+
craftSkillUrl: string;
|
|
42
|
+
craftSkillType: "video" | "image" | "audio";
|
|
43
|
+
}, {
|
|
44
|
+
userId: string;
|
|
45
|
+
tags: string[];
|
|
46
|
+
createdAt: number;
|
|
47
|
+
craftSkillId: string;
|
|
48
|
+
compositeId: string;
|
|
49
|
+
craftSkillName: string;
|
|
50
|
+
craftSkillUrl: string;
|
|
51
|
+
craftSkillType: "video" | "image" | "audio";
|
|
52
|
+
}>;
|
|
53
|
+
export type CraftSkillReference = z.infer<typeof CraftSkillReferenceSchema>;
|
|
54
|
+
export declare const MinimalCraftSkillSchema: z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
name: z.ZodString;
|
|
57
|
+
url: z.ZodString;
|
|
58
|
+
type: z.ZodEnum<["image", "video", "audio"]>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
type: "video" | "image" | "audio";
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
url: string;
|
|
64
|
+
}, {
|
|
65
|
+
type: "video" | "image" | "audio";
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
url: string;
|
|
69
|
+
}>;
|
|
70
|
+
export type MinimalCraftSkill = z.infer<typeof MinimalCraftSkillSchema>;
|
|
71
|
+
export declare const OwnedWorkProjectSchema: z.ZodObject<{
|
|
72
|
+
workProjectId: z.ZodString;
|
|
73
|
+
workingTitle: z.ZodString;
|
|
74
|
+
workingDescription: z.ZodString;
|
|
75
|
+
type: z.ZodString;
|
|
76
|
+
createdOn: z.ZodNumber;
|
|
77
|
+
hallWingType: z.ZodEnum<["entertainment", "educational", "newsPolitical"]>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
type: string;
|
|
80
|
+
createdOn: number;
|
|
81
|
+
workProjectId: string;
|
|
82
|
+
hallWingType: "entertainment" | "educational" | "newsPolitical";
|
|
83
|
+
workingTitle: string;
|
|
84
|
+
workingDescription: string;
|
|
85
|
+
}, {
|
|
86
|
+
type: string;
|
|
87
|
+
createdOn: number;
|
|
88
|
+
workProjectId: string;
|
|
89
|
+
hallWingType: "entertainment" | "educational" | "newsPolitical";
|
|
90
|
+
workingTitle: string;
|
|
91
|
+
workingDescription: string;
|
|
92
|
+
}>;
|
|
93
|
+
export type OwnedWorkProject = z.infer<typeof OwnedWorkProjectSchema>;
|
|
94
|
+
export declare const AssociatedWorkProjectSchema: z.ZodObject<{
|
|
95
|
+
workProjectId: z.ZodString;
|
|
96
|
+
workingTitle: z.ZodString;
|
|
97
|
+
workingDescription: z.ZodString;
|
|
98
|
+
type: z.ZodString;
|
|
99
|
+
joinedOn: z.ZodNumber;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
type: string;
|
|
102
|
+
workProjectId: string;
|
|
103
|
+
workingTitle: string;
|
|
104
|
+
workingDescription: string;
|
|
105
|
+
joinedOn: number;
|
|
106
|
+
}, {
|
|
107
|
+
type: string;
|
|
108
|
+
workProjectId: string;
|
|
109
|
+
workingTitle: string;
|
|
110
|
+
workingDescription: string;
|
|
111
|
+
joinedOn: number;
|
|
112
|
+
}>;
|
|
113
|
+
export type AssociatedWorkProject = z.infer<typeof AssociatedWorkProjectSchema>;
|
|
114
|
+
export declare const FullUserSchema: z.ZodObject<{
|
|
115
|
+
uid: z.ZodString;
|
|
116
|
+
displayName: z.ZodString;
|
|
117
|
+
displayName_lowercase: z.ZodString;
|
|
118
|
+
profilePictureUrlFull: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
profilePictureUrlMedium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
profilePictureUrlSmall: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
artisanCreator: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
status: z.ZodOptional<z.ZodEnum<["active", "disabled", "banned"]>>;
|
|
123
|
+
ownedWorkProjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
+
workProjectId: z.ZodString;
|
|
125
|
+
workingTitle: z.ZodString;
|
|
126
|
+
workingDescription: z.ZodString;
|
|
127
|
+
type: z.ZodString;
|
|
128
|
+
createdOn: z.ZodNumber;
|
|
129
|
+
hallWingType: z.ZodEnum<["entertainment", "educational", "newsPolitical"]>;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
type: string;
|
|
132
|
+
createdOn: number;
|
|
133
|
+
workProjectId: string;
|
|
134
|
+
hallWingType: "entertainment" | "educational" | "newsPolitical";
|
|
135
|
+
workingTitle: string;
|
|
136
|
+
workingDescription: string;
|
|
137
|
+
}, {
|
|
138
|
+
type: string;
|
|
139
|
+
createdOn: number;
|
|
140
|
+
workProjectId: string;
|
|
141
|
+
hallWingType: "entertainment" | "educational" | "newsPolitical";
|
|
142
|
+
workingTitle: string;
|
|
143
|
+
workingDescription: string;
|
|
144
|
+
}>, "many">>;
|
|
145
|
+
associatedWorkProjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
146
|
+
workProjectId: z.ZodString;
|
|
147
|
+
workingTitle: z.ZodString;
|
|
148
|
+
workingDescription: z.ZodString;
|
|
149
|
+
type: z.ZodString;
|
|
150
|
+
joinedOn: z.ZodNumber;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
type: string;
|
|
153
|
+
workProjectId: string;
|
|
154
|
+
workingTitle: string;
|
|
155
|
+
workingDescription: string;
|
|
156
|
+
joinedOn: number;
|
|
157
|
+
}, {
|
|
158
|
+
type: string;
|
|
159
|
+
workProjectId: string;
|
|
160
|
+
workingTitle: string;
|
|
161
|
+
workingDescription: string;
|
|
162
|
+
joinedOn: number;
|
|
163
|
+
}>, "many">>;
|
|
164
|
+
createdAt: z.ZodNumber;
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
uid: string;
|
|
167
|
+
createdAt: number;
|
|
168
|
+
displayName: string;
|
|
169
|
+
displayName_lowercase: string;
|
|
170
|
+
status?: "banned" | "active" | "disabled" | undefined;
|
|
171
|
+
profilePictureUrlFull?: string | null | undefined;
|
|
172
|
+
profilePictureUrlMedium?: string | null | undefined;
|
|
173
|
+
profilePictureUrlSmall?: string | null | undefined;
|
|
174
|
+
artisanCreator?: number | undefined;
|
|
175
|
+
ownedWorkProjects?: {
|
|
176
|
+
type: string;
|
|
177
|
+
createdOn: number;
|
|
178
|
+
workProjectId: string;
|
|
179
|
+
hallWingType: "entertainment" | "educational" | "newsPolitical";
|
|
180
|
+
workingTitle: string;
|
|
181
|
+
workingDescription: string;
|
|
182
|
+
}[] | undefined;
|
|
183
|
+
associatedWorkProjects?: {
|
|
184
|
+
type: string;
|
|
185
|
+
workProjectId: string;
|
|
186
|
+
workingTitle: string;
|
|
187
|
+
workingDescription: string;
|
|
188
|
+
joinedOn: number;
|
|
189
|
+
}[] | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
uid: string;
|
|
192
|
+
createdAt: number;
|
|
193
|
+
displayName: string;
|
|
194
|
+
displayName_lowercase: string;
|
|
195
|
+
status?: "banned" | "active" | "disabled" | undefined;
|
|
196
|
+
profilePictureUrlFull?: string | null | undefined;
|
|
197
|
+
profilePictureUrlMedium?: string | null | undefined;
|
|
198
|
+
profilePictureUrlSmall?: string | null | undefined;
|
|
199
|
+
artisanCreator?: number | undefined;
|
|
200
|
+
ownedWorkProjects?: {
|
|
201
|
+
type: string;
|
|
202
|
+
createdOn: number;
|
|
203
|
+
workProjectId: string;
|
|
204
|
+
hallWingType: "entertainment" | "educational" | "newsPolitical";
|
|
205
|
+
workingTitle: string;
|
|
206
|
+
workingDescription: string;
|
|
207
|
+
}[] | undefined;
|
|
208
|
+
associatedWorkProjects?: {
|
|
209
|
+
type: string;
|
|
210
|
+
workProjectId: string;
|
|
211
|
+
workingTitle: string;
|
|
212
|
+
workingDescription: string;
|
|
213
|
+
joinedOn: number;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
}>;
|
|
216
|
+
export type FullUser = z.infer<typeof FullUserSchema>;
|
|
217
|
+
export declare const UserAgreementsSchema: z.ZodObject<{
|
|
218
|
+
age: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
nudity: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
meet: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
cookies: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
terms: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
agreedOn: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
age?: boolean | undefined;
|
|
226
|
+
nudity?: boolean | undefined;
|
|
227
|
+
meet?: boolean | undefined;
|
|
228
|
+
cookies?: boolean | undefined;
|
|
229
|
+
terms?: boolean | undefined;
|
|
230
|
+
agreedOn?: number | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
age?: boolean | undefined;
|
|
233
|
+
nudity?: boolean | undefined;
|
|
234
|
+
meet?: boolean | undefined;
|
|
235
|
+
cookies?: boolean | undefined;
|
|
236
|
+
terms?: boolean | undefined;
|
|
237
|
+
agreedOn?: number | undefined;
|
|
238
|
+
}>;
|
|
239
|
+
export type UserAgreements = z.infer<typeof UserAgreementsSchema>;
|
|
240
|
+
/**
|
|
241
|
+
* Owner-only account state at `userProfiles/{uid}/privateData/{uid}` (readable
|
|
242
|
+
* only by the owner; never mirrored to publicUsers).
|
|
243
|
+
*/
|
|
244
|
+
export declare const UserPrivateDataSchema: z.ZodObject<{
|
|
245
|
+
email: z.ZodString;
|
|
246
|
+
isWaitingForNewsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
247
|
+
squareStreetzAgreementsDate: z.ZodOptional<z.ZodNumber>;
|
|
248
|
+
agreements: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
age: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
+
nudity: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
+
meet: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
cookies: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
terms: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
agreedOn: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
age?: boolean | undefined;
|
|
257
|
+
nudity?: boolean | undefined;
|
|
258
|
+
meet?: boolean | undefined;
|
|
259
|
+
cookies?: boolean | undefined;
|
|
260
|
+
terms?: boolean | undefined;
|
|
261
|
+
agreedOn?: number | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
age?: boolean | undefined;
|
|
264
|
+
nudity?: boolean | undefined;
|
|
265
|
+
meet?: boolean | undefined;
|
|
266
|
+
cookies?: boolean | undefined;
|
|
267
|
+
terms?: boolean | undefined;
|
|
268
|
+
agreedOn?: number | undefined;
|
|
269
|
+
}>>;
|
|
270
|
+
}, "strip", z.ZodTypeAny, {
|
|
271
|
+
email: string;
|
|
272
|
+
agreements?: {
|
|
273
|
+
age?: boolean | undefined;
|
|
274
|
+
nudity?: boolean | undefined;
|
|
275
|
+
meet?: boolean | undefined;
|
|
276
|
+
cookies?: boolean | undefined;
|
|
277
|
+
terms?: boolean | undefined;
|
|
278
|
+
agreedOn?: number | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
isWaitingForNewsApproval?: boolean | undefined;
|
|
281
|
+
squareStreetzAgreementsDate?: number | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
email: string;
|
|
284
|
+
agreements?: {
|
|
285
|
+
age?: boolean | undefined;
|
|
286
|
+
nudity?: boolean | undefined;
|
|
287
|
+
meet?: boolean | undefined;
|
|
288
|
+
cookies?: boolean | undefined;
|
|
289
|
+
terms?: boolean | undefined;
|
|
290
|
+
agreedOn?: number | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
isWaitingForNewsApproval?: boolean | undefined;
|
|
293
|
+
squareStreetzAgreementsDate?: number | undefined;
|
|
294
|
+
}>;
|
|
295
|
+
export type UserPrivateData = z.infer<typeof UserPrivateDataSchema>;
|
|
296
|
+
//# sourceMappingURL=user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/user.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;EAO3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|