@ttt-productions/ttt-core 0.4.4 → 0.4.6
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/media/domain-events.d.ts +96 -96
- package/dist/media/pending-media.d.ts +840 -840
- package/dist/media/target-info.d.ts +4 -4
- package/dist/schemas/admin.d.ts +2 -2
- package/dist/schemas/jobs.d.ts +6 -18
- package/dist/schemas/jobs.d.ts.map +1 -1
- package/dist/schemas/jobs.js +6 -5
- package/dist/schemas/jobs.js.map +1 -1
- package/dist/schemas/library.d.ts +6 -6
- package/dist/schemas/project-management.d.ts +264 -10
- package/dist/schemas/project-management.d.ts.map +1 -1
- package/dist/schemas/project-management.js +37 -6
- package/dist/schemas/project-management.js.map +1 -1
- package/dist/schemas/share-operation.d.ts +0 -112
- package/dist/schemas/share-operation.d.ts.map +1 -1
- package/dist/schemas/share-operation.js +5 -17
- package/dist/schemas/share-operation.js.map +1 -1
- package/dist/schemas/system-message-actions.d.ts +2 -2
- package/dist/schemas/system-message-actions.js +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/jobs.d.ts +6 -2
- package/dist/types/jobs.d.ts.map +1 -1
- package/dist/types/messaging.d.ts +2 -0
- package/dist/types/messaging.d.ts.map +1 -1
- package/dist/types/project.d.ts +1 -2
- package/dist/types/project.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -25,23 +25,23 @@ export declare const SkillCreatedEventSchema: z.ZodObject<{
|
|
|
25
25
|
userId: z.ZodString;
|
|
26
26
|
skillId: z.ZodString;
|
|
27
27
|
}, "strict", z.ZodTypeAny, {
|
|
28
|
-
userId: string;
|
|
29
28
|
skillId: string;
|
|
30
|
-
}, {
|
|
31
29
|
userId: string;
|
|
30
|
+
}, {
|
|
32
31
|
skillId: string;
|
|
32
|
+
userId: string;
|
|
33
33
|
}>;
|
|
34
34
|
}, "strict", z.ZodTypeAny, {
|
|
35
35
|
type: "skill.created";
|
|
36
36
|
ids: {
|
|
37
|
-
userId: string;
|
|
38
37
|
skillId: string;
|
|
38
|
+
userId: string;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
41
41
|
type: "skill.created";
|
|
42
42
|
ids: {
|
|
43
|
-
userId: string;
|
|
44
43
|
skillId: string;
|
|
44
|
+
userId: string;
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
47
47
|
export declare const StreetzPostCreatedEventSchema: z.ZodObject<{
|
|
@@ -76,26 +76,26 @@ export declare const OpportunityPromptCreatedEventSchema: z.ZodObject<{
|
|
|
76
76
|
opportunityId: z.ZodString;
|
|
77
77
|
projectId: z.ZodOptional<z.ZodString>;
|
|
78
78
|
}, "strict", z.ZodTypeAny, {
|
|
79
|
-
userId: string;
|
|
80
79
|
opportunityId: string;
|
|
80
|
+
userId: string;
|
|
81
81
|
projectId?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
userId: string;
|
|
84
83
|
opportunityId: string;
|
|
84
|
+
userId: string;
|
|
85
85
|
projectId?: string | undefined;
|
|
86
86
|
}>;
|
|
87
87
|
}, "strict", z.ZodTypeAny, {
|
|
88
88
|
type: "opportunity.promptCreated";
|
|
89
89
|
ids: {
|
|
90
|
-
userId: string;
|
|
91
90
|
opportunityId: string;
|
|
91
|
+
userId: string;
|
|
92
92
|
projectId?: string | undefined;
|
|
93
93
|
};
|
|
94
94
|
}, {
|
|
95
95
|
type: "opportunity.promptCreated";
|
|
96
96
|
ids: {
|
|
97
|
-
userId: string;
|
|
98
97
|
opportunityId: string;
|
|
98
|
+
userId: string;
|
|
99
99
|
projectId?: string | undefined;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
@@ -107,30 +107,30 @@ export declare const OpportunityReplyCreatedEventSchema: z.ZodObject<{
|
|
|
107
107
|
replyId: z.ZodString;
|
|
108
108
|
projectId: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, "strict", z.ZodTypeAny, {
|
|
110
|
-
userId: string;
|
|
111
|
-
opportunityId: string;
|
|
112
110
|
replyId: string;
|
|
111
|
+
opportunityId: string;
|
|
112
|
+
userId: string;
|
|
113
113
|
projectId?: string | undefined;
|
|
114
114
|
}, {
|
|
115
|
-
userId: string;
|
|
116
|
-
opportunityId: string;
|
|
117
115
|
replyId: string;
|
|
116
|
+
opportunityId: string;
|
|
117
|
+
userId: string;
|
|
118
118
|
projectId?: string | undefined;
|
|
119
119
|
}>;
|
|
120
120
|
}, "strict", z.ZodTypeAny, {
|
|
121
121
|
type: "opportunity.replyCreated";
|
|
122
122
|
ids: {
|
|
123
|
-
userId: string;
|
|
124
|
-
opportunityId: string;
|
|
125
123
|
replyId: string;
|
|
124
|
+
opportunityId: string;
|
|
125
|
+
userId: string;
|
|
126
126
|
projectId?: string | undefined;
|
|
127
127
|
};
|
|
128
128
|
}, {
|
|
129
129
|
type: "opportunity.replyCreated";
|
|
130
130
|
ids: {
|
|
131
|
-
userId: string;
|
|
132
|
-
opportunityId: string;
|
|
133
131
|
replyId: string;
|
|
132
|
+
opportunityId: string;
|
|
133
|
+
userId: string;
|
|
134
134
|
projectId?: string | undefined;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
@@ -142,26 +142,26 @@ export declare const JobCreatedEventSchema: z.ZodObject<{
|
|
|
142
142
|
projectId: z.ZodString;
|
|
143
143
|
}, "strict", z.ZodTypeAny, {
|
|
144
144
|
projectId: string;
|
|
145
|
-
userId: string;
|
|
146
145
|
jobId: string;
|
|
146
|
+
userId: string;
|
|
147
147
|
}, {
|
|
148
148
|
projectId: string;
|
|
149
|
-
userId: string;
|
|
150
149
|
jobId: string;
|
|
150
|
+
userId: string;
|
|
151
151
|
}>;
|
|
152
152
|
}, "strict", z.ZodTypeAny, {
|
|
153
153
|
type: "job.created";
|
|
154
154
|
ids: {
|
|
155
155
|
projectId: string;
|
|
156
|
-
userId: string;
|
|
157
156
|
jobId: string;
|
|
157
|
+
userId: string;
|
|
158
158
|
};
|
|
159
159
|
}, {
|
|
160
160
|
type: "job.created";
|
|
161
161
|
ids: {
|
|
162
162
|
projectId: string;
|
|
163
|
-
userId: string;
|
|
164
163
|
jobId: string;
|
|
164
|
+
userId: string;
|
|
165
165
|
};
|
|
166
166
|
}>;
|
|
167
167
|
export declare const JobApplicationSubmittedEventSchema: z.ZodObject<{
|
|
@@ -173,29 +173,29 @@ export declare const JobApplicationSubmittedEventSchema: z.ZodObject<{
|
|
|
173
173
|
applicationId: z.ZodString;
|
|
174
174
|
}, "strict", z.ZodTypeAny, {
|
|
175
175
|
projectId: string;
|
|
176
|
-
userId: string;
|
|
177
176
|
jobId: string;
|
|
177
|
+
userId: string;
|
|
178
178
|
applicationId: string;
|
|
179
179
|
}, {
|
|
180
180
|
projectId: string;
|
|
181
|
-
userId: string;
|
|
182
181
|
jobId: string;
|
|
182
|
+
userId: string;
|
|
183
183
|
applicationId: string;
|
|
184
184
|
}>;
|
|
185
185
|
}, "strict", z.ZodTypeAny, {
|
|
186
186
|
type: "job.applicationSubmitted";
|
|
187
187
|
ids: {
|
|
188
188
|
projectId: string;
|
|
189
|
-
userId: string;
|
|
190
189
|
jobId: string;
|
|
190
|
+
userId: string;
|
|
191
191
|
applicationId: string;
|
|
192
192
|
};
|
|
193
193
|
}, {
|
|
194
194
|
type: "job.applicationSubmitted";
|
|
195
195
|
ids: {
|
|
196
196
|
projectId: string;
|
|
197
|
-
userId: string;
|
|
198
197
|
jobId: string;
|
|
198
|
+
userId: string;
|
|
199
199
|
applicationId: string;
|
|
200
200
|
};
|
|
201
201
|
}>;
|
|
@@ -480,23 +480,23 @@ export declare const SkillDeletedEventSchema: z.ZodObject<{
|
|
|
480
480
|
userId: z.ZodString;
|
|
481
481
|
skillId: z.ZodString;
|
|
482
482
|
}, "strict", z.ZodTypeAny, {
|
|
483
|
-
userId: string;
|
|
484
483
|
skillId: string;
|
|
485
|
-
}, {
|
|
486
484
|
userId: string;
|
|
485
|
+
}, {
|
|
487
486
|
skillId: string;
|
|
487
|
+
userId: string;
|
|
488
488
|
}>;
|
|
489
489
|
}, "strict", z.ZodTypeAny, {
|
|
490
490
|
type: "skill.deleted";
|
|
491
491
|
ids: {
|
|
492
|
-
userId: string;
|
|
493
492
|
skillId: string;
|
|
493
|
+
userId: string;
|
|
494
494
|
};
|
|
495
495
|
}, {
|
|
496
496
|
type: "skill.deleted";
|
|
497
497
|
ids: {
|
|
498
|
-
userId: string;
|
|
499
498
|
skillId: string;
|
|
499
|
+
userId: string;
|
|
500
500
|
};
|
|
501
501
|
}>;
|
|
502
502
|
export declare const SkillUpdatedEventSchema: z.ZodObject<{
|
|
@@ -505,23 +505,23 @@ export declare const SkillUpdatedEventSchema: z.ZodObject<{
|
|
|
505
505
|
userId: z.ZodString;
|
|
506
506
|
skillId: z.ZodString;
|
|
507
507
|
}, "strict", z.ZodTypeAny, {
|
|
508
|
-
userId: string;
|
|
509
508
|
skillId: string;
|
|
510
|
-
}, {
|
|
511
509
|
userId: string;
|
|
510
|
+
}, {
|
|
512
511
|
skillId: string;
|
|
512
|
+
userId: string;
|
|
513
513
|
}>;
|
|
514
514
|
}, "strict", z.ZodTypeAny, {
|
|
515
515
|
type: "skill.updated";
|
|
516
516
|
ids: {
|
|
517
|
-
userId: string;
|
|
518
517
|
skillId: string;
|
|
518
|
+
userId: string;
|
|
519
519
|
};
|
|
520
520
|
}, {
|
|
521
521
|
type: "skill.updated";
|
|
522
522
|
ids: {
|
|
523
|
-
userId: string;
|
|
524
523
|
skillId: string;
|
|
524
|
+
userId: string;
|
|
525
525
|
};
|
|
526
526
|
}>;
|
|
527
527
|
export declare const ProjectCreatedEventSchema: z.ZodObject<{
|
|
@@ -723,30 +723,30 @@ export declare const OpportunityReplyVotedEventSchema: z.ZodObject<{
|
|
|
723
723
|
projectId: z.ZodString;
|
|
724
724
|
}, "strict", z.ZodTypeAny, {
|
|
725
725
|
projectId: string;
|
|
726
|
-
userId: string;
|
|
727
|
-
opportunityId: string;
|
|
728
726
|
replyId: string;
|
|
727
|
+
opportunityId: string;
|
|
728
|
+
userId: string;
|
|
729
729
|
}, {
|
|
730
730
|
projectId: string;
|
|
731
|
-
userId: string;
|
|
732
|
-
opportunityId: string;
|
|
733
731
|
replyId: string;
|
|
732
|
+
opportunityId: string;
|
|
733
|
+
userId: string;
|
|
734
734
|
}>;
|
|
735
735
|
}, "strict", z.ZodTypeAny, {
|
|
736
736
|
type: "opportunity.replyVoted";
|
|
737
737
|
ids: {
|
|
738
738
|
projectId: string;
|
|
739
|
-
userId: string;
|
|
740
|
-
opportunityId: string;
|
|
741
739
|
replyId: string;
|
|
740
|
+
opportunityId: string;
|
|
741
|
+
userId: string;
|
|
742
742
|
};
|
|
743
743
|
}, {
|
|
744
744
|
type: "opportunity.replyVoted";
|
|
745
745
|
ids: {
|
|
746
746
|
projectId: string;
|
|
747
|
-
userId: string;
|
|
748
|
-
opportunityId: string;
|
|
749
747
|
replyId: string;
|
|
748
|
+
opportunityId: string;
|
|
749
|
+
userId: string;
|
|
750
750
|
};
|
|
751
751
|
}>;
|
|
752
752
|
export declare const OpportunityClosedEventSchema: z.ZodObject<{
|
|
@@ -806,26 +806,26 @@ export declare const JobApplicationSavedEventSchema: z.ZodObject<{
|
|
|
806
806
|
applicationId: z.ZodString;
|
|
807
807
|
userId: z.ZodString;
|
|
808
808
|
}, "strict", z.ZodTypeAny, {
|
|
809
|
-
userId: string;
|
|
810
809
|
jobId: string;
|
|
810
|
+
userId: string;
|
|
811
811
|
applicationId: string;
|
|
812
812
|
}, {
|
|
813
|
-
userId: string;
|
|
814
813
|
jobId: string;
|
|
814
|
+
userId: string;
|
|
815
815
|
applicationId: string;
|
|
816
816
|
}>;
|
|
817
817
|
}, "strict", z.ZodTypeAny, {
|
|
818
818
|
type: "job.applicationSaved";
|
|
819
819
|
ids: {
|
|
820
|
-
userId: string;
|
|
821
820
|
jobId: string;
|
|
821
|
+
userId: string;
|
|
822
822
|
applicationId: string;
|
|
823
823
|
};
|
|
824
824
|
}, {
|
|
825
825
|
type: "job.applicationSaved";
|
|
826
826
|
ids: {
|
|
827
|
-
userId: string;
|
|
828
827
|
jobId: string;
|
|
828
|
+
userId: string;
|
|
829
829
|
applicationId: string;
|
|
830
830
|
};
|
|
831
831
|
}>;
|
|
@@ -836,26 +836,26 @@ export declare const JobApplicationRemovedEventSchema: z.ZodObject<{
|
|
|
836
836
|
applicationId: z.ZodString;
|
|
837
837
|
userId: z.ZodString;
|
|
838
838
|
}, "strict", z.ZodTypeAny, {
|
|
839
|
-
userId: string;
|
|
840
839
|
jobId: string;
|
|
840
|
+
userId: string;
|
|
841
841
|
applicationId: string;
|
|
842
842
|
}, {
|
|
843
|
-
userId: string;
|
|
844
843
|
jobId: string;
|
|
844
|
+
userId: string;
|
|
845
845
|
applicationId: string;
|
|
846
846
|
}>;
|
|
847
847
|
}, "strict", z.ZodTypeAny, {
|
|
848
848
|
type: "job.applicationRemoved";
|
|
849
849
|
ids: {
|
|
850
|
-
userId: string;
|
|
851
850
|
jobId: string;
|
|
851
|
+
userId: string;
|
|
852
852
|
applicationId: string;
|
|
853
853
|
};
|
|
854
854
|
}, {
|
|
855
855
|
type: "job.applicationRemoved";
|
|
856
856
|
ids: {
|
|
857
|
-
userId: string;
|
|
858
857
|
jobId: string;
|
|
858
|
+
userId: string;
|
|
859
859
|
applicationId: string;
|
|
860
860
|
};
|
|
861
861
|
}>;
|
|
@@ -1134,23 +1134,23 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1134
1134
|
userId: z.ZodString;
|
|
1135
1135
|
skillId: z.ZodString;
|
|
1136
1136
|
}, "strict", z.ZodTypeAny, {
|
|
1137
|
-
userId: string;
|
|
1138
1137
|
skillId: string;
|
|
1139
|
-
}, {
|
|
1140
1138
|
userId: string;
|
|
1139
|
+
}, {
|
|
1141
1140
|
skillId: string;
|
|
1141
|
+
userId: string;
|
|
1142
1142
|
}>;
|
|
1143
1143
|
}, "strict", z.ZodTypeAny, {
|
|
1144
1144
|
type: "skill.created";
|
|
1145
1145
|
ids: {
|
|
1146
|
-
userId: string;
|
|
1147
1146
|
skillId: string;
|
|
1147
|
+
userId: string;
|
|
1148
1148
|
};
|
|
1149
1149
|
}, {
|
|
1150
1150
|
type: "skill.created";
|
|
1151
1151
|
ids: {
|
|
1152
|
-
userId: string;
|
|
1153
1152
|
skillId: string;
|
|
1153
|
+
userId: string;
|
|
1154
1154
|
};
|
|
1155
1155
|
}>, z.ZodObject<{
|
|
1156
1156
|
type: z.ZodLiteral<"streetz.postCreated">;
|
|
@@ -1183,26 +1183,26 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1183
1183
|
opportunityId: z.ZodString;
|
|
1184
1184
|
projectId: z.ZodOptional<z.ZodString>;
|
|
1185
1185
|
}, "strict", z.ZodTypeAny, {
|
|
1186
|
-
userId: string;
|
|
1187
1186
|
opportunityId: string;
|
|
1187
|
+
userId: string;
|
|
1188
1188
|
projectId?: string | undefined;
|
|
1189
1189
|
}, {
|
|
1190
|
-
userId: string;
|
|
1191
1190
|
opportunityId: string;
|
|
1191
|
+
userId: string;
|
|
1192
1192
|
projectId?: string | undefined;
|
|
1193
1193
|
}>;
|
|
1194
1194
|
}, "strict", z.ZodTypeAny, {
|
|
1195
1195
|
type: "opportunity.promptCreated";
|
|
1196
1196
|
ids: {
|
|
1197
|
-
userId: string;
|
|
1198
1197
|
opportunityId: string;
|
|
1198
|
+
userId: string;
|
|
1199
1199
|
projectId?: string | undefined;
|
|
1200
1200
|
};
|
|
1201
1201
|
}, {
|
|
1202
1202
|
type: "opportunity.promptCreated";
|
|
1203
1203
|
ids: {
|
|
1204
|
-
userId: string;
|
|
1205
1204
|
opportunityId: string;
|
|
1205
|
+
userId: string;
|
|
1206
1206
|
projectId?: string | undefined;
|
|
1207
1207
|
};
|
|
1208
1208
|
}>, z.ZodObject<{
|
|
@@ -1213,30 +1213,30 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1213
1213
|
replyId: z.ZodString;
|
|
1214
1214
|
projectId: z.ZodOptional<z.ZodString>;
|
|
1215
1215
|
}, "strict", z.ZodTypeAny, {
|
|
1216
|
-
userId: string;
|
|
1217
|
-
opportunityId: string;
|
|
1218
1216
|
replyId: string;
|
|
1217
|
+
opportunityId: string;
|
|
1218
|
+
userId: string;
|
|
1219
1219
|
projectId?: string | undefined;
|
|
1220
1220
|
}, {
|
|
1221
|
-
userId: string;
|
|
1222
|
-
opportunityId: string;
|
|
1223
1221
|
replyId: string;
|
|
1222
|
+
opportunityId: string;
|
|
1223
|
+
userId: string;
|
|
1224
1224
|
projectId?: string | undefined;
|
|
1225
1225
|
}>;
|
|
1226
1226
|
}, "strict", z.ZodTypeAny, {
|
|
1227
1227
|
type: "opportunity.replyCreated";
|
|
1228
1228
|
ids: {
|
|
1229
|
-
userId: string;
|
|
1230
|
-
opportunityId: string;
|
|
1231
1229
|
replyId: string;
|
|
1230
|
+
opportunityId: string;
|
|
1231
|
+
userId: string;
|
|
1232
1232
|
projectId?: string | undefined;
|
|
1233
1233
|
};
|
|
1234
1234
|
}, {
|
|
1235
1235
|
type: "opportunity.replyCreated";
|
|
1236
1236
|
ids: {
|
|
1237
|
-
userId: string;
|
|
1238
|
-
opportunityId: string;
|
|
1239
1237
|
replyId: string;
|
|
1238
|
+
opportunityId: string;
|
|
1239
|
+
userId: string;
|
|
1240
1240
|
projectId?: string | undefined;
|
|
1241
1241
|
};
|
|
1242
1242
|
}>, z.ZodObject<{
|
|
@@ -1247,26 +1247,26 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1247
1247
|
projectId: z.ZodString;
|
|
1248
1248
|
}, "strict", z.ZodTypeAny, {
|
|
1249
1249
|
projectId: string;
|
|
1250
|
-
userId: string;
|
|
1251
1250
|
jobId: string;
|
|
1251
|
+
userId: string;
|
|
1252
1252
|
}, {
|
|
1253
1253
|
projectId: string;
|
|
1254
|
-
userId: string;
|
|
1255
1254
|
jobId: string;
|
|
1255
|
+
userId: string;
|
|
1256
1256
|
}>;
|
|
1257
1257
|
}, "strict", z.ZodTypeAny, {
|
|
1258
1258
|
type: "job.created";
|
|
1259
1259
|
ids: {
|
|
1260
1260
|
projectId: string;
|
|
1261
|
-
userId: string;
|
|
1262
1261
|
jobId: string;
|
|
1262
|
+
userId: string;
|
|
1263
1263
|
};
|
|
1264
1264
|
}, {
|
|
1265
1265
|
type: "job.created";
|
|
1266
1266
|
ids: {
|
|
1267
1267
|
projectId: string;
|
|
1268
|
-
userId: string;
|
|
1269
1268
|
jobId: string;
|
|
1269
|
+
userId: string;
|
|
1270
1270
|
};
|
|
1271
1271
|
}>, z.ZodObject<{
|
|
1272
1272
|
type: z.ZodLiteral<"job.applicationSubmitted">;
|
|
@@ -1277,29 +1277,29 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1277
1277
|
applicationId: z.ZodString;
|
|
1278
1278
|
}, "strict", z.ZodTypeAny, {
|
|
1279
1279
|
projectId: string;
|
|
1280
|
-
userId: string;
|
|
1281
1280
|
jobId: string;
|
|
1281
|
+
userId: string;
|
|
1282
1282
|
applicationId: string;
|
|
1283
1283
|
}, {
|
|
1284
1284
|
projectId: string;
|
|
1285
|
-
userId: string;
|
|
1286
1285
|
jobId: string;
|
|
1286
|
+
userId: string;
|
|
1287
1287
|
applicationId: string;
|
|
1288
1288
|
}>;
|
|
1289
1289
|
}, "strict", z.ZodTypeAny, {
|
|
1290
1290
|
type: "job.applicationSubmitted";
|
|
1291
1291
|
ids: {
|
|
1292
1292
|
projectId: string;
|
|
1293
|
-
userId: string;
|
|
1294
1293
|
jobId: string;
|
|
1294
|
+
userId: string;
|
|
1295
1295
|
applicationId: string;
|
|
1296
1296
|
};
|
|
1297
1297
|
}, {
|
|
1298
1298
|
type: "job.applicationSubmitted";
|
|
1299
1299
|
ids: {
|
|
1300
1300
|
projectId: string;
|
|
1301
|
-
userId: string;
|
|
1302
1301
|
jobId: string;
|
|
1302
|
+
userId: string;
|
|
1303
1303
|
applicationId: string;
|
|
1304
1304
|
};
|
|
1305
1305
|
}>, z.ZodObject<{
|
|
@@ -1573,23 +1573,23 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1573
1573
|
userId: z.ZodString;
|
|
1574
1574
|
skillId: z.ZodString;
|
|
1575
1575
|
}, "strict", z.ZodTypeAny, {
|
|
1576
|
-
userId: string;
|
|
1577
1576
|
skillId: string;
|
|
1578
|
-
}, {
|
|
1579
1577
|
userId: string;
|
|
1578
|
+
}, {
|
|
1580
1579
|
skillId: string;
|
|
1580
|
+
userId: string;
|
|
1581
1581
|
}>;
|
|
1582
1582
|
}, "strict", z.ZodTypeAny, {
|
|
1583
1583
|
type: "skill.deleted";
|
|
1584
1584
|
ids: {
|
|
1585
|
-
userId: string;
|
|
1586
1585
|
skillId: string;
|
|
1586
|
+
userId: string;
|
|
1587
1587
|
};
|
|
1588
1588
|
}, {
|
|
1589
1589
|
type: "skill.deleted";
|
|
1590
1590
|
ids: {
|
|
1591
|
-
userId: string;
|
|
1592
1591
|
skillId: string;
|
|
1592
|
+
userId: string;
|
|
1593
1593
|
};
|
|
1594
1594
|
}>, z.ZodObject<{
|
|
1595
1595
|
type: z.ZodLiteral<"skill.updated">;
|
|
@@ -1597,23 +1597,23 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1597
1597
|
userId: z.ZodString;
|
|
1598
1598
|
skillId: z.ZodString;
|
|
1599
1599
|
}, "strict", z.ZodTypeAny, {
|
|
1600
|
-
userId: string;
|
|
1601
1600
|
skillId: string;
|
|
1602
|
-
}, {
|
|
1603
1601
|
userId: string;
|
|
1602
|
+
}, {
|
|
1604
1603
|
skillId: string;
|
|
1604
|
+
userId: string;
|
|
1605
1605
|
}>;
|
|
1606
1606
|
}, "strict", z.ZodTypeAny, {
|
|
1607
1607
|
type: "skill.updated";
|
|
1608
1608
|
ids: {
|
|
1609
|
-
userId: string;
|
|
1610
1609
|
skillId: string;
|
|
1610
|
+
userId: string;
|
|
1611
1611
|
};
|
|
1612
1612
|
}, {
|
|
1613
1613
|
type: "skill.updated";
|
|
1614
1614
|
ids: {
|
|
1615
|
-
userId: string;
|
|
1616
1615
|
skillId: string;
|
|
1616
|
+
userId: string;
|
|
1617
1617
|
};
|
|
1618
1618
|
}>, z.ZodObject<{
|
|
1619
1619
|
type: z.ZodLiteral<"project.created">;
|
|
@@ -1807,30 +1807,30 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1807
1807
|
projectId: z.ZodString;
|
|
1808
1808
|
}, "strict", z.ZodTypeAny, {
|
|
1809
1809
|
projectId: string;
|
|
1810
|
-
userId: string;
|
|
1811
|
-
opportunityId: string;
|
|
1812
1810
|
replyId: string;
|
|
1811
|
+
opportunityId: string;
|
|
1812
|
+
userId: string;
|
|
1813
1813
|
}, {
|
|
1814
1814
|
projectId: string;
|
|
1815
|
-
userId: string;
|
|
1816
|
-
opportunityId: string;
|
|
1817
1815
|
replyId: string;
|
|
1816
|
+
opportunityId: string;
|
|
1817
|
+
userId: string;
|
|
1818
1818
|
}>;
|
|
1819
1819
|
}, "strict", z.ZodTypeAny, {
|
|
1820
1820
|
type: "opportunity.replyVoted";
|
|
1821
1821
|
ids: {
|
|
1822
1822
|
projectId: string;
|
|
1823
|
-
userId: string;
|
|
1824
|
-
opportunityId: string;
|
|
1825
1823
|
replyId: string;
|
|
1824
|
+
opportunityId: string;
|
|
1825
|
+
userId: string;
|
|
1826
1826
|
};
|
|
1827
1827
|
}, {
|
|
1828
1828
|
type: "opportunity.replyVoted";
|
|
1829
1829
|
ids: {
|
|
1830
1830
|
projectId: string;
|
|
1831
|
-
userId: string;
|
|
1832
|
-
opportunityId: string;
|
|
1833
1831
|
replyId: string;
|
|
1832
|
+
opportunityId: string;
|
|
1833
|
+
userId: string;
|
|
1834
1834
|
};
|
|
1835
1835
|
}>, z.ZodObject<{
|
|
1836
1836
|
type: z.ZodLiteral<"opportunity.closed">;
|
|
@@ -1887,26 +1887,26 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1887
1887
|
applicationId: z.ZodString;
|
|
1888
1888
|
userId: z.ZodString;
|
|
1889
1889
|
}, "strict", z.ZodTypeAny, {
|
|
1890
|
-
userId: string;
|
|
1891
1890
|
jobId: string;
|
|
1891
|
+
userId: string;
|
|
1892
1892
|
applicationId: string;
|
|
1893
1893
|
}, {
|
|
1894
|
-
userId: string;
|
|
1895
1894
|
jobId: string;
|
|
1895
|
+
userId: string;
|
|
1896
1896
|
applicationId: string;
|
|
1897
1897
|
}>;
|
|
1898
1898
|
}, "strict", z.ZodTypeAny, {
|
|
1899
1899
|
type: "job.applicationSaved";
|
|
1900
1900
|
ids: {
|
|
1901
|
-
userId: string;
|
|
1902
1901
|
jobId: string;
|
|
1902
|
+
userId: string;
|
|
1903
1903
|
applicationId: string;
|
|
1904
1904
|
};
|
|
1905
1905
|
}, {
|
|
1906
1906
|
type: "job.applicationSaved";
|
|
1907
1907
|
ids: {
|
|
1908
|
-
userId: string;
|
|
1909
1908
|
jobId: string;
|
|
1909
|
+
userId: string;
|
|
1910
1910
|
applicationId: string;
|
|
1911
1911
|
};
|
|
1912
1912
|
}>, z.ZodObject<{
|
|
@@ -1916,26 +1916,26 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1916
1916
|
applicationId: z.ZodString;
|
|
1917
1917
|
userId: z.ZodString;
|
|
1918
1918
|
}, "strict", z.ZodTypeAny, {
|
|
1919
|
-
userId: string;
|
|
1920
1919
|
jobId: string;
|
|
1920
|
+
userId: string;
|
|
1921
1921
|
applicationId: string;
|
|
1922
1922
|
}, {
|
|
1923
|
-
userId: string;
|
|
1924
1923
|
jobId: string;
|
|
1924
|
+
userId: string;
|
|
1925
1925
|
applicationId: string;
|
|
1926
1926
|
}>;
|
|
1927
1927
|
}, "strict", z.ZodTypeAny, {
|
|
1928
1928
|
type: "job.applicationRemoved";
|
|
1929
1929
|
ids: {
|
|
1930
|
-
userId: string;
|
|
1931
1930
|
jobId: string;
|
|
1931
|
+
userId: string;
|
|
1932
1932
|
applicationId: string;
|
|
1933
1933
|
};
|
|
1934
1934
|
}, {
|
|
1935
1935
|
type: "job.applicationRemoved";
|
|
1936
1936
|
ids: {
|
|
1937
|
-
userId: string;
|
|
1938
1937
|
jobId: string;
|
|
1938
|
+
userId: string;
|
|
1939
1939
|
applicationId: string;
|
|
1940
1940
|
};
|
|
1941
1941
|
}>, z.ZodObject<{
|