@glassly/cloud-protocol 0.3.7-dev.888 → 0.3.7-dev.891
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/package.json +1 -1
- package/src/maps.ts +2 -0
package/package.json
CHANGED
package/src/maps.ts
CHANGED
|
@@ -158,6 +158,8 @@ export const placeSuggestionSchema = z.object({
|
|
|
158
158
|
mainText: z.string(),
|
|
159
159
|
/** Secondary line, e.g. "66 Mint St, San Francisco". Empty when none. */
|
|
160
160
|
secondaryText: z.string(),
|
|
161
|
+
/** Straight-line distance from `near`, when the request carried one. */
|
|
162
|
+
distanceMeters: z.number().optional(),
|
|
161
163
|
});
|
|
162
164
|
export type PlaceSuggestion = z.infer<typeof placeSuggestionSchema>;
|
|
163
165
|
|