@expofp/schema 3.28.2 → 3.29.0

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.
@@ -115,8 +115,9 @@ const fpSvgCommonShape = {
115
115
  /**
116
116
  * The layer's SVG document (newer layer files emit it only as the
117
117
  * `__fp<layerName>` alias; the loader folds it back here — see the module
118
- * doc). Tagged `svgAsset`: its `<image>` hrefs are `svg-images/…` asset
119
- * paths — made absolute when the payload resolves, localized when an
118
+ * doc). Tagged `svgAsset`: the URLs its `<image>`s carry — the `svg-images/…`
119
+ * hrefs, and the `data-model-3d` 3D models that stand in for them — are asset
120
+ * paths, made absolute when the payload resolves and localized when an
120
121
  * offline copy is serialized.
121
122
  */
122
123
  __fp: z.string().optional().meta({ svgAsset: true }),
@@ -7,6 +7,11 @@ export const RawPoiTypeSchema = z.looseObject({
7
7
  id: z.number(),
8
8
  name: z.string(),
9
9
  parentId: z.number().optional(),
10
- /** Icon shown for this type; overrides the built-in glyph. */
11
- iconUrl: z.string().optional(),
10
+ /**
11
+ * Icon shown for this type; overrides the built-in glyph. A resource like
12
+ * the event logo, and optional like it too: serialization (offline copies,
13
+ * normalized folders) copies the file best-effort and drops the field when
14
+ * it is missing — the built-in glyph is the fallback either way.
15
+ */
16
+ iconUrl: z.string().optional().meta({ asset: true, optionalAsset: true }),
12
17
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/schema",
3
- "version": "3.28.2",
3
+ "version": "3.29.0",
4
4
  "type": "module",
5
5
  "description": "ExpoFP SDK internal: expo data schemas and types",
6
6
  "homepage": "https://developer.expofp.com/",
@@ -25,7 +25,7 @@
25
25
  "zod": "4.4.3"
26
26
  },
27
27
  "devDependencies": {
28
- "@expofp/utils": "3.28.2"
28
+ "@expofp/utils": "3.29.0"
29
29
  },
30
30
  "files": [
31
31
  "dist",