@locusai/shared 0.4.16 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/models/activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE/D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;EAIxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAMtD,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;EAE5C,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;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AC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,oBAAoB;;;;;;;;;;iBAY/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -2,20 +2,10 @@ import { z } from "zod";
2
2
  export declare const LockSchema: z.ZodObject<{
3
3
  agentId: z.ZodString;
4
4
  ttlSeconds: z.ZodNumber;
5
- }, "strip", z.ZodTypeAny, {
6
- agentId: string;
7
- ttlSeconds: number;
8
- }, {
9
- agentId: string;
10
- ttlSeconds: number;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export declare const UnlockSchema: z.ZodObject<{
13
7
  agentId: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- agentId: string;
16
- }, {
17
- agentId: string;
18
- }>;
8
+ }, z.core.$strip>;
19
9
  export type Lock = z.infer<typeof LockSchema>;
20
10
  export type Unlock = z.infer<typeof UnlockSchema>;
21
11
  //# sourceMappingURL=agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/models/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;;;;;;;EAGrB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;EAEvB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/models/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;iBAGrB,CAAC;AAEH,eAAO,MAAM,YAAY;;iBAEvB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -11,26 +11,10 @@ export declare const JwtAuthUserSchema: z.ZodObject<{
11
11
  id: z.ZodString;
12
12
  email: z.ZodString;
13
13
  name: z.ZodString;
14
- role: z.ZodNativeEnum<typeof UserRole>;
14
+ role: z.ZodEnum<typeof UserRole>;
15
15
  orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, "strip", z.ZodTypeAny, {
18
- id: string;
19
- name: string;
20
- role: UserRole;
21
- email: string;
22
- authType: "jwt";
23
- workspaceId?: string | null | undefined;
24
- orgId?: string | null | undefined;
25
- }, {
26
- id: string;
27
- name: string;
28
- role: UserRole;
29
- email: string;
30
- authType: "jwt";
31
- workspaceId?: string | null | undefined;
32
- orgId?: string | null | undefined;
33
- }>;
17
+ }, z.core.$strip>;
34
18
  export type JwtAuthUser = z.infer<typeof JwtAuthUserSchema>;
35
19
  /**
36
20
  * User authenticated via API Key (CLI/agents)
@@ -41,61 +25,25 @@ export declare const ApiKeyAuthUserSchema: z.ZodObject<{
41
25
  apiKeyId: z.ZodString;
42
26
  apiKeyName: z.ZodString;
43
27
  orgId: z.ZodString;
44
- }, "strip", z.ZodTypeAny, {
45
- orgId: string;
46
- authType: "api_key";
47
- apiKeyId: string;
48
- apiKeyName: string;
49
- }, {
50
- orgId: string;
51
- authType: "api_key";
52
- apiKeyId: string;
53
- apiKeyName: string;
54
- }>;
28
+ }, z.core.$strip>;
55
29
  export type ApiKeyAuthUser = z.infer<typeof ApiKeyAuthUserSchema>;
56
30
  /**
57
31
  * Union type for any authenticated request
58
32
  */
59
- export declare const AuthenticatedUserSchema: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
33
+ export declare const AuthenticatedUserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
60
34
  authType: z.ZodLiteral<"jwt">;
61
35
  id: z.ZodString;
62
36
  email: z.ZodString;
63
37
  name: z.ZodString;
64
- role: z.ZodNativeEnum<typeof UserRole>;
38
+ role: z.ZodEnum<typeof UserRole>;
65
39
  orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
40
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, "strip", z.ZodTypeAny, {
68
- id: string;
69
- name: string;
70
- role: UserRole;
71
- email: string;
72
- authType: "jwt";
73
- workspaceId?: string | null | undefined;
74
- orgId?: string | null | undefined;
75
- }, {
76
- id: string;
77
- name: string;
78
- role: UserRole;
79
- email: string;
80
- authType: "jwt";
81
- workspaceId?: string | null | undefined;
82
- orgId?: string | null | undefined;
83
- }>, z.ZodObject<{
41
+ }, z.core.$strip>, z.ZodObject<{
84
42
  authType: z.ZodLiteral<"api_key">;
85
43
  apiKeyId: z.ZodString;
86
44
  apiKeyName: z.ZodString;
87
45
  orgId: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
- orgId: string;
90
- authType: "api_key";
91
- apiKeyId: string;
92
- apiKeyName: string;
93
- }, {
94
- orgId: string;
95
- authType: "api_key";
96
- apiKeyId: string;
97
- apiKeyName: string;
98
- }>]>;
46
+ }, z.core.$strip>], "authType">;
99
47
  export type AuthenticatedUser = z.infer<typeof AuthenticatedUserSchema>;
100
48
  /**
101
49
  * Type guard to check if user is JWT authenticated
@@ -114,13 +62,12 @@ export declare const AuthResponseSchema: z.ZodObject<{
114
62
  token: z.ZodString;
115
63
  user: z.ZodObject<{
116
64
  id: z.ZodString;
117
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
118
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
119
- } & {
65
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
66
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
120
67
  email: z.ZodString;
121
68
  name: z.ZodString;
122
69
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
- role: z.ZodNativeEnum<typeof UserRole>;
70
+ role: z.ZodEnum<typeof UserRole>;
124
71
  orgId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
72
  workspaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
73
  companyName: z.ZodOptional<z.ZodString>;
@@ -128,123 +75,40 @@ export declare const AuthResponseSchema: z.ZodObject<{
128
75
  teamSize: z.ZodOptional<z.ZodString>;
129
76
  onboardingCompleted: z.ZodDefault<z.ZodBoolean>;
130
77
  emailVerified: z.ZodDefault<z.ZodBoolean>;
131
- }, "strip", z.ZodTypeAny, {
132
- id: string;
133
- createdAt: number | Date;
134
- updatedAt: number | Date;
135
- name: string;
136
- role: UserRole;
137
- email: string;
138
- onboardingCompleted: boolean;
139
- emailVerified: boolean;
140
- workspaceId?: string | null | undefined;
141
- avatarUrl?: string | null | undefined;
142
- orgId?: string | null | undefined;
143
- companyName?: string | undefined;
144
- userRole?: string | undefined;
145
- teamSize?: string | undefined;
146
- }, {
147
- id: string;
148
- createdAt: number | Date;
149
- updatedAt: number | Date;
150
- name: string;
151
- role: UserRole;
152
- email: string;
153
- workspaceId?: string | null | undefined;
154
- avatarUrl?: string | null | undefined;
155
- orgId?: string | null | undefined;
156
- companyName?: string | undefined;
157
- userRole?: string | undefined;
158
- teamSize?: string | undefined;
159
- onboardingCompleted?: boolean | undefined;
160
- emailVerified?: boolean | undefined;
161
- }>;
162
- }, "strip", z.ZodTypeAny, {
163
- token: string;
164
- user: {
165
- id: string;
166
- createdAt: number | Date;
167
- updatedAt: number | Date;
168
- name: string;
169
- role: UserRole;
170
- email: string;
171
- onboardingCompleted: boolean;
172
- emailVerified: boolean;
173
- workspaceId?: string | null | undefined;
174
- avatarUrl?: string | null | undefined;
175
- orgId?: string | null | undefined;
176
- companyName?: string | undefined;
177
- userRole?: string | undefined;
178
- teamSize?: string | undefined;
179
- };
180
- }, {
181
- token: string;
182
- user: {
183
- id: string;
184
- createdAt: number | Date;
185
- updatedAt: number | Date;
186
- name: string;
187
- role: UserRole;
188
- email: string;
189
- workspaceId?: string | null | undefined;
190
- avatarUrl?: string | null | undefined;
191
- orgId?: string | null | undefined;
192
- companyName?: string | undefined;
193
- userRole?: string | undefined;
194
- teamSize?: string | undefined;
195
- onboardingCompleted?: boolean | undefined;
196
- emailVerified?: boolean | undefined;
197
- };
198
- }>;
78
+ }, z.core.$strip>;
79
+ }, z.core.$strip>;
199
80
  export type AuthResponse = z.infer<typeof AuthResponseSchema>;
200
81
  export type LoginResponse = AuthResponse;
201
82
  export declare const OtpRequestSchema: z.ZodObject<{
202
83
  email: z.ZodString;
203
- }, "strip", z.ZodTypeAny, {
204
- email: string;
205
- }, {
206
- email: string;
207
- }>;
84
+ }, z.core.$strip>;
208
85
  export type OtpRequest = z.infer<typeof OtpRequestSchema>;
209
86
  export declare const VerifyOtpSchema: z.ZodObject<{
210
87
  email: z.ZodString;
211
88
  otp: z.ZodString;
212
- }, "strip", z.ZodTypeAny, {
213
- email: string;
214
- otp: string;
215
- }, {
216
- email: string;
217
- otp: string;
218
- }>;
89
+ }, z.core.$strip>;
219
90
  export type VerifyOtp = z.infer<typeof VerifyOtpSchema>;
220
91
  export declare const CompleteRegistrationSchema: z.ZodObject<{
221
92
  email: z.ZodString;
222
93
  otp: z.ZodString;
223
94
  name: z.ZodString;
224
95
  companyName: z.ZodOptional<z.ZodString>;
225
- teamSize: z.ZodOptional<z.ZodEnum<["solo", "2-10", "11-50", "51-200", "200+"]>>;
226
- userRole: z.ZodOptional<z.ZodEnum<["developer", "designer", "product_manager", "other"]>>;
96
+ teamSize: z.ZodOptional<z.ZodEnum<{
97
+ solo: "solo";
98
+ "2-10": "2-10";
99
+ "11-50": "11-50";
100
+ "51-200": "51-200";
101
+ "200+": "200+";
102
+ }>>;
103
+ userRole: z.ZodOptional<z.ZodEnum<{
104
+ developer: "developer";
105
+ designer: "designer";
106
+ product_manager: "product_manager";
107
+ other: "other";
108
+ }>>;
227
109
  workspaceName: z.ZodOptional<z.ZodString>;
228
- invitedEmails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
229
- }, "strip", z.ZodTypeAny, {
230
- name: string;
231
- email: string;
232
- otp: string;
233
- companyName?: string | undefined;
234
- userRole?: "developer" | "designer" | "product_manager" | "other" | undefined;
235
- teamSize?: "solo" | "2-10" | "11-50" | "51-200" | "200+" | undefined;
236
- workspaceName?: string | undefined;
237
- invitedEmails?: string[] | undefined;
238
- }, {
239
- name: string;
240
- email: string;
241
- otp: string;
242
- companyName?: string | undefined;
243
- userRole?: "developer" | "designer" | "product_manager" | "other" | undefined;
244
- teamSize?: "solo" | "2-10" | "11-50" | "51-200" | "200+" | undefined;
245
- workspaceName?: string | undefined;
246
- invitedEmails?: string[] | undefined;
247
- }>;
110
+ invitedEmails: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
+ }, z.core.$strip>;
248
112
  export type CompleteRegistration = z.infer<typeof CompleteRegistrationSchema>;
249
113
  export declare const JWTPayloadSchema: z.ZodObject<{
250
114
  sub: z.ZodString;
@@ -254,23 +118,7 @@ export declare const JWTPayloadSchema: z.ZodObject<{
254
118
  orgId: z.ZodOptional<z.ZodString>;
255
119
  iat: z.ZodNumber;
256
120
  exp: z.ZodNumber;
257
- }, "strip", z.ZodTypeAny, {
258
- name: string;
259
- role: string;
260
- email: string;
261
- sub: string;
262
- iat: number;
263
- exp: number;
264
- orgId?: string | undefined;
265
- }, {
266
- name: string;
267
- role: string;
268
- email: string;
269
- sub: string;
270
- iat: number;
271
- exp: number;
272
- orgId?: string | undefined;
273
- }>;
121
+ }, z.core.$strip>;
274
122
  export type JWTPayload = z.infer<typeof JWTPayloadSchema>;
275
123
  export declare const AuthContextSchema: z.ZodObject<{
276
124
  userId: z.ZodString;
@@ -279,24 +127,12 @@ export declare const AuthContextSchema: z.ZodObject<{
279
127
  role: z.ZodString;
280
128
  orgId: z.ZodOptional<z.ZodString>;
281
129
  workspaceId: z.ZodOptional<z.ZodString>;
282
- authType: z.ZodEnum<["jwt", "api_key", "local"]>;
283
- }, "strip", z.ZodTypeAny, {
284
- name: string;
285
- userId: string;
286
- role: string;
287
- email: string;
288
- authType: "jwt" | "api_key" | "local";
289
- workspaceId?: string | undefined;
290
- orgId?: string | undefined;
291
- }, {
292
- name: string;
293
- userId: string;
294
- role: string;
295
- email: string;
296
- authType: "jwt" | "api_key" | "local";
297
- workspaceId?: string | undefined;
298
- orgId?: string | undefined;
299
- }>;
130
+ authType: z.ZodEnum<{
131
+ jwt: "jwt";
132
+ api_key: "api_key";
133
+ local: "local";
134
+ }>;
135
+ }, z.core.$strip>;
300
136
  export type AuthContext = z.infer<typeof AuthContextSchema>;
301
137
  export declare const APIKeySchema: z.ZodObject<{
302
138
  id: z.ZodString;
@@ -305,21 +141,7 @@ export declare const APIKeySchema: z.ZodObject<{
305
141
  workspaceId: z.ZodString;
306
142
  lastUsedAt: z.ZodNullable<z.ZodNumber>;
307
143
  createdAt: z.ZodNumber;
308
- }, "strip", z.ZodTypeAny, {
309
- id: string;
310
- createdAt: number;
311
- name: string;
312
- workspaceId: string;
313
- keyPrefix: string;
314
- lastUsedAt: number | null;
315
- }, {
316
- id: string;
317
- createdAt: number;
318
- name: string;
319
- workspaceId: string;
320
- keyPrefix: string;
321
- lastUsedAt: number | null;
322
- }>;
144
+ }, z.core.$strip>;
323
145
  export type APIKey = z.infer<typeof APIKeySchema>;
324
146
  export declare const APIKeyCreateResponseSchema: z.ZodObject<{
325
147
  id: z.ZodString;
@@ -327,48 +149,20 @@ export declare const APIKeyCreateResponseSchema: z.ZodObject<{
327
149
  keyPrefix: z.ZodString;
328
150
  key: z.ZodString;
329
151
  createdAt: z.ZodNumber;
330
- }, "strip", z.ZodTypeAny, {
331
- id: string;
332
- createdAt: number;
333
- name: string;
334
- keyPrefix: string;
335
- key: string;
336
- }, {
337
- id: string;
338
- createdAt: number;
339
- name: string;
340
- keyPrefix: string;
341
- key: string;
342
- }>;
152
+ }, z.core.$strip>;
343
153
  export type APIKeyCreateResponse = z.infer<typeof APIKeyCreateResponseSchema>;
344
154
  export declare const ApiKeyIdParamSchema: z.ZodObject<{
345
155
  id: z.ZodString;
346
- }, "strip", z.ZodTypeAny, {
347
- id: string;
348
- }, {
349
- id: string;
350
- }>;
156
+ }, z.core.$strip>;
351
157
  export type ApiKeyIdParam = z.infer<typeof ApiKeyIdParamSchema>;
352
158
  export declare const ApiKeyQuerySchema: z.ZodObject<{
353
159
  workspaceId: z.ZodOptional<z.ZodString>;
354
- }, "strip", z.ZodTypeAny, {
355
- workspaceId?: string | undefined;
356
- }, {
357
- workspaceId?: string | undefined;
358
- }>;
160
+ }, z.core.$strip>;
359
161
  export type ApiKeyQuery = z.infer<typeof ApiKeyQuerySchema>;
360
162
  export declare const CreateApiKeySchema: z.ZodObject<{
361
163
  workspaceId: z.ZodOptional<z.ZodString>;
362
164
  name: z.ZodString;
363
165
  expiresInDays: z.ZodOptional<z.ZodNumber>;
364
- }, "strip", z.ZodTypeAny, {
365
- name: string;
366
- workspaceId?: string | undefined;
367
- expiresInDays?: number | undefined;
368
- }, {
369
- name: string;
370
- workspaceId?: string | undefined;
371
- expiresInDays?: number | undefined;
372
- }>;
166
+ }, z.core.$strip>;
373
167
  export type CreateApiKey = z.infer<typeof CreateApiKeySchema>;
374
168
  //# sourceMappingURL=auth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/models/auth.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAOpC;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,C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AAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,gBAAgB;;;;;;;;iBAQ3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;iBAQ5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,YAAY;;;;;;;iBAOvB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,iBAAiB;;iBAE5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -10,67 +10,9 @@ export declare const RecordCiSchema: z.ZodObject<{
10
10
  exitCode: z.ZodNumber;
11
11
  durationMs: z.ZodOptional<z.ZodNumber>;
12
12
  error: z.ZodOptional<z.ZodString>;
13
- }, "strip", z.ZodTypeAny, {
14
- cmd: string;
15
- exitCode: number;
16
- error?: string | undefined;
17
- durationMs?: number | undefined;
18
- }, {
19
- cmd: string;
20
- exitCode: number;
21
- error?: string | undefined;
22
- durationMs?: number | undefined;
23
- }>, "many">;
13
+ }, z.core.$strip>>;
24
14
  preset: z.ZodString;
25
- }, "strip", z.ZodTypeAny, {
26
- preset: string;
27
- ok: boolean;
28
- summary: string;
29
- commands: {
30
- cmd: string;
31
- exitCode: number;
32
- error?: string | undefined;
33
- durationMs?: number | undefined;
34
- }[];
35
- }, {
36
- preset: string;
37
- ok: boolean;
38
- summary: string;
39
- commands: {
40
- cmd: string;
41
- exitCode: number;
42
- error?: string | undefined;
43
- durationMs?: number | undefined;
44
- }[];
45
- }>;
46
- }, "strip", z.ZodTypeAny, {
47
- taskId: string;
48
- workspaceId: string;
49
- result: {
50
- preset: string;
51
- ok: boolean;
52
- summary: string;
53
- commands: {
54
- cmd: string;
55
- exitCode: number;
56
- error?: string | undefined;
57
- durationMs?: number | undefined;
58
- }[];
59
- };
60
- }, {
61
- taskId: string;
62
- workspaceId: string;
63
- result: {
64
- preset: string;
65
- ok: boolean;
66
- summary: string;
67
- commands: {
68
- cmd: string;
69
- exitCode: number;
70
- error?: string | undefined;
71
- durationMs?: number | undefined;
72
- }[];
73
- };
74
- }>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
75
17
  export type RecordCi = z.infer<typeof RecordCiSchema>;
76
18
  //# sourceMappingURL=ci.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ci.d.ts","sourceRoot":"","sources":["../../src/models/ci.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"ci.d.ts","sourceRoot":"","sources":["../../src/models/ci.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;iBAgBzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -1,144 +1,47 @@
1
1
  import { z } from "zod";
2
2
  export declare const DocGroupSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
5
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
6
- } & {
4
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
5
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
7
6
  workspaceId: z.ZodString;
8
7
  name: z.ZodString;
9
8
  order: z.ZodDefault<z.ZodNumber>;
10
- }, "strip", z.ZodTypeAny, {
11
- id: string;
12
- createdAt: number | Date;
13
- updatedAt: number | Date;
14
- name: string;
15
- workspaceId: string;
16
- order: number;
17
- }, {
18
- id: string;
19
- createdAt: number | Date;
20
- updatedAt: number | Date;
21
- name: string;
22
- workspaceId: string;
23
- order?: number | undefined;
24
- }>;
9
+ }, z.core.$strip>;
25
10
  export type DocGroup = z.infer<typeof DocGroupSchema>;
26
11
  export declare const CreateDocGroupSchema: z.ZodObject<{
27
12
  name: z.ZodString;
28
13
  order: z.ZodOptional<z.ZodNumber>;
29
- }, "strip", z.ZodTypeAny, {
30
- name: string;
31
- order?: number | undefined;
32
- }, {
33
- name: string;
34
- order?: number | undefined;
35
- }>;
14
+ }, z.core.$strip>;
36
15
  export type CreateDocGroup = z.infer<typeof CreateDocGroupSchema>;
37
16
  export declare const UpdateDocGroupSchema: z.ZodObject<{
38
17
  name: z.ZodOptional<z.ZodString>;
39
18
  order: z.ZodOptional<z.ZodNumber>;
40
- }, "strip", z.ZodTypeAny, {
41
- name?: string | undefined;
42
- order?: number | undefined;
43
- }, {
44
- name?: string | undefined;
45
- order?: number | undefined;
46
- }>;
19
+ }, z.core.$strip>;
47
20
  export type UpdateDocGroup = z.infer<typeof UpdateDocGroupSchema>;
48
21
  export declare const DocGroupResponseSchema: z.ZodObject<{
49
22
  group: z.ZodObject<{
50
23
  id: z.ZodString;
51
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
52
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
53
- } & {
24
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
25
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
54
26
  workspaceId: z.ZodString;
55
27
  name: z.ZodString;
56
28
  order: z.ZodDefault<z.ZodNumber>;
57
- }, "strip", z.ZodTypeAny, {
58
- id: string;
59
- createdAt: number | Date;
60
- updatedAt: number | Date;
61
- name: string;
62
- workspaceId: string;
63
- order: number;
64
- }, {
65
- id: string;
66
- createdAt: number | Date;
67
- updatedAt: number | Date;
68
- name: string;
69
- workspaceId: string;
70
- order?: number | undefined;
71
- }>;
72
- }, "strip", z.ZodTypeAny, {
73
- group: {
74
- id: string;
75
- createdAt: number | Date;
76
- updatedAt: number | Date;
77
- name: string;
78
- workspaceId: string;
79
- order: number;
80
- };
81
- }, {
82
- group: {
83
- id: string;
84
- createdAt: number | Date;
85
- updatedAt: number | Date;
86
- name: string;
87
- workspaceId: string;
88
- order?: number | undefined;
89
- };
90
- }>;
29
+ }, z.core.$strip>;
30
+ }, z.core.$strip>;
91
31
  export type DocGroupResponse = z.infer<typeof DocGroupResponseSchema>;
92
32
  export declare const DocGroupsResponseSchema: z.ZodObject<{
93
33
  groups: z.ZodArray<z.ZodObject<{
94
34
  id: z.ZodString;
95
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
96
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
97
- } & {
35
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
36
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
98
37
  workspaceId: z.ZodString;
99
38
  name: z.ZodString;
100
39
  order: z.ZodDefault<z.ZodNumber>;
101
- }, "strip", z.ZodTypeAny, {
102
- id: string;
103
- createdAt: number | Date;
104
- updatedAt: number | Date;
105
- name: string;
106
- workspaceId: string;
107
- order: number;
108
- }, {
109
- id: string;
110
- createdAt: number | Date;
111
- updatedAt: number | Date;
112
- name: string;
113
- workspaceId: string;
114
- order?: number | undefined;
115
- }>, "many">;
116
- }, "strip", z.ZodTypeAny, {
117
- groups: {
118
- id: string;
119
- createdAt: number | Date;
120
- updatedAt: number | Date;
121
- name: string;
122
- workspaceId: string;
123
- order: number;
124
- }[];
125
- }, {
126
- groups: {
127
- id: string;
128
- createdAt: number | Date;
129
- updatedAt: number | Date;
130
- name: string;
131
- workspaceId: string;
132
- order?: number | undefined;
133
- }[];
134
- }>;
40
+ }, z.core.$strip>>;
41
+ }, z.core.$strip>;
135
42
  export type DocGroupsResponse = z.infer<typeof DocGroupsResponseSchema>;
136
43
  export declare const DocGroupIdParamSchema: z.ZodObject<{
137
44
  id: z.ZodString;
138
- }, "strip", z.ZodTypeAny, {
139
- id: string;
140
- }, {
141
- id: string;
142
- }>;
45
+ }, z.core.$strip>;
143
46
  export type DocGroupIdParam = z.infer<typeof DocGroupIdParamSchema>;
144
47
  //# sourceMappingURL=doc-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"doc-group.d.ts","sourceRoot":"","sources":["../../src/models/doc-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;EAIzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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