@tmlmobilidade/types 20250917.1305.2 → 20250917.1446.59
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,15 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CommentTypeSchema: z.ZodEnum<["field_changed", "note", "crud"]>;
|
|
3
3
|
export type CommentType = z.infer<typeof CommentTypeSchema>;
|
|
4
|
-
export declare const CrudCommentSchemaActionSchema: z.ZodEnum<["create", "update", "delete", "
|
|
4
|
+
export declare const CrudCommentSchemaActionSchema: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
5
5
|
export type CrudCommentSchemaAction = z.infer<typeof CrudCommentSchemaActionSchema>;
|
|
6
|
-
export declare const CRUD_COMMENT_ACTION_OPTIONS_ICONS: Readonly<{
|
|
7
|
-
archived: "IconCircleDashedMinus";
|
|
8
|
-
create: "IconCircleDashed";
|
|
9
|
-
delete: "IconCircleDashedX";
|
|
10
|
-
restored: "IconCircleDashedLetterR";
|
|
11
|
-
update: "IconCircleDashedLetterU";
|
|
12
|
-
}>;
|
|
13
6
|
export declare const NoteCommentSchema: z.ZodObject<{
|
|
14
7
|
_id: z.ZodOptional<z.ZodString>;
|
|
15
8
|
created_at: z.ZodEffects<z.ZodNumber, import("./unix-timestamp.js").UnixTimestamp, number>;
|
|
@@ -84,7 +77,7 @@ export declare const CrudCommentSchema: z.ZodObject<{
|
|
|
84
77
|
updated_at: z.ZodEffects<z.ZodNumber, import("./unix-timestamp.js").UnixTimestamp, number>;
|
|
85
78
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
86
79
|
type: z.ZodLiteral<"crud">;
|
|
87
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
80
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
88
81
|
}, "strip", z.ZodTypeAny, {
|
|
89
82
|
created_at: number & {
|
|
90
83
|
__brand: "UnixTimestamp";
|
|
@@ -93,7 +86,7 @@ export declare const CrudCommentSchema: z.ZodObject<{
|
|
|
93
86
|
__brand: "UnixTimestamp";
|
|
94
87
|
};
|
|
95
88
|
type: "crud";
|
|
96
|
-
action: "create" | "update" | "delete" | "
|
|
89
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
97
90
|
_id?: string | undefined;
|
|
98
91
|
created_by?: string | undefined;
|
|
99
92
|
updated_by?: string | undefined;
|
|
@@ -101,7 +94,7 @@ export declare const CrudCommentSchema: z.ZodObject<{
|
|
|
101
94
|
created_at: number;
|
|
102
95
|
updated_at: number;
|
|
103
96
|
type: "crud";
|
|
104
|
-
action: "create" | "update" | "delete" | "
|
|
97
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
105
98
|
_id?: string | undefined;
|
|
106
99
|
created_by?: string | undefined;
|
|
107
100
|
updated_by?: string | undefined;
|
|
@@ -178,7 +171,7 @@ export declare const CommentSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type",
|
|
|
178
171
|
updated_at: z.ZodEffects<z.ZodNumber, import("./unix-timestamp.js").UnixTimestamp, number>;
|
|
179
172
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
180
173
|
type: z.ZodLiteral<"crud">;
|
|
181
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
174
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
182
175
|
}, "strip", z.ZodTypeAny, {
|
|
183
176
|
created_at: number & {
|
|
184
177
|
__brand: "UnixTimestamp";
|
|
@@ -187,7 +180,7 @@ export declare const CommentSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type",
|
|
|
187
180
|
__brand: "UnixTimestamp";
|
|
188
181
|
};
|
|
189
182
|
type: "crud";
|
|
190
|
-
action: "create" | "update" | "delete" | "
|
|
183
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
191
184
|
_id?: string | undefined;
|
|
192
185
|
created_by?: string | undefined;
|
|
193
186
|
updated_by?: string | undefined;
|
|
@@ -195,7 +188,7 @@ export declare const CommentSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type",
|
|
|
195
188
|
created_at: number;
|
|
196
189
|
updated_at: number;
|
|
197
190
|
type: "crud";
|
|
198
|
-
action: "create" | "update" | "delete" | "
|
|
191
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
199
192
|
_id?: string | undefined;
|
|
200
193
|
created_by?: string | undefined;
|
|
201
194
|
updated_by?: string | undefined;
|
|
@@ -234,7 +227,7 @@ export declare const CommentSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type",
|
|
|
234
227
|
__brand: "UnixTimestamp";
|
|
235
228
|
};
|
|
236
229
|
type: "crud";
|
|
237
|
-
action: "create" | "update" | "delete" | "
|
|
230
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
238
231
|
_id?: string | undefined;
|
|
239
232
|
created_by?: string | undefined;
|
|
240
233
|
updated_by?: string | undefined;
|
|
@@ -261,7 +254,7 @@ export declare const CommentSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type",
|
|
|
261
254
|
created_at: number;
|
|
262
255
|
updated_at: number;
|
|
263
256
|
type: "crud";
|
|
264
|
-
action: "create" | "update" | "delete" | "
|
|
257
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
265
258
|
_id?: string | undefined;
|
|
266
259
|
created_by?: string | undefined;
|
|
267
260
|
updated_by?: string | undefined;
|
|
@@ -4,15 +4,8 @@ import { z } from 'zod';
|
|
|
4
4
|
/* * */
|
|
5
5
|
const COMMENT_TYPE_OPTIONS = ['field_changed', 'note', 'crud'];
|
|
6
6
|
export const CommentTypeSchema = z.enum(COMMENT_TYPE_OPTIONS);
|
|
7
|
-
const CRUD_COMMENT_ACTION_OPTIONS = ['create', 'update', 'delete', '
|
|
7
|
+
const CRUD_COMMENT_ACTION_OPTIONS = ['create', 'update', 'delete', 'archive', 'restore'];
|
|
8
8
|
export const CrudCommentSchemaActionSchema = z.enum(CRUD_COMMENT_ACTION_OPTIONS);
|
|
9
|
-
export const CRUD_COMMENT_ACTION_OPTIONS_ICONS = Object.freeze({
|
|
10
|
-
archived: 'IconCircleDashedMinus',
|
|
11
|
-
create: 'IconCircleDashed',
|
|
12
|
-
delete: 'IconCircleDashedX',
|
|
13
|
-
restored: 'IconCircleDashedLetterR',
|
|
14
|
-
update: 'IconCircleDashedLetterU',
|
|
15
|
-
});
|
|
16
9
|
/* * */
|
|
17
10
|
export const NoteCommentSchema = DocumentSchema.extend({
|
|
18
11
|
message: z.string(),
|
|
@@ -133,7 +133,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
133
133
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
134
134
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
135
135
|
type: z.ZodLiteral<"crud">;
|
|
136
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
136
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
created_at: number & {
|
|
139
139
|
__brand: "UnixTimestamp";
|
|
@@ -142,7 +142,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
142
142
|
__brand: "UnixTimestamp";
|
|
143
143
|
};
|
|
144
144
|
type: "crud";
|
|
145
|
-
action: "create" | "update" | "delete" | "
|
|
145
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
146
146
|
_id?: string | undefined;
|
|
147
147
|
created_by?: string | undefined;
|
|
148
148
|
updated_by?: string | undefined;
|
|
@@ -150,7 +150,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
150
150
|
created_at: number;
|
|
151
151
|
updated_at: number;
|
|
152
152
|
type: "crud";
|
|
153
|
-
action: "create" | "update" | "delete" | "
|
|
153
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
154
154
|
_id?: string | undefined;
|
|
155
155
|
created_by?: string | undefined;
|
|
156
156
|
updated_by?: string | undefined;
|
|
@@ -189,7 +189,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
189
189
|
__brand: "UnixTimestamp";
|
|
190
190
|
};
|
|
191
191
|
type: "crud";
|
|
192
|
-
action: "create" | "update" | "delete" | "
|
|
192
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
193
193
|
_id?: string | undefined;
|
|
194
194
|
created_by?: string | undefined;
|
|
195
195
|
updated_by?: string | undefined;
|
|
@@ -216,7 +216,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
216
216
|
created_at: number;
|
|
217
217
|
updated_at: number;
|
|
218
218
|
type: "crud";
|
|
219
|
-
action: "create" | "update" | "delete" | "
|
|
219
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
220
220
|
_id?: string | undefined;
|
|
221
221
|
created_by?: string | undefined;
|
|
222
222
|
updated_by?: string | undefined;
|
|
@@ -303,7 +303,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
303
303
|
__brand: "UnixTimestamp";
|
|
304
304
|
};
|
|
305
305
|
type: "crud";
|
|
306
|
-
action: "create" | "update" | "delete" | "
|
|
306
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
307
307
|
_id?: string | undefined;
|
|
308
308
|
created_by?: string | undefined;
|
|
309
309
|
updated_by?: string | undefined;
|
|
@@ -369,7 +369,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
|
|
|
369
369
|
created_at: number;
|
|
370
370
|
updated_at: number;
|
|
371
371
|
type: "crud";
|
|
372
|
-
action: "create" | "update" | "delete" | "
|
|
372
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
373
373
|
_id?: string | undefined;
|
|
374
374
|
created_by?: string | undefined;
|
|
375
375
|
updated_by?: string | undefined;
|
|
@@ -465,7 +465,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
465
465
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
466
466
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
467
467
|
type: z.ZodLiteral<"crud">;
|
|
468
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
468
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
470
|
created_at: number & {
|
|
471
471
|
__brand: "UnixTimestamp";
|
|
@@ -474,7 +474,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
474
474
|
__brand: "UnixTimestamp";
|
|
475
475
|
};
|
|
476
476
|
type: "crud";
|
|
477
|
-
action: "create" | "update" | "delete" | "
|
|
477
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
478
478
|
_id?: string | undefined;
|
|
479
479
|
created_by?: string | undefined;
|
|
480
480
|
updated_by?: string | undefined;
|
|
@@ -482,7 +482,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
482
482
|
created_at: number;
|
|
483
483
|
updated_at: number;
|
|
484
484
|
type: "crud";
|
|
485
|
-
action: "create" | "update" | "delete" | "
|
|
485
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
486
486
|
_id?: string | undefined;
|
|
487
487
|
created_by?: string | undefined;
|
|
488
488
|
updated_by?: string | undefined;
|
|
@@ -521,7 +521,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
521
521
|
__brand: "UnixTimestamp";
|
|
522
522
|
};
|
|
523
523
|
type: "crud";
|
|
524
|
-
action: "create" | "update" | "delete" | "
|
|
524
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
525
525
|
_id?: string | undefined;
|
|
526
526
|
created_by?: string | undefined;
|
|
527
527
|
updated_by?: string | undefined;
|
|
@@ -548,7 +548,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
548
548
|
created_at: number;
|
|
549
549
|
updated_at: number;
|
|
550
550
|
type: "crud";
|
|
551
|
-
action: "create" | "update" | "delete" | "
|
|
551
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
552
552
|
_id?: string | undefined;
|
|
553
553
|
created_by?: string | undefined;
|
|
554
554
|
updated_by?: string | undefined;
|
|
@@ -627,7 +627,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
627
627
|
__brand: "UnixTimestamp";
|
|
628
628
|
};
|
|
629
629
|
type: "crud";
|
|
630
|
-
action: "create" | "update" | "delete" | "
|
|
630
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
631
631
|
_id?: string | undefined;
|
|
632
632
|
created_by?: string | undefined;
|
|
633
633
|
updated_by?: string | undefined;
|
|
@@ -692,7 +692,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
|
|
|
692
692
|
created_at: number;
|
|
693
693
|
updated_at: number;
|
|
694
694
|
type: "crud";
|
|
695
|
-
action: "create" | "update" | "delete" | "
|
|
695
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
696
696
|
_id?: string | undefined;
|
|
697
697
|
created_by?: string | undefined;
|
|
698
698
|
updated_by?: string | undefined;
|
|
@@ -786,7 +786,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
786
786
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
787
787
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
788
788
|
type: z.ZodLiteral<"crud">;
|
|
789
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
789
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
791
|
created_at: number & {
|
|
792
792
|
__brand: "UnixTimestamp";
|
|
@@ -795,7 +795,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
795
795
|
__brand: "UnixTimestamp";
|
|
796
796
|
};
|
|
797
797
|
type: "crud";
|
|
798
|
-
action: "create" | "update" | "delete" | "
|
|
798
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
799
799
|
_id?: string | undefined;
|
|
800
800
|
created_by?: string | undefined;
|
|
801
801
|
updated_by?: string | undefined;
|
|
@@ -803,7 +803,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
803
803
|
created_at: number;
|
|
804
804
|
updated_at: number;
|
|
805
805
|
type: "crud";
|
|
806
|
-
action: "create" | "update" | "delete" | "
|
|
806
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
807
807
|
_id?: string | undefined;
|
|
808
808
|
created_by?: string | undefined;
|
|
809
809
|
updated_by?: string | undefined;
|
|
@@ -842,7 +842,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
842
842
|
__brand: "UnixTimestamp";
|
|
843
843
|
};
|
|
844
844
|
type: "crud";
|
|
845
|
-
action: "create" | "update" | "delete" | "
|
|
845
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
846
846
|
_id?: string | undefined;
|
|
847
847
|
created_by?: string | undefined;
|
|
848
848
|
updated_by?: string | undefined;
|
|
@@ -869,7 +869,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
869
869
|
created_at: number;
|
|
870
870
|
updated_at: number;
|
|
871
871
|
type: "crud";
|
|
872
|
-
action: "create" | "update" | "delete" | "
|
|
872
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
873
873
|
_id?: string | undefined;
|
|
874
874
|
created_by?: string | undefined;
|
|
875
875
|
updated_by?: string | undefined;
|
|
@@ -951,7 +951,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
951
951
|
__brand: "UnixTimestamp";
|
|
952
952
|
};
|
|
953
953
|
type: "crud";
|
|
954
|
-
action: "create" | "update" | "delete" | "
|
|
954
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
955
955
|
_id?: string | undefined;
|
|
956
956
|
created_by?: string | undefined;
|
|
957
957
|
updated_by?: string | undefined;
|
|
@@ -1003,7 +1003,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
|
|
|
1003
1003
|
created_at: number;
|
|
1004
1004
|
updated_at: number;
|
|
1005
1005
|
type: "crud";
|
|
1006
|
-
action: "create" | "update" | "delete" | "
|
|
1006
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
1007
1007
|
_id?: string | undefined;
|
|
1008
1008
|
created_by?: string | undefined;
|
|
1009
1009
|
updated_by?: string | undefined;
|
package/dist/src/stop.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
136
136
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
137
137
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
138
138
|
type: z.ZodLiteral<"crud">;
|
|
139
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
139
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
created_at: number & {
|
|
142
142
|
__brand: "UnixTimestamp";
|
|
@@ -145,7 +145,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
145
145
|
__brand: "UnixTimestamp";
|
|
146
146
|
};
|
|
147
147
|
type: "crud";
|
|
148
|
-
action: "create" | "update" | "delete" | "
|
|
148
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
149
149
|
_id?: string | undefined;
|
|
150
150
|
created_by?: string | undefined;
|
|
151
151
|
updated_by?: string | undefined;
|
|
@@ -153,7 +153,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
153
153
|
created_at: number;
|
|
154
154
|
updated_at: number;
|
|
155
155
|
type: "crud";
|
|
156
|
-
action: "create" | "update" | "delete" | "
|
|
156
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
157
157
|
_id?: string | undefined;
|
|
158
158
|
created_by?: string | undefined;
|
|
159
159
|
updated_by?: string | undefined;
|
|
@@ -192,7 +192,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
192
192
|
__brand: "UnixTimestamp";
|
|
193
193
|
};
|
|
194
194
|
type: "crud";
|
|
195
|
-
action: "create" | "update" | "delete" | "
|
|
195
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
196
196
|
_id?: string | undefined;
|
|
197
197
|
created_by?: string | undefined;
|
|
198
198
|
updated_by?: string | undefined;
|
|
@@ -219,7 +219,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
219
219
|
created_at: number;
|
|
220
220
|
updated_at: number;
|
|
221
221
|
type: "crud";
|
|
222
|
-
action: "create" | "update" | "delete" | "
|
|
222
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
223
223
|
_id?: string | undefined;
|
|
224
224
|
created_by?: string | undefined;
|
|
225
225
|
updated_by?: string | undefined;
|
|
@@ -276,7 +276,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
276
276
|
__brand: "UnixTimestamp";
|
|
277
277
|
};
|
|
278
278
|
type: "crud";
|
|
279
|
-
action: "create" | "update" | "delete" | "
|
|
279
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
280
280
|
_id?: string | undefined;
|
|
281
281
|
created_by?: string | undefined;
|
|
282
282
|
updated_by?: string | undefined;
|
|
@@ -351,7 +351,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
351
351
|
created_at: number;
|
|
352
352
|
updated_at: number;
|
|
353
353
|
type: "crud";
|
|
354
|
-
action: "create" | "update" | "delete" | "
|
|
354
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
355
355
|
_id?: string | undefined;
|
|
356
356
|
created_by?: string | undefined;
|
|
357
357
|
updated_by?: string | undefined;
|
|
@@ -571,7 +571,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
571
571
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
572
572
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
573
573
|
type: z.ZodLiteral<"crud">;
|
|
574
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
574
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
576
|
created_at: number & {
|
|
577
577
|
__brand: "UnixTimestamp";
|
|
@@ -580,7 +580,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
580
580
|
__brand: "UnixTimestamp";
|
|
581
581
|
};
|
|
582
582
|
type: "crud";
|
|
583
|
-
action: "create" | "update" | "delete" | "
|
|
583
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
584
584
|
_id?: string | undefined;
|
|
585
585
|
created_by?: string | undefined;
|
|
586
586
|
updated_by?: string | undefined;
|
|
@@ -588,7 +588,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
588
588
|
created_at: number;
|
|
589
589
|
updated_at: number;
|
|
590
590
|
type: "crud";
|
|
591
|
-
action: "create" | "update" | "delete" | "
|
|
591
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
592
592
|
_id?: string | undefined;
|
|
593
593
|
created_by?: string | undefined;
|
|
594
594
|
updated_by?: string | undefined;
|
|
@@ -627,7 +627,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
627
627
|
__brand: "UnixTimestamp";
|
|
628
628
|
};
|
|
629
629
|
type: "crud";
|
|
630
|
-
action: "create" | "update" | "delete" | "
|
|
630
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
631
631
|
_id?: string | undefined;
|
|
632
632
|
created_by?: string | undefined;
|
|
633
633
|
updated_by?: string | undefined;
|
|
@@ -654,7 +654,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
654
654
|
created_at: number;
|
|
655
655
|
updated_at: number;
|
|
656
656
|
type: "crud";
|
|
657
|
-
action: "create" | "update" | "delete" | "
|
|
657
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
658
658
|
_id?: string | undefined;
|
|
659
659
|
created_by?: string | undefined;
|
|
660
660
|
updated_by?: string | undefined;
|
|
@@ -704,7 +704,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
704
704
|
__brand: "UnixTimestamp";
|
|
705
705
|
};
|
|
706
706
|
type: "crud";
|
|
707
|
-
action: "create" | "update" | "delete" | "
|
|
707
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
708
708
|
_id?: string | undefined;
|
|
709
709
|
created_by?: string | undefined;
|
|
710
710
|
updated_by?: string | undefined;
|
|
@@ -776,7 +776,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
776
776
|
created_at: number;
|
|
777
777
|
updated_at: number;
|
|
778
778
|
type: "crud";
|
|
779
|
-
action: "create" | "update" | "delete" | "
|
|
779
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
780
780
|
_id?: string | undefined;
|
|
781
781
|
created_by?: string | undefined;
|
|
782
782
|
updated_by?: string | undefined;
|
|
@@ -905,7 +905,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
905
905
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
906
906
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
907
907
|
type: z.ZodLiteral<"crud">;
|
|
908
|
-
action: z.ZodEnum<["create", "update", "delete", "
|
|
908
|
+
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
909
909
|
}, "strip", z.ZodTypeAny, {
|
|
910
910
|
created_at: number & {
|
|
911
911
|
__brand: "UnixTimestamp";
|
|
@@ -914,7 +914,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
914
914
|
__brand: "UnixTimestamp";
|
|
915
915
|
};
|
|
916
916
|
type: "crud";
|
|
917
|
-
action: "create" | "update" | "delete" | "
|
|
917
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
918
918
|
_id?: string | undefined;
|
|
919
919
|
created_by?: string | undefined;
|
|
920
920
|
updated_by?: string | undefined;
|
|
@@ -922,7 +922,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
922
922
|
created_at: number;
|
|
923
923
|
updated_at: number;
|
|
924
924
|
type: "crud";
|
|
925
|
-
action: "create" | "update" | "delete" | "
|
|
925
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
926
926
|
_id?: string | undefined;
|
|
927
927
|
created_by?: string | undefined;
|
|
928
928
|
updated_by?: string | undefined;
|
|
@@ -961,7 +961,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
961
961
|
__brand: "UnixTimestamp";
|
|
962
962
|
};
|
|
963
963
|
type: "crud";
|
|
964
|
-
action: "create" | "update" | "delete" | "
|
|
964
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
965
965
|
_id?: string | undefined;
|
|
966
966
|
created_by?: string | undefined;
|
|
967
967
|
updated_by?: string | undefined;
|
|
@@ -988,7 +988,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
988
988
|
created_at: number;
|
|
989
989
|
updated_at: number;
|
|
990
990
|
type: "crud";
|
|
991
|
-
action: "create" | "update" | "delete" | "
|
|
991
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
992
992
|
_id?: string | undefined;
|
|
993
993
|
created_by?: string | undefined;
|
|
994
994
|
updated_by?: string | undefined;
|
|
@@ -1072,7 +1072,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1072
1072
|
__brand: "UnixTimestamp";
|
|
1073
1073
|
};
|
|
1074
1074
|
type: "crud";
|
|
1075
|
-
action: "create" | "update" | "delete" | "
|
|
1075
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
1076
1076
|
_id?: string | undefined;
|
|
1077
1077
|
created_by?: string | undefined;
|
|
1078
1078
|
updated_by?: string | undefined;
|
|
@@ -1144,7 +1144,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1144
1144
|
created_at: number;
|
|
1145
1145
|
updated_at: number;
|
|
1146
1146
|
type: "crud";
|
|
1147
|
-
action: "create" | "update" | "delete" | "
|
|
1147
|
+
action: "create" | "update" | "delete" | "archive" | "restore";
|
|
1148
1148
|
_id?: string | undefined;
|
|
1149
1149
|
created_by?: string | undefined;
|
|
1150
1150
|
updated_by?: string | undefined;
|
package/package.json
CHANGED