@nyig/models 0.3.2 → 0.3.3
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/index.d.mts +24 -0
- package/index.d.ts +24 -0
- package/index.js +2 -1
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -406,6 +406,7 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
406
406
|
title: z.ZodOptional<z.ZodString>;
|
|
407
407
|
bio: z.ZodOptional<z.ZodString>;
|
|
408
408
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
409
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
409
410
|
}, "strip", z.ZodTypeAny, {
|
|
410
411
|
rank: GoRank;
|
|
411
412
|
name: string;
|
|
@@ -425,6 +426,7 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
425
426
|
title?: string | undefined;
|
|
426
427
|
bio?: string | undefined;
|
|
427
428
|
available?: number[][][] | undefined;
|
|
429
|
+
shouldChangePassword?: boolean | undefined;
|
|
428
430
|
}, {
|
|
429
431
|
rank: GoRank;
|
|
430
432
|
name: string;
|
|
@@ -444,6 +446,7 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
444
446
|
title?: string | undefined;
|
|
445
447
|
bio?: string | undefined;
|
|
446
448
|
available?: number[][][] | undefined;
|
|
449
|
+
shouldChangePassword?: boolean | undefined;
|
|
447
450
|
}>;
|
|
448
451
|
declare const zTeacher: z.ZodObject<{
|
|
449
452
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
@@ -472,6 +475,7 @@ declare const zTeacher: z.ZodObject<{
|
|
|
472
475
|
title: z.ZodOptional<z.ZodString>;
|
|
473
476
|
bio: z.ZodOptional<z.ZodString>;
|
|
474
477
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
478
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
475
479
|
_id: z.ZodString;
|
|
476
480
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
477
481
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -496,6 +500,7 @@ declare const zTeacher: z.ZodObject<{
|
|
|
496
500
|
title?: string | undefined;
|
|
497
501
|
bio?: string | undefined;
|
|
498
502
|
available?: number[][][] | undefined;
|
|
503
|
+
shouldChangePassword?: boolean | undefined;
|
|
499
504
|
editedBy?: string | undefined;
|
|
500
505
|
createdAt?: string | undefined;
|
|
501
506
|
updatedAt?: string | undefined;
|
|
@@ -519,6 +524,7 @@ declare const zTeacher: z.ZodObject<{
|
|
|
519
524
|
title?: string | undefined;
|
|
520
525
|
bio?: string | undefined;
|
|
521
526
|
available?: number[][][] | undefined;
|
|
527
|
+
shouldChangePassword?: boolean | undefined;
|
|
522
528
|
editedBy?: string | undefined;
|
|
523
529
|
createdAt?: string | undefined;
|
|
524
530
|
updatedAt?: string | undefined;
|
|
@@ -537,6 +543,7 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
537
543
|
title: z.ZodOptional<z.ZodString>;
|
|
538
544
|
bio: z.ZodOptional<z.ZodString>;
|
|
539
545
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
546
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
540
547
|
role: z.ZodString;
|
|
541
548
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
542
549
|
rank: GoRank;
|
|
@@ -553,6 +560,7 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
553
560
|
title?: string | undefined;
|
|
554
561
|
bio?: string | undefined;
|
|
555
562
|
available?: number[][][] | undefined;
|
|
563
|
+
shouldChangePassword?: boolean | undefined;
|
|
556
564
|
}, {
|
|
557
565
|
rank: GoRank;
|
|
558
566
|
_id: string;
|
|
@@ -568,6 +576,7 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
568
576
|
title?: string | undefined;
|
|
569
577
|
bio?: string | undefined;
|
|
570
578
|
available?: number[][][] | undefined;
|
|
579
|
+
shouldChangePassword?: boolean | undefined;
|
|
571
580
|
}>;
|
|
572
581
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
573
582
|
type Teacher = z.infer<typeof zTeacher>;
|
|
@@ -2123,6 +2132,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2123
2132
|
title: z.ZodOptional<z.ZodString>;
|
|
2124
2133
|
bio: z.ZodOptional<z.ZodString>;
|
|
2125
2134
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2135
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2126
2136
|
_id: z.ZodString;
|
|
2127
2137
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2128
2138
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2147,6 +2157,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2147
2157
|
title?: string | undefined;
|
|
2148
2158
|
bio?: string | undefined;
|
|
2149
2159
|
available?: number[][][] | undefined;
|
|
2160
|
+
shouldChangePassword?: boolean | undefined;
|
|
2150
2161
|
editedBy?: string | undefined;
|
|
2151
2162
|
createdAt?: string | undefined;
|
|
2152
2163
|
updatedAt?: string | undefined;
|
|
@@ -2170,6 +2181,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2170
2181
|
title?: string | undefined;
|
|
2171
2182
|
bio?: string | undefined;
|
|
2172
2183
|
available?: number[][][] | undefined;
|
|
2184
|
+
shouldChangePassword?: boolean | undefined;
|
|
2173
2185
|
editedBy?: string | undefined;
|
|
2174
2186
|
createdAt?: string | undefined;
|
|
2175
2187
|
updatedAt?: string | undefined;
|
|
@@ -2201,6 +2213,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2201
2213
|
title: z.ZodOptional<z.ZodString>;
|
|
2202
2214
|
bio: z.ZodOptional<z.ZodString>;
|
|
2203
2215
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2216
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2204
2217
|
_id: z.ZodString;
|
|
2205
2218
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2206
2219
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2225,6 +2238,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2225
2238
|
title?: string | undefined;
|
|
2226
2239
|
bio?: string | undefined;
|
|
2227
2240
|
available?: number[][][] | undefined;
|
|
2241
|
+
shouldChangePassword?: boolean | undefined;
|
|
2228
2242
|
editedBy?: string | undefined;
|
|
2229
2243
|
createdAt?: string | undefined;
|
|
2230
2244
|
updatedAt?: string | undefined;
|
|
@@ -2248,6 +2262,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2248
2262
|
title?: string | undefined;
|
|
2249
2263
|
bio?: string | undefined;
|
|
2250
2264
|
available?: number[][][] | undefined;
|
|
2265
|
+
shouldChangePassword?: boolean | undefined;
|
|
2251
2266
|
editedBy?: string | undefined;
|
|
2252
2267
|
createdAt?: string | undefined;
|
|
2253
2268
|
updatedAt?: string | undefined;
|
|
@@ -2445,6 +2460,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2445
2460
|
title?: string | undefined;
|
|
2446
2461
|
bio?: string | undefined;
|
|
2447
2462
|
available?: number[][][] | undefined;
|
|
2463
|
+
shouldChangePassword?: boolean | undefined;
|
|
2448
2464
|
editedBy?: string | undefined;
|
|
2449
2465
|
createdAt?: string | undefined;
|
|
2450
2466
|
updatedAt?: string | undefined;
|
|
@@ -2477,6 +2493,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2477
2493
|
title?: string | undefined;
|
|
2478
2494
|
bio?: string | undefined;
|
|
2479
2495
|
available?: number[][][] | undefined;
|
|
2496
|
+
shouldChangePassword?: boolean | undefined;
|
|
2480
2497
|
editedBy?: string | undefined;
|
|
2481
2498
|
createdAt?: string | undefined;
|
|
2482
2499
|
updatedAt?: string | undefined;
|
|
@@ -2536,6 +2553,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2536
2553
|
title?: string | undefined;
|
|
2537
2554
|
bio?: string | undefined;
|
|
2538
2555
|
available?: number[][][] | undefined;
|
|
2556
|
+
shouldChangePassword?: boolean | undefined;
|
|
2539
2557
|
editedBy?: string | undefined;
|
|
2540
2558
|
createdAt?: string | undefined;
|
|
2541
2559
|
updatedAt?: string | undefined;
|
|
@@ -2568,6 +2586,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2568
2586
|
title?: string | undefined;
|
|
2569
2587
|
bio?: string | undefined;
|
|
2570
2588
|
available?: number[][][] | undefined;
|
|
2589
|
+
shouldChangePassword?: boolean | undefined;
|
|
2571
2590
|
editedBy?: string | undefined;
|
|
2572
2591
|
createdAt?: string | undefined;
|
|
2573
2592
|
updatedAt?: string | undefined;
|
|
@@ -2739,6 +2758,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2739
2758
|
title: z.ZodOptional<z.ZodString>;
|
|
2740
2759
|
bio: z.ZodOptional<z.ZodString>;
|
|
2741
2760
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2761
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2742
2762
|
_id: z.ZodString;
|
|
2743
2763
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2744
2764
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2763,6 +2783,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2763
2783
|
title?: string | undefined;
|
|
2764
2784
|
bio?: string | undefined;
|
|
2765
2785
|
available?: number[][][] | undefined;
|
|
2786
|
+
shouldChangePassword?: boolean | undefined;
|
|
2766
2787
|
editedBy?: string | undefined;
|
|
2767
2788
|
createdAt?: string | undefined;
|
|
2768
2789
|
updatedAt?: string | undefined;
|
|
@@ -2786,6 +2807,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2786
2807
|
title?: string | undefined;
|
|
2787
2808
|
bio?: string | undefined;
|
|
2788
2809
|
available?: number[][][] | undefined;
|
|
2810
|
+
shouldChangePassword?: boolean | undefined;
|
|
2789
2811
|
editedBy?: string | undefined;
|
|
2790
2812
|
createdAt?: string | undefined;
|
|
2791
2813
|
updatedAt?: string | undefined;
|
|
@@ -2812,6 +2834,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2812
2834
|
title?: string | undefined;
|
|
2813
2835
|
bio?: string | undefined;
|
|
2814
2836
|
available?: number[][][] | undefined;
|
|
2837
|
+
shouldChangePassword?: boolean | undefined;
|
|
2815
2838
|
editedBy?: string | undefined;
|
|
2816
2839
|
createdAt?: string | undefined;
|
|
2817
2840
|
updatedAt?: string | undefined;
|
|
@@ -2848,6 +2871,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2848
2871
|
title?: string | undefined;
|
|
2849
2872
|
bio?: string | undefined;
|
|
2850
2873
|
available?: number[][][] | undefined;
|
|
2874
|
+
shouldChangePassword?: boolean | undefined;
|
|
2851
2875
|
editedBy?: string | undefined;
|
|
2852
2876
|
createdAt?: string | undefined;
|
|
2853
2877
|
updatedAt?: string | undefined;
|
package/index.d.ts
CHANGED
|
@@ -406,6 +406,7 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
406
406
|
title: z.ZodOptional<z.ZodString>;
|
|
407
407
|
bio: z.ZodOptional<z.ZodString>;
|
|
408
408
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
409
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
409
410
|
}, "strip", z.ZodTypeAny, {
|
|
410
411
|
rank: GoRank;
|
|
411
412
|
name: string;
|
|
@@ -425,6 +426,7 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
425
426
|
title?: string | undefined;
|
|
426
427
|
bio?: string | undefined;
|
|
427
428
|
available?: number[][][] | undefined;
|
|
429
|
+
shouldChangePassword?: boolean | undefined;
|
|
428
430
|
}, {
|
|
429
431
|
rank: GoRank;
|
|
430
432
|
name: string;
|
|
@@ -444,6 +446,7 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
444
446
|
title?: string | undefined;
|
|
445
447
|
bio?: string | undefined;
|
|
446
448
|
available?: number[][][] | undefined;
|
|
449
|
+
shouldChangePassword?: boolean | undefined;
|
|
447
450
|
}>;
|
|
448
451
|
declare const zTeacher: z.ZodObject<{
|
|
449
452
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
@@ -472,6 +475,7 @@ declare const zTeacher: z.ZodObject<{
|
|
|
472
475
|
title: z.ZodOptional<z.ZodString>;
|
|
473
476
|
bio: z.ZodOptional<z.ZodString>;
|
|
474
477
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
478
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
475
479
|
_id: z.ZodString;
|
|
476
480
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
477
481
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -496,6 +500,7 @@ declare const zTeacher: z.ZodObject<{
|
|
|
496
500
|
title?: string | undefined;
|
|
497
501
|
bio?: string | undefined;
|
|
498
502
|
available?: number[][][] | undefined;
|
|
503
|
+
shouldChangePassword?: boolean | undefined;
|
|
499
504
|
editedBy?: string | undefined;
|
|
500
505
|
createdAt?: string | undefined;
|
|
501
506
|
updatedAt?: string | undefined;
|
|
@@ -519,6 +524,7 @@ declare const zTeacher: z.ZodObject<{
|
|
|
519
524
|
title?: string | undefined;
|
|
520
525
|
bio?: string | undefined;
|
|
521
526
|
available?: number[][][] | undefined;
|
|
527
|
+
shouldChangePassword?: boolean | undefined;
|
|
522
528
|
editedBy?: string | undefined;
|
|
523
529
|
createdAt?: string | undefined;
|
|
524
530
|
updatedAt?: string | undefined;
|
|
@@ -537,6 +543,7 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
537
543
|
title: z.ZodOptional<z.ZodString>;
|
|
538
544
|
bio: z.ZodOptional<z.ZodString>;
|
|
539
545
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
546
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
540
547
|
role: z.ZodString;
|
|
541
548
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
542
549
|
rank: GoRank;
|
|
@@ -553,6 +560,7 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
553
560
|
title?: string | undefined;
|
|
554
561
|
bio?: string | undefined;
|
|
555
562
|
available?: number[][][] | undefined;
|
|
563
|
+
shouldChangePassword?: boolean | undefined;
|
|
556
564
|
}, {
|
|
557
565
|
rank: GoRank;
|
|
558
566
|
_id: string;
|
|
@@ -568,6 +576,7 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
568
576
|
title?: string | undefined;
|
|
569
577
|
bio?: string | undefined;
|
|
570
578
|
available?: number[][][] | undefined;
|
|
579
|
+
shouldChangePassword?: boolean | undefined;
|
|
571
580
|
}>;
|
|
572
581
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
573
582
|
type Teacher = z.infer<typeof zTeacher>;
|
|
@@ -2123,6 +2132,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2123
2132
|
title: z.ZodOptional<z.ZodString>;
|
|
2124
2133
|
bio: z.ZodOptional<z.ZodString>;
|
|
2125
2134
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2135
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2126
2136
|
_id: z.ZodString;
|
|
2127
2137
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2128
2138
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2147,6 +2157,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2147
2157
|
title?: string | undefined;
|
|
2148
2158
|
bio?: string | undefined;
|
|
2149
2159
|
available?: number[][][] | undefined;
|
|
2160
|
+
shouldChangePassword?: boolean | undefined;
|
|
2150
2161
|
editedBy?: string | undefined;
|
|
2151
2162
|
createdAt?: string | undefined;
|
|
2152
2163
|
updatedAt?: string | undefined;
|
|
@@ -2170,6 +2181,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2170
2181
|
title?: string | undefined;
|
|
2171
2182
|
bio?: string | undefined;
|
|
2172
2183
|
available?: number[][][] | undefined;
|
|
2184
|
+
shouldChangePassword?: boolean | undefined;
|
|
2173
2185
|
editedBy?: string | undefined;
|
|
2174
2186
|
createdAt?: string | undefined;
|
|
2175
2187
|
updatedAt?: string | undefined;
|
|
@@ -2201,6 +2213,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2201
2213
|
title: z.ZodOptional<z.ZodString>;
|
|
2202
2214
|
bio: z.ZodOptional<z.ZodString>;
|
|
2203
2215
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2216
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2204
2217
|
_id: z.ZodString;
|
|
2205
2218
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2206
2219
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2225,6 +2238,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2225
2238
|
title?: string | undefined;
|
|
2226
2239
|
bio?: string | undefined;
|
|
2227
2240
|
available?: number[][][] | undefined;
|
|
2241
|
+
shouldChangePassword?: boolean | undefined;
|
|
2228
2242
|
editedBy?: string | undefined;
|
|
2229
2243
|
createdAt?: string | undefined;
|
|
2230
2244
|
updatedAt?: string | undefined;
|
|
@@ -2248,6 +2262,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2248
2262
|
title?: string | undefined;
|
|
2249
2263
|
bio?: string | undefined;
|
|
2250
2264
|
available?: number[][][] | undefined;
|
|
2265
|
+
shouldChangePassword?: boolean | undefined;
|
|
2251
2266
|
editedBy?: string | undefined;
|
|
2252
2267
|
createdAt?: string | undefined;
|
|
2253
2268
|
updatedAt?: string | undefined;
|
|
@@ -2445,6 +2460,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2445
2460
|
title?: string | undefined;
|
|
2446
2461
|
bio?: string | undefined;
|
|
2447
2462
|
available?: number[][][] | undefined;
|
|
2463
|
+
shouldChangePassword?: boolean | undefined;
|
|
2448
2464
|
editedBy?: string | undefined;
|
|
2449
2465
|
createdAt?: string | undefined;
|
|
2450
2466
|
updatedAt?: string | undefined;
|
|
@@ -2477,6 +2493,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2477
2493
|
title?: string | undefined;
|
|
2478
2494
|
bio?: string | undefined;
|
|
2479
2495
|
available?: number[][][] | undefined;
|
|
2496
|
+
shouldChangePassword?: boolean | undefined;
|
|
2480
2497
|
editedBy?: string | undefined;
|
|
2481
2498
|
createdAt?: string | undefined;
|
|
2482
2499
|
updatedAt?: string | undefined;
|
|
@@ -2536,6 +2553,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2536
2553
|
title?: string | undefined;
|
|
2537
2554
|
bio?: string | undefined;
|
|
2538
2555
|
available?: number[][][] | undefined;
|
|
2556
|
+
shouldChangePassword?: boolean | undefined;
|
|
2539
2557
|
editedBy?: string | undefined;
|
|
2540
2558
|
createdAt?: string | undefined;
|
|
2541
2559
|
updatedAt?: string | undefined;
|
|
@@ -2568,6 +2586,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2568
2586
|
title?: string | undefined;
|
|
2569
2587
|
bio?: string | undefined;
|
|
2570
2588
|
available?: number[][][] | undefined;
|
|
2589
|
+
shouldChangePassword?: boolean | undefined;
|
|
2571
2590
|
editedBy?: string | undefined;
|
|
2572
2591
|
createdAt?: string | undefined;
|
|
2573
2592
|
updatedAt?: string | undefined;
|
|
@@ -2739,6 +2758,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2739
2758
|
title: z.ZodOptional<z.ZodString>;
|
|
2740
2759
|
bio: z.ZodOptional<z.ZodString>;
|
|
2741
2760
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2761
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2742
2762
|
_id: z.ZodString;
|
|
2743
2763
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2744
2764
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2763,6 +2783,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2763
2783
|
title?: string | undefined;
|
|
2764
2784
|
bio?: string | undefined;
|
|
2765
2785
|
available?: number[][][] | undefined;
|
|
2786
|
+
shouldChangePassword?: boolean | undefined;
|
|
2766
2787
|
editedBy?: string | undefined;
|
|
2767
2788
|
createdAt?: string | undefined;
|
|
2768
2789
|
updatedAt?: string | undefined;
|
|
@@ -2786,6 +2807,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2786
2807
|
title?: string | undefined;
|
|
2787
2808
|
bio?: string | undefined;
|
|
2788
2809
|
available?: number[][][] | undefined;
|
|
2810
|
+
shouldChangePassword?: boolean | undefined;
|
|
2789
2811
|
editedBy?: string | undefined;
|
|
2790
2812
|
createdAt?: string | undefined;
|
|
2791
2813
|
updatedAt?: string | undefined;
|
|
@@ -2812,6 +2834,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2812
2834
|
title?: string | undefined;
|
|
2813
2835
|
bio?: string | undefined;
|
|
2814
2836
|
available?: number[][][] | undefined;
|
|
2837
|
+
shouldChangePassword?: boolean | undefined;
|
|
2815
2838
|
editedBy?: string | undefined;
|
|
2816
2839
|
createdAt?: string | undefined;
|
|
2817
2840
|
updatedAt?: string | undefined;
|
|
@@ -2848,6 +2871,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2848
2871
|
title?: string | undefined;
|
|
2849
2872
|
bio?: string | undefined;
|
|
2850
2873
|
available?: number[][][] | undefined;
|
|
2874
|
+
shouldChangePassword?: boolean | undefined;
|
|
2851
2875
|
editedBy?: string | undefined;
|
|
2852
2876
|
createdAt?: string | undefined;
|
|
2853
2877
|
updatedAt?: string | undefined;
|
package/index.js
CHANGED
|
@@ -299,7 +299,8 @@ var zBTeacher = zBUser.extend({
|
|
|
299
299
|
* [],
|
|
300
300
|
* ]
|
|
301
301
|
*/
|
|
302
|
-
available: import_zod8.z.array(import_zod8.z.array(import_zod8.z.array(import_zod8.z.number()))).optional()
|
|
302
|
+
available: import_zod8.z.array(import_zod8.z.array(import_zod8.z.array(import_zod8.z.number()))).optional(),
|
|
303
|
+
shouldChangePassword: import_zod8.z.boolean().optional()
|
|
303
304
|
});
|
|
304
305
|
var zTeacher = addAutoProps(zBTeacher);
|
|
305
306
|
var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
|
package/index.mjs
CHANGED
|
@@ -200,7 +200,8 @@ var zBTeacher = zBUser.extend({
|
|
|
200
200
|
* [],
|
|
201
201
|
* ]
|
|
202
202
|
*/
|
|
203
|
-
available: z8.array(z8.array(z8.array(z8.number()))).optional()
|
|
203
|
+
available: z8.array(z8.array(z8.array(z8.number()))).optional(),
|
|
204
|
+
shouldChangePassword: z8.boolean().optional()
|
|
204
205
|
});
|
|
205
206
|
var zTeacher = addAutoProps(zBTeacher);
|
|
206
207
|
var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
|