@ttt-productions/ttt-core 0.4.4 → 0.4.5

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.
@@ -109,8 +109,8 @@ export declare const OpportunityPromptTargetInfoSchema: z.ZodObject<{
109
109
  }, "strict", z.ZodTypeAny, {
110
110
  projectId: string;
111
111
  type: "ProjectInput";
112
- opportunityId: string;
113
112
  openTill: number;
113
+ opportunityId: string;
114
114
  title: string;
115
115
  description: string;
116
116
  createdBy: {
@@ -120,8 +120,8 @@ export declare const OpportunityPromptTargetInfoSchema: z.ZodObject<{
120
120
  }, {
121
121
  projectId: string;
122
122
  type: "ProjectInput";
123
- opportunityId: string;
124
123
  openTill: number;
124
+ opportunityId: string;
125
125
  title: string;
126
126
  description: string;
127
127
  createdBy: {
@@ -145,8 +145,8 @@ export declare const AdminOpportunityPromptTargetInfoSchema: z.ZodObject<{
145
145
  projectAmountUSD: z.ZodOptional<z.ZodNumber>;
146
146
  }, "strict", z.ZodTypeAny, {
147
147
  type: "SystemInput" | "SponsoredProjects";
148
- opportunityId: string;
149
148
  openTill: number;
149
+ opportunityId: string;
150
150
  title: string;
151
151
  description: string;
152
152
  createdBy: {
@@ -155,8 +155,8 @@ export declare const AdminOpportunityPromptTargetInfoSchema: z.ZodObject<{
155
155
  projectAmountUSD?: number | undefined;
156
156
  }, {
157
157
  type: "SystemInput" | "SponsoredProjects";
158
- opportunityId: string;
159
158
  openTill: number;
159
+ opportunityId: string;
160
160
  title: string;
161
161
  description: string;
162
162
  createdBy: {
@@ -295,21 +295,21 @@ export declare const UpdateAppConfigInputSchema: z.ZodObject<{
295
295
  registrationEnabled?: boolean | undefined;
296
296
  }>;
297
297
  }, "strict", z.ZodTypeAny, {
298
- docId: "app";
299
298
  data: {
300
299
  appVersion?: string | undefined;
301
300
  maintenanceMode?: boolean | undefined;
302
301
  maintenanceMessage?: string | undefined;
303
302
  registrationEnabled?: boolean | undefined;
304
303
  };
305
- }, {
306
304
  docId: "app";
305
+ }, {
307
306
  data: {
308
307
  appVersion?: string | undefined;
309
308
  maintenanceMode?: boolean | undefined;
310
309
  maintenanceMessage?: string | undefined;
311
310
  registrationEnabled?: boolean | undefined;
312
311
  };
312
+ docId: "app";
313
313
  }>;
314
314
  export type UpdateAppConfigInput = z.infer<typeof UpdateAppConfigInputSchema>;
315
315
  /**
@@ -1,18 +1,6 @@
1
1
  import { z } from 'zod';
2
- export declare const AcceptJobApplicantInputSchema: z.ZodObject<{
3
- jobId: z.ZodString;
4
- replyId: z.ZodString;
5
- sharesOffered: z.ZodNumber;
6
- }, "strict", z.ZodTypeAny, {
7
- replyId: string;
8
- jobId: string;
9
- sharesOffered: number;
10
- }, {
11
- replyId: string;
12
- jobId: string;
13
- sharesOffered: number;
14
- }>;
15
- export type AcceptJobApplicantInput = z.infer<typeof AcceptJobApplicantInputSchema>;
2
+ export declare const JobApplicationStatusSchema: z.ZodEnum<["open", "invited", "accepted", "rejected"]>;
3
+ export type JobApplicationStatus = z.infer<typeof JobApplicationStatusSchema>;
16
4
  export declare const CloseJobInputSchema: z.ZodObject<{
17
5
  jobId: z.ZodString;
18
6
  }, "strict", z.ZodTypeAny, {
@@ -33,11 +21,11 @@ export declare const RejectJobApplicantInputSchema: z.ZodObject<{
33
21
  jobId: z.ZodString;
34
22
  replyId: z.ZodString;
35
23
  }, "strict", z.ZodTypeAny, {
36
- replyId: string;
37
24
  jobId: string;
38
- }, {
39
25
  replyId: string;
26
+ }, {
40
27
  jobId: string;
28
+ replyId: string;
41
29
  }>;
42
30
  export type RejectJobApplicantInput = z.infer<typeof RejectJobApplicantInputSchema>;
43
31
  export declare const SetJobApplicantSavedInputSchema: z.ZodObject<{
@@ -45,12 +33,12 @@ export declare const SetJobApplicantSavedInputSchema: z.ZodObject<{
45
33
  replyId: z.ZodString;
46
34
  saved: z.ZodBoolean;
47
35
  }, "strict", z.ZodTypeAny, {
48
- replyId: string;
49
36
  jobId: string;
37
+ replyId: string;
50
38
  saved: boolean;
51
39
  }, {
52
- replyId: string;
53
40
  jobId: string;
41
+ replyId: string;
54
42
  saved: boolean;
55
43
  }>;
56
44
  export type SetJobApplicantSavedInput = z.infer<typeof SetJobApplicantSavedInputSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../src/schemas/jobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAI/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,mBAAmB;;;;;;EAErB,CAAC;AACZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;EAEtB,CAAC;AACZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAIjC,CAAC;AACZ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../src/schemas/jobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B,wDAKrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,mBAAmB;;;;;;EAErB,CAAC;AACZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;EAEtB,CAAC;AACZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAIjC,CAAC;AACZ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { jobIdSchema, replyIdSchema } from './atoms.js';
3
3
  import { MAX_JOB_DESCRIPTION_LENGTH } from '../constants/business.js';
4
- export const AcceptJobApplicantInputSchema = z.object({
5
- jobId: jobIdSchema,
6
- replyId: replyIdSchema,
7
- sharesOffered: z.number().int().min(1),
8
- }).strict();
4
+ export const JobApplicationStatusSchema = z.enum([
5
+ 'open',
6
+ 'invited',
7
+ 'accepted',
8
+ 'rejected',
9
+ ]);
9
10
  export const CloseJobInputSchema = z.object({
10
11
  jobId: jobIdSchema,
11
12
  }).strict();
@@ -1 +1 @@
1
- {"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../src/schemas/jobs.ts"],"names":[],"mappings":"AAAA,OAAO,EA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Root":"","sources":["../../src/schemas/jobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC;IAC/C,MAAM;IACN,SAAS;IACT,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,WAAW;CACnB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,WAAW;CACnB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;CACnB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,WAAW;IAClB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC;CACnE,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -142,14 +142,14 @@ export declare const UpdateTaleCategoriesInputSchema: z.ZodObject<{
142
142
  action: z.ZodEnum<["add", "remove"]>;
143
143
  }, "strict", z.ZodTypeAny, {
144
144
  projectId: string;
145
+ action: "add" | "remove";
145
146
  taleId: string;
146
147
  category: string;
147
- action: "add" | "remove";
148
148
  }, {
149
149
  projectId: string;
150
+ action: "add" | "remove";
150
151
  taleId: string;
151
152
  category: string;
152
- action: "add" | "remove";
153
153
  }>;
154
154
  export type UpdateTaleCategoriesInput = z.infer<typeof UpdateTaleCategoriesInputSchema>;
155
155
  export declare const UpdateTaleDetailsInputSchema: z.ZodObject<{
@@ -176,14 +176,14 @@ export declare const UpdateTelevisionCategoriesInputSchema: z.ZodObject<{
176
176
  action: z.ZodEnum<["add", "remove"]>;
177
177
  }, "strict", z.ZodTypeAny, {
178
178
  projectId: string;
179
+ action: "add" | "remove";
179
180
  televisionId: string;
180
181
  category: string;
181
- action: "add" | "remove";
182
182
  }, {
183
183
  projectId: string;
184
+ action: "add" | "remove";
184
185
  televisionId: string;
185
186
  category: string;
186
- action: "add" | "remove";
187
187
  }>;
188
188
  export type UpdateTelevisionCategoriesInput = z.infer<typeof UpdateTelevisionCategoriesInputSchema>;
189
189
  export declare const UpdateTelevisionDetailsInputSchema: z.ZodObject<{
@@ -210,14 +210,14 @@ export declare const UpdateTuneCategoriesInputSchema: z.ZodObject<{
210
210
  action: z.ZodEnum<["add", "remove"]>;
211
211
  }, "strict", z.ZodTypeAny, {
212
212
  projectId: string;
213
+ action: "add" | "remove";
213
214
  tuneId: string;
214
215
  category: string;
215
- action: "add" | "remove";
216
216
  }, {
217
217
  projectId: string;
218
+ action: "add" | "remove";
218
219
  tuneId: string;
219
220
  category: string;
220
- action: "add" | "remove";
221
221
  }>;
222
222
  export type UpdateTuneCategoriesInput = z.infer<typeof UpdateTuneCategoriesInputSchema>;
223
223
  export declare const UpdateTuneDetailsInputSchema: z.ZodObject<{
@@ -84,53 +84,307 @@ export declare const DeleteProjectFileInputSchema: z.ZodObject<{
84
84
  };
85
85
  }>;
86
86
  export type DeleteProjectFileInput = z.infer<typeof DeleteProjectFileInputSchema>;
87
+ export declare const InviteSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
88
+ type: z.ZodLiteral<"standalone">;
89
+ }, "strict", z.ZodTypeAny, {
90
+ type: "standalone";
91
+ }, {
92
+ type: "standalone";
93
+ }>, z.ZodObject<{
94
+ type: z.ZodLiteral<"skill">;
95
+ data: z.ZodObject<{
96
+ skillId: z.ZodString;
97
+ skillOwnerUserId: z.ZodString;
98
+ skillName: z.ZodString;
99
+ }, "strict", z.ZodTypeAny, {
100
+ skillId: string;
101
+ skillOwnerUserId: string;
102
+ skillName: string;
103
+ }, {
104
+ skillId: string;
105
+ skillOwnerUserId: string;
106
+ skillName: string;
107
+ }>;
108
+ }, "strict", z.ZodTypeAny, {
109
+ type: "skill";
110
+ data: {
111
+ skillId: string;
112
+ skillOwnerUserId: string;
113
+ skillName: string;
114
+ };
115
+ }, {
116
+ type: "skill";
117
+ data: {
118
+ skillId: string;
119
+ skillOwnerUserId: string;
120
+ skillName: string;
121
+ };
122
+ }>, z.ZodObject<{
123
+ type: z.ZodLiteral<"job">;
124
+ data: z.ZodObject<{
125
+ jobId: z.ZodString;
126
+ replyId: z.ZodString;
127
+ jobTitle: z.ZodString;
128
+ applicantUserId: z.ZodString;
129
+ postingSharesOffered: z.ZodNumber;
130
+ }, "strict", z.ZodTypeAny, {
131
+ jobId: string;
132
+ replyId: string;
133
+ jobTitle: string;
134
+ applicantUserId: string;
135
+ postingSharesOffered: number;
136
+ }, {
137
+ jobId: string;
138
+ replyId: string;
139
+ jobTitle: string;
140
+ applicantUserId: string;
141
+ postingSharesOffered: number;
142
+ }>;
143
+ }, "strict", z.ZodTypeAny, {
144
+ type: "job";
145
+ data: {
146
+ jobId: string;
147
+ replyId: string;
148
+ jobTitle: string;
149
+ applicantUserId: string;
150
+ postingSharesOffered: number;
151
+ };
152
+ }, {
153
+ type: "job";
154
+ data: {
155
+ jobId: string;
156
+ replyId: string;
157
+ jobTitle: string;
158
+ applicantUserId: string;
159
+ postingSharesOffered: number;
160
+ };
161
+ }>, z.ZodObject<{
162
+ type: z.ZodLiteral<"opportunity">;
163
+ data: z.ZodObject<{
164
+ opportunityId: z.ZodString;
165
+ replyId: z.ZodString;
166
+ opportunityTitle: z.ZodString;
167
+ respondentUserId: z.ZodString;
168
+ postingSharesOffered: z.ZodNumber;
169
+ }, "strict", z.ZodTypeAny, {
170
+ replyId: string;
171
+ postingSharesOffered: number;
172
+ opportunityId: string;
173
+ opportunityTitle: string;
174
+ respondentUserId: string;
175
+ }, {
176
+ replyId: string;
177
+ postingSharesOffered: number;
178
+ opportunityId: string;
179
+ opportunityTitle: string;
180
+ respondentUserId: string;
181
+ }>;
182
+ }, "strict", z.ZodTypeAny, {
183
+ type: "opportunity";
184
+ data: {
185
+ replyId: string;
186
+ postingSharesOffered: number;
187
+ opportunityId: string;
188
+ opportunityTitle: string;
189
+ respondentUserId: string;
190
+ };
191
+ }, {
192
+ type: "opportunity";
193
+ data: {
194
+ replyId: string;
195
+ postingSharesOffered: number;
196
+ opportunityId: string;
197
+ opportunityTitle: string;
198
+ respondentUserId: string;
199
+ };
200
+ }>]>;
201
+ export type InviteSource = z.infer<typeof InviteSourceSchema>;
202
+ export type InviteSourceType = InviteSource['type'];
87
203
  export declare const InviteUserToProjectInputSchema: z.ZodObject<{
88
204
  projectId: z.ZodString;
89
205
  inviteeUid: z.ZodString;
90
206
  message: z.ZodString;
91
207
  sharesOffered: z.ZodNumber;
92
- source: z.ZodOptional<z.ZodObject<{
208
+ source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
209
+ type: z.ZodLiteral<"standalone">;
210
+ }, "strict", z.ZodTypeAny, {
211
+ type: "standalone";
212
+ }, {
213
+ type: "standalone";
214
+ }>, z.ZodObject<{
93
215
  type: z.ZodLiteral<"skill">;
94
216
  data: z.ZodObject<{
217
+ skillId: z.ZodString;
218
+ skillOwnerUserId: z.ZodString;
95
219
  skillName: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
220
+ }, "strict", z.ZodTypeAny, {
221
+ skillId: string;
222
+ skillOwnerUserId: string;
97
223
  skillName: string;
98
224
  }, {
225
+ skillId: string;
226
+ skillOwnerUserId: string;
99
227
  skillName: string;
100
228
  }>;
101
- }, "strip", z.ZodTypeAny, {
229
+ }, "strict", z.ZodTypeAny, {
102
230
  type: "skill";
103
231
  data: {
232
+ skillId: string;
233
+ skillOwnerUserId: string;
104
234
  skillName: string;
105
235
  };
106
236
  }, {
107
237
  type: "skill";
108
238
  data: {
239
+ skillId: string;
240
+ skillOwnerUserId: string;
109
241
  skillName: string;
110
242
  };
111
- }>>;
243
+ }>, z.ZodObject<{
244
+ type: z.ZodLiteral<"job">;
245
+ data: z.ZodObject<{
246
+ jobId: z.ZodString;
247
+ replyId: z.ZodString;
248
+ jobTitle: z.ZodString;
249
+ applicantUserId: z.ZodString;
250
+ postingSharesOffered: z.ZodNumber;
251
+ }, "strict", z.ZodTypeAny, {
252
+ jobId: string;
253
+ replyId: string;
254
+ jobTitle: string;
255
+ applicantUserId: string;
256
+ postingSharesOffered: number;
257
+ }, {
258
+ jobId: string;
259
+ replyId: string;
260
+ jobTitle: string;
261
+ applicantUserId: string;
262
+ postingSharesOffered: number;
263
+ }>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ type: "job";
266
+ data: {
267
+ jobId: string;
268
+ replyId: string;
269
+ jobTitle: string;
270
+ applicantUserId: string;
271
+ postingSharesOffered: number;
272
+ };
273
+ }, {
274
+ type: "job";
275
+ data: {
276
+ jobId: string;
277
+ replyId: string;
278
+ jobTitle: string;
279
+ applicantUserId: string;
280
+ postingSharesOffered: number;
281
+ };
282
+ }>, z.ZodObject<{
283
+ type: z.ZodLiteral<"opportunity">;
284
+ data: z.ZodObject<{
285
+ opportunityId: z.ZodString;
286
+ replyId: z.ZodString;
287
+ opportunityTitle: z.ZodString;
288
+ respondentUserId: z.ZodString;
289
+ postingSharesOffered: z.ZodNumber;
290
+ }, "strict", z.ZodTypeAny, {
291
+ replyId: string;
292
+ postingSharesOffered: number;
293
+ opportunityId: string;
294
+ opportunityTitle: string;
295
+ respondentUserId: string;
296
+ }, {
297
+ replyId: string;
298
+ postingSharesOffered: number;
299
+ opportunityId: string;
300
+ opportunityTitle: string;
301
+ respondentUserId: string;
302
+ }>;
303
+ }, "strict", z.ZodTypeAny, {
304
+ type: "opportunity";
305
+ data: {
306
+ replyId: string;
307
+ postingSharesOffered: number;
308
+ opportunityId: string;
309
+ opportunityTitle: string;
310
+ respondentUserId: string;
311
+ };
312
+ }, {
313
+ type: "opportunity";
314
+ data: {
315
+ replyId: string;
316
+ postingSharesOffered: number;
317
+ opportunityId: string;
318
+ opportunityTitle: string;
319
+ respondentUserId: string;
320
+ };
321
+ }>]>;
112
322
  }, "strict", z.ZodTypeAny, {
113
323
  projectId: string;
114
324
  message: string;
115
325
  sharesOffered: number;
116
326
  inviteeUid: string;
117
- source?: {
327
+ source: {
328
+ type: "standalone";
329
+ } | {
118
330
  type: "skill";
119
331
  data: {
332
+ skillId: string;
333
+ skillOwnerUserId: string;
120
334
  skillName: string;
121
335
  };
122
- } | undefined;
336
+ } | {
337
+ type: "job";
338
+ data: {
339
+ jobId: string;
340
+ replyId: string;
341
+ jobTitle: string;
342
+ applicantUserId: string;
343
+ postingSharesOffered: number;
344
+ };
345
+ } | {
346
+ type: "opportunity";
347
+ data: {
348
+ replyId: string;
349
+ postingSharesOffered: number;
350
+ opportunityId: string;
351
+ opportunityTitle: string;
352
+ respondentUserId: string;
353
+ };
354
+ };
123
355
  }, {
124
356
  projectId: string;
125
357
  message: string;
126
358
  sharesOffered: number;
127
359
  inviteeUid: string;
128
- source?: {
360
+ source: {
361
+ type: "standalone";
362
+ } | {
129
363
  type: "skill";
130
364
  data: {
365
+ skillId: string;
366
+ skillOwnerUserId: string;
131
367
  skillName: string;
132
368
  };
133
- } | undefined;
369
+ } | {
370
+ type: "job";
371
+ data: {
372
+ jobId: string;
373
+ replyId: string;
374
+ jobTitle: string;
375
+ applicantUserId: string;
376
+ postingSharesOffered: number;
377
+ };
378
+ } | {
379
+ type: "opportunity";
380
+ data: {
381
+ replyId: string;
382
+ postingSharesOffered: number;
383
+ opportunityId: string;
384
+ opportunityTitle: string;
385
+ respondentUserId: string;
386
+ };
387
+ };
134
388
  }>;
135
389
  export type InviteUserToProjectInput = z.infer<typeof InviteUserToProjectInputSchema>;
136
390
  export declare const ListProjectInvitesInputSchema: z.ZodObject<{
@@ -152,13 +406,13 @@ export declare const UpdateProjectMemberProfessionsInputSchema: z.ZodObject<{
152
406
  }, "strict", z.ZodTypeAny, {
153
407
  projectId: string;
154
408
  userId: string;
155
- action: "add" | "remove";
156
409
  profession: string;
410
+ action: "add" | "remove";
157
411
  }, {
158
412
  projectId: string;
159
413
  userId: string;
160
- action: "add" | "remove";
161
414
  profession: string;
415
+ action: "add" | "remove";
162
416
  }>;
163
417
  export type UpdateProjectMemberProfessionsInput = z.infer<typeof UpdateProjectMemberProfessionsInputSchema>;
164
418
  export declare const UpdateProjectMemberRoleInputSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"project-management.d.ts","sourceRoot":"","sources":["../../src/schemas/project-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAcnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShC,CAAC;AACZ,MAAM,MAA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;;;;;;;;;;;;;;;IAgC7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAEpD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAIpF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;EAK3C,CAAC;AACZ,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAI5G,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;EAKpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAIvC,CAAC;AACZ,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { projectIdSchema, userIdSchema, addRemoveActionSchema, projectTypeSchema } from './atoms.js';
2
+ import { projectIdSchema, userIdSchema, addRemoveActionSchema, projectTypeSchema, jobIdSchema, opportunityIdSchema, replyIdSchema, skillIdSchema, } from './atoms.js';
3
3
  import { PROFESSION_OPTIONS, USER_ROLE_OPTIONS_MAP } from '../constants/options.js';
4
+ import { MAX_INVITE_MESSAGE_LENGTH } from '../constants/business.js';
4
5
  const baseFields = {
5
6
  workingTitle: z.string().min(1).max(200),
6
7
  workingDescription: z.string().min(1).max(2000),
@@ -29,15 +30,45 @@ export const DeleteProjectFileInputSchema = z.object({
29
30
  name: z.string().optional(),
30
31
  }),
31
32
  }).strict();
33
+ export const InviteSourceSchema = z.discriminatedUnion('type', [
34
+ z.object({
35
+ type: z.literal('standalone'),
36
+ }).strict(),
37
+ z.object({
38
+ type: z.literal('skill'),
39
+ data: z.object({
40
+ skillId: skillIdSchema,
41
+ skillOwnerUserId: userIdSchema,
42
+ skillName: z.string().min(1).max(200),
43
+ }).strict(),
44
+ }).strict(),
45
+ z.object({
46
+ type: z.literal('job'),
47
+ data: z.object({
48
+ jobId: jobIdSchema,
49
+ replyId: replyIdSchema,
50
+ jobTitle: z.string().min(1).max(200),
51
+ applicantUserId: userIdSchema,
52
+ postingSharesOffered: z.number().int().min(1),
53
+ }).strict(),
54
+ }).strict(),
55
+ z.object({
56
+ type: z.literal('opportunity'),
57
+ data: z.object({
58
+ opportunityId: opportunityIdSchema,
59
+ replyId: replyIdSchema,
60
+ opportunityTitle: z.string().min(1).max(200),
61
+ respondentUserId: userIdSchema,
62
+ postingSharesOffered: z.number().int().min(1),
63
+ }).strict(),
64
+ }).strict(),
65
+ ]);
32
66
  export const InviteUserToProjectInputSchema = z.object({
33
67
  projectId: projectIdSchema,
34
68
  inviteeUid: userIdSchema,
35
- message: z.string().min(1).max(2000),
69
+ message: z.string().min(1).max(MAX_INVITE_MESSAGE_LENGTH),
36
70
  sharesOffered: z.number().int().min(1),
37
- source: z.object({
38
- type: z.literal('skill'),
39
- data: z.object({ skillName: z.string().min(1) }),
40
- }).optional(),
71
+ source: InviteSourceSchema,
41
72
  }).strict();
42
73
  export const ListProjectInvitesInputSchema = z.object({
43
74
  projectId: projectIdSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"project-management.js","sourceRoot":"","sources":["../../src/schemas/project-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEpF,MAAM,UAAU,GAAG;IACjB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACxC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IAC/C,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACrE,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,UAAU;QACb,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;KACjC,CAAC,CAAC,MAAM,EAAE;IACX,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,UAAU;QACb,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;QACrC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC9B,CAAC,CAAC,MAAM,EAAE;IACX,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,UAAU;QACb,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;KAChC,CAAC,CAAC,MAAM,EAAE;CACZ,CAAC,CAA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