@ttt-productions/ttt-core 0.4.6 → 0.5.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/constants/options.d.ts +0 -4
- package/dist/constants/options.d.ts.map +1 -1
- package/dist/constants/options.js +3 -10
- package/dist/constants/options.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/paths/collections.d.ts +3 -1
- package/dist/paths/collections.d.ts.map +1 -1
- package/dist/paths/collections.js +3 -1
- package/dist/paths/collections.js.map +1 -1
- package/dist/paths/path-builders.d.ts +3 -1
- package/dist/paths/path-builders.d.ts.map +1 -1
- package/dist/paths/path-builders.js +3 -1
- package/dist/paths/path-builders.js.map +1 -1
- package/dist/permissions/index.d.ts +3 -0
- package/dist/permissions/index.d.ts.map +1 -0
- package/dist/permissions/index.js +3 -0
- package/dist/permissions/index.js.map +1 -0
- package/dist/permissions/project-permissions.d.ts +260 -0
- package/dist/permissions/project-permissions.d.ts.map +1 -0
- package/dist/permissions/project-permissions.js +264 -0
- package/dist/permissions/project-permissions.js.map +1 -0
- package/dist/permissions/role-assignment-policy.d.ts +17 -0
- package/dist/permissions/role-assignment-policy.d.ts.map +1 -0
- package/dist/permissions/role-assignment-policy.js +32 -0
- package/dist/permissions/role-assignment-policy.js.map +1 -0
- package/dist/schemas/admin.d.ts.map +1 -1
- package/dist/schemas/admin.js +1 -0
- package/dist/schemas/admin.js.map +1 -1
- package/dist/schemas/project-management.d.ts +8 -3
- package/dist/schemas/project-management.d.ts.map +1 -1
- package/dist/schemas/project-management.js +4 -2
- package/dist/schemas/project-management.js.map +1 -1
- package/dist/schemas/share-operation.d.ts +60 -0
- package/dist/schemas/share-operation.d.ts.map +1 -1
- package/dist/schemas/share-operation.js +1 -0
- package/dist/schemas/share-operation.js.map +1 -1
- package/dist/schemas/users.d.ts +2 -2
- package/dist/types/admin.d.ts +1 -1
- package/dist/types/admin.d.ts.map +1 -1
- package/dist/types/audit.d.ts +1 -1
- package/dist/types/audit.d.ts.map +1 -1
- package/dist/types/project.d.ts +8 -20
- package/dist/types/project.d.ts.map +1 -1
- package/package.json +5 -1
|
@@ -4,16 +4,20 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4
4
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
5
5
|
user: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
uid: z.ZodString;
|
|
7
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
7
8
|
}, "strict", z.ZodTypeAny, {
|
|
8
9
|
uid: string;
|
|
10
|
+
displayName?: string | undefined;
|
|
9
11
|
}, {
|
|
10
12
|
uid: string;
|
|
13
|
+
displayName?: string | undefined;
|
|
11
14
|
}>>;
|
|
12
15
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
13
16
|
}, "strict", z.ZodTypeAny, {
|
|
14
17
|
type: "add-pending";
|
|
15
18
|
user?: {
|
|
16
19
|
uid: string;
|
|
20
|
+
displayName?: string | undefined;
|
|
17
21
|
} | undefined;
|
|
18
22
|
amount?: number | undefined;
|
|
19
23
|
sourceId?: string | undefined;
|
|
@@ -21,6 +25,7 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
21
25
|
type: "add-pending";
|
|
22
26
|
user?: {
|
|
23
27
|
uid: string;
|
|
28
|
+
displayName?: string | undefined;
|
|
24
29
|
} | undefined;
|
|
25
30
|
amount?: number | undefined;
|
|
26
31
|
sourceId?: string | undefined;
|
|
@@ -29,16 +34,20 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
29
34
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
30
35
|
user: z.ZodOptional<z.ZodObject<{
|
|
31
36
|
uid: z.ZodString;
|
|
37
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
32
38
|
}, "strict", z.ZodTypeAny, {
|
|
33
39
|
uid: string;
|
|
40
|
+
displayName?: string | undefined;
|
|
34
41
|
}, {
|
|
35
42
|
uid: string;
|
|
43
|
+
displayName?: string | undefined;
|
|
36
44
|
}>>;
|
|
37
45
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
38
46
|
}, "strict", z.ZodTypeAny, {
|
|
39
47
|
type: "remove-pending";
|
|
40
48
|
user?: {
|
|
41
49
|
uid: string;
|
|
50
|
+
displayName?: string | undefined;
|
|
42
51
|
} | undefined;
|
|
43
52
|
amount?: number | undefined;
|
|
44
53
|
sourceId?: string | undefined;
|
|
@@ -46,6 +55,7 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
46
55
|
type: "remove-pending";
|
|
47
56
|
user?: {
|
|
48
57
|
uid: string;
|
|
58
|
+
displayName?: string | undefined;
|
|
49
59
|
} | undefined;
|
|
50
60
|
amount?: number | undefined;
|
|
51
61
|
sourceId?: string | undefined;
|
|
@@ -54,16 +64,20 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
54
64
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
55
65
|
user: z.ZodOptional<z.ZodObject<{
|
|
56
66
|
uid: z.ZodString;
|
|
67
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
57
68
|
}, "strict", z.ZodTypeAny, {
|
|
58
69
|
uid: string;
|
|
70
|
+
displayName?: string | undefined;
|
|
59
71
|
}, {
|
|
60
72
|
uid: string;
|
|
73
|
+
displayName?: string | undefined;
|
|
61
74
|
}>>;
|
|
62
75
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
63
76
|
}, "strict", z.ZodTypeAny, {
|
|
64
77
|
type: "add-active";
|
|
65
78
|
user?: {
|
|
66
79
|
uid: string;
|
|
80
|
+
displayName?: string | undefined;
|
|
67
81
|
} | undefined;
|
|
68
82
|
amount?: number | undefined;
|
|
69
83
|
sourceId?: string | undefined;
|
|
@@ -71,6 +85,7 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
71
85
|
type: "add-active";
|
|
72
86
|
user?: {
|
|
73
87
|
uid: string;
|
|
88
|
+
displayName?: string | undefined;
|
|
74
89
|
} | undefined;
|
|
75
90
|
amount?: number | undefined;
|
|
76
91
|
sourceId?: string | undefined;
|
|
@@ -79,16 +94,20 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
79
94
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
80
95
|
user: z.ZodOptional<z.ZodObject<{
|
|
81
96
|
uid: z.ZodString;
|
|
97
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
82
98
|
}, "strict", z.ZodTypeAny, {
|
|
83
99
|
uid: string;
|
|
100
|
+
displayName?: string | undefined;
|
|
84
101
|
}, {
|
|
85
102
|
uid: string;
|
|
103
|
+
displayName?: string | undefined;
|
|
86
104
|
}>>;
|
|
87
105
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
88
106
|
}, "strict", z.ZodTypeAny, {
|
|
89
107
|
type: "create-project";
|
|
90
108
|
user?: {
|
|
91
109
|
uid: string;
|
|
110
|
+
displayName?: string | undefined;
|
|
92
111
|
} | undefined;
|
|
93
112
|
amount?: number | undefined;
|
|
94
113
|
sourceId?: string | undefined;
|
|
@@ -96,6 +115,7 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
96
115
|
type: "create-project";
|
|
97
116
|
user?: {
|
|
98
117
|
uid: string;
|
|
118
|
+
displayName?: string | undefined;
|
|
99
119
|
} | undefined;
|
|
100
120
|
amount?: number | undefined;
|
|
101
121
|
sourceId?: string | undefined;
|
|
@@ -104,16 +124,20 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
104
124
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
105
125
|
user: z.ZodOptional<z.ZodObject<{
|
|
106
126
|
uid: z.ZodString;
|
|
127
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
107
128
|
}, "strict", z.ZodTypeAny, {
|
|
108
129
|
uid: string;
|
|
130
|
+
displayName?: string | undefined;
|
|
109
131
|
}, {
|
|
110
132
|
uid: string;
|
|
133
|
+
displayName?: string | undefined;
|
|
111
134
|
}>>;
|
|
112
135
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
113
136
|
}, "strict", z.ZodTypeAny, {
|
|
114
137
|
type: "convert-invite";
|
|
115
138
|
user?: {
|
|
116
139
|
uid: string;
|
|
140
|
+
displayName?: string | undefined;
|
|
117
141
|
} | undefined;
|
|
118
142
|
amount?: number | undefined;
|
|
119
143
|
sourceId?: string | undefined;
|
|
@@ -121,6 +145,7 @@ export declare const ShareOperationSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
121
145
|
type: "convert-invite";
|
|
122
146
|
user?: {
|
|
123
147
|
uid: string;
|
|
148
|
+
displayName?: string | undefined;
|
|
124
149
|
} | undefined;
|
|
125
150
|
amount?: number | undefined;
|
|
126
151
|
sourceId?: string | undefined;
|
|
@@ -134,16 +159,20 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
134
159
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
135
160
|
user: z.ZodOptional<z.ZodObject<{
|
|
136
161
|
uid: z.ZodString;
|
|
162
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
137
163
|
}, "strict", z.ZodTypeAny, {
|
|
138
164
|
uid: string;
|
|
165
|
+
displayName?: string | undefined;
|
|
139
166
|
}, {
|
|
140
167
|
uid: string;
|
|
168
|
+
displayName?: string | undefined;
|
|
141
169
|
}>>;
|
|
142
170
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
143
171
|
}, "strict", z.ZodTypeAny, {
|
|
144
172
|
type: "add-pending";
|
|
145
173
|
user?: {
|
|
146
174
|
uid: string;
|
|
175
|
+
displayName?: string | undefined;
|
|
147
176
|
} | undefined;
|
|
148
177
|
amount?: number | undefined;
|
|
149
178
|
sourceId?: string | undefined;
|
|
@@ -151,6 +180,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
151
180
|
type: "add-pending";
|
|
152
181
|
user?: {
|
|
153
182
|
uid: string;
|
|
183
|
+
displayName?: string | undefined;
|
|
154
184
|
} | undefined;
|
|
155
185
|
amount?: number | undefined;
|
|
156
186
|
sourceId?: string | undefined;
|
|
@@ -159,16 +189,20 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
159
189
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
160
190
|
user: z.ZodOptional<z.ZodObject<{
|
|
161
191
|
uid: z.ZodString;
|
|
192
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
162
193
|
}, "strict", z.ZodTypeAny, {
|
|
163
194
|
uid: string;
|
|
195
|
+
displayName?: string | undefined;
|
|
164
196
|
}, {
|
|
165
197
|
uid: string;
|
|
198
|
+
displayName?: string | undefined;
|
|
166
199
|
}>>;
|
|
167
200
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
168
201
|
}, "strict", z.ZodTypeAny, {
|
|
169
202
|
type: "remove-pending";
|
|
170
203
|
user?: {
|
|
171
204
|
uid: string;
|
|
205
|
+
displayName?: string | undefined;
|
|
172
206
|
} | undefined;
|
|
173
207
|
amount?: number | undefined;
|
|
174
208
|
sourceId?: string | undefined;
|
|
@@ -176,6 +210,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
176
210
|
type: "remove-pending";
|
|
177
211
|
user?: {
|
|
178
212
|
uid: string;
|
|
213
|
+
displayName?: string | undefined;
|
|
179
214
|
} | undefined;
|
|
180
215
|
amount?: number | undefined;
|
|
181
216
|
sourceId?: string | undefined;
|
|
@@ -184,16 +219,20 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
184
219
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
185
220
|
user: z.ZodOptional<z.ZodObject<{
|
|
186
221
|
uid: z.ZodString;
|
|
222
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
187
223
|
}, "strict", z.ZodTypeAny, {
|
|
188
224
|
uid: string;
|
|
225
|
+
displayName?: string | undefined;
|
|
189
226
|
}, {
|
|
190
227
|
uid: string;
|
|
228
|
+
displayName?: string | undefined;
|
|
191
229
|
}>>;
|
|
192
230
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
193
231
|
}, "strict", z.ZodTypeAny, {
|
|
194
232
|
type: "add-active";
|
|
195
233
|
user?: {
|
|
196
234
|
uid: string;
|
|
235
|
+
displayName?: string | undefined;
|
|
197
236
|
} | undefined;
|
|
198
237
|
amount?: number | undefined;
|
|
199
238
|
sourceId?: string | undefined;
|
|
@@ -201,6 +240,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
201
240
|
type: "add-active";
|
|
202
241
|
user?: {
|
|
203
242
|
uid: string;
|
|
243
|
+
displayName?: string | undefined;
|
|
204
244
|
} | undefined;
|
|
205
245
|
amount?: number | undefined;
|
|
206
246
|
sourceId?: string | undefined;
|
|
@@ -209,16 +249,20 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
209
249
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
210
250
|
user: z.ZodOptional<z.ZodObject<{
|
|
211
251
|
uid: z.ZodString;
|
|
252
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
212
253
|
}, "strict", z.ZodTypeAny, {
|
|
213
254
|
uid: string;
|
|
255
|
+
displayName?: string | undefined;
|
|
214
256
|
}, {
|
|
215
257
|
uid: string;
|
|
258
|
+
displayName?: string | undefined;
|
|
216
259
|
}>>;
|
|
217
260
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
218
261
|
}, "strict", z.ZodTypeAny, {
|
|
219
262
|
type: "create-project";
|
|
220
263
|
user?: {
|
|
221
264
|
uid: string;
|
|
265
|
+
displayName?: string | undefined;
|
|
222
266
|
} | undefined;
|
|
223
267
|
amount?: number | undefined;
|
|
224
268
|
sourceId?: string | undefined;
|
|
@@ -226,6 +270,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
226
270
|
type: "create-project";
|
|
227
271
|
user?: {
|
|
228
272
|
uid: string;
|
|
273
|
+
displayName?: string | undefined;
|
|
229
274
|
} | undefined;
|
|
230
275
|
amount?: number | undefined;
|
|
231
276
|
sourceId?: string | undefined;
|
|
@@ -234,16 +279,20 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
234
279
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
235
280
|
user: z.ZodOptional<z.ZodObject<{
|
|
236
281
|
uid: z.ZodString;
|
|
282
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
237
283
|
}, "strict", z.ZodTypeAny, {
|
|
238
284
|
uid: string;
|
|
285
|
+
displayName?: string | undefined;
|
|
239
286
|
}, {
|
|
240
287
|
uid: string;
|
|
288
|
+
displayName?: string | undefined;
|
|
241
289
|
}>>;
|
|
242
290
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
243
291
|
}, "strict", z.ZodTypeAny, {
|
|
244
292
|
type: "convert-invite";
|
|
245
293
|
user?: {
|
|
246
294
|
uid: string;
|
|
295
|
+
displayName?: string | undefined;
|
|
247
296
|
} | undefined;
|
|
248
297
|
amount?: number | undefined;
|
|
249
298
|
sourceId?: string | undefined;
|
|
@@ -251,6 +300,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
251
300
|
type: "convert-invite";
|
|
252
301
|
user?: {
|
|
253
302
|
uid: string;
|
|
303
|
+
displayName?: string | undefined;
|
|
254
304
|
} | undefined;
|
|
255
305
|
amount?: number | undefined;
|
|
256
306
|
sourceId?: string | undefined;
|
|
@@ -261,6 +311,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
261
311
|
type: "add-pending";
|
|
262
312
|
user?: {
|
|
263
313
|
uid: string;
|
|
314
|
+
displayName?: string | undefined;
|
|
264
315
|
} | undefined;
|
|
265
316
|
amount?: number | undefined;
|
|
266
317
|
sourceId?: string | undefined;
|
|
@@ -268,6 +319,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
268
319
|
type: "remove-pending";
|
|
269
320
|
user?: {
|
|
270
321
|
uid: string;
|
|
322
|
+
displayName?: string | undefined;
|
|
271
323
|
} | undefined;
|
|
272
324
|
amount?: number | undefined;
|
|
273
325
|
sourceId?: string | undefined;
|
|
@@ -275,6 +327,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
275
327
|
type: "add-active";
|
|
276
328
|
user?: {
|
|
277
329
|
uid: string;
|
|
330
|
+
displayName?: string | undefined;
|
|
278
331
|
} | undefined;
|
|
279
332
|
amount?: number | undefined;
|
|
280
333
|
sourceId?: string | undefined;
|
|
@@ -282,6 +335,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
282
335
|
type: "create-project";
|
|
283
336
|
user?: {
|
|
284
337
|
uid: string;
|
|
338
|
+
displayName?: string | undefined;
|
|
285
339
|
} | undefined;
|
|
286
340
|
amount?: number | undefined;
|
|
287
341
|
sourceId?: string | undefined;
|
|
@@ -289,6 +343,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
289
343
|
type: "convert-invite";
|
|
290
344
|
user?: {
|
|
291
345
|
uid: string;
|
|
346
|
+
displayName?: string | undefined;
|
|
292
347
|
} | undefined;
|
|
293
348
|
amount?: number | undefined;
|
|
294
349
|
sourceId?: string | undefined;
|
|
@@ -299,6 +354,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
299
354
|
type: "add-pending";
|
|
300
355
|
user?: {
|
|
301
356
|
uid: string;
|
|
357
|
+
displayName?: string | undefined;
|
|
302
358
|
} | undefined;
|
|
303
359
|
amount?: number | undefined;
|
|
304
360
|
sourceId?: string | undefined;
|
|
@@ -306,6 +362,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
306
362
|
type: "remove-pending";
|
|
307
363
|
user?: {
|
|
308
364
|
uid: string;
|
|
365
|
+
displayName?: string | undefined;
|
|
309
366
|
} | undefined;
|
|
310
367
|
amount?: number | undefined;
|
|
311
368
|
sourceId?: string | undefined;
|
|
@@ -313,6 +370,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
313
370
|
type: "add-active";
|
|
314
371
|
user?: {
|
|
315
372
|
uid: string;
|
|
373
|
+
displayName?: string | undefined;
|
|
316
374
|
} | undefined;
|
|
317
375
|
amount?: number | undefined;
|
|
318
376
|
sourceId?: string | undefined;
|
|
@@ -320,6 +378,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
320
378
|
type: "create-project";
|
|
321
379
|
user?: {
|
|
322
380
|
uid: string;
|
|
381
|
+
displayName?: string | undefined;
|
|
323
382
|
} | undefined;
|
|
324
383
|
amount?: number | undefined;
|
|
325
384
|
sourceId?: string | undefined;
|
|
@@ -327,6 +386,7 @@ export declare const ManageProjectSharesInputSchema: z.ZodObject<{
|
|
|
327
386
|
type: "convert-invite";
|
|
328
387
|
user?: {
|
|
329
388
|
uid: string;
|
|
389
|
+
displayName?: string | undefined;
|
|
330
390
|
} | undefined;
|
|
331
391
|
amount?: number | undefined;
|
|
332
392
|
sourceId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-operation.d.ts","sourceRoot":"","sources":["../../src/schemas/share-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"share-operation.d.ts","sourceRoot":"","sources":["../../src/schemas/share-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+B/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAGxD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -15,6 +15,7 @@ import { projectIdSchema, userIdSchema, } from './atoms.js';
|
|
|
15
15
|
// via the invite flow.
|
|
16
16
|
const userRefSchema = z.object({
|
|
17
17
|
uid: userIdSchema,
|
|
18
|
+
displayName: z.string().optional(),
|
|
18
19
|
}).strict();
|
|
19
20
|
export const ShareOperationSchema = z.discriminatedUnion('type', [
|
|
20
21
|
z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-operation.js","sourceRoot":"","sources":["../../src/schemas/share-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,eAAe,EACf,YAAY,GACb,MAAM,YAAY,CAAC;AAEpB,gFAAgF;AAChF,oEAAoE;AACpE,EAAE;AACF,oFAAoF;AACpF,0EAA0E;AAC1E,2EAA2E;AAC3E,EAAE;AACF,8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AAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;KACvC,CAAC,CAAC,MAAM,EAAE;CACZ,CAAC,CAAC;AAKH,6BAA6B;AAC7B,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,oBAAoB;CAChC,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
package/dist/schemas/users.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const RegisterUserInputSchema: z.ZodObject<{
|
|
|
27
27
|
terms: true;
|
|
28
28
|
}>;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
|
+
displayName: string;
|
|
30
31
|
agreements: {
|
|
31
32
|
age: true;
|
|
32
33
|
nudity: true;
|
|
@@ -34,8 +35,8 @@ export declare const RegisterUserInputSchema: z.ZodObject<{
|
|
|
34
35
|
cookies: true;
|
|
35
36
|
terms: true;
|
|
36
37
|
};
|
|
37
|
-
displayName: string;
|
|
38
38
|
}, {
|
|
39
|
+
displayName: string;
|
|
39
40
|
agreements: {
|
|
40
41
|
age: true;
|
|
41
42
|
nudity: true;
|
|
@@ -43,7 +44,6 @@ export declare const RegisterUserInputSchema: z.ZodObject<{
|
|
|
43
44
|
cookies: true;
|
|
44
45
|
terms: true;
|
|
45
46
|
};
|
|
46
|
-
displayName: string;
|
|
47
47
|
}>;
|
|
48
48
|
export type RegisterUserInput = z.infer<typeof RegisterUserInputSchema>;
|
|
49
49
|
export declare const SetUserStatusInputSchema: z.ZodObject<{
|
package/dist/types/admin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type AdminTaskType = 'systemMessage' | 'libraryReview' | 'userReport' | 'content-appeal';
|
|
1
|
+
export type AdminTaskType = 'systemMessage' | 'libraryReview' | 'userReport' | 'content-appeal' | 'shareAnomaly';
|
|
2
2
|
//# sourceMappingURL=admin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../src/types/admin.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GACrB,eAAe,GACf,eAAe,GACf,YAAY,GACZ,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../src/types/admin.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GACrB,eAAe,GACf,eAAe,GACf,YAAY,GACZ,gBAAgB,GAChB,cAAc,CAAC"}
|
package/dist/types/audit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AuditEvent } from '@ttt-productions/audit-core';
|
|
2
|
-
export type AuditEventType = 'creator.grantedToUser' | 'creator.revokedFromUser' | 'user.accountRegistered' | 'user.statusChanged' | 'user.accountBanned' | 'user.accountUnbanned' | 'admin.roleGranted' | 'admin.roleRevoked' | 'admin.roleSyncedFromDirectEdit' | 'admin.contentAppealReviewed' | 'admin.violationDecisionAccepted' | 'admin.libraryItemReviewed' | 'admin.futurePlansUpdated' | 'admin.rulesAndAgreementsUpdated' | 'project.newProjectCreated' | 'project.memberRoleChanged' | 'project.memberProfessionsChanged' | 'project.publicDetailsUpdated' | 'project.fileDeleted' | 'project.userInvited' | 'project.inviteAccepted' | 'project.inviteDeclined' | 'project.inviteCancelled' | 'project.inviteSharesUpdated' | 'project.jobListingCreated' | 'project.jobApplicationCreated' | 'project.jobApplicantAccepted' | 'project.jobClosed' | 'project.jobDeleted' | 'project.jobApplicantSaveToggled' | 'project.jobApplicantRejected' | 'project.sharesChanged' | 'skill.userSkillDeleted' | 'content.itemReported' | 'content.violationRecorded' | 'content.libraryItemSubmitted' | 'content.libraryItemPublished' | 'content.appealSubmitted' | 'content.violationAccepted' | 'content.taleDetailsUpdated' | 'content.taleCategoriesUpdated' | 'content.chapterCreated' | 'content.chapterDetailsUpdated' | 'content.tuneDetailsUpdated' | 'content.tuneCategoriesUpdated' | 'content.songCreated' | 'content.songDetailsUpdated' | 'content.televisionDetailsUpdated' | 'content.televisionCategoriesUpdated' | 'content.showCreated' | 'content.showDetailsUpdated' | 'payment.sessionCreated' | 'payment.donationCompleted' | 'payment.donationAbandoned' | 'payment.donationFailed' | 'admin.taskCheckedOut' | 'admin.taskCheckedIn' | 'admin.taskReleased' | 'admin.taskAutoReleased' | 'admin.taskDeferredLater' | 'project.opportunityCreated' | 'admin.opportunityCreated' | 'opportunity.replyCreated' | 'opportunity.closedByUser' | 'system.manualIntervention' | 'system.appConfigUpdated' | 'system.donationsArchived' | 'system.pendingMediaArchived' | 'system.profanityListSynced' | 'system.profanityListSyncSkipped' | 'system.orphanUploadsCleanedUp' | 'admin.profanityListUpdated' | 'social.streetzPostLiked' | 'social.streetzPostUnliked' | 'social.userFollowed' | 'social.userUnfollowed' | 'chat.channelCreated' | 'chat.channelUpdated' | 'chat.channelArchived' | 'chat.messageSent' | 'chat.adminThreadStarted' | 'chat.attachmentTimedOut';
|
|
2
|
+
export type AuditEventType = 'creator.grantedToUser' | 'creator.revokedFromUser' | 'user.accountRegistered' | 'user.statusChanged' | 'user.accountBanned' | 'user.accountUnbanned' | 'admin.roleGranted' | 'admin.roleRevoked' | 'admin.roleSyncedFromDirectEdit' | 'admin.contentAppealReviewed' | 'admin.violationDecisionAccepted' | 'admin.libraryItemReviewed' | 'admin.futurePlansUpdated' | 'admin.rulesAndAgreementsUpdated' | 'project.newProjectCreated' | 'project.memberRoleChanged' | 'project.memberProfessionsChanged' | 'project.publicDetailsUpdated' | 'project.fileDeleted' | 'project.userInvited' | 'project.inviteAccepted' | 'project.inviteDeclined' | 'project.inviteCancelled' | 'project.inviteSharesUpdated' | 'project.jobListingCreated' | 'project.jobApplicationCreated' | 'project.jobApplicantAccepted' | 'project.jobClosed' | 'project.jobDeleted' | 'project.jobApplicantSaveToggled' | 'project.jobApplicantRejected' | 'project.sharesChanged' | 'project.shares.created' | 'project.shares.increased' | 'project.shares.anomaly' | 'skill.userSkillDeleted' | 'content.itemReported' | 'content.violationRecorded' | 'content.libraryItemSubmitted' | 'content.libraryItemPublished' | 'content.appealSubmitted' | 'content.violationAccepted' | 'content.taleDetailsUpdated' | 'content.taleCategoriesUpdated' | 'content.chapterCreated' | 'content.chapterDetailsUpdated' | 'content.tuneDetailsUpdated' | 'content.tuneCategoriesUpdated' | 'content.songCreated' | 'content.songDetailsUpdated' | 'content.televisionDetailsUpdated' | 'content.televisionCategoriesUpdated' | 'content.showCreated' | 'content.showDetailsUpdated' | 'payment.sessionCreated' | 'payment.donationCompleted' | 'payment.donationAbandoned' | 'payment.donationFailed' | 'admin.taskCheckedOut' | 'admin.taskCheckedIn' | 'admin.taskReleased' | 'admin.taskAutoReleased' | 'admin.taskDeferredLater' | 'project.opportunityCreated' | 'admin.opportunityCreated' | 'opportunity.replyCreated' | 'opportunity.closedByUser' | 'system.manualIntervention' | 'system.appConfigUpdated' | 'system.donationsArchived' | 'system.pendingMediaArchived' | 'system.profanityListSynced' | 'system.profanityListSyncSkipped' | 'system.orphanUploadsCleanedUp' | 'admin.profanityListUpdated' | 'social.streetzPostLiked' | 'social.streetzPostUnliked' | 'social.userFollowed' | 'social.userUnfollowed' | 'chat.channelCreated' | 'chat.channelUpdated' | 'chat.channelArchived' | 'chat.messageSent' | 'chat.adminThreadStarted' | 'chat.attachmentTimedOut';
|
|
3
3
|
/**
|
|
4
4
|
* TTT actor shape: the uid performing an audited action, plus whether they
|
|
5
5
|
* held an admin claim at the time.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/types/audit.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,MAAM,cAAc,GAEtB,uBAAuB,GACvB,yBAAyB,GACzB,wBAAwB,GACxB,oBAAoB,GACpB,oBAAoB,GACpB,sBAAsB,GAEtB,mBAAmB,GACnB,mBAAmB,GACnB,gCAAgC,GAChC,6BAA6B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rB,4BAA4B,GAC5B,kCAAkC,GAClC,qCAAqC,GACrC,qBAAqB,GACrB,4BAA4B,GAE5B,wBAAwB,GACxB,2BAA2B,GAC3B,2BAA2B,GAC3B,wBAAwB,GAExB,sBAAsB,GACtB,qBAAqB,GACrB,oBAAoB,GACpB,wBAAwB,GACxB,yBAAyB,GAEzB,4BAA4B,GAC5B,0BAA0B,GAC1B,0BAA0B,GAC1B,0BAA0B,GAE1B,2BAA2B,GAC3B,yBAAyB,GACzB,0BAA0B,GAC1B,6BAA6B,GAC7B,4BAA4B,GAC5B,iCAAiC,GACjC,+BAA+B,GAC/B,4BAA4B,GAE5B,yBAAyB,GACzB,2BAA2B,GAC3B,qBAAqB,GACrB,uBAAuB,GAEvB,qBAAqB,GACrB,qBAAqB,GACrB,sBAAsB,GACtB,kBAAkB,GAClB,yBAAyB,GACzB,yBAAyB,CAAC;AAE9B;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAErE;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAExE;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC,cAAc,EACd,aAAa,EACb,cAAc,EACd,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACxB,CAAC"}
|
package/dist/types/project.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
export type { ShortProject } from '../media/atoms.js';
|
|
2
2
|
import type { LibraryItemType } from './content.js';
|
|
3
3
|
import type { ShortProject } from '../media/atoms.js';
|
|
4
|
-
|
|
4
|
+
import type { ProjectRoleId } from '../permissions/index.js';
|
|
5
|
+
export type ProjectMemberStatus = 'active' | 'departed';
|
|
6
|
+
export type ProjectMember = {
|
|
5
7
|
uid: string;
|
|
6
|
-
|
|
7
|
-
roles:
|
|
8
|
+
displayName: string;
|
|
9
|
+
roles: ProjectRoleId[];
|
|
8
10
|
professions: string[];
|
|
11
|
+
sharesNumber: number;
|
|
12
|
+
joinedAt: number;
|
|
13
|
+
status: ProjectMemberStatus;
|
|
9
14
|
};
|
|
10
15
|
export type ProjectFile = {
|
|
11
16
|
id: string;
|
|
@@ -18,16 +23,6 @@ export type ProjectFile = {
|
|
|
18
23
|
uid: string;
|
|
19
24
|
};
|
|
20
25
|
};
|
|
21
|
-
export type ProjectRolesMap = {
|
|
22
|
-
[key: string]: {
|
|
23
|
-
[uid: string]: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export type ProjectProfessionsMap = {
|
|
27
|
-
[key: string]: {
|
|
28
|
-
[uid: string]: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
26
|
export type PendingShares = {
|
|
32
27
|
[inviteId: string]: {
|
|
33
28
|
amount: number;
|
|
@@ -48,16 +43,12 @@ export type FullProject = {
|
|
|
48
43
|
uid: string;
|
|
49
44
|
};
|
|
50
45
|
status: 'open' | 'pendingVerification' | 'published' | 'rejected';
|
|
51
|
-
activeUsers?: ActiveUsers[];
|
|
52
46
|
activeUserIds?: {
|
|
53
47
|
[key: string]: boolean;
|
|
54
48
|
};
|
|
55
49
|
invitedUserIds?: {
|
|
56
50
|
[key: string]: boolean;
|
|
57
51
|
};
|
|
58
|
-
roles?: ProjectRolesMap;
|
|
59
|
-
professionMap?: ProjectProfessionsMap;
|
|
60
|
-
files?: ProjectFile[];
|
|
61
52
|
universeId?: string;
|
|
62
53
|
origin?: 'newUniverse' | 'existingUniverse' | 'standalone';
|
|
63
54
|
pendingShares?: PendingShares;
|
|
@@ -88,9 +79,6 @@ export type Universe = {
|
|
|
88
79
|
type: string;
|
|
89
80
|
projectIds: string[];
|
|
90
81
|
};
|
|
91
|
-
export type ProjectShareEntry = {
|
|
92
|
-
shares: number;
|
|
93
|
-
};
|
|
94
82
|
export type ProjectInvite = {
|
|
95
83
|
inviteId: string;
|
|
96
84
|
createdBy: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/types/project.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/types/project.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CAC5B,C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,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3B,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAC5C,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAKF,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/ttt-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Core types, Firestore path constants, and shared constants for TTT Productions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -75,6 +75,10 @@
|
|
|
75
75
|
"./media": {
|
|
76
76
|
"types": "./dist/media/index.d.ts",
|
|
77
77
|
"default": "./dist/media/index.js"
|
|
78
|
+
},
|
|
79
|
+
"./permissions": {
|
|
80
|
+
"types": "./dist/permissions/index.d.ts",
|
|
81
|
+
"default": "./dist/permissions/index.js"
|
|
78
82
|
}
|
|
79
83
|
},
|
|
80
84
|
"scripts": {
|