@camstack/types 1.2.205 → 1.2.206
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.
|
@@ -70,7 +70,14 @@ import { z } from 'zod';
|
|
|
70
70
|
*/
|
|
71
71
|
export declare const LOCATION_ICON_IDS: readonly ["map-pin", "house", "door-open", "sofa", "utensils", "bed-double", "bath", "briefcase", "car", "circle-parking", "route", "trees", "umbrella", "waves-ladder", "fence", "package", "warehouse", "store", "sun", "radar"];
|
|
72
72
|
/** One member of {@link LOCATION_ICON_IDS}. */
|
|
73
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Inferred from the schema, not re-derived from the tuple.
|
|
75
|
+
*
|
|
76
|
+
* `(typeof LOCATION_ICON_IDS)[number]` is the same set today and is a SECOND
|
|
77
|
+
* statement of it — and a second shape does not fail loudly, it strips fields
|
|
78
|
+
* on the wire. One declaration, one truth.
|
|
79
|
+
*/
|
|
80
|
+
export type LocationIconId = z.infer<typeof LocationIconIdSchema>;
|
|
74
81
|
/**
|
|
75
82
|
* The id every surface is guaranteed to draw, and what an unrecognised value
|
|
76
83
|
* degrades to. It has been in both icon sets since before this vocabulary
|