@mxpicture/tesla-superchargers-generated 0.1.1
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/public/Addresses.d.ts +130 -0
- package/dist/public/Addresses.d.ts.map +1 -0
- package/dist/public/Addresses.js +131 -0
- package/dist/public/Addresses.js.map +1 -0
- package/dist/public/BillingType.d.ts +9 -0
- package/dist/public/BillingType.d.ts.map +1 -0
- package/dist/public/BillingType.js +6 -0
- package/dist/public/BillingType.js.map +1 -0
- package/dist/public/CarSettings.d.ts +89 -0
- package/dist/public/CarSettings.d.ts.map +1 -0
- package/dist/public/CarSettings.js +65 -0
- package/dist/public/CarSettings.js.map +1 -0
- package/dist/public/Cars.d.ts +118 -0
- package/dist/public/Cars.d.ts.map +1 -0
- package/dist/public/Cars.js +114 -0
- package/dist/public/Cars.js.map +1 -0
- package/dist/public/Charges.d.ts +146 -0
- package/dist/public/Charges.d.ts.map +1 -0
- package/dist/public/Charges.js +150 -0
- package/dist/public/Charges.js.map +1 -0
- package/dist/public/ChargingProcesses.d.ts +129 -0
- package/dist/public/ChargingProcesses.d.ts.map +1 -0
- package/dist/public/ChargingProcesses.js +129 -0
- package/dist/public/ChargingProcesses.js.map +1 -0
- package/dist/public/Drives.d.ts +164 -0
- package/dist/public/Drives.d.ts.map +1 -0
- package/dist/public/Drives.js +171 -0
- package/dist/public/Drives.js.map +1 -0
- package/dist/public/Geofences.d.ts +90 -0
- package/dist/public/Geofences.d.ts.map +1 -0
- package/dist/public/Geofences.js +78 -0
- package/dist/public/Geofences.js.map +1 -0
- package/dist/public/KeyParams.d.ts +6 -0
- package/dist/public/KeyParams.d.ts.map +1 -0
- package/dist/public/KeyParams.js +4 -0
- package/dist/public/KeyParams.js.map +1 -0
- package/dist/public/PicChargers.d.ts +205 -0
- package/dist/public/PicChargers.d.ts.map +1 -0
- package/dist/public/PicChargers.js +226 -0
- package/dist/public/PicChargers.js.map +1 -0
- package/dist/public/PicChargingProcessStates.d.ts +59 -0
- package/dist/public/PicChargingProcessStates.d.ts.map +1 -0
- package/dist/public/PicChargingProcessStates.js +51 -0
- package/dist/public/PicChargingProcessStates.js.map +1 -0
- package/dist/public/PicPricebooks.d.ts +89 -0
- package/dist/public/PicPricebooks.d.ts.map +1 -0
- package/dist/public/PicPricebooks.js +112 -0
- package/dist/public/PicPricebooks.js.map +1 -0
- package/dist/public/PicSlugs.d.ts +146 -0
- package/dist/public/PicSlugs.d.ts.map +1 -0
- package/dist/public/PicSlugs.js +153 -0
- package/dist/public/PicSlugs.js.map +1 -0
- package/dist/public/Positions.d.ts +187 -0
- package/dist/public/Positions.d.ts.map +1 -0
- package/dist/public/Positions.js +199 -0
- package/dist/public/Positions.js.map +1 -0
- package/dist/public/Range.d.ts +9 -0
- package/dist/public/Range.d.ts.map +1 -0
- package/dist/public/Range.js +6 -0
- package/dist/public/Range.js.map +1 -0
- package/dist/public/SchemaMigrations.d.ts +43 -0
- package/dist/public/SchemaMigrations.d.ts.map +1 -0
- package/dist/public/SchemaMigrations.js +29 -0
- package/dist/public/SchemaMigrations.js.map +1 -0
- package/dist/public/Settings.d.ts +106 -0
- package/dist/public/Settings.d.ts.map +1 -0
- package/dist/public/Settings.js +87 -0
- package/dist/public/Settings.js.map +1 -0
- package/dist/public/States.d.ts +62 -0
- package/dist/public/States.d.ts.map +1 -0
- package/dist/public/States.js +49 -0
- package/dist/public/States.js.map +1 -0
- package/dist/public/StatesStatus.d.ts +10 -0
- package/dist/public/StatesStatus.d.ts.map +1 -0
- package/dist/public/StatesStatus.js +6 -0
- package/dist/public/StatesStatus.js.map +1 -0
- package/dist/public/SuperchargerPriceHistory.d.ts +185 -0
- package/dist/public/SuperchargerPriceHistory.d.ts.map +1 -0
- package/dist/public/SuperchargerPriceHistory.js +197 -0
- package/dist/public/SuperchargerPriceHistory.js.map +1 -0
- package/dist/public/UnitOfLength.d.ts +9 -0
- package/dist/public/UnitOfLength.d.ts.map +1 -0
- package/dist/public/UnitOfLength.js +6 -0
- package/dist/public/UnitOfLength.js.map +1 -0
- package/dist/public/UnitOfPressure.d.ts +9 -0
- package/dist/public/UnitOfPressure.d.ts.map +1 -0
- package/dist/public/UnitOfPressure.js +6 -0
- package/dist/public/UnitOfPressure.js.map +1 -0
- package/dist/public/UnitOfTemperature.d.ts +9 -0
- package/dist/public/UnitOfTemperature.d.ts.map +1 -0
- package/dist/public/UnitOfTemperature.js +6 -0
- package/dist/public/UnitOfTemperature.js.map +1 -0
- package/dist/public/Updates.d.ts +61 -0
- package/dist/public/Updates.d.ts.map +1 -0
- package/dist/public/Updates.js +48 -0
- package/dist/public/Updates.js.map +1 -0
- package/dist/public/index.d.ts +25 -0
- package/dist/public/index.d.ts.map +1 -0
- package/dist/public/index.js +26 -0
- package/dist/public/index.js.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { KeyParams } from "./KeyParams.js";
|
|
3
|
+
/** Identifier type for public.addresses */
|
|
4
|
+
export type AddressesId = number;
|
|
5
|
+
/** Represents the table public.addresses */
|
|
6
|
+
export interface Addresses {
|
|
7
|
+
id: AddressesId;
|
|
8
|
+
display_name: string | null;
|
|
9
|
+
latitude: string | null;
|
|
10
|
+
longitude: string | null;
|
|
11
|
+
name: string | null;
|
|
12
|
+
house_number: string | null;
|
|
13
|
+
road: string | null;
|
|
14
|
+
neighbourhood: string | null;
|
|
15
|
+
city: string | null;
|
|
16
|
+
county: string | null;
|
|
17
|
+
postcode: string | null;
|
|
18
|
+
state: string | null;
|
|
19
|
+
state_district: string | null;
|
|
20
|
+
country: string | null;
|
|
21
|
+
raw: unknown | null;
|
|
22
|
+
inserted_at: Date;
|
|
23
|
+
updated_at: Date;
|
|
24
|
+
osm_id: string | null;
|
|
25
|
+
osm_type: string | null;
|
|
26
|
+
}
|
|
27
|
+
/** Represents the initializer for the table public.addresses */
|
|
28
|
+
export interface AddressesInitializer {
|
|
29
|
+
/** Default value: nextval('addresses_id_seq'::regclass) */
|
|
30
|
+
id?: AddressesId;
|
|
31
|
+
display_name?: string | null;
|
|
32
|
+
latitude?: string | null;
|
|
33
|
+
longitude?: string | null;
|
|
34
|
+
name?: string | null;
|
|
35
|
+
house_number?: string | null;
|
|
36
|
+
road?: string | null;
|
|
37
|
+
neighbourhood?: string | null;
|
|
38
|
+
city?: string | null;
|
|
39
|
+
county?: string | null;
|
|
40
|
+
postcode?: string | null;
|
|
41
|
+
state?: string | null;
|
|
42
|
+
state_district?: string | null;
|
|
43
|
+
country?: string | null;
|
|
44
|
+
raw?: unknown | null;
|
|
45
|
+
inserted_at: Date;
|
|
46
|
+
updated_at: Date;
|
|
47
|
+
osm_id?: string | null;
|
|
48
|
+
osm_type?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/** Represents the mutator for the table public.addresses */
|
|
51
|
+
export interface AddressesMutator {
|
|
52
|
+
id?: AddressesId;
|
|
53
|
+
display_name?: string | null;
|
|
54
|
+
latitude?: string | null;
|
|
55
|
+
longitude?: string | null;
|
|
56
|
+
name?: string | null;
|
|
57
|
+
house_number?: string | null;
|
|
58
|
+
road?: string | null;
|
|
59
|
+
neighbourhood?: string | null;
|
|
60
|
+
city?: string | null;
|
|
61
|
+
county?: string | null;
|
|
62
|
+
postcode?: string | null;
|
|
63
|
+
state?: string | null;
|
|
64
|
+
state_district?: string | null;
|
|
65
|
+
country?: string | null;
|
|
66
|
+
raw?: unknown | null;
|
|
67
|
+
inserted_at?: Date;
|
|
68
|
+
updated_at?: Date;
|
|
69
|
+
osm_id?: string | null;
|
|
70
|
+
osm_type?: string | null;
|
|
71
|
+
}
|
|
72
|
+
export declare const addressesId: z.Schema<AddressesId>;
|
|
73
|
+
export declare const addresses: z.Schema<Addresses>;
|
|
74
|
+
export declare const addressesInitializer: z.Schema<AddressesInitializer>;
|
|
75
|
+
export declare const addressesMutator: z.Schema<AddressesMutator>;
|
|
76
|
+
/**
|
|
77
|
+
* Represents the initializer for the table public.addresses
|
|
78
|
+
* Strict variant: optional properties are required and typed with an explicit `| undefined` instead of `?:`.
|
|
79
|
+
*/
|
|
80
|
+
export interface AddressesInitializerStrict {
|
|
81
|
+
/** Default value: nextval('addresses_id_seq'::regclass) */
|
|
82
|
+
id: AddressesId | undefined;
|
|
83
|
+
display_name: string | null | undefined;
|
|
84
|
+
latitude: string | null | undefined;
|
|
85
|
+
longitude: string | null | undefined;
|
|
86
|
+
name: string | null | undefined;
|
|
87
|
+
house_number: string | null | undefined;
|
|
88
|
+
road: string | null | undefined;
|
|
89
|
+
neighbourhood: string | null | undefined;
|
|
90
|
+
city: string | null | undefined;
|
|
91
|
+
county: string | null | undefined;
|
|
92
|
+
postcode: string | null | undefined;
|
|
93
|
+
state: string | null | undefined;
|
|
94
|
+
state_district: string | null | undefined;
|
|
95
|
+
country: string | null | undefined;
|
|
96
|
+
raw: unknown | null | undefined;
|
|
97
|
+
inserted_at: Date;
|
|
98
|
+
updated_at: Date;
|
|
99
|
+
osm_id: string | null | undefined;
|
|
100
|
+
osm_type: string | null | undefined;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Represents the mutator for the table public.addresses
|
|
104
|
+
* Strict variant: optional properties are required and typed with an explicit `| undefined` instead of `?:`.
|
|
105
|
+
*/
|
|
106
|
+
export interface AddressesMutatorStrict {
|
|
107
|
+
id: AddressesId | undefined;
|
|
108
|
+
display_name: string | null | undefined;
|
|
109
|
+
latitude: string | null | undefined;
|
|
110
|
+
longitude: string | null | undefined;
|
|
111
|
+
name: string | null | undefined;
|
|
112
|
+
house_number: string | null | undefined;
|
|
113
|
+
road: string | null | undefined;
|
|
114
|
+
neighbourhood: string | null | undefined;
|
|
115
|
+
city: string | null | undefined;
|
|
116
|
+
county: string | null | undefined;
|
|
117
|
+
postcode: string | null | undefined;
|
|
118
|
+
state: string | null | undefined;
|
|
119
|
+
state_district: string | null | undefined;
|
|
120
|
+
country: string | null | undefined;
|
|
121
|
+
raw: unknown | null | undefined;
|
|
122
|
+
inserted_at: Date | undefined;
|
|
123
|
+
updated_at: Date | undefined;
|
|
124
|
+
osm_id: string | null | undefined;
|
|
125
|
+
osm_type: string | null | undefined;
|
|
126
|
+
}
|
|
127
|
+
export declare const addressesKeys: KeyParams<Addresses>[];
|
|
128
|
+
export declare const addressesInitializerKeys: KeyParams<AddressesInitializer>[];
|
|
129
|
+
export declare const addressesMutatorKeys: KeyParams<AddressesMutator>[];
|
|
130
|
+
//# sourceMappingURL=Addresses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Addresses.d.ts","sourceRoot":"","sources":["../../src/public/Addresses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,2CAA2C;AAC3C,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC,4CAA4C;AAC5C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,WAAW,CAAC;IAEhB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,GAAG,EAAE,OAA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AAG,IAAI,GAAG,SAAS,CAAC;IAEhC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAExC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEhC,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEzC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEhC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAElC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEpC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEjC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAE1C,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEnC,GAAG,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAEhC,WAAW,EAAE,IAAI,GAAG,SAAS,CAAC;IAE9B,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC;IAE7B,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAElC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACrC;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,EAoB/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,SAAS,CAAC,oBAAoB,CAAC,EAoBrE,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,SAAS,CAAC,gBAAgB,CAAC,EAoB7D,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
export const addressesId = z.number();
|
|
5
|
+
export const addresses = z.object({
|
|
6
|
+
id: addressesId,
|
|
7
|
+
display_name: z.string().nullable(),
|
|
8
|
+
latitude: z.string().nullable(),
|
|
9
|
+
longitude: z.string().nullable(),
|
|
10
|
+
name: z.string().nullable(),
|
|
11
|
+
house_number: z.string().nullable(),
|
|
12
|
+
road: z.string().nullable(),
|
|
13
|
+
neighbourhood: z.string().nullable(),
|
|
14
|
+
city: z.string().nullable(),
|
|
15
|
+
county: z.string().nullable(),
|
|
16
|
+
postcode: z.string().nullable(),
|
|
17
|
+
state: z.string().nullable(),
|
|
18
|
+
state_district: z.string().nullable(),
|
|
19
|
+
country: z.string().nullable(),
|
|
20
|
+
raw: z.unknown().nullable(),
|
|
21
|
+
inserted_at: z.date(),
|
|
22
|
+
updated_at: z.date(),
|
|
23
|
+
osm_id: z.string().nullable(),
|
|
24
|
+
osm_type: z.string().nullable(),
|
|
25
|
+
});
|
|
26
|
+
export const addressesInitializer = z.object({
|
|
27
|
+
id: addressesId.optional(),
|
|
28
|
+
display_name: z.string().optional().nullable(),
|
|
29
|
+
latitude: z.string().optional().nullable(),
|
|
30
|
+
longitude: z.string().optional().nullable(),
|
|
31
|
+
name: z.string().optional().nullable(),
|
|
32
|
+
house_number: z.string().optional().nullable(),
|
|
33
|
+
road: z.string().optional().nullable(),
|
|
34
|
+
neighbourhood: z.string().optional().nullable(),
|
|
35
|
+
city: z.string().optional().nullable(),
|
|
36
|
+
county: z.string().optional().nullable(),
|
|
37
|
+
postcode: z.string().optional().nullable(),
|
|
38
|
+
state: z.string().optional().nullable(),
|
|
39
|
+
state_district: z.string().optional().nullable(),
|
|
40
|
+
country: z.string().optional().nullable(),
|
|
41
|
+
raw: z.unknown().optional().nullable(),
|
|
42
|
+
inserted_at: z.date(),
|
|
43
|
+
updated_at: z.date(),
|
|
44
|
+
osm_id: z.string().optional().nullable(),
|
|
45
|
+
osm_type: z.string().optional().nullable(),
|
|
46
|
+
});
|
|
47
|
+
export const addressesMutator = z.object({
|
|
48
|
+
id: addressesId.optional(),
|
|
49
|
+
display_name: z.string().optional().nullable(),
|
|
50
|
+
latitude: z.string().optional().nullable(),
|
|
51
|
+
longitude: z.string().optional().nullable(),
|
|
52
|
+
name: z.string().optional().nullable(),
|
|
53
|
+
house_number: z.string().optional().nullable(),
|
|
54
|
+
road: z.string().optional().nullable(),
|
|
55
|
+
neighbourhood: z.string().optional().nullable(),
|
|
56
|
+
city: z.string().optional().nullable(),
|
|
57
|
+
county: z.string().optional().nullable(),
|
|
58
|
+
postcode: z.string().optional().nullable(),
|
|
59
|
+
state: z.string().optional().nullable(),
|
|
60
|
+
state_district: z.string().optional().nullable(),
|
|
61
|
+
country: z.string().optional().nullable(),
|
|
62
|
+
raw: z.unknown().optional().nullable(),
|
|
63
|
+
inserted_at: z.date().optional(),
|
|
64
|
+
updated_at: z.date().optional(),
|
|
65
|
+
osm_id: z.string().optional().nullable(),
|
|
66
|
+
osm_type: z.string().optional().nullable(),
|
|
67
|
+
});
|
|
68
|
+
export const addressesKeys = [
|
|
69
|
+
{ name: "id" },
|
|
70
|
+
{ name: "display_name", nullable: true },
|
|
71
|
+
{ name: "latitude", nullable: true },
|
|
72
|
+
{ name: "longitude", nullable: true },
|
|
73
|
+
{ name: "name", nullable: true },
|
|
74
|
+
{ name: "house_number", nullable: true },
|
|
75
|
+
{ name: "road", nullable: true },
|
|
76
|
+
{ name: "neighbourhood", nullable: true },
|
|
77
|
+
{ name: "city", nullable: true },
|
|
78
|
+
{ name: "county", nullable: true },
|
|
79
|
+
{ name: "postcode", nullable: true },
|
|
80
|
+
{ name: "state", nullable: true },
|
|
81
|
+
{ name: "state_district", nullable: true },
|
|
82
|
+
{ name: "country", nullable: true },
|
|
83
|
+
{ name: "raw", nullable: true },
|
|
84
|
+
{ name: "inserted_at" },
|
|
85
|
+
{ name: "updated_at" },
|
|
86
|
+
{ name: "osm_id", nullable: true },
|
|
87
|
+
{ name: "osm_type", nullable: true },
|
|
88
|
+
];
|
|
89
|
+
export const addressesInitializerKeys = [
|
|
90
|
+
{ name: "id", optional: true },
|
|
91
|
+
{ name: "display_name", optional: true, nullable: true },
|
|
92
|
+
{ name: "latitude", optional: true, nullable: true },
|
|
93
|
+
{ name: "longitude", optional: true, nullable: true },
|
|
94
|
+
{ name: "name", optional: true, nullable: true },
|
|
95
|
+
{ name: "house_number", optional: true, nullable: true },
|
|
96
|
+
{ name: "road", optional: true, nullable: true },
|
|
97
|
+
{ name: "neighbourhood", optional: true, nullable: true },
|
|
98
|
+
{ name: "city", optional: true, nullable: true },
|
|
99
|
+
{ name: "county", optional: true, nullable: true },
|
|
100
|
+
{ name: "postcode", optional: true, nullable: true },
|
|
101
|
+
{ name: "state", optional: true, nullable: true },
|
|
102
|
+
{ name: "state_district", optional: true, nullable: true },
|
|
103
|
+
{ name: "country", optional: true, nullable: true },
|
|
104
|
+
{ name: "raw", optional: true, nullable: true },
|
|
105
|
+
{ name: "inserted_at" },
|
|
106
|
+
{ name: "updated_at" },
|
|
107
|
+
{ name: "osm_id", optional: true, nullable: true },
|
|
108
|
+
{ name: "osm_type", optional: true, nullable: true },
|
|
109
|
+
];
|
|
110
|
+
export const addressesMutatorKeys = [
|
|
111
|
+
{ name: "id", optional: true },
|
|
112
|
+
{ name: "display_name", optional: true, nullable: true },
|
|
113
|
+
{ name: "latitude", optional: true, nullable: true },
|
|
114
|
+
{ name: "longitude", optional: true, nullable: true },
|
|
115
|
+
{ name: "name", optional: true, nullable: true },
|
|
116
|
+
{ name: "house_number", optional: true, nullable: true },
|
|
117
|
+
{ name: "road", optional: true, nullable: true },
|
|
118
|
+
{ name: "neighbourhood", optional: true, nullable: true },
|
|
119
|
+
{ name: "city", optional: true, nullable: true },
|
|
120
|
+
{ name: "county", optional: true, nullable: true },
|
|
121
|
+
{ name: "postcode", optional: true, nullable: true },
|
|
122
|
+
{ name: "state", optional: true, nullable: true },
|
|
123
|
+
{ name: "state_district", optional: true, nullable: true },
|
|
124
|
+
{ name: "country", optional: true, nullable: true },
|
|
125
|
+
{ name: "raw", optional: true, nullable: true },
|
|
126
|
+
{ name: "inserted_at", optional: true },
|
|
127
|
+
{ name: "updated_at", optional: true },
|
|
128
|
+
{ name: "osm_id", optional: true, nullable: true },
|
|
129
|
+
{ name: "osm_type", optional: true, nullable: true },
|
|
130
|
+
];
|
|
131
|
+
//# sourceMappingURL=Addresses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Addresses.js","sourceRoot":"","sources":["../../src/public/Addresses.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,yEAAyE;AAEzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkIxB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAsC,CAAC;AAE1E,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,EAAE,EAAE,WAAW;IACf,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,C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EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC/C,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;IACvC,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IAClD,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;CACrD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Represents the enum public.billing_type */
|
|
3
|
+
export type BillingType = "per_kwh" | "per_minute";
|
|
4
|
+
/** Zod schema for billing_type */
|
|
5
|
+
export declare const billingType: z.ZodEnum<{
|
|
6
|
+
per_kwh: "per_kwh";
|
|
7
|
+
per_minute: "per_minute";
|
|
8
|
+
}>;
|
|
9
|
+
//# sourceMappingURL=BillingType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingType.d.ts","sourceRoot":"","sources":["../../src/public/BillingType.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,8CAA8C;AAC9C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,YAAY,CAAC;AAEnD,kCAAkC;AAClC,eAAO,MAAM,WAAW;;;EAAoC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingType.js","sourceRoot":"","sources":["../../src/public/BillingType.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,yEAAyE;AAEzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,kCAAkC;AAClC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { KeyParams } from "./KeyParams.js";
|
|
3
|
+
/** Identifier type for public.car_settings */
|
|
4
|
+
export type CarSettingsId = string;
|
|
5
|
+
/** Represents the table public.car_settings */
|
|
6
|
+
export interface CarSettings {
|
|
7
|
+
id: CarSettingsId;
|
|
8
|
+
suspend_min: number;
|
|
9
|
+
suspend_after_idle_min: number;
|
|
10
|
+
req_not_unlocked: boolean;
|
|
11
|
+
free_supercharging: boolean;
|
|
12
|
+
use_streaming_api: boolean;
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
lfp_battery: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** Represents the initializer for the table public.car_settings */
|
|
17
|
+
export interface CarSettingsInitializer {
|
|
18
|
+
/** Default value: nextval('car_settings_id_seq'::regclass) */
|
|
19
|
+
id?: CarSettingsId;
|
|
20
|
+
/** Default value: 21 */
|
|
21
|
+
suspend_min?: number;
|
|
22
|
+
/** Default value: 15 */
|
|
23
|
+
suspend_after_idle_min?: number;
|
|
24
|
+
/** Default value: false */
|
|
25
|
+
req_not_unlocked?: boolean;
|
|
26
|
+
/** Default value: false */
|
|
27
|
+
free_supercharging?: boolean;
|
|
28
|
+
/** Default value: true */
|
|
29
|
+
use_streaming_api?: boolean;
|
|
30
|
+
/** Default value: true */
|
|
31
|
+
enabled?: boolean;
|
|
32
|
+
/** Default value: false */
|
|
33
|
+
lfp_battery?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** Represents the mutator for the table public.car_settings */
|
|
36
|
+
export interface CarSettingsMutator {
|
|
37
|
+
id?: CarSettingsId;
|
|
38
|
+
suspend_min?: number;
|
|
39
|
+
suspend_after_idle_min?: number;
|
|
40
|
+
req_not_unlocked?: boolean;
|
|
41
|
+
free_supercharging?: boolean;
|
|
42
|
+
use_streaming_api?: boolean;
|
|
43
|
+
enabled?: boolean;
|
|
44
|
+
lfp_battery?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export declare const carSettingsId: z.Schema<CarSettingsId>;
|
|
47
|
+
export declare const carSettings: z.Schema<CarSettings>;
|
|
48
|
+
export declare const carSettingsInitializer: z.Schema<CarSettingsInitializer>;
|
|
49
|
+
export declare const carSettingsMutator: z.Schema<CarSettingsMutator>;
|
|
50
|
+
/**
|
|
51
|
+
* Represents the initializer for the table public.car_settings
|
|
52
|
+
* Strict variant: optional properties are required and typed with an explicit `| undefined` instead of `?:`.
|
|
53
|
+
*/
|
|
54
|
+
export interface CarSettingsInitializerStrict {
|
|
55
|
+
/** Default value: nextval('car_settings_id_seq'::regclass) */
|
|
56
|
+
id: CarSettingsId | undefined;
|
|
57
|
+
/** Default value: 21 */
|
|
58
|
+
suspend_min: number | undefined;
|
|
59
|
+
/** Default value: 15 */
|
|
60
|
+
suspend_after_idle_min: number | undefined;
|
|
61
|
+
/** Default value: false */
|
|
62
|
+
req_not_unlocked: boolean | undefined;
|
|
63
|
+
/** Default value: false */
|
|
64
|
+
free_supercharging: boolean | undefined;
|
|
65
|
+
/** Default value: true */
|
|
66
|
+
use_streaming_api: boolean | undefined;
|
|
67
|
+
/** Default value: true */
|
|
68
|
+
enabled: boolean | undefined;
|
|
69
|
+
/** Default value: false */
|
|
70
|
+
lfp_battery: boolean | undefined;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Represents the mutator for the table public.car_settings
|
|
74
|
+
* Strict variant: optional properties are required and typed with an explicit `| undefined` instead of `?:`.
|
|
75
|
+
*/
|
|
76
|
+
export interface CarSettingsMutatorStrict {
|
|
77
|
+
id: CarSettingsId | undefined;
|
|
78
|
+
suspend_min: number | undefined;
|
|
79
|
+
suspend_after_idle_min: number | undefined;
|
|
80
|
+
req_not_unlocked: boolean | undefined;
|
|
81
|
+
free_supercharging: boolean | undefined;
|
|
82
|
+
use_streaming_api: boolean | undefined;
|
|
83
|
+
enabled: boolean | undefined;
|
|
84
|
+
lfp_battery: boolean | undefined;
|
|
85
|
+
}
|
|
86
|
+
export declare const carSettingsKeys: KeyParams<CarSettings>[];
|
|
87
|
+
export declare const carSettingsInitializerKeys: KeyParams<CarSettingsInitializer>[];
|
|
88
|
+
export declare const carSettingsMutatorKeys: KeyParams<CarSettingsMutator>[];
|
|
89
|
+
//# sourceMappingURL=CarSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarSettings.d.ts","sourceRoot":"","sources":["../../src/public/CarSettings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,8CAA8C;AAC9C,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AAEnC,+CAA+C;AAC/C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,aAAa,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,sBAAsB,EAAE,MAAM,CAAC;IAE/B,gBAAgB,EAAE,OAAO,CAAC;IAE1B,kBAAkB,EAAE,OAAO,CAAC;IAE5B,iBAAiB,EAAE,OAAO,CAAC;IAE3B,OAAO,EAAE,OAAO,CAAC;IAEjB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,mEAAmE;AACnE,MAAM,WAAW,sBAAsB;IACrC,8DAA8D;IAC9D,EAAE,CAAC,EAAE,aAAa,CAAC;IAEnB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,wBAAwB;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC,2BAA2B;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,2BAA2B;IAC3B,WAAW,CA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wBAAwB;IACvC,EAAE,EAAE,aAAa,GAAG,SAAS,CAAC;IAE9B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3C,gBAAgB,EAAE,OAAO,GAAG,SAAS,CAAC;IAEtC,kBAAkB,EAAE,OAAO,GAAG,SAAS,CAAC;IAExC,iBAAiB,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAE7B,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,WAAW,CAAC,EASnD,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,SAAS,CAAC,sBAAsB,CAAC,EASzE,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAAC,kBAAkB,CAAC,EASjE,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
export const carSettingsId = z.string();
|
|
5
|
+
export const carSettings = z.object({
|
|
6
|
+
id: carSettingsId,
|
|
7
|
+
suspend_min: z.number(),
|
|
8
|
+
suspend_after_idle_min: z.number(),
|
|
9
|
+
req_not_unlocked: z.boolean(),
|
|
10
|
+
free_supercharging: z.boolean(),
|
|
11
|
+
use_streaming_api: z.boolean(),
|
|
12
|
+
enabled: z.boolean(),
|
|
13
|
+
lfp_battery: z.boolean(),
|
|
14
|
+
});
|
|
15
|
+
export const carSettingsInitializer = z.object({
|
|
16
|
+
id: carSettingsId.optional(),
|
|
17
|
+
suspend_min: z.number().optional(),
|
|
18
|
+
suspend_after_idle_min: z.number().optional(),
|
|
19
|
+
req_not_unlocked: z.boolean().optional(),
|
|
20
|
+
free_supercharging: z.boolean().optional(),
|
|
21
|
+
use_streaming_api: z.boolean().optional(),
|
|
22
|
+
enabled: z.boolean().optional(),
|
|
23
|
+
lfp_battery: z.boolean().optional(),
|
|
24
|
+
});
|
|
25
|
+
export const carSettingsMutator = z.object({
|
|
26
|
+
id: carSettingsId.optional(),
|
|
27
|
+
suspend_min: z.number().optional(),
|
|
28
|
+
suspend_after_idle_min: z.number().optional(),
|
|
29
|
+
req_not_unlocked: z.boolean().optional(),
|
|
30
|
+
free_supercharging: z.boolean().optional(),
|
|
31
|
+
use_streaming_api: z.boolean().optional(),
|
|
32
|
+
enabled: z.boolean().optional(),
|
|
33
|
+
lfp_battery: z.boolean().optional(),
|
|
34
|
+
});
|
|
35
|
+
export const carSettingsKeys = [
|
|
36
|
+
{ name: "id" },
|
|
37
|
+
{ name: "suspend_min" },
|
|
38
|
+
{ name: "suspend_after_idle_min" },
|
|
39
|
+
{ name: "req_not_unlocked" },
|
|
40
|
+
{ name: "free_supercharging" },
|
|
41
|
+
{ name: "use_streaming_api" },
|
|
42
|
+
{ name: "enabled" },
|
|
43
|
+
{ name: "lfp_battery" },
|
|
44
|
+
];
|
|
45
|
+
export const carSettingsInitializerKeys = [
|
|
46
|
+
{ name: "id", optional: true },
|
|
47
|
+
{ name: "suspend_min", optional: true },
|
|
48
|
+
{ name: "suspend_after_idle_min", optional: true },
|
|
49
|
+
{ name: "req_not_unlocked", optional: true },
|
|
50
|
+
{ name: "free_supercharging", optional: true },
|
|
51
|
+
{ name: "use_streaming_api", optional: true },
|
|
52
|
+
{ name: "enabled", optional: true },
|
|
53
|
+
{ name: "lfp_battery", optional: true },
|
|
54
|
+
];
|
|
55
|
+
export const carSettingsMutatorKeys = [
|
|
56
|
+
{ name: "id", optional: true },
|
|
57
|
+
{ name: "suspend_min", optional: true },
|
|
58
|
+
{ name: "suspend_after_idle_min", optional: true },
|
|
59
|
+
{ name: "req_not_unlocked", optional: true },
|
|
60
|
+
{ name: "free_supercharging", optional: true },
|
|
61
|
+
{ name: "use_streaming_api", optional: true },
|
|
62
|
+
{ name: "enabled", optional: true },
|
|
63
|
+
{ name: "lfp_battery", optional: true },
|
|
64
|
+
];
|
|
65
|
+
//# sourceMappingURL=CarSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarSettings.js","sourceRoot":"","sources":["../../src/public/CarSettings.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,yEAAyE;AAEzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuExB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAwC,CAAC;AAE9E,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,aAAa;IACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;CACzB,CAAqC,CAAC;AAEvC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,EAAE,EAAE,aAAa,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC1C,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE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;IAClD,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC9C,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC7C,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;IACnC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoC;IACrE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC9B,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;IACvC,EAAE,IAAI,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAClD,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC9C,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC7C,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;IACnC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;CACxC,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { type CarSettingsId } from "./CarSettings.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import type { KeyParams } from "./KeyParams.js";
|
|
4
|
+
/** Identifier type for public.cars */
|
|
5
|
+
export type CarsId = number;
|
|
6
|
+
/** Represents the table public.cars */
|
|
7
|
+
export interface Cars {
|
|
8
|
+
id: CarsId;
|
|
9
|
+
eid: string;
|
|
10
|
+
vid: string;
|
|
11
|
+
model: string | null;
|
|
12
|
+
efficiency: number | null;
|
|
13
|
+
inserted_at: Date;
|
|
14
|
+
updated_at: Date;
|
|
15
|
+
vin: string | null;
|
|
16
|
+
name: string | null;
|
|
17
|
+
trim_badging: string | null;
|
|
18
|
+
settings_id: CarSettingsId;
|
|
19
|
+
exterior_color: string | null;
|
|
20
|
+
spoiler_type: string | null;
|
|
21
|
+
wheel_type: string | null;
|
|
22
|
+
display_priority: number;
|
|
23
|
+
marketing_name: string | null;
|
|
24
|
+
}
|
|
25
|
+
/** Represents the initializer for the table public.cars */
|
|
26
|
+
export interface CarsInitializer {
|
|
27
|
+
/** Default value: nextval('cars_id_seq'::regclass) */
|
|
28
|
+
id?: CarsId;
|
|
29
|
+
eid: string;
|
|
30
|
+
vid: string;
|
|
31
|
+
model?: string | null;
|
|
32
|
+
efficiency?: number | null;
|
|
33
|
+
inserted_at: Date;
|
|
34
|
+
updated_at: Date;
|
|
35
|
+
vin?: string | null;
|
|
36
|
+
name?: string | null;
|
|
37
|
+
trim_badging?: string | null;
|
|
38
|
+
settings_id: CarSettingsId;
|
|
39
|
+
exterior_color?: string | null;
|
|
40
|
+
spoiler_type?: string | null;
|
|
41
|
+
wheel_type?: string | null;
|
|
42
|
+
/** Default value: 1 */
|
|
43
|
+
display_priority?: number;
|
|
44
|
+
marketing_name?: string | null;
|
|
45
|
+
}
|
|
46
|
+
/** Represents the mutator for the table public.cars */
|
|
47
|
+
export interface CarsMutator {
|
|
48
|
+
id?: CarsId;
|
|
49
|
+
eid?: string;
|
|
50
|
+
vid?: string;
|
|
51
|
+
model?: string | null;
|
|
52
|
+
efficiency?: number | null;
|
|
53
|
+
inserted_at?: Date;
|
|
54
|
+
updated_at?: Date;
|
|
55
|
+
vin?: string | null;
|
|
56
|
+
name?: string | null;
|
|
57
|
+
trim_badging?: string | null;
|
|
58
|
+
settings_id?: CarSettingsId;
|
|
59
|
+
exterior_color?: string | null;
|
|
60
|
+
spoiler_type?: string | null;
|
|
61
|
+
wheel_type?: string | null;
|
|
62
|
+
display_priority?: number;
|
|
63
|
+
marketing_name?: string | null;
|
|
64
|
+
}
|
|
65
|
+
export declare const carsId: z.Schema<CarsId>;
|
|
66
|
+
export declare const cars: z.Schema<Cars>;
|
|
67
|
+
export declare const carsInitializer: z.Schema<CarsInitializer>;
|
|
68
|
+
export declare const carsMutator: z.Schema<CarsMutator>;
|
|
69
|
+
/**
|
|
70
|
+
* Represents the initializer for the table public.cars
|
|
71
|
+
* Strict variant: optional properties are required and typed with an explicit `| undefined` instead of `?:`.
|
|
72
|
+
*/
|
|
73
|
+
export interface CarsInitializerStrict {
|
|
74
|
+
/** Default value: nextval('cars_id_seq'::regclass) */
|
|
75
|
+
id: CarsId | undefined;
|
|
76
|
+
eid: string;
|
|
77
|
+
vid: string;
|
|
78
|
+
model: string | null | undefined;
|
|
79
|
+
efficiency: number | null | undefined;
|
|
80
|
+
inserted_at: Date;
|
|
81
|
+
updated_at: Date;
|
|
82
|
+
vin: string | null | undefined;
|
|
83
|
+
name: string | null | undefined;
|
|
84
|
+
trim_badging: string | null | undefined;
|
|
85
|
+
settings_id: CarSettingsId;
|
|
86
|
+
exterior_color: string | null | undefined;
|
|
87
|
+
spoiler_type: string | null | undefined;
|
|
88
|
+
wheel_type: string | null | undefined;
|
|
89
|
+
/** Default value: 1 */
|
|
90
|
+
display_priority: number | undefined;
|
|
91
|
+
marketing_name: string | null | undefined;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Represents the mutator for the table public.cars
|
|
95
|
+
* Strict variant: optional properties are required and typed with an explicit `| undefined` instead of `?:`.
|
|
96
|
+
*/
|
|
97
|
+
export interface CarsMutatorStrict {
|
|
98
|
+
id: CarsId | undefined;
|
|
99
|
+
eid: string | undefined;
|
|
100
|
+
vid: string | undefined;
|
|
101
|
+
model: string | null | undefined;
|
|
102
|
+
efficiency: number | null | undefined;
|
|
103
|
+
inserted_at: Date | undefined;
|
|
104
|
+
updated_at: Date | undefined;
|
|
105
|
+
vin: string | null | undefined;
|
|
106
|
+
name: string | null | undefined;
|
|
107
|
+
trim_badging: string | null | undefined;
|
|
108
|
+
settings_id: CarSettingsId | undefined;
|
|
109
|
+
exterior_color: string | null | undefined;
|
|
110
|
+
spoiler_type: string | null | undefined;
|
|
111
|
+
wheel_type: string | null | undefined;
|
|
112
|
+
display_priority: number | undefined;
|
|
113
|
+
marketing_name: string | null | undefined;
|
|
114
|
+
}
|
|
115
|
+
export declare const carsKeys: KeyParams<Cars>[];
|
|
116
|
+
export declare const carsInitializerKeys: KeyParams<CarsInitializer>[];
|
|
117
|
+
export declare const carsMutatorKeys: KeyParams<CarsMutator>[];
|
|
118
|
+
//# sourceMappingURL=Cars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cars.d.ts","sourceRoot":"","sources":["../../src/public/Cars.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,sCAAsC;AACtC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B,uCAAuC;AACvC,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IAEX,GAAG,EAAE,MAAM,CAAC;IAEZ,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,WAAW,EAAE,IAAI,CAAC;IAElB,UAAU,EAAE,IAAI,CAAC;IAEjB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,WAAW,EAAE,aAAa,CAAC;IAE3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,YAAY,EAAE,MAA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