@tileflow/dev 0.1.0-alpha.17 → 0.1.0-alpha.19
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/GENERATED_OUTPUT_LICENSE.md +21 -0
- package/LICENSE +201 -0
- package/NOTICE +9 -0
- package/README.md +398 -34
- package/THIRD_PARTY_NOTICES.md +69 -0
- package/TRADEMARKS.md +10 -0
- package/dist/artifacts.d.ts +152 -0
- package/dist/artifacts.js +62 -0
- package/dist/chunk-BALG4DSG.js +844 -0
- package/dist/chunk-BKHIZ7H2.js +287 -0
- package/dist/chunk-BL3FK4GO.js +170 -0
- package/dist/chunk-D4OE4ITL.js +13 -0
- package/dist/chunk-GWUMIHL6.js +4208 -0
- package/dist/chunk-KDFTE4Q5.js +156 -0
- package/dist/chunk-O7PE6FB2.js +1210 -0
- package/dist/chunk-OEABXOJH.js +1991 -0
- package/dist/chunk-VEB43KDS.js +670 -0
- package/dist/chunk-ZOYFZ3MT.js +801 -0
- package/dist/chunk-ZRI6PNFL.js +211 -0
- package/dist/config.d.ts +33 -0
- package/dist/config.js +27 -0
- package/dist/fonts.d.ts +47 -0
- package/dist/fonts.js +16 -0
- package/dist/icons.d.ts +136 -0
- package/dist/icons.js +17 -0
- package/dist/index.d.ts +12 -322
- package/dist/index.js +128 -2491
- package/dist/inspect.d.ts +147 -0
- package/dist/inspect.js +16 -0
- package/dist/preview-assets-6LYL7GP7.js +145 -0
- package/dist/preview.d.ts +69 -0
- package/dist/preview.js +18 -0
- package/dist/server.d.ts +77 -0
- package/dist/server.js +47 -0
- package/dist/validation.d.ts +57 -0
- package/dist/validation.js +22 -0
- package/package.json +62 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,322 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
generation: number;
|
|
14
|
-
lastGoodGeneration?: number;
|
|
15
|
-
} | {
|
|
16
|
-
status: 'ready';
|
|
17
|
-
generation: number;
|
|
18
|
-
artifacts: TileflowBuildArtifacts;
|
|
19
|
-
lastGoodGeneration: number;
|
|
20
|
-
} | {
|
|
21
|
-
status: 'invalid';
|
|
22
|
-
generation: number;
|
|
23
|
-
diagnostics: TileflowArtifactDiagnostic[];
|
|
24
|
-
lastGoodGeneration?: number;
|
|
25
|
-
};
|
|
26
|
-
type TileflowArtifactSessionOptions = TileflowBuildArtifactsOptions & {
|
|
27
|
-
debounceMs?: number;
|
|
28
|
-
ignoredPaths?: string[];
|
|
29
|
-
watch?: boolean;
|
|
30
|
-
};
|
|
31
|
-
type TileflowArtifactSession = {
|
|
32
|
-
close(): Promise<void>;
|
|
33
|
-
getLastGoodArtifacts(): TileflowBuildArtifacts | undefined;
|
|
34
|
-
getState(): TileflowArtifactSessionState;
|
|
35
|
-
refresh(reason?: string): Promise<void>;
|
|
36
|
-
subscribe(listener: (state: TileflowArtifactSessionState) => void): () => void;
|
|
37
|
-
};
|
|
38
|
-
declare function createTileflowArtifactDiagnostics(error: unknown, cwd: string): TileflowArtifactDiagnostic[];
|
|
39
|
-
|
|
40
|
-
type TileflowBuildAsset = {
|
|
41
|
-
contentType: string;
|
|
42
|
-
fileName: string;
|
|
43
|
-
source: string | Uint8Array;
|
|
44
|
-
};
|
|
45
|
-
type PreparedTileflowProject = {
|
|
46
|
-
assets: TileflowBuildAsset[];
|
|
47
|
-
project: TileflowProjectConfig;
|
|
48
|
-
watchPaths: string[];
|
|
49
|
-
};
|
|
50
|
-
type TileflowIconCompilationTarget = 'hosted' | 'local';
|
|
51
|
-
type TileflowIconCompilationIssue = {
|
|
52
|
-
message: string;
|
|
53
|
-
path: string;
|
|
54
|
-
};
|
|
55
|
-
type CompiledTileflowIconPackageFile = {
|
|
56
|
-
contentType: 'application/json' | 'image/png';
|
|
57
|
-
fileName: TileflowIconPackageFileName;
|
|
58
|
-
source: Uint8Array;
|
|
59
|
-
};
|
|
60
|
-
type CompiledTileflowIconPackage = {
|
|
61
|
-
contentHash: string;
|
|
62
|
-
files: CompiledTileflowIconPackageFile[];
|
|
63
|
-
manifest: TileflowIconPackageManifest;
|
|
64
|
-
};
|
|
65
|
-
type TileflowMapIconPackageBinding = {
|
|
66
|
-
label: string;
|
|
67
|
-
mapName: string;
|
|
68
|
-
mapping?: Record<string, string>;
|
|
69
|
-
packageHash: string;
|
|
70
|
-
};
|
|
71
|
-
type CompileTileflowIconPackagesResult = {
|
|
72
|
-
bindings: TileflowMapIconPackageBinding[];
|
|
73
|
-
packages: CompiledTileflowIconPackage[];
|
|
74
|
-
watchPaths: string[];
|
|
75
|
-
};
|
|
76
|
-
type InspectTileflowIconCatalogsOptions = {
|
|
77
|
-
cwd: string;
|
|
78
|
-
mapNames?: readonly string[];
|
|
79
|
-
};
|
|
80
|
-
type TileflowIconCatalogSourceFormat = 'jpeg' | 'png' | 'svg' | 'webp';
|
|
81
|
-
type TileflowIconCatalogMapping = {
|
|
82
|
-
iconId: string;
|
|
83
|
-
semantic: string;
|
|
84
|
-
targetStatus: 'missing' | 'present' | 'unknown';
|
|
85
|
-
};
|
|
86
|
-
type TileflowIconCatalogMappedFrom = {
|
|
87
|
-
map: string;
|
|
88
|
-
semantic: string;
|
|
89
|
-
};
|
|
90
|
-
type TileflowIconCatalogAtlasRectangle = {
|
|
91
|
-
height: number;
|
|
92
|
-
width: number;
|
|
93
|
-
x: number;
|
|
94
|
-
y: number;
|
|
95
|
-
};
|
|
96
|
-
type TileflowIconCatalogRenderedDensity = {
|
|
97
|
-
atlas: TileflowIconCatalogAtlasRectangle;
|
|
98
|
-
height: number;
|
|
99
|
-
pixelRatio: 1 | 2;
|
|
100
|
-
pixelSha256: string;
|
|
101
|
-
width: number;
|
|
102
|
-
};
|
|
103
|
-
type TileflowIconCatalogIcon = {
|
|
104
|
-
id: string;
|
|
105
|
-
mappedFrom: TileflowIconCatalogMappedFrom[];
|
|
106
|
-
rendered: {
|
|
107
|
-
oneX: TileflowIconCatalogRenderedDensity;
|
|
108
|
-
twoX: TileflowIconCatalogRenderedDensity;
|
|
109
|
-
};
|
|
110
|
-
source: {
|
|
111
|
-
byteLength: number;
|
|
112
|
-
dimensions: {
|
|
113
|
-
height: number;
|
|
114
|
-
width: number;
|
|
115
|
-
} | null;
|
|
116
|
-
format: TileflowIconCatalogSourceFormat;
|
|
117
|
-
path: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
type TileflowIconCatalog = {
|
|
121
|
-
compiledPackage: CompiledTileflowIconPackage;
|
|
122
|
-
icons: TileflowIconCatalogIcon[];
|
|
123
|
-
insideWorkingTree: boolean;
|
|
124
|
-
sourcePath: string;
|
|
125
|
-
};
|
|
126
|
-
type TileflowIconCatalogMap = {
|
|
127
|
-
name: string;
|
|
128
|
-
icons: {
|
|
129
|
-
catalogSourcePath: string;
|
|
130
|
-
kind: 'local';
|
|
131
|
-
label: string;
|
|
132
|
-
mappings: TileflowIconCatalogMapping[];
|
|
133
|
-
packageHash: string;
|
|
134
|
-
} | {
|
|
135
|
-
inspectable: false;
|
|
136
|
-
kind: 'external';
|
|
137
|
-
mappings: TileflowIconCatalogMapping[];
|
|
138
|
-
} | {
|
|
139
|
-
inspectable: false;
|
|
140
|
-
kind: 'none';
|
|
141
|
-
mappings: TileflowIconCatalogMapping[];
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
type TileflowIconCatalogInspection = {
|
|
145
|
-
catalogs: TileflowIconCatalog[];
|
|
146
|
-
maps: TileflowIconCatalogMap[];
|
|
147
|
-
};
|
|
148
|
-
declare class TileflowIconCompilationError extends Error {
|
|
149
|
-
readonly code: "ICON_INVALID";
|
|
150
|
-
readonly issues: TileflowIconCompilationIssue[];
|
|
151
|
-
readonly phase: "icon-compilation";
|
|
152
|
-
constructor(issues: TileflowIconCompilationIssue[]);
|
|
153
|
-
}
|
|
154
|
-
declare const iconFileExtensions: Set<string>;
|
|
155
|
-
declare function compileTileflowIconPackages(project: TileflowProjectConfig, options: {
|
|
156
|
-
cwd: string;
|
|
157
|
-
target: TileflowIconCompilationTarget;
|
|
158
|
-
}): Promise<CompileTileflowIconPackagesResult>;
|
|
159
|
-
declare function inspectTileflowIconCatalogs(project: TileflowProjectConfig, options: InspectTileflowIconCatalogsOptions): Promise<TileflowIconCatalogInspection>;
|
|
160
|
-
declare function prepareTileflowProjectIcons(project: TileflowProjectConfig, options: {
|
|
161
|
-
assetBaseUrl: string;
|
|
162
|
-
cwd: string;
|
|
163
|
-
}): Promise<PreparedTileflowProject>;
|
|
164
|
-
|
|
165
|
-
type TileflowFeatureInspectionOptions = {
|
|
166
|
-
center: readonly [number, number];
|
|
167
|
-
fetch?: typeof fetch;
|
|
168
|
-
height?: number;
|
|
169
|
-
limit?: number;
|
|
170
|
-
properties?: readonly string[];
|
|
171
|
-
signal?: AbortSignal;
|
|
172
|
-
sourceLayers: readonly string[];
|
|
173
|
-
tileBaseUrl?: string;
|
|
174
|
-
timeoutMs?: number;
|
|
175
|
-
width?: number;
|
|
176
|
-
zoom: number;
|
|
177
|
-
};
|
|
178
|
-
type TileflowInspectedProperty = boolean | number | string;
|
|
179
|
-
type TileflowInspectedFeature = {
|
|
180
|
-
sourceLayer: string;
|
|
181
|
-
id: number | null;
|
|
182
|
-
geometry: {
|
|
183
|
-
type: string;
|
|
184
|
-
center: [number, number];
|
|
185
|
-
bounds: [number, number, number, number];
|
|
186
|
-
};
|
|
187
|
-
properties: Record<string, TileflowInspectedProperty>;
|
|
188
|
-
};
|
|
189
|
-
type TileflowFeatureInspection = {
|
|
190
|
-
schemaVersion: 1;
|
|
191
|
-
map: string;
|
|
192
|
-
camera: {
|
|
193
|
-
center: [number, number];
|
|
194
|
-
zoom: number;
|
|
195
|
-
viewport: {
|
|
196
|
-
width: number;
|
|
197
|
-
height: number;
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
source: {
|
|
201
|
-
id: string;
|
|
202
|
-
origin: string;
|
|
203
|
-
tileJsonPath: string | null;
|
|
204
|
-
tileOrigins: string[];
|
|
205
|
-
version: string | null;
|
|
206
|
-
};
|
|
207
|
-
sourceLayers: string[];
|
|
208
|
-
properties: string[];
|
|
209
|
-
tileZoom: number;
|
|
210
|
-
tilesRead: number;
|
|
211
|
-
scannedFeatures: number;
|
|
212
|
-
truncated: boolean;
|
|
213
|
-
features: TileflowInspectedFeature[];
|
|
214
|
-
};
|
|
215
|
-
declare function inspectTileflowFeatures(project: TileflowProjectConfig, mapName: string, input: TileflowFeatureInspectionOptions): Promise<TileflowFeatureInspection>;
|
|
216
|
-
|
|
217
|
-
type TileflowStyleValidationIssue = {
|
|
218
|
-
map: string;
|
|
219
|
-
message: string;
|
|
220
|
-
path: string;
|
|
221
|
-
};
|
|
222
|
-
declare class TileflowStyleValidationError extends Error {
|
|
223
|
-
readonly code: "STYLE_INVALID";
|
|
224
|
-
readonly issues: TileflowStyleValidationIssue[];
|
|
225
|
-
readonly phase: "style-validation";
|
|
226
|
-
constructor(issues: readonly TileflowStyleValidationIssue[]);
|
|
227
|
-
}
|
|
228
|
-
declare function assertValidTileflowStyle(style: MapLibreStyle, map: string): void;
|
|
229
|
-
declare function validateTileflowStyle(style: MapLibreStyle, map: string): TileflowStyleValidationIssue[];
|
|
230
|
-
|
|
231
|
-
declare const defaultTileflowApiUrl = "https://api.tileflow.dev";
|
|
232
|
-
declare const defaultTileflowConfigPath = "tileflow.config.ts";
|
|
233
|
-
declare const defaultTileflowManifestPath = "public/tileflow/manifest.json";
|
|
234
|
-
declare const defaultTileflowTileset = "world";
|
|
235
|
-
type LoadTileflowConfigOptions = {
|
|
236
|
-
cwd?: string;
|
|
237
|
-
fresh?: boolean;
|
|
238
|
-
};
|
|
239
|
-
type TileflowManifestOptions = {
|
|
240
|
-
styleBaseUrl?: string;
|
|
241
|
-
tileBaseUrl?: string;
|
|
242
|
-
};
|
|
243
|
-
type TileflowDevRequestHandlerOptions = {
|
|
244
|
-
basePath?: string;
|
|
245
|
-
config?: string;
|
|
246
|
-
cwd?: string;
|
|
247
|
-
map?: string;
|
|
248
|
-
onError?: (error: unknown) => void;
|
|
249
|
-
scene?: string;
|
|
250
|
-
session?: TileflowArtifactSession;
|
|
251
|
-
styleBaseUrl?: string;
|
|
252
|
-
tileBaseUrl?: string;
|
|
253
|
-
};
|
|
254
|
-
type TileflowPreviewSelection = {
|
|
255
|
-
map?: string;
|
|
256
|
-
scene?: string;
|
|
257
|
-
};
|
|
258
|
-
type ResolvedTileflowPreview = {
|
|
259
|
-
camera: NormalizedTileflowCaptureScene['camera'];
|
|
260
|
-
label: string;
|
|
261
|
-
mapName: string;
|
|
262
|
-
viewport?: NormalizedTileflowCaptureScene['viewport'];
|
|
263
|
-
};
|
|
264
|
-
declare class TileflowPreviewSelectionError extends Error {
|
|
265
|
-
readonly code: "PREVIEW_SELECTION_INVALID";
|
|
266
|
-
constructor(message: string);
|
|
267
|
-
}
|
|
268
|
-
type TileflowBuildArtifactsOptions = {
|
|
269
|
-
assetBaseUrl?: string;
|
|
270
|
-
config?: string;
|
|
271
|
-
cwd?: string;
|
|
272
|
-
styleBaseUrl?: string;
|
|
273
|
-
tileBaseUrl?: string;
|
|
274
|
-
};
|
|
275
|
-
type TileflowBuildArtifacts = {
|
|
276
|
-
assets: TileflowBuildAsset[];
|
|
277
|
-
manifest: TileflowManifest;
|
|
278
|
-
project: TileflowProjectConfig;
|
|
279
|
-
styles: Record<string, MapLibreStyle>;
|
|
280
|
-
watchPaths: string[];
|
|
281
|
-
};
|
|
282
|
-
type WriteTileflowBuildArtifactsOptions = TileflowBuildArtifactsOptions & {
|
|
283
|
-
outDir: string;
|
|
284
|
-
};
|
|
285
|
-
declare class TileflowValidationError extends Error {
|
|
286
|
-
readonly code: "CONFIG_INVALID";
|
|
287
|
-
readonly messages: ValidationMessage[];
|
|
288
|
-
readonly phase: "config-validation";
|
|
289
|
-
constructor(messages: ValidationMessage[]);
|
|
290
|
-
}
|
|
291
|
-
declare function loadTileflowConfig(configPath?: string, options?: LoadTileflowConfigOptions): Promise<TileflowProjectConfig>;
|
|
292
|
-
declare function loadValidTileflowConfig(configPath?: string, options?: LoadTileflowConfigOptions): Promise<TileflowProjectConfig>;
|
|
293
|
-
declare function assertValidTileflowConfig(project: TileflowProjectConfig): void;
|
|
294
|
-
declare function asTileflowProjectConfig(input: unknown): TileflowProjectConfig;
|
|
295
|
-
declare function getTileflowMapNames(project: TileflowProjectConfig): string[];
|
|
296
|
-
declare function getFirstTileflowMapName(project: TileflowProjectConfig): string;
|
|
297
|
-
declare function resolveTileflowPreview(project: TileflowProjectConfig, selection?: TileflowPreviewSelection): ResolvedTileflowPreview;
|
|
298
|
-
declare function getTileflowStyleMapName(path: string): string;
|
|
299
|
-
declare function createTileflowManifest(project: TileflowProjectConfig, options?: TileflowManifestOptions): TileflowManifest;
|
|
300
|
-
declare function createTileflowStyle(project: TileflowProjectConfig, mapName: string, options?: TileflowStyleOptions): MapLibreStyle;
|
|
301
|
-
declare function createTileflowStyles(project: TileflowProjectConfig, options?: TileflowStyleOptions): Record<string, MapLibreStyle>;
|
|
302
|
-
declare function createTileflowBuildArtifacts(options?: TileflowBuildArtifactsOptions): Promise<TileflowBuildArtifacts>;
|
|
303
|
-
declare function createTileflowArtifactSession(options?: TileflowArtifactSessionOptions): Promise<TileflowArtifactSession>;
|
|
304
|
-
declare function getTileflowWatchPaths(options?: Pick<TileflowBuildArtifactsOptions, 'config' | 'cwd'>): Promise<string[]>;
|
|
305
|
-
declare function writeTileflowBuildArtifacts(options: WriteTileflowBuildArtifactsOptions): Promise<TileflowBuildArtifacts>;
|
|
306
|
-
declare function isTileflowRequestUrl(url: string | undefined, basePath: string): boolean;
|
|
307
|
-
declare function createTileflowNodeRequest(request: IncomingMessage): Request;
|
|
308
|
-
declare function writeTileflowNodeResponse(response: ServerResponse, tileflowResponse: Response): Promise<void>;
|
|
309
|
-
declare function joinTileflowPublicUrl(publicBase: string, basePath: string): string;
|
|
310
|
-
declare function getTileflowAssetBasePath(basePath: string): string;
|
|
311
|
-
declare function getTileflowAssetFileName(basePath: string, fileName: string): string;
|
|
312
|
-
declare function createTileflowDevRequestHandler(options?: TileflowDevRequestHandlerOptions): (request: Request) => Promise<Response>;
|
|
313
|
-
declare function createTileflowArtifactStatus(state: TileflowArtifactSessionState): {
|
|
314
|
-
diagnostics?: TileflowArtifactDiagnostic[] | undefined;
|
|
315
|
-
lastGoodGeneration?: number | undefined;
|
|
316
|
-
schemaVersion: 1;
|
|
317
|
-
generation: number;
|
|
318
|
-
status: "building" | "ready" | "invalid";
|
|
319
|
-
};
|
|
320
|
-
declare function normalizeTileflowBasePath(value?: string): string;
|
|
321
|
-
|
|
322
|
-
export { type CompileTileflowIconPackagesResult, type CompiledTileflowIconPackage, type CompiledTileflowIconPackageFile, type InspectTileflowIconCatalogsOptions, type LoadTileflowConfigOptions, type PreparedTileflowProject, type ResolvedTileflowPreview, type TileflowArtifactDiagnostic, type TileflowArtifactSession, type TileflowArtifactSessionOptions, type TileflowArtifactSessionState, type TileflowBuildArtifacts, type TileflowBuildArtifactsOptions, type TileflowBuildAsset, type TileflowDevRequestHandlerOptions, type TileflowFeatureInspection, type TileflowFeatureInspectionOptions, type TileflowIconCatalog, type TileflowIconCatalogAtlasRectangle, type TileflowIconCatalogIcon, type TileflowIconCatalogInspection, type TileflowIconCatalogMap, type TileflowIconCatalogMappedFrom, type TileflowIconCatalogMapping, type TileflowIconCatalogRenderedDensity, type TileflowIconCatalogSourceFormat, TileflowIconCompilationError, type TileflowIconCompilationIssue, type TileflowIconCompilationTarget, type TileflowInspectedFeature, type TileflowInspectedProperty, type TileflowManifestOptions, type TileflowMapIconPackageBinding, type TileflowPreviewSelection, TileflowPreviewSelectionError, TileflowStyleValidationError, type TileflowStyleValidationIssue, TileflowValidationError, type WriteTileflowBuildArtifactsOptions, asTileflowProjectConfig, assertValidTileflowConfig, assertValidTileflowStyle, compileTileflowIconPackages, createTileflowArtifactDiagnostics, createTileflowArtifactSession, createTileflowArtifactStatus, createTileflowBuildArtifacts, createTileflowDevRequestHandler, createTileflowManifest, createTileflowNodeRequest, createTileflowStyle, createTileflowStyles, defaultTileflowApiUrl, defaultTileflowConfigPath, defaultTileflowManifestPath, defaultTileflowTileset, getFirstTileflowMapName, getTileflowAssetBasePath, getTileflowAssetFileName, getTileflowMapNames, getTileflowStyleMapName, getTileflowWatchPaths, iconFileExtensions, inspectTileflowFeatures, inspectTileflowIconCatalogs, isTileflowRequestUrl, joinTileflowPublicUrl, loadTileflowConfig, loadValidTileflowConfig, normalizeTileflowBasePath, prepareTileflowProjectIcons, resolveTileflowPreview, tileflowArtifactSessionSchemaVersion, validateTileflowStyle, writeTileflowBuildArtifacts, writeTileflowNodeResponse };
|
|
1
|
+
export { CreateTileflowArtifactPlanOptions, TileflowArtifactDiagnostic, TileflowArtifactFile, TileflowArtifactInputGraph, TileflowArtifactPlan, TileflowArtifactSession, TileflowArtifactSessionOptions, TileflowArtifactSessionState, TileflowBuildArtifacts, TileflowBuildArtifactsOptions, TileflowBuildStyleInspections, TileflowHostedManifestOverwriteError, TileflowManifestOptions, WriteTileflowArtifactPlanOptions, WriteTileflowBuildArtifactsOptions, assertTileflowSelfHostedManifestTarget, createTileflowArtifactDiagnostics, createTileflowArtifactPlan, createTileflowArtifactSession, createTileflowBuildArtifacts, createTileflowBuildProvenance, createTileflowManifest, createTileflowStyle, createTileflowStyles, getTileflowArtifactFiles, getTileflowAssetBasePath, getTileflowAssetFileName, getTileflowWatchPaths, isTileflowArtifactInputPath, joinTileflowPublicUrl, normalizeTileflowBasePath, refreshTileflowArtifactSession, resolveTileflowArtifactPublicUrls, tileflowArtifactInventoryFileName, tileflowArtifactPlanSchemaVersion, tileflowArtifactSessionSchemaVersion, writeTileflowArtifactPlan, writeTileflowBuildArtifacts } from './artifacts.js';
|
|
2
|
+
export { LoadTileflowConfigOptions, LoadedTileflowConfig, TileflowValidationError, assertValidTileflowConfig, defaultTileflowApiUrl, defaultTileflowConfigPath, defaultTileflowManifestPath, getFirstTileflowMapName, getTileflowMapNames, loadTileflowConfig, loadTileflowConfigWithInputs, loadValidTileflowConfig, loadValidTileflowConfigWithInputs } from './config.js';
|
|
3
|
+
export { CompiledTileflowFontBundle, PrepareTileflowStyleFontsOptions, PreparedTileflowStyleFonts, TileflowFontCompilationError, TileflowFontCompilationIssue, TileflowFontCompilationTarget, bindTileflowStyleFontBundle, getTileflowFontWatchPaths, prepareTileflowStyleFonts, replaceTileflowStyleFontSources } from './fonts.js';
|
|
4
|
+
export { CompileTileflowIconPackagesResult, CompiledTileflowIconPackage, CompiledTileflowIconPackageFile, InspectTileflowIconCatalogsOptions, PreparedTileflowBuildCatalog, PreparedTileflowCatalog, TileflowBuildAsset, TileflowIconCatalog, TileflowIconCatalogAtlasRectangle, TileflowIconCatalogIcon, TileflowIconCatalogInspection, TileflowIconCatalogMap, TileflowIconCatalogRenderedDensity, TileflowIconCatalogSourceFormat, TileflowIconCompilationError, TileflowIconCompilationIssue, TileflowIconCompilationTarget, TileflowIconReplacement, TileflowMapIconPackageBinding, TileflowSourceCatalog, compileTileflowIconPackages, getTileflowIconWatchPaths, iconFileExtensions, inspectTileflowIconCatalogs, prepareTileflowCatalogIcons } from './icons.js';
|
|
5
|
+
export { TileflowConfigInspection, TileflowConfigInspectionError, TileflowConfigInspectionOptions, TileflowFeatureInspection, TileflowFeatureInspectionOptions, TileflowInspectedFeature, TileflowInspectedProperty, TileflowMapLineageInspection, TileflowMapMergeProvenance, TileflowResolvedMapInspection, TileflowThemeContractInspection, TileflowThemeDifferenceInspection, TileflowThemeInspection, inspectLoadedTileflowConfig, inspectTileflowConfig, inspectTileflowFeatures } from './inspect.js';
|
|
6
|
+
export { ResolvedTileflowPreview, TileflowLandmark, TileflowLandmarkArchive, TileflowLandmarkAxisConvention, TileflowLandmarkManifestV2, TileflowLandmarkModel, TileflowPreviewSelection, TileflowPreviewSelectionError, normalizeTileflowLandmarkManifest, readBoundedTileflowJsonResponse, readBoundedTileflowResponse, renderTileflowPreviewHtml, resolveTileflowPreview } from './preview.js';
|
|
7
|
+
export { TileflowComparisonMode, TileflowComparisonOptions, TileflowComparisonRequestHandler, TileflowComparisonSide, TileflowDevRequestHandlerOptions, createTileflowArtifactStatus, createTileflowComparisonRequestHandler, createTileflowDevRequestHandler, createTileflowNodeRequest, getTileflowRequestPath, getTileflowStyleInspectionSelection, getTileflowStyleSelection, isTileflowRequestUrl, tileflowComparisonSchemaVersion, writeTileflowNodeResponse } from './server.js';
|
|
8
|
+
export { TileflowCommandFailureDocument, TileflowCommandSummary, TileflowDiagnosticSeverity, TileflowStructuredDiagnostic, TileflowStyleValidationError, TileflowStyleValidationIssue, assertValidTileflowStyle, createTileflowCommandFailureDocument, createTileflowCommandSummary, createTileflowStructuredDiagnostics, serializeTileflowCommandDocument, tileflowCommandDocumentSchemaVersion, validateTileflowStyle } from './validation.js';
|
|
9
|
+
import '@tileflow/core';
|
|
10
|
+
import '@tileflow/core/build';
|
|
11
|
+
import '@tileflow/core/manifest';
|
|
12
|
+
import 'node:http';
|