@tileflow/search 0.0.0-bootstrap.0 → 0.1.0-alpha.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.
Files changed (2) hide show
  1. package/dist/contract.d.ts +17 -17
  2. package/package.json +2 -2
@@ -24,8 +24,8 @@ declare const geocodingForwardRequestSchema: z.ZodObject<{
24
24
  proximity: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
25
25
  query: z.ZodString;
26
26
  retention: z.ZodDefault<z.ZodEnum<{
27
- temporary: "temporary";
28
27
  persistent: "persistent";
28
+ temporary: "temporary";
29
29
  }>>;
30
30
  }, z.core.$strict>;
31
31
  declare const autocompleteRequestSchema: z.ZodObject<{
@@ -38,22 +38,22 @@ declare const autocompleteRequestSchema: z.ZodObject<{
38
38
  declare const reverseGeocodingKindSchema: z.ZodEnum<{
39
39
  address: "address";
40
40
  locality: "locality";
41
- street: "street";
42
41
  place: "place";
42
+ street: "street";
43
43
  }>;
44
44
  declare const geocodingReverseRequestSchema: z.ZodObject<{
45
45
  kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
46
46
  address: "address";
47
47
  locality: "locality";
48
- street: "street";
49
48
  place: "place";
49
+ street: "street";
50
50
  }>>>;
51
51
  language: z.ZodOptional<z.ZodString>;
52
52
  limit: z.ZodDefault<z.ZodNumber>;
53
53
  position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
54
54
  retention: z.ZodDefault<z.ZodEnum<{
55
- temporary: "temporary";
56
55
  persistent: "persistent";
56
+ temporary: "temporary";
57
57
  }>>;
58
58
  }, z.core.$strict>;
59
59
  declare const geocodingResultKinds: readonly ["address", "street", "locality", "district", "county", "region", "country", "place", "unknown"];
@@ -86,15 +86,15 @@ declare const geocodingResultSchema: z.ZodObject<{
86
86
  }, z.core.$strict>;
87
87
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
88
88
  kind: z.ZodEnum<{
89
- unknown: "unknown";
90
89
  address: "address";
91
90
  country: "country";
92
91
  county: "county";
93
92
  district: "district";
94
93
  locality: "locality";
94
+ place: "place";
95
95
  region: "region";
96
96
  street: "street";
97
- place: "place";
97
+ unknown: "unknown";
98
98
  }>;
99
99
  label: z.ZodString;
100
100
  position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
@@ -130,15 +130,15 @@ declare const geocodingForwardResponseSchema: z.ZodObject<{
130
130
  }, z.core.$strict>;
131
131
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
132
132
  kind: z.ZodEnum<{
133
- unknown: "unknown";
134
133
  address: "address";
135
134
  country: "country";
136
135
  county: "county";
137
136
  district: "district";
138
137
  locality: "locality";
138
+ place: "place";
139
139
  region: "region";
140
140
  street: "street";
141
- place: "place";
141
+ unknown: "unknown";
142
142
  }>;
143
143
  label: z.ZodString;
144
144
  position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
@@ -175,15 +175,15 @@ declare const geocodingReverseResponseSchema: z.ZodObject<{
175
175
  }, z.core.$strict>;
176
176
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
177
177
  kind: z.ZodEnum<{
178
- unknown: "unknown";
179
178
  address: "address";
180
179
  country: "country";
181
180
  county: "county";
182
181
  district: "district";
183
182
  locality: "locality";
183
+ place: "place";
184
184
  region: "region";
185
185
  street: "street";
186
- place: "place";
186
+ unknown: "unknown";
187
187
  }>;
188
188
  label: z.ZodString;
189
189
  position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
@@ -200,15 +200,15 @@ declare const geocodingReverseResponseSchema: z.ZodObject<{
200
200
  }, z.core.$strict>;
201
201
  declare const geocodingSuggestionSchema: z.ZodObject<{
202
202
  kind: z.ZodEnum<{
203
- unknown: "unknown";
204
203
  address: "address";
205
204
  country: "country";
206
205
  county: "county";
207
206
  district: "district";
208
207
  locality: "locality";
208
+ place: "place";
209
209
  region: "region";
210
210
  street: "street";
211
- place: "place";
211
+ unknown: "unknown";
212
212
  }>;
213
213
  label: z.ZodString;
214
214
  token: z.ZodString;
@@ -225,15 +225,15 @@ declare const autocompleteResponseSchema: z.ZodObject<{
225
225
  }, z.core.$strict>;
226
226
  suggestions: z.ZodArray<z.ZodObject<{
227
227
  kind: z.ZodEnum<{
228
- unknown: "unknown";
229
228
  address: "address";
230
229
  country: "country";
231
230
  county: "county";
232
231
  district: "district";
233
232
  locality: "locality";
233
+ place: "place";
234
234
  region: "region";
235
235
  street: "street";
236
- place: "place";
236
+ unknown: "unknown";
237
237
  }>;
238
238
  label: z.ZodString;
239
239
  token: z.ZodString;
@@ -241,8 +241,8 @@ declare const autocompleteResponseSchema: z.ZodObject<{
241
241
  }, z.core.$strict>;
242
242
  declare const resolveSuggestionRequestSchema: z.ZodObject<{
243
243
  retention: z.ZodDefault<z.ZodEnum<{
244
- temporary: "temporary";
245
244
  persistent: "persistent";
245
+ temporary: "temporary";
246
246
  }>>;
247
247
  token: z.ZodString;
248
248
  }, z.core.$strict>;
@@ -267,15 +267,15 @@ declare const resolveSuggestionResponseSchema: z.ZodObject<{
267
267
  }, z.core.$strict>;
268
268
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
269
269
  kind: z.ZodEnum<{
270
- unknown: "unknown";
271
270
  address: "address";
272
271
  country: "country";
273
272
  county: "county";
274
273
  district: "district";
275
274
  locality: "locality";
275
+ place: "place";
276
276
  region: "region";
277
277
  street: "street";
278
- place: "place";
278
+ unknown: "unknown";
279
279
  }>;
280
280
  label: z.ZodString;
281
281
  position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/search",
3
- "version": "0.0.0-bootstrap.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Headless geocoding and location selection client and wire contracts for Tileflow.",
6
6
  "type": "module",
@@ -51,7 +51,7 @@
51
51
  "zod": "^4.4.3"
52
52
  },
53
53
  "scripts": {
54
- "build": "tsup src/index.ts src/contract.ts src/client.ts --format esm --dts --clean --splitting",
54
+ "build": "tsup src/index.ts src/contract.ts src/client.ts --format esm --dts --clean --splitting && node ../../scripts/canonicalize-zod-enums.mjs dist",
55
55
  "verify": "pnpm run build && tsx --test test/*.test.ts",
56
56
  "typecheck": "tsc -p tsconfig.json --noEmit",
57
57
  "lint": "tsc -p tsconfig.json --noEmit"