@honua/react 0.1.0-beta.0 → 0.1.2-beta.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.
Files changed (315) hide show
  1. package/contract/discovery.d.ts +231 -0
  2. package/contract/discovery.d.ts.map +1 -0
  3. package/contract/discovery.js +554 -0
  4. package/contract/edit-sketch.d.ts +8 -0
  5. package/contract/edit-sketch.d.ts.map +1 -1
  6. package/contract/edit-sketch.js +15 -0
  7. package/contract/edit-snapping.d.ts +160 -0
  8. package/contract/edit-snapping.d.ts.map +1 -0
  9. package/contract/edit-snapping.js +675 -0
  10. package/contract/generated/projjson-v0.7-crs-validator.d.ts +35 -0
  11. package/contract/generated/projjson-v0.7-crs-validator.d.ts.map +1 -0
  12. package/contract/generated/projjson-v0.7-crs-validator.js +3941 -0
  13. package/contract/index.d.ts +11 -2
  14. package/contract/index.d.ts.map +1 -1
  15. package/contract/index.js +4 -1
  16. package/contract/pmtiles.d.ts +31 -0
  17. package/contract/pmtiles.d.ts.map +1 -1
  18. package/contract/pmtiles.js +60 -20
  19. package/contract/protocol-module.d.ts +70 -0
  20. package/contract/protocol-module.d.ts.map +1 -0
  21. package/contract/protocol-module.js +1 -0
  22. package/contract/schema-envelope.d.ts +26 -0
  23. package/contract/schema-envelope.d.ts.map +1 -0
  24. package/contract/schema-envelope.js +25 -0
  25. package/contract/schema.d.ts +582 -0
  26. package/contract/schema.d.ts.map +1 -0
  27. package/contract/schema.js +2483 -0
  28. package/contract/source-capability-support.d.ts +6 -0
  29. package/contract/source-capability-support.d.ts.map +1 -0
  30. package/contract/source-capability-support.js +154 -0
  31. package/contract/source.d.ts +35 -17
  32. package/contract/source.d.ts.map +1 -1
  33. package/contract/source.js +267 -71
  34. package/contract/types.d.ts +140 -4
  35. package/contract/types.d.ts.map +1 -1
  36. package/contract/types.js +6 -14
  37. package/core/bounded-json.d.ts +4 -0
  38. package/core/bounded-json.d.ts.map +1 -0
  39. package/core/bounded-json.js +38 -0
  40. package/core/cache-state.d.ts +9 -0
  41. package/core/cache-state.d.ts.map +1 -1
  42. package/core/cache-state.js +10 -0
  43. package/core/capabilities-xml.d.ts +33 -0
  44. package/core/capabilities-xml.d.ts.map +1 -0
  45. package/core/capabilities-xml.js +331 -0
  46. package/core/client.d.ts +4 -1
  47. package/core/client.d.ts.map +1 -1
  48. package/core/client.js +115 -29
  49. package/core/error-classifications.d.ts +153 -0
  50. package/core/error-classifications.d.ts.map +1 -0
  51. package/core/error-classifications.js +140 -0
  52. package/core/error-code-registry.d.ts +158 -0
  53. package/core/error-code-registry.d.ts.map +1 -0
  54. package/core/error-code-registry.js +143 -0
  55. package/core/error-envelope.d.ts +68 -0
  56. package/core/error-envelope.d.ts.map +1 -0
  57. package/core/error-envelope.js +357 -0
  58. package/core/errors.d.ts +45 -29
  59. package/core/errors.d.ts.map +1 -1
  60. package/core/errors.js +97 -50
  61. package/core/geoparquet-sql.d.ts +30 -2
  62. package/core/geoparquet-sql.d.ts.map +1 -1
  63. package/core/geoparquet-sql.js +38 -3
  64. package/core/odata-key-path.d.ts +12 -0
  65. package/core/odata-key-path.d.ts.map +1 -0
  66. package/core/odata-key-path.js +28 -0
  67. package/core/odata-write-codec.d.ts +66 -0
  68. package/core/odata-write-codec.d.ts.map +1 -0
  69. package/core/odata-write-codec.js +1083 -0
  70. package/core/odata.d.ts +59 -7
  71. package/core/odata.d.ts.map +1 -1
  72. package/core/odata.js +431 -99
  73. package/core/ogc-features.d.ts.map +1 -1
  74. package/core/ogc-features.js +3 -0
  75. package/core/ogc-maps.d.ts +7 -0
  76. package/core/ogc-maps.d.ts.map +1 -1
  77. package/core/ogc-maps.js +46 -7
  78. package/core/ogc-processes.d.ts +2 -1
  79. package/core/ogc-processes.d.ts.map +1 -1
  80. package/core/ogc-processes.js +33 -5
  81. package/core/ogc-records.d.ts +9 -0
  82. package/core/ogc-records.d.ts.map +1 -1
  83. package/core/ogc-records.js +78 -29
  84. package/core/ogc-tiles.d.ts +10 -1
  85. package/core/ogc-tiles.d.ts.map +1 -1
  86. package/core/ogc-tiles.js +56 -17
  87. package/core/path-utils.d.ts +9 -0
  88. package/core/path-utils.d.ts.map +1 -1
  89. package/core/path-utils.js +19 -0
  90. package/core/protocol-transport.d.ts +1 -0
  91. package/core/protocol-transport.d.ts.map +1 -1
  92. package/core/request-pipeline.d.ts.map +1 -1
  93. package/core/request-pipeline.js +1 -1
  94. package/core/spatial-filter.d.ts +8 -4
  95. package/core/spatial-filter.d.ts.map +1 -1
  96. package/core/spatial-filter.js +206 -16
  97. package/core/stac-static.d.ts +6 -2
  98. package/core/stac-static.d.ts.map +1 -1
  99. package/core/stac-static.js +260 -69
  100. package/core/surfaces.d.ts.map +1 -1
  101. package/core/surfaces.js +69 -5
  102. package/core/types.d.ts +125 -7
  103. package/core/types.d.ts.map +1 -1
  104. package/core/wfs-capabilities.d.ts +2 -0
  105. package/core/wfs-capabilities.d.ts.map +1 -1
  106. package/core/wfs-capabilities.js +8 -1
  107. package/core/wfs.d.ts.map +1 -1
  108. package/core/wfs.js +10 -0
  109. package/core/wms-capabilities.d.ts +56 -84
  110. package/core/wms-capabilities.d.ts.map +1 -1
  111. package/core/wms-capabilities.js +212 -509
  112. package/core/wmts-capabilities.d.ts +62 -62
  113. package/core/wmts-capabilities.d.ts.map +1 -1
  114. package/core/wmts-capabilities.js +224 -371
  115. package/esri-compat/editor.d.ts +8 -0
  116. package/esri-compat/editor.d.ts.map +1 -1
  117. package/esri-compat/editor.js +13 -0
  118. package/esri-compat/feature-layer.d.ts +2 -0
  119. package/esri-compat/feature-layer.d.ts.map +1 -1
  120. package/esri-compat/feature-layer.js +1 -0
  121. package/esri-compat/layer-list.d.ts +11 -0
  122. package/esri-compat/layer-list.d.ts.map +1 -1
  123. package/esri-compat/layer-list.js +49 -0
  124. package/esri-compat/legend.d.ts +10 -0
  125. package/esri-compat/legend.d.ts.map +1 -1
  126. package/esri-compat/legend.js +27 -0
  127. package/esri-compat/portal.d.ts +197 -0
  128. package/esri-compat/portal.d.ts.map +1 -0
  129. package/esri-compat/portal.js +251 -0
  130. package/esri-compat/renderer-objects.d.ts +40 -0
  131. package/esri-compat/renderer-objects.d.ts.map +1 -0
  132. package/esri-compat/renderer-objects.js +62 -0
  133. package/esri-compat/sketch.d.ts +43 -0
  134. package/esri-compat/sketch.d.ts.map +1 -1
  135. package/esri-compat/sketch.js +46 -0
  136. package/esri-compat/snapping.d.ts +43 -0
  137. package/esri-compat/snapping.d.ts.map +1 -0
  138. package/esri-compat/snapping.js +45 -0
  139. package/esri-compat/url.d.ts.map +1 -1
  140. package/esri-compat/url.js +1 -1
  141. package/esri-compat/widget-host.d.ts +84 -0
  142. package/esri-compat/widget-host.d.ts.map +1 -0
  143. package/esri-compat/widget-host.js +159 -0
  144. package/filter-registry/index.d.ts +145 -0
  145. package/filter-registry/index.d.ts.map +1 -0
  146. package/filter-registry/index.js +531 -0
  147. package/generated-app/errors.d.ts +18 -2
  148. package/generated-app/errors.d.ts.map +1 -1
  149. package/generated-app/errors.js +44 -11
  150. package/map/automatic-mount-integration.d.ts +134 -0
  151. package/map/automatic-mount-integration.d.ts.map +1 -0
  152. package/map/automatic-mount-integration.js +305 -0
  153. package/map/automatic-source-strategy.d.ts +125 -0
  154. package/map/automatic-source-strategy.d.ts.map +1 -0
  155. package/map/automatic-source-strategy.js +494 -0
  156. package/map/data-to-map-bridge.d.ts +293 -0
  157. package/map/data-to-map-bridge.d.ts.map +1 -0
  158. package/map/data-to-map-bridge.js +817 -0
  159. package/map/geojson-projection.d.ts +33 -0
  160. package/map/geojson-projection.d.ts.map +1 -0
  161. package/map/geojson-projection.js +118 -0
  162. package/map/index.d.ts +14 -0
  163. package/map/index.d.ts.map +1 -1
  164. package/map/index.js +8 -0
  165. package/map/raster-source-spec.d.ts +30 -0
  166. package/map/raster-source-spec.d.ts.map +1 -0
  167. package/map/raster-source-spec.js +190 -0
  168. package/map/raster-source-strategy.d.ts +65 -0
  169. package/map/raster-source-strategy.d.ts.map +1 -0
  170. package/map/raster-source-strategy.js +232 -0
  171. package/map/source-to-maplibre.d.ts +91 -0
  172. package/map/source-to-maplibre.d.ts.map +1 -0
  173. package/map/source-to-maplibre.js +454 -0
  174. package/map/temporal-playback.d.ts +139 -0
  175. package/map/temporal-playback.d.ts.map +1 -0
  176. package/map/temporal-playback.js +247 -0
  177. package/package.json +14 -1
  178. package/query-planner/canonical.d.ts +7 -0
  179. package/query-planner/canonical.d.ts.map +1 -0
  180. package/query-planner/canonical.js +145 -0
  181. package/query-planner/cql2-json.d.ts +17 -0
  182. package/query-planner/cql2-json.d.ts.map +1 -0
  183. package/query-planner/cql2-json.js +646 -0
  184. package/query-planner/diagnostics.d.ts +35 -0
  185. package/query-planner/diagnostics.d.ts.map +1 -0
  186. package/query-planner/diagnostics.js +373 -0
  187. package/query-planner/duckdb.d.ts +79 -0
  188. package/query-planner/duckdb.d.ts.map +1 -0
  189. package/query-planner/duckdb.js +758 -0
  190. package/query-planner/execution-context.d.ts +5 -0
  191. package/query-planner/execution-context.d.ts.map +1 -0
  192. package/query-planner/execution-context.js +50 -0
  193. package/query-planner/executor.d.ts +5 -0
  194. package/query-planner/executor.d.ts.map +1 -0
  195. package/query-planner/executor.js +223 -0
  196. package/query-planner/geoservices.d.ts +91 -0
  197. package/query-planner/geoservices.d.ts.map +1 -0
  198. package/query-planner/geoservices.js +667 -0
  199. package/query-planner/grpc.d.ts +100 -0
  200. package/query-planner/grpc.d.ts.map +1 -0
  201. package/query-planner/grpc.js +736 -0
  202. package/query-planner/index.d.ts +44 -0
  203. package/query-planner/index.d.ts.map +1 -0
  204. package/query-planner/index.js +30 -0
  205. package/query-planner/ir.d.ts +20 -0
  206. package/query-planner/ir.d.ts.map +1 -0
  207. package/query-planner/ir.js +417 -0
  208. package/query-planner/local-aggregate.d.ts +5 -0
  209. package/query-planner/local-aggregate.d.ts.map +1 -0
  210. package/query-planner/local-aggregate.js +126 -0
  211. package/query-planner/odata.d.ts +48 -0
  212. package/query-planner/odata.d.ts.map +1 -0
  213. package/query-planner/odata.js +662 -0
  214. package/query-planner/ogc-compiler.d.ts +55 -0
  215. package/query-planner/ogc-compiler.d.ts.map +1 -0
  216. package/query-planner/ogc-compiler.js +480 -0
  217. package/query-planner/ogc-features.d.ts +53 -0
  218. package/query-planner/ogc-features.d.ts.map +1 -0
  219. package/query-planner/ogc-features.js +617 -0
  220. package/query-planner/planner.d.ts +17 -0
  221. package/query-planner/planner.d.ts.map +1 -0
  222. package/query-planner/planner.js +818 -0
  223. package/query-planner/resource.d.ts +94 -0
  224. package/query-planner/resource.d.ts.map +1 -0
  225. package/query-planner/resource.js +526 -0
  226. package/query-planner/semantic-canonical.d.ts +15 -0
  227. package/query-planner/semantic-canonical.d.ts.map +1 -0
  228. package/query-planner/semantic-canonical.js +62 -0
  229. package/query-planner/semantic-compat.d.ts +10 -0
  230. package/query-planner/semantic-compat.d.ts.map +1 -0
  231. package/query-planner/semantic-compat.js +35 -0
  232. package/query-planner/semantic-compiler.d.ts +64 -0
  233. package/query-planner/semantic-compiler.d.ts.map +1 -0
  234. package/query-planner/semantic-compiler.js +81 -0
  235. package/query-planner/semantic-literals.d.ts +30 -0
  236. package/query-planner/semantic-literals.d.ts.map +1 -0
  237. package/query-planner/semantic-literals.js +133 -0
  238. package/query-planner/semantic-types.d.ts +265 -0
  239. package/query-planner/semantic-types.d.ts.map +1 -0
  240. package/query-planner/semantic-types.js +1 -0
  241. package/query-planner/semantic.d.ts +54 -0
  242. package/query-planner/semantic.d.ts.map +1 -0
  243. package/query-planner/semantic.js +1421 -0
  244. package/query-planner/types.d.ts +560 -0
  245. package/query-planner/types.d.ts.map +1 -0
  246. package/query-planner/types.js +49 -0
  247. package/query-planner/wfs-semantic.d.ts +58 -0
  248. package/query-planner/wfs-semantic.d.ts.map +1 -0
  249. package/query-planner/wfs-semantic.js +547 -0
  250. package/query-planner/wfs.d.ts +6 -0
  251. package/query-planner/wfs.d.ts.map +1 -0
  252. package/query-planner/wfs.js +71 -0
  253. package/react/external-map.d.ts +67 -0
  254. package/react/external-map.d.ts.map +1 -0
  255. package/react/external-map.js +63 -0
  256. package/react/honua-map.d.ts.map +1 -1
  257. package/react/honua-map.js +3 -2
  258. package/react/honua-source-layer.d.ts +110 -0
  259. package/react/honua-source-layer.d.ts.map +1 -0
  260. package/react/honua-source-layer.js +101 -0
  261. package/react/hooks.d.ts +28 -0
  262. package/react/hooks.d.ts.map +1 -1
  263. package/react/hooks.js +26 -4
  264. package/react/index.d.ts +8 -0
  265. package/react/index.d.ts.map +1 -1
  266. package/react/index.js +5 -0
  267. package/react/query-cache.d.ts +26 -4
  268. package/react/query-cache.d.ts.map +1 -1
  269. package/react/query-cache.js +51 -8
  270. package/react/selection.d.ts +177 -0
  271. package/react/selection.d.ts.map +1 -0
  272. package/react/selection.js +0 -0
  273. package/react/use-mounted-source.d.ts +69 -0
  274. package/react/use-mounted-source.d.ts.map +1 -0
  275. package/react/use-mounted-source.js +346 -0
  276. package/runtime/edit-snapping.d.ts +107 -0
  277. package/runtime/edit-snapping.d.ts.map +1 -0
  278. package/runtime/edit-snapping.js +190 -0
  279. package/runtime/errors.d.ts +3 -2
  280. package/runtime/errors.d.ts.map +1 -1
  281. package/runtime/errors.js +19 -2
  282. package/runtime/index.d.ts +6 -0
  283. package/runtime/index.d.ts.map +1 -1
  284. package/runtime/index.js +3 -0
  285. package/runtime/maplibre-renderer.d.ts +41 -0
  286. package/runtime/maplibre-renderer.d.ts.map +1 -0
  287. package/runtime/maplibre-renderer.js +322 -0
  288. package/runtime/query-tiles.d.ts +2 -1
  289. package/runtime/query-tiles.d.ts.map +1 -1
  290. package/runtime/query-tiles.js +6 -2
  291. package/runtime/source-bridge.d.ts +4 -4
  292. package/runtime/source-bridge.d.ts.map +1 -1
  293. package/runtime/source-bridge.js +9 -56
  294. package/runtime/style-interactions.d.ts +3 -2
  295. package/runtime/style-interactions.d.ts.map +1 -1
  296. package/runtime/style-interactions.js +11 -3
  297. package/runtime/terra-draw-sketch.d.ts +275 -0
  298. package/runtime/terra-draw-sketch.d.ts.map +1 -0
  299. package/runtime/terra-draw-sketch.js +404 -0
  300. package/source-capability-registry.d.ts +1 -0
  301. package/source-capability-registry.js +1 -0
  302. package/source-capability-types.d.ts +186 -0
  303. package/source-capability-types.js +7 -0
  304. package/style/index.d.ts +2 -0
  305. package/style/index.d.ts.map +1 -1
  306. package/style/index.js +2 -0
  307. package/style/renderers.d.ts +326 -0
  308. package/style/renderers.d.ts.map +1 -0
  309. package/style/renderers.js +517 -0
  310. package/webmap/convert-renderer.d.ts +24 -3
  311. package/webmap/convert-renderer.d.ts.map +1 -1
  312. package/webmap/convert-renderer.js +93 -112
  313. package/webmap/index.d.ts +1 -1
  314. package/webmap/index.d.ts.map +1 -1
  315. package/webmap/index.js +1 -1
@@ -39,25 +39,34 @@
39
39
  *
40
40
  * @packageDocumentation
41
41
  */
42
- export type { AdapterFor, AdapterKind, AdapterTypeMap, AggregationFn, AggregationHistogramBucketAliases, AggregationHistogramBucketSpec, AggregationMetric, AggregationSpec, AggregationTimeIntervalSpec, AggregationTimeIntervalUnit, AggregationTimeSeriesAliases, AggregationTimeSeriesSpec, AttachmentAdd, AttachmentApi, AttachmentDelete, AttachmentEditOutcome, AttachmentGroup, AttachmentInfo, AttachmentQuery, AttachmentUpdate, CanonicalFeature, Capabilities, Capability, CapabilityPolicy, CreateDatasetOptions, Dataset, DatasetId, DegradedReason, EditEnvelope, EditOutcome, EditResult, FeatureId, MapBinding, PaginationSpec, Protocol, Query, RelatedGroup, RelatedQuery, RelatedResult, ResolveSourceContext, Result, SortSpec, Source, SourceAnalyticsCapabilities, SourceDescriptor, SourceFreshnessContract, SourceHistogramCapabilityMetadata, SourceId, SourceLocator, SourceResolver, SourceSchema, SourceTimeSeriesCapabilityMetadata, } from "./types.js";
42
+ export type { AdapterFor, AdapterKind, AdapterTypeMap, AggregationFn, AggregationHistogramBucketAliases, AggregationHistogramBucketSpec, AggregationMetric, AggregationSpec, AggregationTimeIntervalSpec, AggregationTimeIntervalUnit, AggregationTimeSeriesAliases, AggregationTimeSeriesSpec, AttachmentAdd, AttachmentApi, AttachmentDelete, AttachmentEditOutcome, AttachmentGroup, AttachmentInfo, AttachmentQuery, AttachmentUpdate, CanonicalFeature, Capabilities, CapabilityAwareSource, Capability, CapabilityPolicy, CreateDatasetOptions, Dataset, DatasetId, DegradedReason, EditEnvelope, EditOutcome, EditResult, FeatureId, MapBinding, PaginationSpec, Protocol, Query, RasterRequestBinding, RelatedGroup, RelatedQuery, RelatedResult, ResolveSourceContext, Result, SortSpec, Source, SourceWithCapability, SourceAnalyticsCapabilities, SourceDescriptor, SourceFreshnessContract, SourceHistogramCapabilityMetadata, SourceId, SourceLocator, SourceResolver, SourceSchema, SourceTimeSeriesCapabilityMetadata, } from "./types.js";
43
43
  export type { SpatialAggregationCacheMetadata, SpatialAggregationCategoryBucket, SpatialAggregationCategorySummarySpec, SpatialAggregationCategoryValue, SpatialAggregationCell, SpatialAggregationCellGeometry, SpatialAggregationContractFixture, SpatialAggregationCountSummarySpec, SpatialAggregationCountValue, SpatialAggregationDomainValue, SpatialAggregationGroupByMetadata, SpatialAggregationGroupBySpec, SpatialAggregationGroupedSummary, SpatialAggregationHistogramBucket, SpatialAggregationHistogramSummarySpec, SpatialAggregationHistogramValue, SpatialAggregationInclude, SpatialAggregationIndexModelMetadata, SpatialAggregationIndexCoverageMetadata, SpatialAggregationIndexSelection, SpatialAggregationIndexState, SpatialAggregationMetadata, SpatialAggregationMetricKind, SpatialAggregationMetricSummarySpec, SpatialAggregationMetricValue, SpatialAggregationPageInfo, SpatialAggregationPageRequest, SpatialAggregationProgressRefinement, SpatialAggregationProgressStatus, SpatialAggregationProgressiveState, SpatialAggregationRangeBucketSpec, SpatialAggregationRangeBucketValue, SpatialAggregationRangeSummarySpec, SpatialAggregationRangeValue, SpatialAggregationRequest, SpatialAggregationResolutionInput, SpatialAggregationResult, SpatialAggregationResolvedWidgetSummary, SpatialAggregationSummaryBag, SpatialAggregationSummaryBase, SpatialAggregationSummaryKind, SpatialAggregationSummaryMetadata, SpatialAggregationSummarySpec, SpatialAggregationSummaryValue, SpatialAggregationValidationIssue, SpatialAggregationValueType, SpatialAggregationViewport, SpatialAggregationWidgetKind, SpatialAggregationWidgetMetadata, SpatialAggregationWidgetSummarySource, } from "./spatial-aggregation.js";
44
44
  export { CAPABILITIES, PROTOCOL_DEFAULT_CAPABILITIES, PROTOCOLS, capabilities, intersectCapabilities, unionCapabilities, } from "./types.js";
45
+ export type { SourceSchemaV2Envelope } from "./schema-envelope.js";
46
+ export { HONUA_DISCOVERY_ADAPTER_VERSION, HONUA_DISCOVERY_PROJECTION_VERSION, createDiscoveryCacheIdentity, inspectDiscoveredSource, normalizeDiscoveryEndpoint, resolveDiscoveryCapabilities, } from "./discovery.js";
47
+ export type { DiscoveryCacheIdentity, DiscoveryCacheIdentityOptions, DiscoveryCacheResourceIdentity, DiscoveryAxisOrderMetadata, DiscoveryCapabilityDecision, DiscoveryCapabilityDecisionCode, DiscoveryCapabilityEvidence, DiscoveryCapabilityEvidenceSummary, DiscoveryCapabilityPolicy, DiscoveryCapabilityResolution, DiscoveryDiagnostic, DiscoveryDiagnosticCode, DiscoveryDimensionMetadata, DiscoveryEvidenceKind, DiscoveryOperationMetadata, DiscoveryProvenance, DiscoverySourceMetadata, DiscoveryState, DiscoveryStyleMetadata, DiscoveryTileMatrixMetadata, DiscoveryTileMatrixSetMetadata, SourceDiscoveryInspection, } from "./discovery.js";
48
+ export { HonuaDiscoveryError } from "../core/errors.js";
49
+ export type { HonuaDiscoveryErrorCode } from "../core/errors.js";
45
50
  export { ANALYTICS_SOURCE_SCHEMA_VERSION, analyticsSourceDegradedReason, analyticsSourceId, assessAnalyticsSourcePushdown, buildAnalyticsSourceCacheKey, defineIndexedSpatialSource, defineWarehouseQuerySource, defineWarehouseTableSource, defineWarehouseTilesetSource, isAnalyticsSourceDescriptor, normalizeAnalyticsSourceDescriptor, } from "./analytics-sources.js";
46
51
  export type { AnalyticsIndexCoverageDescriptor, AnalyticsIndexCoverageKind, AnalyticsIndexDescriptor, AnalyticsIndexHierarchy, AnalyticsSourceCacheIdentity, AnalyticsSourceCacheKeyOptions, AnalyticsSourceCachePolicy, AnalyticsSourceCapabilityMetadata, AnalyticsSourceDescriptor, AnalyticsSourceDescriptorBase, AnalyticsSourceFallbackMode, AnalyticsSourceFallbackPolicy, AnalyticsSourceKind, AnalyticsSourceProtocolEscapeHatch, AnalyticsSourcePushdownAssessment, AnalyticsSourcePushdownCapability, AnalyticsSourceRelationDescriptor, AnalyticsSourceSchemaVersion, AnalyticsSourceSqlDescriptor, AnalyticsSourceTilesetDescriptor, AnalyticsWarehouseProvider, IndexedSpatialSourceDescriptor, WarehouseQuerySourceDescriptor, WarehouseTableSourceDescriptor, WarehouseTilesetSourceDescriptor, } from "./analytics-sources.js";
47
52
  export type { WidgetCategoriesRequest, WidgetCategoriesResult, WidgetCategoryBucket, WidgetCountRequest, WidgetCountResult, WidgetFormulaRequest, WidgetFormulaResult, WidgetHistogramBin, WidgetHistogramRequest, WidgetHistogramResult, WidgetRangeRequest, WidgetRangeResult, WidgetSource, WidgetSourceCacheHints, WidgetSourceCacheMetadata, WidgetSourceExecutionMode, WidgetSourceFilterClause, WidgetSourceFreshnessContract, WidgetSourceModelKind, WidgetSourceOptions, WidgetSourceOrderBy, WidgetSourceProjection, WidgetSourceRequestBase, WidgetSourceResponseBase, WidgetSourceSchemaVersion, WidgetSourceValue, WidgetTimeSeriesBucket, WidgetTimeSeriesInterval, WidgetTimeSeriesIntervalUnit, WidgetTimeSeriesRequest, WidgetTimeSeriesResult, WidgetTopValueBucket, WidgetTopValuesRequest, WidgetTopValuesResult, } from "./widget-source.js";
48
53
  export { WIDGET_SOURCE_SCHEMA_VERSION, createWidgetSource, widgetSource } from "./widget-source.js";
49
54
  export { EditWorkflowSession, createEditSession, normalizeEditWorkflowFailures } from "./edit-session.js";
50
55
  export type { CreateEditSessionOptions, EditAttachmentMutation, EditAttachmentMutationOutcome, EditFieldDomain, EditFieldDomainCodedValue, EditWorkflowCapabilityState, EditWorkflowCapabilitySummary, EditWorkflowConflictInfo, EditWorkflowConflictState, EditWorkflowFailure, EditWorkflowFailureKind, EditWorkflowField, EditWorkflowKind, EditWorkflowMetadata, EditWorkflowMetadataOptions, EditWorkflowOperation, EditWorkflowOptimisticHooks, EditWorkflowRelationship, EditWorkflowSnapshot, EditWorkflowStatus, EditWorkflowSubmitResult, EditWorkflowValidationError, EditWorkflowValidationResult, NormalizeEditWorkflowFailuresOptions, } from "./edit-session.js";
56
+ export { DEFAULT_SNAPPING_CONFIG, SnapIndex, compareSnapCandidates, createSnapIndex, createSnapIndexEditSessionHooks, resolveSnapCandidate, resolveSnappingConfig, withSnappedActiveVertex, } from "./edit-snapping.js";
57
+ export type { SnapCandidate, SnapCandidateKind, SnapIndexEditSessionHookOptions, SnapIndexFeatureInput, SnapIndexStats, SnapPosition, SnapProjection, SnapQueryInput, SnapResolution, SnapScreenPoint, SnapSourceOptions, SnappingConfig, } from "./edit-snapping.js";
51
58
  export { EditSketchWorkflowModel, createEditSketchWorkflow } from "./edit-sketch.js";
52
59
  export type { EditAnnotationPersistenceHook, EditAnnotationPersistenceSnapshot, EditAnnotationPersistenceState, EditSketchCapabilityState, EditSketchStatus, EditSketchTool, EditSketchToolCapability, EditSketchToolCapabilityInput, EditSketchUndoSnapshot, EditSketchWorkflowOptions, EditSketchWorkflowSnapshot, } from "./edit-sketch.js";
53
60
  export { FEATURE_SERVER_H3_SPATIAL_AGGREGATION_INDEX_MODEL_ID, SPATIAL_AGGREGATION_CAPABILITY, SPATIAL_AGGREGATION_METADATA_SCHEMA_VERSION, SPATIAL_AGGREGATION_SCHEMA_VERSION, assertFeatureServerH3SpatialAggregationRequest, assertValidSpatialAggregationRequest, isSpatialAggregationComplete, resolveSpatialAggregationWidgetSummary, spatialAggregationProgress, spatialAggregationSummaryKindSupportedByFeatureServerH3, spatialAggregationSummaryKindRequiresField, spatialAggregationWidgets, validateFeatureServerH3SpatialAggregationRequest, validateSpatialAggregationRequest, } from "./spatial-aggregation.js";
54
61
  export { QUERY_TILE_SERVER_CONTRACT_VERSION, QUERY_TILE_SERVER_FEATURE_DETAIL_ROUTE_TEMPLATE, QUERY_TILE_SERVER_RESPONSE_HEADERS, QUERY_TILE_SERVER_ROUTE_PREFIX, QUERY_TILE_SERVER_SOURCE_ROUTE_TEMPLATE, QUERY_TILE_SERVER_TILEJSON_ROUTE_TEMPLATE, QUERY_TILE_SERVER_TILE_ROUTE_TEMPLATE, buildQueryTileCacheKey, buildQueryTileFeatureDetailQuery, buildQueryTileServerPath, buildQueryTileServerUrl, defineQueryTileSource, loadQueryTileFeatureDetail, mapQueryTileFeatureIdentity, normalizeQueryTileKey, normalizeQueryTileSourceDescriptor, parseQueryTileFeatureDetailResponse, parseQueryTileJson, parseQueryTileServerErrorResponse, queryTileServerRequestParamsFromDescriptor, queryTileKeyString, stableJson, } from "./tiles.js";
55
62
  export type { DefineQueryTileSourceOptions, QueryTileCacheIdentityDescriptor, QueryTileCacheKeyOptions, QueryTileCachePolicy, QueryTileEndpointDescriptor, QueryTileFallbackMode, QueryTileFallbackPolicy, QueryTileFeatureDetailOptions, QueryTileFeatureIdentityContext, QueryTileFeatureIdentityDescriptor, QueryTileFeatureIdentityMapper, QueryTileFeatureIdentityTarget, QueryTileFormat, QueryTileFeatureDetailResponse, QueryTileJson, QueryTileJsonVectorLayer, QueryTileKey, QueryTileKeyInput, QueryTileProjectionDescriptor, QueryTileScheme, QueryTileServerCachePolicyDescriptor, QueryTileServerCacheValidators, QueryTileServerContractFixture, QueryTileServerDegradation, QueryTileServerDegradationCode, QueryTileServerDegradationSeverity, QueryTileServerError, QueryTileServerErrorCode, QueryTileServerErrorResponse, QueryTileServerFeatureIdentityDescriptor, QueryTileServerLimitDescriptor, QueryTileServerRequestParameters, QueryTileServerRouteKind, QueryTileServerRouteOptions, QueryTileServerTileJsonMetadata, QueryTileSpatialReference, QueryTileSpatialReferenceDescriptor, QueryTileExtentDescriptor, QueryTileSourceDescriptor, } from "./tiles.js";
56
63
  export { ALL_CAPABILITIES, FIRST_PARTY_PROTOCOLS, createDataset, geoServicesFeatureSource, geoServicesGPServiceSource, geoServicesGeometryServiceSource, geoServicesImageSource, geoServicesMapServiceSource, odataSource, ogcFeaturesSource, ogcTilesSource, ogcMapsSource, ogcRecordsSource, stacSearchSource, wfsSource, wmsSource, wmtsSource, } from "./source.js";
64
+ export type { OdataSourceOptions, OdataWriteEncoding } from "./source.js";
57
65
  export type { IJobRun, JobError, JobProgress, JobResult, JobResultsOptions, JobSnapshot, JobSnapshotListener, JobStatus, } from "./jobs.js";
58
66
  export { HonuaJobPollTimeoutError, isJobTerminal } from "./jobs.js";
59
- export { HonuaPmtilesArchive, describePmtilesArchive, stripPmtilesScheme, toPmtilesSourceUrl } from "./pmtiles.js";
67
+ export { HonuaPmtilesArchive, describePmtilesArchive, pmtilesProtocolModule, stripPmtilesScheme, toPmtilesSourceUrl, } from "./pmtiles.js";
60
68
  export type { DescribePmtilesArchiveDeps, PmtilesArchiveDescription, PmtilesArchiveLike, PmtilesHeaderLike, PmtilesModuleLike, PmtilesRangeResponse, PmtilesSourceLike, PmtilesTileKind, PmtilesVectorLayerInfo, } from "./pmtiles.js";
69
+ export type { ProtocolModule, ProtocolModuleDiagnostic, ProtocolModuleDiscoverOptions, ProtocolModuleEnvironment, ProtocolModuleHandle, } from "./protocol-module.js";
61
70
  export { TEMPORAL_CAPABILITY, TEMPORAL_ROUTE_PREFIX, TEMPORAL_ROUTES, TEMPORAL_SCHEMA_VERSION, assertValidTemporalRollbackPlanRequest, createTemporalClient, isReadOnlyTemporalHistory, temporalModeSupports, validateTemporalRollbackPlanRequest, } from "./temporal.js";
62
71
  export type { TemporalAsOfRequest, TemporalAttributeChange, TemporalCheckpoint, TemporalChangeSet, TemporalChangeSetOperationKind, TemporalClient, TemporalClientCallOptions, TemporalContractFixture, TemporalCursor, TemporalCursorType, TemporalDiff, TemporalDiffRequest, TemporalDiffStatus, TemporalDiffSummary, TemporalError, TemporalErrorCode, TemporalFeatureChangeType, TemporalFeatureDiff, TemporalFeatureTimeline, TemporalFeatureTimelineRequest, TemporalFilter, TemporalGeometryChange, TemporalHistoryModel, TemporalJobRef, TemporalMode, TemporalRequestClient, TemporalRevision, TemporalRevisionOperation, TemporalRiskLevel, TemporalRollbackExecuteRequest, TemporalRollbackMode, TemporalRollbackOperation, TemporalRollbackPlan, TemporalRollbackPlanRequest, TemporalRollbackScope, TemporalRollbackStatus, TemporalSourceCapability, TemporalValidationIssue, } from "./temporal.js";
63
72
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contract/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,YAAY,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,aAAa,EACb,iCAAiC,EACjC,8BAA8B,EAC9B,iBAAiB,EACjB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,OAAO,EACP,SAAS,EACT,cAAc,EACd,YAAY,EACZ,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,cAAc,EACd,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,QAAQ,EACR,MAAM,EACN,2BAA2B,EAC3B,gBAAgB,EAChB,uBAAuB,EACvB,iCAAiC,EACjC,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACZ,kCAAkC,GACnC,MAAM,YAAY,CAA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ACpC,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,8BAA8B,EAC9B,cAAc,EACd,yBAAyB,EACzB,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC9B,cAAc,EACd,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,iBAAiB,EACjB,8BAA8B,EAC9B,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contract/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,YAAY,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,aAAa,EACb,iCAAiC,EACjC,8BAA8B,EAC9B,iBAAiB,EACjB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,OAAO,EACP,SAAS,EACT,cAAc,EACd,YAAY,EACZ,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,cAAc,EACd,QAAQ,EACR,KAAK,EACL,oBAAoB,EACpB,YAAY,EACZ,YAAY,E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M,sBAAsB,CAAC;AAE9B,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,uBAAuB,EACvB,sCAAsC,EACtC,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,mCAAmC,GACpC,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,8BAA8B,EAC9B,cAAc,EACd,yBAAyB,EACzB,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC9B,cAAc,EACd,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,iBAAiB,EACjB,8BAA8B,EAC9B,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,eAAe,CAAC"}
package/contract/index.js CHANGED
@@ -40,13 +40,16 @@
40
40
  * @packageDocumentation
41
41
  */
42
42
  export { CAPABILITIES, PROTOCOL_DEFAULT_CAPABILITIES, PROTOCOLS, capabilities, intersectCapabilities, unionCapabilities, } from "./types.js";
43
+ export { HONUA_DISCOVERY_ADAPTER_VERSION, HONUA_DISCOVERY_PROJECTION_VERSION, createDiscoveryCacheIdentity, inspectDiscoveredSource, normalizeDiscoveryEndpoint, resolveDiscoveryCapabilities, } from "./discovery.js";
44
+ export { HonuaDiscoveryError } from "../core/errors.js";
43
45
  export { ANALYTICS_SOURCE_SCHEMA_VERSION, analyticsSourceDegradedReason, analyticsSourceId, assessAnalyticsSourcePushdown, buildAnalyticsSourceCacheKey, defineIndexedSpatialSource, defineWarehouseQuerySource, defineWarehouseTableSource, defineWarehouseTilesetSource, isAnalyticsSourceDescriptor, normalizeAnalyticsSourceDescriptor, } from "./analytics-sources.js";
44
46
  export { WIDGET_SOURCE_SCHEMA_VERSION, createWidgetSource, widgetSource } from "./widget-source.js";
45
47
  export { EditWorkflowSession, createEditSession, normalizeEditWorkflowFailures } from "./edit-session.js";
48
+ export { DEFAULT_SNAPPING_CONFIG, SnapIndex, compareSnapCandidates, createSnapIndex, createSnapIndexEditSessionHooks, resolveSnapCandidate, resolveSnappingConfig, withSnappedActiveVertex, } from "./edit-snapping.js";
46
49
  export { EditSketchWorkflowModel, createEditSketchWorkflow } from "./edit-sketch.js";
47
50
  export { FEATURE_SERVER_H3_SPATIAL_AGGREGATION_INDEX_MODEL_ID, SPATIAL_AGGREGATION_CAPABILITY, SPATIAL_AGGREGATION_METADATA_SCHEMA_VERSION, SPATIAL_AGGREGATION_SCHEMA_VERSION, assertFeatureServerH3SpatialAggregationRequest, assertValidSpatialAggregationRequest, isSpatialAggregationComplete, resolveSpatialAggregationWidgetSummary, spatialAggregationProgress, spatialAggregationSummaryKindSupportedByFeatureServerH3, spatialAggregationSummaryKindRequiresField, spatialAggregationWidgets, validateFeatureServerH3SpatialAggregationRequest, validateSpatialAggregationRequest, } from "./spatial-aggregation.js";
48
51
  export { QUERY_TILE_SERVER_CONTRACT_VERSION, QUERY_TILE_SERVER_FEATURE_DETAIL_ROUTE_TEMPLATE, QUERY_TILE_SERVER_RESPONSE_HEADERS, QUERY_TILE_SERVER_ROUTE_PREFIX, QUERY_TILE_SERVER_SOURCE_ROUTE_TEMPLATE, QUERY_TILE_SERVER_TILEJSON_ROUTE_TEMPLATE, QUERY_TILE_SERVER_TILE_ROUTE_TEMPLATE, buildQueryTileCacheKey, buildQueryTileFeatureDetailQuery, buildQueryTileServerPath, buildQueryTileServerUrl, defineQueryTileSource, loadQueryTileFeatureDetail, mapQueryTileFeatureIdentity, normalizeQueryTileKey, normalizeQueryTileSourceDescriptor, parseQueryTileFeatureDetailResponse, parseQueryTileJson, parseQueryTileServerErrorResponse, queryTileServerRequestParamsFromDescriptor, queryTileKeyString, stableJson, } from "./tiles.js";
49
52
  export { ALL_CAPABILITIES, FIRST_PARTY_PROTOCOLS, createDataset, geoServicesFeatureSource, geoServicesGPServiceSource, geoServicesGeometryServiceSource, geoServicesImageSource, geoServicesMapServiceSource, odataSource, ogcFeaturesSource, ogcTilesSource, ogcMapsSource, ogcRecordsSource, stacSearchSource, wfsSource, wmsSource, wmtsSource, } from "./source.js";
50
53
  export { HonuaJobPollTimeoutError, isJobTerminal } from "./jobs.js";
51
- export { HonuaPmtilesArchive, describePmtilesArchive, stripPmtilesScheme, toPmtilesSourceUrl } from "./pmtiles.js";
54
+ export { HonuaPmtilesArchive, describePmtilesArchive, pmtilesProtocolModule, stripPmtilesScheme, toPmtilesSourceUrl, } from "./pmtiles.js";
52
55
  export { TEMPORAL_CAPABILITY, TEMPORAL_ROUTE_PREFIX, TEMPORAL_ROUTES, TEMPORAL_SCHEMA_VERSION, assertValidTemporalRollbackPlanRequest, createTemporalClient, isReadOnlyTemporalHistory, temporalModeSupports, validateTemporalRollbackPlanRequest, } from "./temporal.js";
@@ -18,6 +18,7 @@
18
18
  *
19
19
  * @module
20
20
  */
21
+ import type { ProtocolModule } from "./protocol-module.js";
21
22
  /**
22
23
  * Canonical tile-payload kinds a PMTiles archive can store. `mvt` is a vector
23
24
  * archive (Mapbox Vector Tiles); the rest are raster encodings. `unknown`
@@ -159,4 +160,34 @@ export declare function stripPmtilesScheme(url: string): string;
159
160
  * MapLibre source `url` from a plain archive locator.
160
161
  */
161
162
  export declare function toPmtilesSourceUrl(url: string): string;
163
+ /**
164
+ * The first-party PMTiles {@link ProtocolModule} (issue #538).
165
+ *
166
+ * `pmtilesSource()` (`src/contract/source.ts`) builds its
167
+ * `Source.protocol("pmtiles")` escape hatch through this exact factory
168
+ * instead of constructing {@link HonuaPmtilesArchive} directly, and
169
+ * `pmtilesProtocolPlugin` (`@honua/sdk-js/plugin`) packages the same factory
170
+ * as a `HonuaPluginFactory<"protocol">` for `HonuaPluginRegistry`. Both
171
+ * callers run the identical construction path, which is what proves the
172
+ * built-in adapter carries no special registry privilege.
173
+ *
174
+ * `discover()` is synchronous: PMTiles opens its reader lazily on the
175
+ * returned handle's own first `describe()` call, so no I/O happens before a
176
+ * caller actually asks for archive metadata (REQ-003, issue #538).
177
+ *
178
+ * @example
179
+ * ```ts
180
+ * const module = pmtilesProtocolModule();
181
+ * const handle = module.discover({
182
+ * id: "basemap",
183
+ * protocol: "pmtiles",
184
+ * locator: { url: "https://example.com/basemap.pmtiles" },
185
+ * });
186
+ * if (!(handle instanceof Promise)) {
187
+ * const info = await handle.adapter.describe();
188
+ * console.log(info.bounds);
189
+ * }
190
+ * ```
191
+ */
192
+ export declare function pmtilesProtocolModule(deps?: DescribePmtilesArchiveDeps): ProtocolModule<"pmtiles", HonuaPmtilesArchive>;
162
193
  //# sourceMappingURL=pmtiles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pmtiles.d.ts","sourceRoot":"","sources":["../../../src/contract/pmtiles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAEnF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,kEAAkE;IAClE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,E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AM,WAAW,kBAAkB;IACjC,SAAS,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACxC,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACjC;AAED,+EAA+E;AAC/E,MAAM,WAAW,iBAAiB;IAChC,KAAK,MAAM,EAAE,iBAAiB,GAAG,MAAM,GAAG,kBAAkB,CAAC;CAC9D;AAED,+EAA+E;AAC/E,MAAM,WAAW,0BAA0B;IACzC,kEAAkE;IAClE,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC;IACrC,oEAAoE;IACpE,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC;CACrC;AA4DD;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,MAAM,EACX,IAAI,GAAE,0BAA+B,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAkBpC;AAED;;;;;;;GAOG;AACH,qBAAa,mBAAmB;;IAC9B,8DAA8D;IAC9D,SAAgB,GAAG,EAAE,MAAM,CAAC;gBAIT,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,0BAA+B;IAKrE;;;;OAIG;IACI,QAAQ,IAAI,OAAO,CAAC,yBAAyB,CAAC;CAStD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEtD;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,GAAE,0BAA+B,GACpC,cAAc,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAsBhD"}
@@ -1,23 +1,4 @@
1
- /**
2
- * PMTiles archive inspection for the protocol-neutral contract.
3
- *
4
- * A PMTiles archive is a single, immutable file (on object storage or any
5
- * static host) that stores an entire raster or vector tile pyramid. It
6
- * participates in the `Dataset` / `Source` model as a **tiles-only** protocol:
7
- * the canonical query family throws {@link HonuaCapabilityNotSupportedError}
8
- * (there is no feature-query surface on an archive), while archive metadata —
9
- * bounds, min/max zoom, and vector layer names — is inspected through
10
- * `Source.protocol("pmtiles").describe()`.
11
- *
12
- * This module never statically imports the `pmtiles` package. The reader is
13
- * pulled in lazily (`await import("pmtiles")`) the first time an archive is
14
- * actually described, mirroring the Cesium adapter so consumers that never
15
- * touch PMTiles pay zero bundle cost. A minimal `pmtiles` module slice is
16
- * modelled here so the wiring stays unit-testable against an injected fake
17
- * without a network fetch.
18
- *
19
- * @module
20
- */
1
+ import { PROTOCOL_DEFAULT_CAPABILITIES } from "./types.js";
21
2
  /**
22
3
  * Lazily import the `pmtiles` reader. Kept in its own function so the dynamic
23
4
  * `import("pmtiles")` is the only reference to the package in `src/`, which is
@@ -153,3 +134,62 @@ export function stripPmtilesScheme(url) {
153
134
  export function toPmtilesSourceUrl(url) {
154
135
  return url.startsWith("pmtiles://") ? url : `pmtiles://${url}`;
155
136
  }
137
+ function requirePmtilesModuleLocator(descriptor) {
138
+ const { url } = descriptor.locator;
139
+ if (typeof url !== "string" || url === "") {
140
+ throw new Error(`createDataset: source "${descriptor.id}" (pmtiles) requires locator.url`);
141
+ }
142
+ return url;
143
+ }
144
+ /**
145
+ * The first-party PMTiles {@link ProtocolModule} (issue #538).
146
+ *
147
+ * `pmtilesSource()` (`src/contract/source.ts`) builds its
148
+ * `Source.protocol("pmtiles")` escape hatch through this exact factory
149
+ * instead of constructing {@link HonuaPmtilesArchive} directly, and
150
+ * `pmtilesProtocolPlugin` (`@honua/sdk-js/plugin`) packages the same factory
151
+ * as a `HonuaPluginFactory<"protocol">` for `HonuaPluginRegistry`. Both
152
+ * callers run the identical construction path, which is what proves the
153
+ * built-in adapter carries no special registry privilege.
154
+ *
155
+ * `discover()` is synchronous: PMTiles opens its reader lazily on the
156
+ * returned handle's own first `describe()` call, so no I/O happens before a
157
+ * caller actually asks for archive metadata (REQ-003, issue #538).
158
+ *
159
+ * @example
160
+ * ```ts
161
+ * const module = pmtilesProtocolModule();
162
+ * const handle = module.discover({
163
+ * id: "basemap",
164
+ * protocol: "pmtiles",
165
+ * locator: { url: "https://example.com/basemap.pmtiles" },
166
+ * });
167
+ * if (!(handle instanceof Promise)) {
168
+ * const info = await handle.adapter.describe();
169
+ * console.log(info.bounds);
170
+ * }
171
+ * ```
172
+ */
173
+ export function pmtilesProtocolModule(deps = {}) {
174
+ return Object.freeze({
175
+ kind: "pmtiles",
176
+ environments: Object.freeze(["browser", "node", "worker"]),
177
+ capabilities(descriptor) {
178
+ return descriptor.capabilities ?? PROTOCOL_DEFAULT_CAPABILITIES.pmtiles;
179
+ },
180
+ discover(descriptor) {
181
+ const url = stripPmtilesScheme(requirePmtilesModuleLocator(descriptor));
182
+ const archive = new HonuaPmtilesArchive(url, deps);
183
+ return Object.freeze({
184
+ descriptor,
185
+ capabilities: descriptor.capabilities ?? PROTOCOL_DEFAULT_CAPABILITIES.pmtiles,
186
+ adapter: archive,
187
+ diagnostics: Object.freeze([]),
188
+ dispose() {
189
+ // The archive holds no open handles between describe() calls;
190
+ // disposal is deterministic and synchronous with nothing to release.
191
+ },
192
+ });
193
+ },
194
+ });
195
+ }
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Minimal protocol-module composition (issue #538).
3
+ *
4
+ * `RendererAdapter` (`src/kernel/renderer.ts`) is the accepted, plain,
5
+ * injectable seam every mounted renderer satisfies — first-party
6
+ * (`maplibreRenderer`) and an external, non-Web-Mercator renderer plugin
7
+ * (issue #566) alike — without the kernel importing the plugin SDK or
8
+ * maintaining a privileged construction path. `ProtocolModule` is the
9
+ * equivalent minimal
10
+ * seam for a `Source.protocol(...)` escape-hatch adapter: discovery, the
11
+ * capability set it advertises for a descriptor, diagnostics, and
12
+ * disposal. `compile`/`execute` are intentionally absent from this first
13
+ * bounded slice — no first-party module has migrated its query-compiler
14
+ * pipeline onto the seam yet (see `docs/plugin-manifest-certification.md`
15
+ * for the tracked follow-up).
16
+ *
17
+ * This module has no dependency on `src/plugin` or any global registry: a
18
+ * `ProtocolModule` is a plain value object. SDK-internal `Source`
19
+ * construction (for example `pmtilesSource()`) and a module packaged as a
20
+ * `HonuaPluginFactory<"protocol">` for `HonuaPluginRegistry`
21
+ * (`src/plugin/pmtiles-protocol-plugin.ts`) both consume exactly this shape,
22
+ * which is what proves the built-in adapter carries no special registry
23
+ * privilege.
24
+ *
25
+ * @module
26
+ */
27
+ import type { Capabilities, SourceDescriptor } from "./types.js";
28
+ /** Runtime environments a protocol module can execute in. Mirrors `RendererEnvironment`. */
29
+ export type ProtocolModuleEnvironment = "browser" | "node" | "worker";
30
+ /** Stable, protocol-neutral diagnostic exposed by one discovered module handle. */
31
+ export interface ProtocolModuleDiagnostic {
32
+ readonly code: string;
33
+ readonly severity: "info" | "warning" | "error";
34
+ readonly message: string;
35
+ }
36
+ export interface ProtocolModuleDiscoverOptions {
37
+ readonly signal?: AbortSignal;
38
+ }
39
+ /**
40
+ * One discovered, disposable protocol-module handle bound to a source
41
+ * descriptor. `adapter` is the same typed escape-hatch value historically
42
+ * returned by `Source.protocol(name)` (for example a `HonuaPmtilesArchive`),
43
+ * so migrating a built-in onto this seam never changes what callers observe
44
+ * through the existing escape hatch.
45
+ */
46
+ export interface ProtocolModuleHandle<TAdapter = unknown> {
47
+ readonly descriptor: SourceDescriptor;
48
+ readonly capabilities: Capabilities;
49
+ readonly adapter: TAdapter;
50
+ readonly diagnostics: readonly ProtocolModuleDiagnostic[];
51
+ dispose(): void | Promise<void>;
52
+ }
53
+ /**
54
+ * Minimal executable protocol seam. Heavy peers are injected as values
55
+ * (`peer`) and are never imported by SDK core; discovery stays lazy so a
56
+ * module that is registered but never discovered pays no I/O or peer-import
57
+ * cost. `discover` may return synchronously when construction needs no I/O
58
+ * (as PMTiles does — the archive itself is opened lazily on first
59
+ * `describe()`), or asynchronously for a module whose discovery is
60
+ * inherently a network round trip.
61
+ */
62
+ export interface ProtocolModule<TKind extends string = string, TAdapter = unknown> {
63
+ readonly kind: TKind;
64
+ readonly environments: readonly ProtocolModuleEnvironment[];
65
+ readonly peer?: unknown;
66
+ /** Pure and synchronous: never performs I/O. */
67
+ capabilities(descriptor: SourceDescriptor): Capabilities;
68
+ discover(descriptor: SourceDescriptor, options?: ProtocolModuleDiscoverOptions): ProtocolModuleHandle<TAdapter> | Promise<ProtocolModuleHandle<TAdapter>>;
69
+ }
70
+ //# sourceMappingURL=protocol-module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol-module.d.ts","sourceRoot":"","sources":["../../../src/contract/protocol-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEjE,4FAA4F;AAC5F,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEtE,mFAAmF;AACnF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB,CAAC,QAAQ,GAAG,OAAO;IACtD,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,SAAS,wBAAwB,EAAE,CAAC;IAC1D,OAAO,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,cAAc,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,QAAQ,GAAG,OAAO;IAC/E,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,YAAY,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC5D,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,gDAAgD;IAChD,YAAY,CAAC,UAAU,EAAE,gBAAgB,GAAG,YAAY,CAAC;IACzD,QAAQ,CACN,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,6BAA6B,GACtC,oBAAoB,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CAAC;CAC7E"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Lightweight SourceSchemaV2 envelope checks for generic consumers.
3
+ *
4
+ * This module intentionally does not validate schema contents or recompute the
5
+ * fingerprint. Full validation belongs to the focused `/source-schema`
6
+ * ingestion and cache boundaries. Generic discovery uses this only as a
7
+ * bounded transport-envelope check; it does not establish trusted identity.
8
+ *
9
+ */
10
+ export declare const SOURCE_SCHEMA_V2_KIND: "honua.source-schema";
11
+ export declare const SOURCE_SCHEMA_V2_VERSION: "2.0";
12
+ /**
13
+ * Stable, lightweight transport envelope for an opt-in source schema.
14
+ *
15
+ * The generic contract deliberately exposes only identity metadata. Consumers
16
+ * that need fields, geometry, or other schema semantics must enter through the
17
+ * focused `@honua/sdk-js/source-schema` subpath, which validates the complete
18
+ * value and exposes {@link SourceSchemaV2} there.
19
+ */
20
+ export interface SourceSchemaV2Envelope {
21
+ readonly kind: typeof SOURCE_SCHEMA_V2_KIND;
22
+ readonly version: typeof SOURCE_SCHEMA_V2_VERSION;
23
+ readonly fingerprint: `sha256:${string}`;
24
+ }
25
+ export declare function sourceSchemaV2EnvelopeFingerprint(value: unknown): SourceSchemaV2Envelope["fingerprint"];
26
+ //# sourceMappingURL=schema-envelope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-envelope.d.ts","sourceRoot":"","sources":["../../../src/contract/schema-envelope.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,qBAAqB,EAAG,qBAA8B,CAAC;AACpE,eAAO,MAAM,wBAAwB,EAAG,KAAc,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,OAAO,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,OAAO,wBAAwB,CAAC;IAClD,QAAQ,CAAC,WAAW,EAAE,UAAU,MAAM,EAAE,CAAC;CAC1C;AAID,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAYvG"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Lightweight SourceSchemaV2 envelope checks for generic consumers.
3
+ *
4
+ * This module intentionally does not validate schema contents or recompute the
5
+ * fingerprint. Full validation belongs to the focused `/source-schema`
6
+ * ingestion and cache boundaries. Generic discovery uses this only as a
7
+ * bounded transport-envelope check; it does not establish trusted identity.
8
+ *
9
+ */
10
+ export const SOURCE_SCHEMA_V2_KIND = "honua.source-schema";
11
+ export const SOURCE_SCHEMA_V2_VERSION = "2.0";
12
+ const SOURCE_SCHEMA_V2_FINGERPRINT = /^sha256:[0-9a-f]{64}$/;
13
+ export function sourceSchemaV2EnvelopeFingerprint(value) {
14
+ if (value === null || typeof value !== "object" || Array.isArray(value)) {
15
+ throw new TypeError("SourceSchemaV2 must be an object");
16
+ }
17
+ const record = value;
18
+ if (record.kind !== SOURCE_SCHEMA_V2_KIND || record.version !== SOURCE_SCHEMA_V2_VERSION) {
19
+ throw new TypeError(`SourceSchemaV2 must use ${SOURCE_SCHEMA_V2_KIND}@${SOURCE_SCHEMA_V2_VERSION}`);
20
+ }
21
+ if (typeof record.fingerprint !== "string" || !SOURCE_SCHEMA_V2_FINGERPRINT.test(record.fingerprint)) {
22
+ throw new TypeError("SourceSchemaV2 fingerprint must be a lowercase SHA-256 digest");
23
+ }
24
+ return record.fingerprint;
25
+ }