futbol-in-core 1.0.33 → 1.0.35
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/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
export declare const coordsQuerySchema: z.ZodObject<{
|
|
3
|
+
placeId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export type CoordsQuery = z.infer<typeof coordsQuerySchema>;
|
|
6
|
+
export declare const baresAutoCompleteSchema: z.ZodObject<{
|
|
7
|
+
input: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type BaresAutoCompleteQuery = z.infer<typeof baresAutoCompleteSchema>;
|
|
10
|
+
export declare const coordsFromStringSchema: z.ZodObject<{
|
|
11
|
+
string: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type CoordsFromStringQuery = z.infer<typeof coordsFromStringSchema>;
|
|
14
|
+
export declare const searchMunicipioQuerySchema: z.ZodObject<{
|
|
15
|
+
q: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type SearchMunicipioQuery = z.infer<typeof searchMunicipioQuerySchema>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
export const coordsQuerySchema = z.object({
|
|
3
|
+
placeId: z.string().min(1, "placeId es requerido"),
|
|
4
|
+
});
|
|
5
|
+
export const baresAutoCompleteSchema = z.object({
|
|
6
|
+
input: z.string().min(1, "input es requerido"),
|
|
7
|
+
});
|
|
8
|
+
export const coordsFromStringSchema = z.object({
|
|
9
|
+
string: z.string().min(1, "string es requerido"),
|
|
10
|
+
});
|
|
11
|
+
export const searchMunicipioQuerySchema = z.object({
|
|
12
|
+
q: z.string().min(1, "q es requerido"),
|
|
13
|
+
});
|