@tileflow/core 0.1.0-alpha.33 → 0.1.0-alpha.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/README.md +14 -9
- package/THIRD_PARTY_NOTICES.md +100 -6
- package/dist/browser.d.ts +687 -162
- package/dist/browser.js +9188 -4321
- package/dist/build.d.ts +16 -4
- package/dist/build.js +1753 -525
- package/dist/capture.js +1 -0
- package/dist/config-reference.json +3144 -928
- package/dist/{icon-composition-CSnN2-Xt.d.ts → icon-composition-DSjIKmrK.d.ts} +279 -6
- package/dist/index.d.ts +302 -12
- package/dist/index.js +3237 -566
- package/dist/{manifest-types-E7m23eXL.d.ts → manifest-types-Bzxon3dx.d.ts} +68 -8
- package/dist/manifest.d.ts +2 -2
- package/dist/manifest.js +80 -2
- package/dist/native-profile.js +1 -0
- package/dist/native.d.ts +13 -3
- package/dist/native.js +714 -318
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +124 -6
- package/docs/application-tile-reading.md +3 -0
- package/docs/authoring-model.md +6 -1
- package/docs/buildings-3d.md +237 -84
- package/docs/compiled-style-performance.md +14 -3
- package/docs/data-is-separate-from-design.md +137 -5
- package/docs/native-artifact-profile.md +5 -0
- package/docs/native-resource-urls.md +5 -3
- package/docs/street-lights.md +32 -5
- package/docs/theme-transitions-and-blends.md +50 -0
- package/docs/trees-3d.md +270 -0
- package/package.json +4 -3
package/dist/build.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { T as TileflowCaptureScene, a as TileflowCaptureShot } from './capture-shot-ChPQvPyi.js';
|
|
2
|
-
import { T as TileflowRenderedIconIdentity, a as TileflowIconCompositionV1, R as ResolvedTileflowMap, b as TileflowDataRequirementsV1, c as TileflowSourceRequirementsV1, d as TileflowMap, e as TileflowStyleOptions, f as TileflowInspectedStyle, g as TileflowPreparedMapAssets } from './icon-composition-
|
|
3
|
-
export { h as TileflowDataCompatibilityIssue, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, k as TileflowDataLayerRequirement, l as TileflowObservedDataContractV1, m as TileflowStyleInspection, n as TileflowStyleInspectionContribution, o as TileflowStyleInspectionLayer, p as TileflowStyleInspectionRenderOperation, q as collectMapLineage, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, t as tileflowStyleInspectionSchemaVersion, v as validateTileflowDataCompatibility } from './icon-composition-
|
|
4
|
-
import { M as MapLibreStyle, T as TileflowRuntimeManifest } from './manifest-types-
|
|
2
|
+
import { T as TileflowRenderedIconIdentity, a as TileflowIconCompositionV1, R as ResolvedTileflowMap, b as TileflowDataRequirementsV1, c as TileflowSourceRequirementsV1, d as TileflowMap, e as TileflowStyleOptions, f as TileflowInspectedStyle, g as TileflowPreparedMapAssets } from './icon-composition-DSjIKmrK.js';
|
|
3
|
+
export { h as TileflowDataCompatibilityIssue, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, k as TileflowDataLayerRequirement, l as TileflowObservedDataContractV1, m as TileflowStyleInspection, n as TileflowStyleInspectionContribution, o as TileflowStyleInspectionLayer, p as TileflowStyleInspectionRenderOperation, q as collectMapLineage, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, t as tileflowStyleInspectionSchemaVersion, v as validateTileflowDataCompatibility } from './icon-composition-DSjIKmrK.js';
|
|
4
|
+
import { M as MapLibreStyle, f as TileflowTimeOfDayVariants, T as TileflowRuntimeManifest } from './manifest-types-Bzxon3dx.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
declare const tileflowMapRevisionSchemaVersion: 1;
|
|
@@ -23,9 +23,17 @@ type TileflowEffectiveFontSourceIdentity = {
|
|
|
23
23
|
style: 'italic' | 'normal' | 'oblique';
|
|
24
24
|
weight: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
25
25
|
};
|
|
26
|
+
/** One effective 3D model file a map declares: a level of detail, near, mid or far. */
|
|
27
|
+
type TileflowEffectiveModelSourceIdentity = {
|
|
28
|
+
id: string;
|
|
29
|
+
level: 'far' | 'mid' | 'near';
|
|
30
|
+
sha256: string;
|
|
31
|
+
};
|
|
26
32
|
type TileflowEffectiveMapSourceAssets = {
|
|
27
33
|
fonts: readonly TileflowEffectiveFontSourceIdentity[];
|
|
28
34
|
icons: readonly TileflowEffectiveIconSourceIdentity[];
|
|
35
|
+
/** The map's own 3D models; absent, as for maps without models, leaves revisions unchanged. */
|
|
36
|
+
models?: readonly TileflowEffectiveModelSourceIdentity[];
|
|
29
37
|
/** Exact ordered shared dependencies, separate from original-source history and output bytes. */
|
|
30
38
|
iconComposition?: TileflowIconCompositionV1;
|
|
31
39
|
};
|
|
@@ -79,6 +87,7 @@ type TileflowMapBuildManifestEntryV1 = {
|
|
|
79
87
|
dark: string;
|
|
80
88
|
light: string;
|
|
81
89
|
};
|
|
90
|
+
timeOfDay?: TileflowTimeOfDayVariants;
|
|
82
91
|
themes: Record<string, TileflowThemeBuildManifestEntryV1>;
|
|
83
92
|
};
|
|
84
93
|
/**
|
|
@@ -298,6 +307,7 @@ declare const tileflowRendererDeploymentArtifactSchema: z.ZodObject<{
|
|
|
298
307
|
themeId: z.ZodString;
|
|
299
308
|
themeVersion: z.ZodNumber;
|
|
300
309
|
}, z.core.$strict>>;
|
|
310
|
+
timeOfDay: z.ZodOptional<z.ZodType<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown>>>;
|
|
301
311
|
}, z.core.$strict>>;
|
|
302
312
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
303
313
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -456,6 +466,7 @@ declare const tileflowRendererDeploymentArtifactSchema: z.ZodObject<{
|
|
|
456
466
|
themeId: z.ZodString;
|
|
457
467
|
themeVersion: z.ZodNumber;
|
|
458
468
|
}, z.core.$strict>>;
|
|
469
|
+
timeOfDay: z.ZodOptional<z.ZodType<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown>>>;
|
|
459
470
|
}, z.core.$strict>>;
|
|
460
471
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
461
472
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -577,6 +588,7 @@ declare function createStylesFromCatalogWithInspection(catalog: TileflowBuildCat
|
|
|
577
588
|
}): TileflowBuildInspectedStyles;
|
|
578
589
|
declare function createManifest(catalog: TileflowBuildCatalog, options?: {
|
|
579
590
|
styleBaseUrl?: string;
|
|
591
|
+
manifestVersion?: 1 | 2;
|
|
580
592
|
}): TileflowRuntimeManifest;
|
|
581
593
|
|
|
582
|
-
export { type TileflowBuildAssetIdentity, type TileflowBuildCatalog, type TileflowBuildInspectedStyles, type TileflowBuildStyles, type TileflowCompiledMapMetadata, TileflowDataRequirementsV1, type TileflowEffectiveFontSourceIdentity, type TileflowEffectiveIconSourceIdentity, type TileflowEffectiveMapSourceAssets, type TileflowHashableBuildAsset, TileflowInspectedStyle, type TileflowMapBuildInput, type TileflowMapBuildLineageEntry, type TileflowMapBuildManifestEntryV1, type TileflowMapBuildManifestV1, type TileflowMapBuildProvenanceV1, TileflowPreparedMapAssets, type TileflowRendererDeploymentArtifact, TileflowRendererDeploymentError, type TileflowRendererDeploymentResponse, TileflowSourceRequirementsV1, type TileflowThemeBuildManifestEntryV1, collectTileflowMapBuildLineage, createManifest, createStyleFromCatalog, createStyleFromCatalogWithInspection, createStyleWithInspection, createStylesFromCatalog, createStylesFromCatalogWithInspection, createTileflowMapBuildManifest, hashTileflowAssetSet, hashTileflowAssetSetIdentities, hashTileflowMapRevision, parseTileflowRendererDeploymentArtifact, tileflowMapBuildManifestFileName, tileflowMapBuildManifestSchemaVersion, tileflowMapRevisionCanonicalization, tileflowMapRevisionSchemaVersion, tileflowRendererDeploymentArtifactSchema, tileflowRendererDeploymentLimits, tileflowRendererDeploymentResponseSchema, tileflowSharedIconMapRevisionSchemaVersion };
|
|
594
|
+
export { type TileflowBuildAssetIdentity, type TileflowBuildCatalog, type TileflowBuildInspectedStyles, type TileflowBuildStyles, type TileflowCompiledMapMetadata, TileflowDataRequirementsV1, type TileflowEffectiveFontSourceIdentity, type TileflowEffectiveIconSourceIdentity, type TileflowEffectiveMapSourceAssets, type TileflowEffectiveModelSourceIdentity, type TileflowHashableBuildAsset, TileflowInspectedStyle, type TileflowMapBuildInput, type TileflowMapBuildLineageEntry, type TileflowMapBuildManifestEntryV1, type TileflowMapBuildManifestV1, type TileflowMapBuildProvenanceV1, TileflowPreparedMapAssets, type TileflowRendererDeploymentArtifact, TileflowRendererDeploymentError, type TileflowRendererDeploymentResponse, TileflowSourceRequirementsV1, type TileflowThemeBuildManifestEntryV1, collectTileflowMapBuildLineage, createManifest, createStyleFromCatalog, createStyleFromCatalogWithInspection, createStyleWithInspection, createStylesFromCatalog, createStylesFromCatalogWithInspection, createTileflowMapBuildManifest, hashTileflowAssetSet, hashTileflowAssetSetIdentities, hashTileflowMapRevision, parseTileflowRendererDeploymentArtifact, tileflowMapBuildManifestFileName, tileflowMapBuildManifestSchemaVersion, tileflowMapRevisionCanonicalization, tileflowMapRevisionSchemaVersion, tileflowRendererDeploymentArtifactSchema, tileflowRendererDeploymentLimits, tileflowRendererDeploymentResponseSchema, tileflowSharedIconMapRevisionSchemaVersion };
|