@learncard/types 5.5.6 → 5.5.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lcn.d.ts +244 -4
- package/dist/lcn.d.ts.map +1 -1
- package/dist/queries.d.ts +16 -0
- package/dist/queries.d.ts.map +1 -0
- package/dist/types.cjs.development.js +48 -4
- package/dist/types.cjs.development.js.map +3 -3
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +4 -4
- package/dist/types.esm.js +206 -156
- package/dist/types.esm.js.map +4 -4
- package/package.json +1 -1
package/dist/lcn.d.ts
CHANGED
@@ -40,6 +40,175 @@ export declare const LCNProfileValidator: z.ZodObject<{
|
|
40
40
|
did: string;
|
41
41
|
}>;
|
42
42
|
export type LCNProfile = z.infer<typeof LCNProfileValidator>;
|
43
|
+
export declare const LCNProfileQueryValidator: z.ZodObject<{
|
44
|
+
profileId: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
45
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
47
|
+
$in: string[];
|
48
|
+
}, {
|
49
|
+
$in: string[];
|
50
|
+
}>]>, z.ZodObject<{
|
51
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
53
|
+
$regex: RegExp;
|
54
|
+
}, {
|
55
|
+
$regex: string | RegExp;
|
56
|
+
}>]>>;
|
57
|
+
displayName: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
58
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
60
|
+
$in: string[];
|
61
|
+
}, {
|
62
|
+
$in: string[];
|
63
|
+
}>]>, z.ZodObject<{
|
64
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
66
|
+
$regex: RegExp;
|
67
|
+
}, {
|
68
|
+
$regex: string | RegExp;
|
69
|
+
}>]>>;
|
70
|
+
shortBio: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
71
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
73
|
+
$in: string[];
|
74
|
+
}, {
|
75
|
+
$in: string[];
|
76
|
+
}>]>, z.ZodObject<{
|
77
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
79
|
+
$regex: RegExp;
|
80
|
+
}, {
|
81
|
+
$regex: string | RegExp;
|
82
|
+
}>]>>;
|
83
|
+
bio: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
84
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
86
|
+
$in: string[];
|
87
|
+
}, {
|
88
|
+
$in: string[];
|
89
|
+
}>]>, z.ZodObject<{
|
90
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
92
|
+
$regex: RegExp;
|
93
|
+
}, {
|
94
|
+
$regex: string | RegExp;
|
95
|
+
}>]>>;
|
96
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
97
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
99
|
+
$in: string[];
|
100
|
+
}, {
|
101
|
+
$in: string[];
|
102
|
+
}>]>, z.ZodObject<{
|
103
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
105
|
+
$regex: RegExp;
|
106
|
+
}, {
|
107
|
+
$regex: string | RegExp;
|
108
|
+
}>]>>;
|
109
|
+
websiteLink: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
110
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
112
|
+
$in: string[];
|
113
|
+
}, {
|
114
|
+
$in: string[];
|
115
|
+
}>]>, z.ZodObject<{
|
116
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
118
|
+
$regex: RegExp;
|
119
|
+
}, {
|
120
|
+
$regex: string | RegExp;
|
121
|
+
}>]>>;
|
122
|
+
isServiceProfile: z.ZodOptional<z.ZodBoolean>;
|
123
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
124
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
126
|
+
$in: string[];
|
127
|
+
}, {
|
128
|
+
$in: string[];
|
129
|
+
}>]>, z.ZodObject<{
|
130
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
132
|
+
$regex: RegExp;
|
133
|
+
}, {
|
134
|
+
$regex: string | RegExp;
|
135
|
+
}>]>>;
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
137
|
+
type?: string | {
|
138
|
+
$in: string[];
|
139
|
+
} | {
|
140
|
+
$regex: RegExp;
|
141
|
+
} | undefined;
|
142
|
+
email?: string | {
|
143
|
+
$in: string[];
|
144
|
+
} | {
|
145
|
+
$regex: RegExp;
|
146
|
+
} | undefined;
|
147
|
+
profileId?: string | {
|
148
|
+
$in: string[];
|
149
|
+
} | {
|
150
|
+
$regex: RegExp;
|
151
|
+
} | undefined;
|
152
|
+
displayName?: string | {
|
153
|
+
$in: string[];
|
154
|
+
} | {
|
155
|
+
$regex: RegExp;
|
156
|
+
} | undefined;
|
157
|
+
shortBio?: string | {
|
158
|
+
$in: string[];
|
159
|
+
} | {
|
160
|
+
$regex: RegExp;
|
161
|
+
} | undefined;
|
162
|
+
bio?: string | {
|
163
|
+
$in: string[];
|
164
|
+
} | {
|
165
|
+
$regex: RegExp;
|
166
|
+
} | undefined;
|
167
|
+
websiteLink?: string | {
|
168
|
+
$in: string[];
|
169
|
+
} | {
|
170
|
+
$regex: RegExp;
|
171
|
+
} | undefined;
|
172
|
+
isServiceProfile?: boolean | undefined;
|
173
|
+
}, {
|
174
|
+
type?: string | {
|
175
|
+
$in: string[];
|
176
|
+
} | {
|
177
|
+
$regex: string | RegExp;
|
178
|
+
} | undefined;
|
179
|
+
email?: string | {
|
180
|
+
$in: string[];
|
181
|
+
} | {
|
182
|
+
$regex: string | RegExp;
|
183
|
+
} | undefined;
|
184
|
+
profileId?: string | {
|
185
|
+
$in: string[];
|
186
|
+
} | {
|
187
|
+
$regex: string | RegExp;
|
188
|
+
} | undefined;
|
189
|
+
displayName?: string | {
|
190
|
+
$in: string[];
|
191
|
+
} | {
|
192
|
+
$regex: string | RegExp;
|
193
|
+
} | undefined;
|
194
|
+
shortBio?: string | {
|
195
|
+
$in: string[];
|
196
|
+
} | {
|
197
|
+
$regex: string | RegExp;
|
198
|
+
} | undefined;
|
199
|
+
bio?: string | {
|
200
|
+
$in: string[];
|
201
|
+
} | {
|
202
|
+
$regex: string | RegExp;
|
203
|
+
} | undefined;
|
204
|
+
websiteLink?: string | {
|
205
|
+
$in: string[];
|
206
|
+
} | {
|
207
|
+
$regex: string | RegExp;
|
208
|
+
} | undefined;
|
209
|
+
isServiceProfile?: boolean | undefined;
|
210
|
+
}>;
|
211
|
+
export type LCNProfileQuery = z.infer<typeof LCNProfileQueryValidator>;
|
43
212
|
export declare const PaginatedLCNProfilesValidator: z.ZodObject<z.extendShape<{
|
44
213
|
cursor: z.ZodOptional<z.ZodString>;
|
45
214
|
hasMore: z.ZodBoolean;
|
@@ -189,6 +358,7 @@ export declare const BoostValidator: z.ZodObject<{
|
|
189
358
|
category: z.ZodOptional<z.ZodString>;
|
190
359
|
status: z.ZodOptional<z.ZodEnum<["DRAFT", "LIVE"]>>;
|
191
360
|
autoConnectRecipients: z.ZodOptional<z.ZodBoolean>;
|
361
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
192
362
|
claimPermissions: z.ZodOptional<z.ZodObject<{
|
193
363
|
role: z.ZodString;
|
194
364
|
canEdit: z.ZodBoolean;
|
@@ -232,6 +402,7 @@ export declare const BoostValidator: z.ZodObject<{
|
|
232
402
|
name?: string | undefined;
|
233
403
|
category?: string | undefined;
|
234
404
|
autoConnectRecipients?: boolean | undefined;
|
405
|
+
meta?: Record<string, any> | undefined;
|
235
406
|
claimPermissions?: {
|
236
407
|
role: string;
|
237
408
|
canEdit: boolean;
|
@@ -252,6 +423,7 @@ export declare const BoostValidator: z.ZodObject<{
|
|
252
423
|
name?: string | undefined;
|
253
424
|
category?: string | undefined;
|
254
425
|
autoConnectRecipients?: boolean | undefined;
|
426
|
+
meta?: Record<string, any> | undefined;
|
255
427
|
claimPermissions?: {
|
256
428
|
role: string;
|
257
429
|
canEdit: boolean;
|
@@ -269,34 +441,71 @@ export declare const BoostValidator: z.ZodObject<{
|
|
269
441
|
}>;
|
270
442
|
export type Boost = z.infer<typeof BoostValidator>;
|
271
443
|
export declare const BoostQueryValidator: z.ZodObject<{
|
272
|
-
uri: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
444
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
273
445
|
$in: z.ZodArray<z.ZodString, "many">;
|
274
446
|
}, "strip", z.ZodTypeAny, {
|
275
447
|
$in: string[];
|
276
448
|
}, {
|
277
449
|
$in: string[];
|
450
|
+
}>]>, z.ZodObject<{
|
451
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
453
|
+
$regex: RegExp;
|
454
|
+
}, {
|
455
|
+
$regex: string | RegExp;
|
278
456
|
}>]>>;
|
279
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
457
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
280
458
|
$in: z.ZodArray<z.ZodString, "many">;
|
281
459
|
}, "strip", z.ZodTypeAny, {
|
282
460
|
$in: string[];
|
283
461
|
}, {
|
284
462
|
$in: string[];
|
463
|
+
}>]>, z.ZodObject<{
|
464
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
466
|
+
$regex: RegExp;
|
467
|
+
}, {
|
468
|
+
$regex: string | RegExp;
|
285
469
|
}>]>>;
|
286
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
470
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
287
471
|
$in: z.ZodArray<z.ZodString, "many">;
|
288
472
|
}, "strip", z.ZodTypeAny, {
|
289
473
|
$in: string[];
|
290
474
|
}, {
|
291
475
|
$in: string[];
|
476
|
+
}>]>, z.ZodObject<{
|
477
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
479
|
+
$regex: RegExp;
|
480
|
+
}, {
|
481
|
+
$regex: string | RegExp;
|
292
482
|
}>]>>;
|
293
|
-
category: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
483
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
294
484
|
$in: z.ZodArray<z.ZodString, "many">;
|
295
485
|
}, "strip", z.ZodTypeAny, {
|
296
486
|
$in: string[];
|
297
487
|
}, {
|
298
488
|
$in: string[];
|
489
|
+
}>]>, z.ZodObject<{
|
490
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
492
|
+
$regex: RegExp;
|
493
|
+
}, {
|
494
|
+
$regex: string | RegExp;
|
299
495
|
}>]>>;
|
496
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
497
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
499
|
+
$in: string[];
|
500
|
+
}, {
|
501
|
+
$in: string[];
|
502
|
+
}>]>, z.ZodObject<{
|
503
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
504
|
+
}, "strip", z.ZodTypeAny, {
|
505
|
+
$regex: RegExp;
|
506
|
+
}, {
|
507
|
+
$regex: string | RegExp;
|
508
|
+
}>]>>>;
|
300
509
|
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DRAFT", "LIVE"]>, z.ZodObject<{
|
301
510
|
$in: z.ZodArray<z.ZodEnum<["DRAFT", "LIVE"]>, "many">;
|
302
511
|
}, "strip", z.ZodTypeAny, {
|
@@ -308,37 +517,63 @@ export declare const BoostQueryValidator: z.ZodObject<{
|
|
308
517
|
}, "strip", z.ZodTypeAny, {
|
309
518
|
type?: string | {
|
310
519
|
$in: string[];
|
520
|
+
} | {
|
521
|
+
$regex: RegExp;
|
311
522
|
} | undefined;
|
312
523
|
status?: "DRAFT" | "LIVE" | {
|
313
524
|
$in: ("DRAFT" | "LIVE")[];
|
314
525
|
} | undefined;
|
315
526
|
name?: string | {
|
316
527
|
$in: string[];
|
528
|
+
} | {
|
529
|
+
$regex: RegExp;
|
317
530
|
} | undefined;
|
318
531
|
uri?: string | {
|
319
532
|
$in: string[];
|
533
|
+
} | {
|
534
|
+
$regex: RegExp;
|
320
535
|
} | undefined;
|
321
536
|
category?: string | {
|
322
537
|
$in: string[];
|
538
|
+
} | {
|
539
|
+
$regex: RegExp;
|
323
540
|
} | undefined;
|
324
541
|
autoConnectRecipients?: boolean | undefined;
|
542
|
+
meta?: Record<string, string | {
|
543
|
+
$in: string[];
|
544
|
+
} | {
|
545
|
+
$regex: RegExp;
|
546
|
+
}> | undefined;
|
325
547
|
}, {
|
326
548
|
type?: string | {
|
327
549
|
$in: string[];
|
550
|
+
} | {
|
551
|
+
$regex: string | RegExp;
|
328
552
|
} | undefined;
|
329
553
|
status?: "DRAFT" | "LIVE" | {
|
330
554
|
$in: ("DRAFT" | "LIVE")[];
|
331
555
|
} | undefined;
|
332
556
|
name?: string | {
|
333
557
|
$in: string[];
|
558
|
+
} | {
|
559
|
+
$regex: string | RegExp;
|
334
560
|
} | undefined;
|
335
561
|
uri?: string | {
|
336
562
|
$in: string[];
|
563
|
+
} | {
|
564
|
+
$regex: string | RegExp;
|
337
565
|
} | undefined;
|
338
566
|
category?: string | {
|
339
567
|
$in: string[];
|
568
|
+
} | {
|
569
|
+
$regex: string | RegExp;
|
340
570
|
} | undefined;
|
341
571
|
autoConnectRecipients?: boolean | undefined;
|
572
|
+
meta?: Record<string, string | {
|
573
|
+
$in: string[];
|
574
|
+
} | {
|
575
|
+
$regex: string | RegExp;
|
576
|
+
}> | undefined;
|
342
577
|
}>;
|
343
578
|
export type BoostQuery = z.infer<typeof BoostQueryValidator>;
|
344
579
|
export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
@@ -352,6 +587,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
352
587
|
category: z.ZodOptional<z.ZodString>;
|
353
588
|
status: z.ZodOptional<z.ZodEnum<["DRAFT", "LIVE"]>>;
|
354
589
|
autoConnectRecipients: z.ZodOptional<z.ZodBoolean>;
|
590
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
355
591
|
claimPermissions: z.ZodOptional<z.ZodObject<{
|
356
592
|
role: z.ZodString;
|
357
593
|
canEdit: z.ZodBoolean;
|
@@ -395,6 +631,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
395
631
|
name?: string | undefined;
|
396
632
|
category?: string | undefined;
|
397
633
|
autoConnectRecipients?: boolean | undefined;
|
634
|
+
meta?: Record<string, any> | undefined;
|
398
635
|
claimPermissions?: {
|
399
636
|
role: string;
|
400
637
|
canEdit: boolean;
|
@@ -415,6 +652,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
415
652
|
name?: string | undefined;
|
416
653
|
category?: string | undefined;
|
417
654
|
autoConnectRecipients?: boolean | undefined;
|
655
|
+
meta?: Record<string, any> | undefined;
|
418
656
|
claimPermissions?: {
|
419
657
|
role: string;
|
420
658
|
canEdit: boolean;
|
@@ -439,6 +677,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
439
677
|
name?: string | undefined;
|
440
678
|
category?: string | undefined;
|
441
679
|
autoConnectRecipients?: boolean | undefined;
|
680
|
+
meta?: Record<string, any> | undefined;
|
442
681
|
claimPermissions?: {
|
443
682
|
role: string;
|
444
683
|
canEdit: boolean;
|
@@ -463,6 +702,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
463
702
|
name?: string | undefined;
|
464
703
|
category?: string | undefined;
|
465
704
|
autoConnectRecipients?: boolean | undefined;
|
705
|
+
meta?: Record<string, any> | undefined;
|
466
706
|
claimPermissions?: {
|
467
707
|
role: string;
|
468
708
|
canEdit: boolean;
|
package/dist/lcn.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lcn.d.ts","sourceRoot":"","sources":["../src/lcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"lcn.d.ts","sourceRoot":"","sources":["../src/lcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa9B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE7D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWvB,CAAC;AACf,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEvE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExC,CAAC;AACH,MAAM,MAAM,o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ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
3
|
+
export declare const StringQuery: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
4
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
$in: string[];
|
7
|
+
}, {
|
8
|
+
$in: string[];
|
9
|
+
}>]>, z.ZodObject<{
|
10
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
12
|
+
$regex: RegExp;
|
13
|
+
}, {
|
14
|
+
$regex: string | RegExp;
|
15
|
+
}>]>;
|
16
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../src/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,eAAe,gIAwB3B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;IAGsB,CAAC"}
|
@@ -76,6 +76,7 @@ __export(src_exports, {
|
|
76
76
|
LCNNotificationTypeEnumValidator: () => LCNNotificationTypeEnumValidator,
|
77
77
|
LCNNotificationValidator: () => LCNNotificationValidator,
|
78
78
|
LCNProfileConnectionStatusEnum: () => LCNProfileConnectionStatusEnum,
|
79
|
+
LCNProfileQueryValidator: () => LCNProfileQueryValidator,
|
79
80
|
LCNProfileValidator: () => LCNProfileValidator,
|
80
81
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
81
82
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
@@ -3872,6 +3873,37 @@ var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.e
|
|
3872
3873
|
records: EncryptedCredentialRecordValidator.array()
|
3873
3874
|
});
|
3874
3875
|
|
3876
|
+
// src/queries.ts
|
3877
|
+
var parseRegexString = /* @__PURE__ */ __name((regexStr) => {
|
3878
|
+
const match = regexStr.match(/^\/(.*)\/([gimsuy]*)$/);
|
3879
|
+
if (!match)
|
3880
|
+
throw new Error("Invalid RegExp string format");
|
3881
|
+
return { pattern: match[1], flags: match[2] };
|
3882
|
+
}, "parseRegexString");
|
3883
|
+
var RegExpValidator = mod.instanceof(RegExp).or(
|
3884
|
+
mod.string().refine(
|
3885
|
+
(str) => {
|
3886
|
+
try {
|
3887
|
+
parseRegexString(str);
|
3888
|
+
return true;
|
3889
|
+
} catch (e) {
|
3890
|
+
return false;
|
3891
|
+
}
|
3892
|
+
},
|
3893
|
+
{
|
3894
|
+
message: "Invalid RegExp string format. Must be in format '/pattern/flags'"
|
3895
|
+
}
|
3896
|
+
).transform((str) => {
|
3897
|
+
const { pattern, flags } = parseRegexString(str);
|
3898
|
+
try {
|
3899
|
+
return new RegExp(pattern, flags);
|
3900
|
+
} catch (error) {
|
3901
|
+
throw new Error(`Invalid RegExp: ${error.message}`);
|
3902
|
+
}
|
3903
|
+
})
|
3904
|
+
);
|
3905
|
+
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
|
3906
|
+
|
3875
3907
|
// src/lcn.ts
|
3876
3908
|
var LCNProfileValidator = mod.object({
|
3877
3909
|
profileId: mod.string().min(3).max(40),
|
@@ -3887,6 +3919,16 @@ var LCNProfileValidator = mod.object({
|
|
3887
3919
|
type: mod.string().optional(),
|
3888
3920
|
notificationsWebhook: mod.string().url().startsWith("http").optional()
|
3889
3921
|
});
|
3922
|
+
var LCNProfileQueryValidator = mod.object({
|
3923
|
+
profileId: StringQuery,
|
3924
|
+
displayName: StringQuery,
|
3925
|
+
shortBio: StringQuery,
|
3926
|
+
bio: StringQuery,
|
3927
|
+
email: StringQuery,
|
3928
|
+
websiteLink: StringQuery,
|
3929
|
+
isServiceProfile: mod.boolean(),
|
3930
|
+
type: StringQuery
|
3931
|
+
}).partial();
|
3890
3932
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
3891
3933
|
records: LCNProfileValidator.array()
|
3892
3934
|
});
|
@@ -3924,13 +3966,15 @@ var BoostValidator = mod.object({
|
|
3924
3966
|
category: mod.string().optional(),
|
3925
3967
|
status: LCNBoostStatus.optional(),
|
3926
3968
|
autoConnectRecipients: mod.boolean().optional(),
|
3969
|
+
meta: mod.record(mod.any()).optional(),
|
3927
3970
|
claimPermissions: BoostPermissionsValidator.optional()
|
3928
3971
|
});
|
3929
3972
|
var BoostQueryValidator = mod.object({
|
3930
|
-
uri:
|
3931
|
-
name:
|
3932
|
-
type:
|
3933
|
-
category:
|
3973
|
+
uri: StringQuery,
|
3974
|
+
name: StringQuery,
|
3975
|
+
type: StringQuery,
|
3976
|
+
category: StringQuery,
|
3977
|
+
meta: mod.record(StringQuery),
|
3934
3978
|
status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
|
3935
3979
|
autoConnectRecipients: mod.boolean()
|
3936
3980
|
}).partial();
|