Skip to content

EmitResult

Defined in: packages/core/src/emitter/project.ts:104

PropertyTypeDescriptionDefined in
assets?EmitAsset[]Generated raster-asset descriptors (marker pins, pattern tiles) the style’s sprite references. Core describes; the CLI rasterizes and writes them beside the style (KTD3). Absent when the document generates none.packages/core/src/emitter/project.ts:112
images?EmitImageRef[]Fetch-at-emit image refs (images:, marker icons — U6). Core describes; the CLI fetches each URL at compile time and merges the image into the document sprite next to the generated assets. Absent when the document declares none.packages/core/src/emitter/project.ts:119
placementsLayerPlacement[]Placement intent for the document’s own layers. Remarks Carried alongside the style rather than resolved into it, because before may name a layer the basemap supplies — which does not exist until the merge step. Ordering therefore resolves once, at whichever point the whole layer list is known: here when there is no basemap, at the merge otherwise.packages/core/src/emitter/project.ts:129
styleRecord<string, unknown>-packages/core/src/emitter/project.ts:105
warningsEmitWarning[]-packages/core/src/emitter/project.ts:106