@tmlmobilidade/types 20251212.1456.57 → 20251218.110.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_common/comment.js +15 -6
- package/dist/_common/document.d.ts +3 -0
- package/dist/_common/document.js +4 -3
- package/dist/_common/status.d.ts +15 -1
- package/dist/_common/status.js +24 -6
- package/dist/_common/unix-timestamp.d.ts +1 -1
- package/dist/_common/unix-timestamp.js +1 -1
- package/dist/agency.d.ts +18 -13
- package/dist/agency.js +1 -1
- package/dist/alert.d.ts +101 -112
- package/dist/alert.js +18 -19
- package/dist/apex/simplified-apex-location.d.ts +5 -4
- package/dist/apex/simplified-apex-location.js +6 -4
- package/dist/apex/simplified-apex-on-board-refund.d.ts +5 -4
- package/dist/apex/simplified-apex-on-board-refund.js +6 -4
- package/dist/apex/simplified-apex-on-board-sale.d.ts +5 -4
- package/dist/apex/simplified-apex-on-board-sale.js +6 -4
- package/dist/apex/simplified-apex-validation.d.ts +9 -8
- package/dist/apex/simplified-apex-validation.js +6 -4
- package/dist/auth/login.d.ts +1 -1
- package/dist/auth/login.js +1 -1
- package/dist/auth/role.d.ts +260 -149
- package/dist/auth/role.js +1 -1
- package/dist/auth/session.d.ts +9 -7
- package/dist/auth/session.js +6 -4
- package/dist/auth/user.d.ts +737 -207
- package/dist/auth/user.js +12 -9
- package/dist/auth/verification-token.d.ts +9 -7
- package/dist/auth/verification-token.js +6 -4
- package/dist/dates/annotation.d.ts +94 -0
- package/dist/dates/annotation.js +14 -0
- package/dist/dates/index.d.ts +1 -0
- package/dist/dates/index.js +1 -0
- package/dist/file-exports/{common.d.ts → base.d.ts} +6 -5
- package/dist/file-exports/{common.js → base.js} +7 -4
- package/dist/file-exports/file-exports.d.ts +124 -0
- package/dist/file-exports/file-exports.js +7 -0
- package/dist/file-exports/index.d.ts +3 -126
- package/dist/file-exports/index.js +3 -9
- package/dist/file-exports/ride-export.d.ts +13 -13
- package/dist/file-exports/ride-export.js +5 -5
- package/dist/file.d.ts +3 -3
- package/dist/file.js +4 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/notification.d.ts +9 -7
- package/dist/notification.js +4 -2
- package/dist/organization.d.ts +24 -15
- package/dist/organization.js +3 -3
- package/dist/permissions/agencies.d.ts +3 -3
- package/dist/permissions/agencies.js +1 -1
- package/dist/permissions/alerts.d.ts +6 -6
- package/dist/permissions/alerts.js +2 -2
- package/dist/permissions/dates.d.ts +25 -0
- package/dist/permissions/dates.js +16 -0
- package/dist/permissions/gtfs-validations.d.ts +3 -3
- package/dist/permissions/gtfs-validations.js +1 -0
- package/dist/permissions/index.d.ts +49 -27
- package/dist/permissions/index.js +2 -0
- package/dist/permissions/organizations.d.ts +3 -3
- package/dist/permissions/organizations.js +1 -0
- package/dist/permissions/plans.d.ts +3 -3
- package/dist/permissions/plans.js +1 -1
- package/dist/permissions/roles.d.ts +3 -3
- package/dist/permissions/roles.js +1 -0
- package/dist/permissions/stops.d.ts +3 -3
- package/dist/permissions/stops.js +1 -1
- package/dist/permissions/users.d.ts +3 -3
- package/dist/permissions/users.js +1 -0
- package/dist/plans/gtfs-validation.d.ts +12 -3
- package/dist/plans/gtfs-validation.js +1 -1
- package/dist/plans/plan-app-status.js +2 -2
- package/dist/plans/plan-pcgi-legacy.d.ts +1 -1
- package/dist/plans/plan-pcgi-legacy.js +1 -1
- package/dist/plans/plan.d.ts +9 -9
- package/dist/proposed-change.d.ts +12 -3
- package/dist/proposed-change.js +1 -1
- package/dist/rides/ride-acceptance.d.ts +23 -19
- package/dist/rides/ride-acceptance.js +5 -3
- package/dist/rides/ride-analysis.d.ts +16 -16
- package/dist/rides/ride-analysis.js +16 -16
- package/dist/rides/ride-audit.d.ts +11 -11
- package/dist/rides/ride-audit.js +1 -1
- package/dist/rides/ride-overrides.d.ts +1 -1
- package/dist/rides/ride-overrides.js +1 -1
- package/dist/rides/ride.d.ts +56 -55
- package/dist/rides/ride.js +10 -8
- package/dist/sams/sam-analysis.d.ts +1 -1
- package/dist/sams/sam-analysis.js +4 -4
- package/dist/sams/sam.d.ts +13 -13
- package/dist/sams/sam.js +7 -5
- package/dist/stops/connections.d.ts +3 -0
- package/dist/stops/connections.js +15 -0
- package/dist/stops/equipment.d.ts +3 -0
- package/dist/stops/equipment.js +9 -0
- package/dist/stops/facilities.d.ts +4 -0
- package/dist/stops/facilities.js +16 -0
- package/dist/stops/index.d.ts +9 -0
- package/dist/stops/index.js +9 -0
- package/dist/stops/jurisdiction.d.ts +4 -0
- package/dist/stops/jurisdiction.js +10 -0
- package/dist/stops/name-abbreviations.d.ts +11 -0
- package/dist/stops/name-abbreviations.js +117 -0
- package/dist/stops/parent-station.d.ts +76 -0
- package/dist/stops/parent-station.js +11 -0
- package/dist/stops/road-type.d.ts +3 -0
- package/dist/stops/road-type.js +13 -0
- package/dist/stops/stop-area.d.ts +67 -0
- package/dist/stops/stop-area.js +10 -0
- package/dist/{stop.d.ts → stops/stop.d.ts} +271 -345
- package/dist/stops/stop.js +78 -0
- package/dist/vehicle-events/gtfs-rt-vehicle-event-extended.d.ts +1 -21
- package/dist/vehicle-events/gtfs-rt-vehicle-event-extended.js +4 -5
- package/dist/vehicle-events/simplified-vehicle-event.d.ts +4 -3
- package/dist/vehicle-events/simplified-vehicle-event.js +6 -4
- package/dist/zone.d.ts +10 -10
- package/dist/zone.js +1 -1
- package/package.json +2 -2
- package/dist/stop.js +0 -102
package/dist/auth/user.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* * */
|
|
2
2
|
import { DocumentSchema } from '../_common/document.js';
|
|
3
|
-
import {
|
|
3
|
+
import { UnixTimeStampSchema } from '../_common/unix-timestamp.js';
|
|
4
4
|
import { PermissionSchema } from '../permissions/index.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
/* * */
|
|
@@ -12,21 +12,24 @@ export const UserPreferenceValueSchema = z.union([
|
|
|
12
12
|
z.array(z.number()),
|
|
13
13
|
]);
|
|
14
14
|
/* * */
|
|
15
|
-
export const
|
|
15
|
+
export const UserSchema_UNSAFE = DocumentSchema.extend({
|
|
16
16
|
email: z.string().email(),
|
|
17
|
-
email_verified:
|
|
17
|
+
email_verified: UnixTimeStampSchema.nullable().default(null),
|
|
18
18
|
first_name: z.string().min(2),
|
|
19
19
|
last_name: z.string().min(2),
|
|
20
|
-
organization_id: z.string()
|
|
21
|
-
password_hash: z.string().nullable(),
|
|
20
|
+
organization_id: z.string(),
|
|
21
|
+
password_hash: z.string().nullable().default(null),
|
|
22
22
|
permissions: z.array(PermissionSchema).default([]),
|
|
23
|
-
phone: z.string().nullable(),
|
|
24
|
-
preferences: z.record(z.record(UserPreferenceValueSchema)).nullable(),
|
|
23
|
+
phone: z.string().nullable().default(null),
|
|
24
|
+
preferences: z.record(z.record(UserPreferenceValueSchema)).nullable().default(null),
|
|
25
25
|
role_ids: z.array(z.string()).default([]),
|
|
26
|
+
seen_last_at: UnixTimeStampSchema.nullable().default(null),
|
|
26
27
|
session_ids: z.array(z.string()).default([]),
|
|
27
28
|
verification_token_ids: z.array(z.string()).default([]),
|
|
28
29
|
});
|
|
29
|
-
export const CreateUserSchema =
|
|
30
|
-
export const UpdateUserSchema = CreateUserSchema.omit({ created_by: true }).partial();
|
|
30
|
+
export const CreateUserSchema = UserSchema_UNSAFE.omit({ _id: true, created_at: true, updated_at: true });
|
|
31
|
+
export const UpdateUserSchema = CreateUserSchema.omit({ created_by: true, session_ids: true, verification_token_ids: true }).partial();
|
|
32
|
+
export const UserSchema = UserSchema_UNSAFE.omit({ password_hash: true, session_ids: true, verification_token_ids: true });
|
|
33
|
+
/* * */
|
|
31
34
|
export const UserDisplayFields = { _id: true, email: true, first_name: true, last_name: true, phone: true };
|
|
32
35
|
export const UserDisplaySchema = UserSchema.pick(UserDisplayFields);
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const VerificationTokenSchema: z.ZodObject<{
|
|
2
|
+
export declare const VerificationTokenSchema: z.ZodObject<Omit<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
5
5
|
created_by: z.ZodOptional<z.ZodString>;
|
|
6
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
6
7
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
7
8
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
8
|
-
} & {
|
|
9
|
+
}, "is_locked"> & {
|
|
9
10
|
expires_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
10
11
|
token: z.ZodString;
|
|
11
12
|
user_id: z.ZodString;
|
|
12
|
-
}, "
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
_id: string;
|
|
14
15
|
created_at: number & {
|
|
15
16
|
__brand: "UnixTimestamp";
|
|
@@ -34,17 +35,18 @@ export declare const VerificationTokenSchema: z.ZodObject<{
|
|
|
34
35
|
created_by?: string | undefined;
|
|
35
36
|
updated_by?: string | undefined;
|
|
36
37
|
}>;
|
|
37
|
-
export declare const CreateVerificationTokenSchema: z.ZodObject<Omit<{
|
|
38
|
+
export declare const CreateVerificationTokenSchema: z.ZodObject<Omit<Omit<{
|
|
38
39
|
_id: z.ZodString;
|
|
39
40
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
40
41
|
created_by: z.ZodOptional<z.ZodString>;
|
|
42
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
41
43
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
42
44
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
43
|
-
} & {
|
|
45
|
+
}, "is_locked"> & {
|
|
44
46
|
expires_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
45
47
|
token: z.ZodString;
|
|
46
48
|
user_id: z.ZodString;
|
|
47
|
-
}, "_id" | "created_at" | "updated_at">, "
|
|
49
|
+
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
48
50
|
expires_at: number & {
|
|
49
51
|
__brand: "UnixTimestamp";
|
|
50
52
|
};
|
|
@@ -64,7 +66,7 @@ export declare const UpdateVerificationTokenSchema: z.ZodObject<{
|
|
|
64
66
|
expires_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
65
67
|
token: z.ZodOptional<z.ZodString>;
|
|
66
68
|
user_id: z.ZodOptional<z.ZodString>;
|
|
67
|
-
}, "
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
70
|
updated_by?: string | undefined;
|
|
69
71
|
expires_at?: import("../_common/unix-timestamp.js").UnixTimestamp | undefined;
|
|
70
72
|
token?: string | undefined;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/* * */
|
|
2
2
|
import { DocumentSchema } from '../_common/document.js';
|
|
3
|
-
import {
|
|
3
|
+
import { UnixTimeStampSchema } from '../_common/unix-timestamp.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
/* * */
|
|
6
|
-
export const VerificationTokenSchema = DocumentSchema
|
|
7
|
-
|
|
6
|
+
export const VerificationTokenSchema = DocumentSchema
|
|
7
|
+
.omit({ is_locked: true })
|
|
8
|
+
.extend({
|
|
9
|
+
expires_at: UnixTimeStampSchema,
|
|
8
10
|
token: z.string(),
|
|
9
11
|
user_id: z.string(),
|
|
10
|
-
})
|
|
12
|
+
});
|
|
11
13
|
export const CreateVerificationTokenSchema = VerificationTokenSchema.omit({ _id: true, created_at: true, updated_at: true });
|
|
12
14
|
export const UpdateVerificationTokenSchema = CreateVerificationTokenSchema.omit({ created_by: true }).partial();
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AnnotationSchema: z.ZodObject<{
|
|
3
|
+
_id: z.ZodString;
|
|
4
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
5
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
6
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
7
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
8
|
+
} & {
|
|
9
|
+
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
10
|
+
dates: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>, "many">>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
+
title: z.ZodString;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
_id: string;
|
|
16
|
+
created_at: number & {
|
|
17
|
+
__brand: "UnixTimestamp";
|
|
18
|
+
};
|
|
19
|
+
is_locked: boolean;
|
|
20
|
+
updated_at: number & {
|
|
21
|
+
__brand: "UnixTimestamp";
|
|
22
|
+
};
|
|
23
|
+
title: string;
|
|
24
|
+
agency_ids: string[];
|
|
25
|
+
dates: import("../_common/operational-date.js").OperationalDate[];
|
|
26
|
+
created_by?: string | undefined;
|
|
27
|
+
updated_by?: string | undefined;
|
|
28
|
+
description?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
_id: string;
|
|
31
|
+
created_at: number;
|
|
32
|
+
updated_at: number;
|
|
33
|
+
title: string;
|
|
34
|
+
created_by?: string | undefined;
|
|
35
|
+
is_locked?: boolean | undefined;
|
|
36
|
+
updated_by?: string | undefined;
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
agency_ids?: string[] | undefined;
|
|
39
|
+
dates?: string[] | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
export declare const CreateAnnotationSchema: z.ZodObject<Omit<{
|
|
42
|
+
_id: z.ZodString;
|
|
43
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
44
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
45
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
46
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
47
|
+
} & {
|
|
48
|
+
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
49
|
+
dates: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>, "many">>;
|
|
50
|
+
description: z.ZodOptional<z.ZodString>;
|
|
51
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
54
|
+
is_locked: boolean;
|
|
55
|
+
title: string;
|
|
56
|
+
agency_ids: string[];
|
|
57
|
+
dates: import("../_common/operational-date.js").OperationalDate[];
|
|
58
|
+
created_by?: string | undefined;
|
|
59
|
+
updated_by?: string | undefined;
|
|
60
|
+
description?: string | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
title: string;
|
|
63
|
+
created_by?: string | undefined;
|
|
64
|
+
is_locked?: boolean | undefined;
|
|
65
|
+
updated_by?: string | undefined;
|
|
66
|
+
description?: string | undefined;
|
|
67
|
+
agency_ids?: string[] | undefined;
|
|
68
|
+
dates?: string[] | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
export declare const UpdateAnnotationSchema: z.ZodObject<{
|
|
71
|
+
is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
72
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
73
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
74
|
+
title: z.ZodOptional<z.ZodString>;
|
|
75
|
+
agency_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
76
|
+
dates: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>, "many">>>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
is_locked?: boolean | undefined;
|
|
79
|
+
updated_by?: string | undefined;
|
|
80
|
+
description?: string | undefined;
|
|
81
|
+
title?: string | undefined;
|
|
82
|
+
agency_ids?: string[] | undefined;
|
|
83
|
+
dates?: import("../_common/operational-date.js").OperationalDate[] | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
is_locked?: boolean | undefined;
|
|
86
|
+
updated_by?: string | undefined;
|
|
87
|
+
description?: string | undefined;
|
|
88
|
+
title?: string | undefined;
|
|
89
|
+
agency_ids?: string[] | undefined;
|
|
90
|
+
dates?: string[] | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
export type Annotation = z.infer<typeof AnnotationSchema>;
|
|
93
|
+
export type CreateAnnotationDto = z.infer<typeof CreateAnnotationSchema>;
|
|
94
|
+
export type UpdateAnnotationDto = z.infer<typeof UpdateAnnotationSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import { DocumentSchema } from '../_common/document.js';
|
|
3
|
+
import { operationalDateSchema } from '../_common/operational-date.js';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
/* * */
|
|
6
|
+
export const AnnotationSchema = DocumentSchema.extend({
|
|
7
|
+
agency_ids: z.array(z.string()).default([]),
|
|
8
|
+
dates: z.array(operationalDateSchema).default([]),
|
|
9
|
+
description: z.string().optional(),
|
|
10
|
+
is_locked: z.boolean().default(false),
|
|
11
|
+
title: z.string().min(1),
|
|
12
|
+
});
|
|
13
|
+
export const CreateAnnotationSchema = AnnotationSchema.omit({ _id: true, created_at: true, updated_at: true });
|
|
14
|
+
export const UpdateAnnotationSchema = CreateAnnotationSchema.omit({ created_by: true }).partial();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './annotation.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './annotation.js';
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const FileExportTypes: readonly ["ride"];
|
|
3
3
|
export declare const FileExportTypeSchema: z.ZodEnum<["ride"]>;
|
|
4
4
|
export type FileExportType = z.infer<typeof FileExportTypeSchema>;
|
|
5
|
-
export declare const FileExportBaseSchema: z.ZodObject<{
|
|
5
|
+
export declare const FileExportBaseSchema: z.ZodObject<Omit<{
|
|
6
6
|
_id: z.ZodString;
|
|
7
7
|
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
8
8
|
created_by: z.ZodOptional<z.ZodString>;
|
|
9
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
9
10
|
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
10
11
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
11
|
-
} & {
|
|
12
|
+
}, "is_locked"> & {
|
|
12
13
|
file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
14
|
file_name: z.ZodString;
|
|
14
15
|
processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
|
|
15
16
|
properties: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
16
17
|
type: z.ZodEnum<["ride"]>;
|
|
17
|
-
}, "
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
19
|
_id: string;
|
|
19
20
|
created_at: number & {
|
|
20
21
|
__brand: "UnixTimestamp";
|
|
@@ -46,7 +47,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
|
|
|
46
47
|
file_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
47
48
|
file_name: z.ZodOptional<z.ZodString>;
|
|
48
49
|
processing_status: z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
|
|
49
|
-
}, "
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
51
|
updated_by?: string | undefined;
|
|
51
52
|
file_id?: string | null | undefined;
|
|
52
53
|
file_name?: string | undefined;
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
import { DocumentSchema } from '../_common/document.js';
|
|
3
3
|
import { ProcessingStatusSchema } from '../_common/status.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
export const FILE_EXPORT_TYPES = ['ride'];
|
|
6
|
-
export const FileExportTypeSchema = z.enum(FILE_EXPORT_TYPES);
|
|
7
5
|
/* * */
|
|
8
|
-
export const
|
|
6
|
+
export const FileExportTypes = ['ride'];
|
|
7
|
+
export const FileExportTypeSchema = z.enum(FileExportTypes);
|
|
8
|
+
/* * */
|
|
9
|
+
export const FileExportBaseSchema = DocumentSchema
|
|
10
|
+
.omit({ is_locked: true })
|
|
11
|
+
.extend({
|
|
9
12
|
file_id: z.string().nullish(),
|
|
10
13
|
file_name: z.string(),
|
|
11
14
|
processing_status: ProcessingStatusSchema,
|
|
12
15
|
properties: z.record(z.any()),
|
|
13
16
|
type: FileExportTypeSchema,
|
|
14
|
-
})
|
|
17
|
+
});
|
|
15
18
|
export const UpdateFileExportSchema = FileExportBaseSchema.omit({ _id: true, created_at: true, created_by: true, properties: true, type: true, updated_at: true }).partial();
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3
|
+
_id: z.ZodString;
|
|
4
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
5
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
6
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
7
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
8
|
+
file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
file_name: z.ZodString;
|
|
10
|
+
processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
|
|
11
|
+
} & {
|
|
12
|
+
properties: z.ZodObject<{
|
|
13
|
+
agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14
|
+
analysis_ended_at_last_stop: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
15
|
+
analysis_expected_apex_validation_interval: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
16
|
+
analysis_simple_three_vehicle_events: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
17
|
+
analysis_transaction_sequentiality: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
18
|
+
date_end: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
19
|
+
date_start: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
20
|
+
delay_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["delayed", "early", "ontime", "none"]>, "many">>>;
|
|
21
|
+
operational_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["ended", "missed", "running", "scheduled"]>, "many">>>;
|
|
22
|
+
seen_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["unseen", "seen", "gone"]>, "many">>>;
|
|
23
|
+
line_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
24
|
+
stop_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
25
|
+
acceptance_status: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected", "none"]>, "many">>>;
|
|
26
|
+
search: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
date_end: number & {
|
|
29
|
+
__brand: "UnixTimestamp";
|
|
30
|
+
};
|
|
31
|
+
date_start: number & {
|
|
32
|
+
__brand: "UnixTimestamp";
|
|
33
|
+
};
|
|
34
|
+
agency_ids?: string[] | null | undefined;
|
|
35
|
+
search?: string | null | undefined;
|
|
36
|
+
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
37
|
+
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
38
|
+
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
39
|
+
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
40
|
+
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
41
|
+
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
42
|
+
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
43
|
+
seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined;
|
|
44
|
+
line_ids?: string[] | null | undefined;
|
|
45
|
+
stop_ids?: string[] | null | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
date_end: number;
|
|
48
|
+
date_start: number;
|
|
49
|
+
agency_ids?: string[] | null | undefined;
|
|
50
|
+
search?: string | null | undefined;
|
|
51
|
+
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
52
|
+
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
53
|
+
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
54
|
+
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
55
|
+
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
56
|
+
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
57
|
+
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
58
|
+
seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined;
|
|
59
|
+
line_ids?: string[] | null | undefined;
|
|
60
|
+
stop_ids?: string[] | null | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
type: z.ZodLiteral<"ride">;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
_id: string;
|
|
65
|
+
created_at: number & {
|
|
66
|
+
__brand: "UnixTimestamp";
|
|
67
|
+
};
|
|
68
|
+
updated_at: number & {
|
|
69
|
+
__brand: "UnixTimestamp";
|
|
70
|
+
};
|
|
71
|
+
type: "ride";
|
|
72
|
+
file_name: string;
|
|
73
|
+
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
74
|
+
properties: {
|
|
75
|
+
date_end: number & {
|
|
76
|
+
__brand: "UnixTimestamp";
|
|
77
|
+
};
|
|
78
|
+
date_start: number & {
|
|
79
|
+
__brand: "UnixTimestamp";
|
|
80
|
+
};
|
|
81
|
+
agency_ids?: string[] | null | undefined;
|
|
82
|
+
search?: string | null | undefined;
|
|
83
|
+
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
84
|
+
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
85
|
+
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
86
|
+
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
87
|
+
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
88
|
+
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
89
|
+
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
90
|
+
seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined;
|
|
91
|
+
line_ids?: string[] | null | undefined;
|
|
92
|
+
stop_ids?: string[] | null | undefined;
|
|
93
|
+
};
|
|
94
|
+
created_by?: string | undefined;
|
|
95
|
+
updated_by?: string | undefined;
|
|
96
|
+
file_id?: string | null | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
_id: string;
|
|
99
|
+
created_at: number;
|
|
100
|
+
updated_at: number;
|
|
101
|
+
type: "ride";
|
|
102
|
+
file_name: string;
|
|
103
|
+
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
104
|
+
properties: {
|
|
105
|
+
date_end: number;
|
|
106
|
+
date_start: number;
|
|
107
|
+
agency_ids?: string[] | null | undefined;
|
|
108
|
+
search?: string | null | undefined;
|
|
109
|
+
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
110
|
+
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
111
|
+
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
112
|
+
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
113
|
+
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
114
|
+
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
115
|
+
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
116
|
+
seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined;
|
|
117
|
+
line_ids?: string[] | null | undefined;
|
|
118
|
+
stop_ids?: string[] | null | undefined;
|
|
119
|
+
};
|
|
120
|
+
created_by?: string | undefined;
|
|
121
|
+
updated_by?: string | undefined;
|
|
122
|
+
file_id?: string | null | undefined;
|
|
123
|
+
}>]>;
|
|
124
|
+
export type FileExport = z.infer<typeof FileExportSchema>;
|
|
@@ -1,126 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export { type RideExportData, type RideExportProperties, RideExportPropertiesSchema, RideExportSchema } from './ride-export.js';
|
|
5
|
-
export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6
|
-
_id: z.ZodString;
|
|
7
|
-
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
8
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
9
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
10
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
11
|
-
file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
file_name: z.ZodString;
|
|
13
|
-
processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
|
|
14
|
-
} & {
|
|
15
|
-
properties: z.ZodObject<{
|
|
16
|
-
agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
17
|
-
analysis_ended_at_last_stop: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
18
|
-
analysis_expected_apex_validation_interval: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
19
|
-
analysis_simple_three_vehicle_events: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
20
|
-
analysis_transaction_sequentiality: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>;
|
|
21
|
-
date_end: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
22
|
-
date_start: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
23
|
-
delay_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["delayed", "early", "ontime", "none"]>, "many">>>;
|
|
24
|
-
operational_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["ended", "missed", "running", "scheduled"]>, "many">>>;
|
|
25
|
-
seen_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["gone", "seen", "unseen"]>, "many">>>;
|
|
26
|
-
line_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
27
|
-
stop_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
28
|
-
acceptance_status: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected", "none"]>, "many">>>;
|
|
29
|
-
search: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
date_end: number & {
|
|
32
|
-
__brand: "UnixTimestamp";
|
|
33
|
-
};
|
|
34
|
-
date_start: number & {
|
|
35
|
-
__brand: "UnixTimestamp";
|
|
36
|
-
};
|
|
37
|
-
agency_ids?: string[] | null | undefined;
|
|
38
|
-
search?: string | null | undefined;
|
|
39
|
-
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
40
|
-
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
41
|
-
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
42
|
-
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
43
|
-
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
44
|
-
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
45
|
-
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
46
|
-
seen_statuses?: ("gone" | "seen" | "unseen")[] | null | undefined;
|
|
47
|
-
line_ids?: string[] | null | undefined;
|
|
48
|
-
stop_ids?: string[] | null | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
date_end: number;
|
|
51
|
-
date_start: number;
|
|
52
|
-
agency_ids?: string[] | null | undefined;
|
|
53
|
-
search?: string | null | undefined;
|
|
54
|
-
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
55
|
-
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
56
|
-
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
57
|
-
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
58
|
-
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
59
|
-
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
60
|
-
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
61
|
-
seen_statuses?: ("gone" | "seen" | "unseen")[] | null | undefined;
|
|
62
|
-
line_ids?: string[] | null | undefined;
|
|
63
|
-
stop_ids?: string[] | null | undefined;
|
|
64
|
-
}>;
|
|
65
|
-
type: z.ZodLiteral<"ride">;
|
|
66
|
-
}, "strict", z.ZodTypeAny, {
|
|
67
|
-
_id: string;
|
|
68
|
-
created_at: number & {
|
|
69
|
-
__brand: "UnixTimestamp";
|
|
70
|
-
};
|
|
71
|
-
updated_at: number & {
|
|
72
|
-
__brand: "UnixTimestamp";
|
|
73
|
-
};
|
|
74
|
-
type: "ride";
|
|
75
|
-
file_name: string;
|
|
76
|
-
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
77
|
-
properties: {
|
|
78
|
-
date_end: number & {
|
|
79
|
-
__brand: "UnixTimestamp";
|
|
80
|
-
};
|
|
81
|
-
date_start: number & {
|
|
82
|
-
__brand: "UnixTimestamp";
|
|
83
|
-
};
|
|
84
|
-
agency_ids?: string[] | null | undefined;
|
|
85
|
-
search?: string | null | undefined;
|
|
86
|
-
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
87
|
-
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
88
|
-
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
89
|
-
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
90
|
-
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
91
|
-
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
92
|
-
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
93
|
-
seen_statuses?: ("gone" | "seen" | "unseen")[] | null | undefined;
|
|
94
|
-
line_ids?: string[] | null | undefined;
|
|
95
|
-
stop_ids?: string[] | null | undefined;
|
|
96
|
-
};
|
|
97
|
-
created_by?: string | undefined;
|
|
98
|
-
updated_by?: string | undefined;
|
|
99
|
-
file_id?: string | null | undefined;
|
|
100
|
-
}, {
|
|
101
|
-
_id: string;
|
|
102
|
-
created_at: number;
|
|
103
|
-
updated_at: number;
|
|
104
|
-
type: "ride";
|
|
105
|
-
file_name: string;
|
|
106
|
-
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
107
|
-
properties: {
|
|
108
|
-
date_end: number;
|
|
109
|
-
date_start: number;
|
|
110
|
-
agency_ids?: string[] | null | undefined;
|
|
111
|
-
search?: string | null | undefined;
|
|
112
|
-
acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
|
|
113
|
-
analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
114
|
-
analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
115
|
-
analysis_simple_three_vehicle_events?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
116
|
-
analysis_transaction_sequentiality?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
|
|
117
|
-
delay_statuses?: ("delayed" | "early" | "ontime" | "none")[] | null | undefined;
|
|
118
|
-
operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined;
|
|
119
|
-
seen_statuses?: ("gone" | "seen" | "unseen")[] | null | undefined;
|
|
120
|
-
line_ids?: string[] | null | undefined;
|
|
121
|
-
stop_ids?: string[] | null | undefined;
|
|
122
|
-
};
|
|
123
|
-
created_by?: string | undefined;
|
|
124
|
-
updated_by?: string | undefined;
|
|
125
|
-
file_id?: string | null | undefined;
|
|
126
|
-
}>]>;
|
|
1
|
+
export * from './base.js';
|
|
2
|
+
export * from './file-exports.js';
|
|
3
|
+
export * from './ride-export.js';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { FileExportTypeSchema, UpdateFileExportSchema } from './common.js';
|
|
5
|
-
export { RideExportPropertiesSchema, RideExportSchema } from './ride-export.js';
|
|
6
|
-
/* * */
|
|
7
|
-
export const FileExportSchema = z.discriminatedUnion('type', [
|
|
8
|
-
RideExportSchema,
|
|
9
|
-
]);
|
|
1
|
+
export * from './base.js';
|
|
2
|
+
export * from './file-exports.js';
|
|
3
|
+
export * from './ride-export.js';
|