Upgrade system finished
This commit is contained in:
@@ -13,9 +13,9 @@ export declare const postalCodeParamSchema: z.ZodObject<{
|
||||
export declare const postalCodeQuerySchema: z.ZodObject<{
|
||||
refresh: z.ZodDefault<z.ZodOptional<z.ZodEnum<["true", "false"]>>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
refresh: "true" | "false";
|
||||
refresh: "false" | "true";
|
||||
}, {
|
||||
refresh?: "true" | "false" | undefined;
|
||||
refresh?: "false" | "true" | undefined;
|
||||
}>;
|
||||
export type PostalCodeParam = z.infer<typeof postalCodeParamSchema>;
|
||||
export type PostalCodeQuery = z.infer<typeof postalCodeQuerySchema>;
|
||||
|
||||
@@ -12,18 +12,18 @@ export declare const postalCodesService: {
|
||||
city: string | null;
|
||||
postalCode: string;
|
||||
province: string | null;
|
||||
lastUpdated: Date;
|
||||
centroidLat: Prisma.Decimal | null;
|
||||
centroidLng: Prisma.Decimal | null;
|
||||
lastUpdated: Date;
|
||||
}>;
|
||||
findByPostalCode(code: string): Promise<{
|
||||
id: string;
|
||||
city: string | null;
|
||||
postalCode: string;
|
||||
province: string | null;
|
||||
lastUpdated: Date;
|
||||
centroidLat: Prisma.Decimal | null;
|
||||
centroidLng: Prisma.Decimal | null;
|
||||
lastUpdated: Date;
|
||||
} | null>;
|
||||
findAll(filters: {
|
||||
page: number;
|
||||
@@ -35,9 +35,9 @@ export declare const postalCodesService: {
|
||||
city: string | null;
|
||||
postalCode: string;
|
||||
province: string | null;
|
||||
lastUpdated: Date;
|
||||
centroidLat: Prisma.Decimal | null;
|
||||
centroidLng: Prisma.Decimal | null;
|
||||
lastUpdated: Date;
|
||||
}[];
|
||||
pagination: {
|
||||
page: number;
|
||||
@@ -51,9 +51,9 @@ export declare const postalCodesService: {
|
||||
city: string | null;
|
||||
postalCode: string;
|
||||
province: string | null;
|
||||
lastUpdated: Date;
|
||||
centroidLat: Prisma.Decimal | null;
|
||||
centroidLng: Prisma.Decimal | null;
|
||||
lastUpdated: Date;
|
||||
}>;
|
||||
};
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user