@honua/react 0.1.2-beta.0 → 0.1.7-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 (295) hide show
  1. package/contract/discovery.d.ts +34 -0
  2. package/contract/discovery.d.ts.map +1 -1
  3. package/contract/index.d.ts +7 -5
  4. package/contract/index.d.ts.map +1 -1
  5. package/contract/index.js +3 -2
  6. package/contract/pmtiles.d.ts +10 -1
  7. package/contract/pmtiles.d.ts.map +1 -1
  8. package/contract/pmtiles.js +10 -2
  9. package/contract/protocol-module.d.ts +84 -9
  10. package/contract/protocol-module.d.ts.map +1 -1
  11. package/contract/query-filter-fes.d.ts +18 -0
  12. package/contract/query-filter-fes.d.ts.map +1 -0
  13. package/contract/query-filter-fes.js +122 -0
  14. package/contract/query-filter.d.ts +300 -0
  15. package/contract/query-filter.d.ts.map +1 -0
  16. package/contract/query-filter.js +883 -0
  17. package/contract/schema.d.ts +12 -0
  18. package/contract/schema.d.ts.map +1 -1
  19. package/contract/schema.js +34 -0
  20. package/contract/source-capability-support.d.ts.map +1 -1
  21. package/contract/source-capability-support.js +15 -3
  22. package/contract/source.d.ts +45 -25
  23. package/contract/source.d.ts.map +1 -1
  24. package/contract/source.js +719 -479
  25. package/contract/types.d.ts +88 -19
  26. package/contract/types.d.ts.map +1 -1
  27. package/contract/types.js +4 -0
  28. package/contract/widget-source.d.ts.map +1 -1
  29. package/core/client.d.ts +51 -21
  30. package/core/client.d.ts.map +1 -1
  31. package/core/client.js +234 -54
  32. package/core/error-classifications.d.ts +23 -0
  33. package/core/error-classifications.d.ts.map +1 -1
  34. package/core/error-classifications.js +23 -0
  35. package/core/error-code-registry.d.ts +24 -1
  36. package/core/error-code-registry.d.ts.map +1 -1
  37. package/core/error-code-registry.js +23 -0
  38. package/core/error-envelope.js +2 -0
  39. package/core/errors.d.ts +2 -2
  40. package/core/errors.d.ts.map +1 -1
  41. package/core/errors.js +1 -1
  42. package/core/geoparquet-sql.d.ts +69 -5
  43. package/core/geoparquet-sql.d.ts.map +1 -1
  44. package/core/geoparquet-sql.js +327 -10
  45. package/core/odata-write-codec.d.ts.map +1 -1
  46. package/core/odata-write-codec.js +0 -1
  47. package/core/odata.d.ts +6 -0
  48. package/core/odata.d.ts.map +1 -1
  49. package/core/odata.js +6 -1
  50. package/core/ogc-processes.d.ts +182 -25
  51. package/core/ogc-processes.d.ts.map +1 -1
  52. package/core/ogc-processes.js +602 -30
  53. package/core/process-runner.d.ts +8 -1
  54. package/core/process-runner.d.ts.map +1 -1
  55. package/core/process-runner.js +1 -0
  56. package/core/protocol-transport.d.ts +2 -0
  57. package/core/protocol-transport.d.ts.map +1 -1
  58. package/core/stac.d.ts +32 -0
  59. package/core/stac.d.ts.map +1 -1
  60. package/core/stac.js +158 -23
  61. package/core/surfaces.d.ts.map +1 -1
  62. package/core/surfaces.js +273 -68
  63. package/core/types.d.ts +138 -11
  64. package/core/types.d.ts.map +1 -1
  65. package/core/wfs-axis-order.d.ts +18 -0
  66. package/core/wfs-axis-order.d.ts.map +1 -0
  67. package/core/wfs-axis-order.js +108 -0
  68. package/core/wfs-capabilities.d.ts +65 -24
  69. package/core/wfs-capabilities.d.ts.map +1 -1
  70. package/core/wfs-capabilities.js +237 -27
  71. package/core/wfs-filter.d.ts +26 -3
  72. package/core/wfs-filter.d.ts.map +1 -1
  73. package/core/wfs-filter.js +48 -53
  74. package/core/wfs-protocol-error.d.ts +12 -0
  75. package/core/wfs-protocol-error.d.ts.map +1 -0
  76. package/core/wfs-protocol-error.js +13 -0
  77. package/core/wfs.d.ts +53 -1
  78. package/core/wfs.d.ts.map +1 -1
  79. package/core/wfs.js +251 -29
  80. package/core/wms-feature-info.d.ts +92 -0
  81. package/core/wms-feature-info.d.ts.map +1 -0
  82. package/core/wms-feature-info.js +285 -0
  83. package/core/wms.d.ts +9 -0
  84. package/core/wms.d.ts.map +1 -1
  85. package/core/wms.js +17 -5
  86. package/esri-compat/event-bus.d.ts +20 -0
  87. package/esri-compat/event-bus.d.ts.map +1 -1
  88. package/esri-compat/feature-filter.d.ts +46 -1
  89. package/esri-compat/feature-filter.d.ts.map +1 -1
  90. package/esri-compat/feature-filter.js +49 -0
  91. package/esri-compat/geojson-layer.d.ts +4 -2
  92. package/esri-compat/geojson-layer.d.ts.map +1 -1
  93. package/esri-compat/geojson-layer.js +4 -2
  94. package/esri-compat/identity-manager.js +2 -2
  95. package/esri-compat/imagery-layer.d.ts +2 -1
  96. package/esri-compat/imagery-layer.d.ts.map +1 -1
  97. package/esri-compat/imagery-layer.js +2 -1
  98. package/esri-compat/layer-list.d.ts +8 -1
  99. package/esri-compat/layer-list.d.ts.map +1 -1
  100. package/esri-compat/layer-list.js +11 -4
  101. package/esri-compat/legend.d.ts.map +1 -1
  102. package/esri-compat/legend.js +1 -1
  103. package/esri-compat/locator.d.ts +297 -0
  104. package/esri-compat/locator.d.ts.map +1 -0
  105. package/esri-compat/locator.js +579 -0
  106. package/esri-compat/map-image-layer.d.ts.map +1 -1
  107. package/esri-compat/map-view.d.ts.map +1 -1
  108. package/esri-compat/map-view.js +1 -1
  109. package/esri-compat/scene-view.d.ts.map +1 -1
  110. package/esri-compat/time-slider.d.ts +29 -0
  111. package/esri-compat/time-slider.d.ts.map +1 -1
  112. package/esri-compat/time-slider.js +117 -0
  113. package/esri-compat/wfs-layer.d.ts +2 -1
  114. package/esri-compat/wfs-layer.d.ts.map +1 -1
  115. package/esri-compat/wfs-layer.js +2 -1
  116. package/esri-compat/widget-host.d.ts +42 -6
  117. package/esri-compat/widget-host.d.ts.map +1 -1
  118. package/esri-compat/widget-host.js +99 -10
  119. package/generated-app/projection.d.ts.map +1 -1
  120. package/generated-app/runtime.d.ts.map +1 -1
  121. package/interactions/declarative-contract.d.ts +149 -0
  122. package/interactions/declarative-contract.d.ts.map +1 -0
  123. package/interactions/declarative-contract.js +293 -0
  124. package/interactions/declarative.d.ts +198 -0
  125. package/interactions/declarative.d.ts.map +1 -0
  126. package/interactions/declarative.js +470 -0
  127. package/interactions/feature-state.d.ts +7 -0
  128. package/interactions/feature-state.d.ts.map +1 -1
  129. package/interactions/feature-state.js +10 -2
  130. package/map/data-to-map-bridge.d.ts +1 -1
  131. package/map/data-to-map-bridge.d.ts.map +1 -1
  132. package/map/data-to-map-bridge.js +1 -2
  133. package/map/honua-map.d.ts.map +1 -1
  134. package/map/honua-map.js +1 -1
  135. package/map/index.d.ts +2 -0
  136. package/map/index.d.ts.map +1 -1
  137. package/map/index.js +2 -0
  138. package/map/maplibre-target.js +1 -1
  139. package/map/realtime-reconciliation-adapter.d.ts +98 -0
  140. package/map/realtime-reconciliation-adapter.d.ts.map +1 -0
  141. package/map/realtime-reconciliation-adapter.js +84 -0
  142. package/map/temporal-playback.d.ts +25 -0
  143. package/map/temporal-playback.d.ts.map +1 -1
  144. package/map/temporal-playback.js +29 -1
  145. package/package.json +4 -3
  146. package/query-planner/canonical-filter.d.ts +30 -0
  147. package/query-planner/canonical-filter.d.ts.map +1 -0
  148. package/query-planner/canonical-filter.js +30 -0
  149. package/query-planner/columnar-plan.d.ts +63 -0
  150. package/query-planner/columnar-plan.d.ts.map +1 -0
  151. package/query-planner/columnar-plan.js +94 -0
  152. package/query-planner/diagnostics.d.ts +3 -3
  153. package/query-planner/diagnostics.d.ts.map +1 -1
  154. package/query-planner/diagnostics.js +17 -4
  155. package/query-planner/duckdb.d.ts.map +1 -1
  156. package/query-planner/duckdb.js +16 -2
  157. package/query-planner/execution-context.d.ts.map +1 -1
  158. package/query-planner/execution-context.js +3 -1
  159. package/query-planner/executor.d.ts.map +1 -1
  160. package/query-planner/executor.js +7 -1
  161. package/query-planner/geoservices.d.ts.map +1 -1
  162. package/query-planner/geoservices.js +24 -5
  163. package/query-planner/grpc.d.ts.map +1 -1
  164. package/query-planner/grpc.js +29 -5
  165. package/query-planner/index.d.ts +20 -5
  166. package/query-planner/index.d.ts.map +1 -1
  167. package/query-planner/index.js +16 -3
  168. package/query-planner/ir.d.ts +6 -1
  169. package/query-planner/ir.d.ts.map +1 -1
  170. package/query-planner/ir.js +63 -1
  171. package/query-planner/odata-protocol-module.d.ts +54 -0
  172. package/query-planner/odata-protocol-module.d.ts.map +1 -0
  173. package/query-planner/odata-protocol-module.js +199 -0
  174. package/query-planner/odata-v1.d.ts +23 -0
  175. package/query-planner/odata-v1.d.ts.map +1 -0
  176. package/query-planner/odata-v1.js +202 -0
  177. package/query-planner/odata.d.ts +0 -3
  178. package/query-planner/odata.d.ts.map +1 -1
  179. package/query-planner/odata.js +0 -143
  180. package/query-planner/ogc-features.d.ts.map +1 -1
  181. package/query-planner/ogc-features.js +23 -1
  182. package/query-planner/planner.d.ts +2 -2
  183. package/query-planner/planner.d.ts.map +1 -1
  184. package/query-planner/planner.js +146 -27
  185. package/query-planner/representation.d.ts +59 -0
  186. package/query-planner/representation.d.ts.map +1 -0
  187. package/query-planner/representation.js +140 -0
  188. package/query-planner/types.d.ts +153 -3
  189. package/query-planner/types.d.ts.map +1 -1
  190. package/query-planner/wfs-protocol-module.d.ts +57 -0
  191. package/query-planner/wfs-protocol-module.d.ts.map +1 -0
  192. package/query-planner/wfs-protocol-module.js +731 -0
  193. package/query-planner/wfs-v1.d.ts +41 -0
  194. package/query-planner/wfs-v1.d.ts.map +1 -0
  195. package/query-planner/wfs-v1.js +366 -0
  196. package/query-planner/wfs.d.ts +1 -3
  197. package/query-planner/wfs.d.ts.map +1 -1
  198. package/query-planner/wfs.js +1 -70
  199. package/react/honua-map.d.ts +3 -1
  200. package/react/honua-map.d.ts.map +1 -1
  201. package/react/honua-map.js +11 -1
  202. package/react/hooks.d.ts +1 -1
  203. package/react/hooks.js +1 -1
  204. package/react/selection.d.ts.map +1 -1
  205. package/react/selection.js +0 -0
  206. package/react/use-mounted-source.d.ts +1 -1
  207. package/react/use-mounted-source.js +1 -1
  208. package/realtime/checkpoint-store.d.ts +206 -0
  209. package/realtime/checkpoint-store.d.ts.map +1 -0
  210. package/realtime/checkpoint-store.js +504 -0
  211. package/realtime/contract.d.ts +142 -0
  212. package/realtime/contract.d.ts.map +1 -0
  213. package/realtime/contract.js +154 -0
  214. package/realtime/exploration.d.ts +16 -0
  215. package/realtime/exploration.d.ts.map +1 -0
  216. package/realtime/exploration.js +32 -0
  217. package/realtime/honua-server.d.ts +131 -0
  218. package/realtime/honua-server.d.ts.map +1 -0
  219. package/realtime/honua-server.js +302 -0
  220. package/realtime/index.d.ts +39 -0
  221. package/realtime/index.d.ts.map +1 -0
  222. package/realtime/index.js +26 -0
  223. package/realtime/odata-delta.d.ts +114 -0
  224. package/realtime/odata-delta.d.ts.map +1 -0
  225. package/realtime/odata-delta.js +483 -0
  226. package/realtime/projections.d.ts +30 -0
  227. package/realtime/projections.d.ts.map +1 -0
  228. package/realtime/projections.js +51 -0
  229. package/realtime/reconciliation.d.ts +245 -0
  230. package/realtime/reconciliation.d.ts.map +1 -0
  231. package/realtime/reconciliation.js +377 -0
  232. package/realtime/reducer.d.ts +14 -0
  233. package/realtime/reducer.d.ts.map +1 -0
  234. package/realtime/reducer.js +351 -0
  235. package/realtime/resumable-transport.d.ts +111 -0
  236. package/realtime/resumable-transport.d.ts.map +1 -0
  237. package/realtime/resumable-transport.js +406 -0
  238. package/realtime/resumable.d.ts +104 -0
  239. package/realtime/resumable.d.ts.map +1 -0
  240. package/realtime/resumable.js +632 -0
  241. package/realtime/sse.d.ts +23 -0
  242. package/realtime/sse.d.ts.map +1 -0
  243. package/realtime/sse.js +153 -0
  244. package/realtime/store.d.ts +18 -0
  245. package/realtime/store.d.ts.map +1 -0
  246. package/realtime/store.js +63 -0
  247. package/realtime/types.d.ts +190 -0
  248. package/realtime/types.d.ts.map +1 -0
  249. package/realtime/types.js +10 -0
  250. package/realtime/websocket.d.ts +60 -0
  251. package/realtime/websocket.d.ts.map +1 -0
  252. package/realtime/websocket.js +157 -0
  253. package/realtime/wire.d.ts +28 -0
  254. package/realtime/wire.d.ts.map +1 -0
  255. package/realtime/wire.js +73 -0
  256. package/runtime/index.d.ts +6 -2
  257. package/runtime/index.d.ts.map +1 -1
  258. package/runtime/index.js +3 -1
  259. package/runtime/load-package.d.ts +24 -0
  260. package/runtime/load-package.d.ts.map +1 -1
  261. package/runtime/load-package.js +45 -1
  262. package/runtime/maplibre-renderer.d.ts +11 -0
  263. package/runtime/maplibre-renderer.d.ts.map +1 -1
  264. package/runtime/maplibre-renderer.js +32 -7
  265. package/runtime/offline-region-protocol.d.ts +73 -0
  266. package/runtime/offline-region-protocol.d.ts.map +1 -0
  267. package/runtime/offline-region-protocol.js +63 -0
  268. package/runtime/offline-region-style.d.ts +78 -0
  269. package/runtime/offline-region-style.d.ts.map +1 -0
  270. package/runtime/offline-region-style.js +147 -0
  271. package/runtime/pmtiles-protocol.d.ts +7 -8
  272. package/runtime/pmtiles-protocol.d.ts.map +1 -1
  273. package/runtime/pmtiles-protocol.js +19 -66
  274. package/runtime/protocol-registry.d.ts +55 -0
  275. package/runtime/protocol-registry.d.ts.map +1 -0
  276. package/runtime/protocol-registry.js +103 -0
  277. package/runtime/runtime.d.ts +2 -0
  278. package/runtime/runtime.d.ts.map +1 -1
  279. package/runtime/runtime.js +6 -1
  280. package/runtime/style-compose.d.ts.map +1 -1
  281. package/runtime/style-compose.js +78 -9
  282. package/studio/index.d.ts +24 -7
  283. package/studio/index.d.ts.map +1 -1
  284. package/studio/index.js +21 -7
  285. package/studio/lifecycle-client.d.ts +164 -0
  286. package/studio/lifecycle-client.d.ts.map +1 -0
  287. package/studio/lifecycle-client.js +299 -0
  288. package/studio/lifecycle-errors.d.ts +91 -0
  289. package/studio/lifecycle-errors.d.ts.map +1 -0
  290. package/studio/lifecycle-errors.js +77 -0
  291. package/studio/lifecycle-types.d.ts +321 -0
  292. package/studio/lifecycle-types.d.ts.map +1 -0
  293. package/studio/lifecycle-types.js +22 -0
  294. package/webmap/convert-label.js +0 -1
  295. package/webmap/convert-symbol.d.ts.map +1 -1
@@ -0,0 +1,321 @@
1
+ /**
2
+ * Typed request/response models for the Studio package lifecycle API
3
+ * (`/api/v{version}/studio` in `honua-server`), backing
4
+ * {@link HonuaStudioLifecycleClient}.
5
+ *
6
+ * These mirror the DTOs documented in
7
+ * `docs/internal/admin-api/studio-package-lifecycle.md` (`honua-server`):
8
+ * `Honua.Core.Features.Studio.Domain` for the entities and
9
+ * `Honua.Server.Features.Studio.Models` for the request shapes. Every
10
+ * interface keeps an open `[extra: string]: unknown` index signature so
11
+ * additive server fields do not break existing clients, and reuses the
12
+ * existing {@link StudioPackageDiagnostic} / {@link HonuaStudioPackageFamily}
13
+ * projections from `./validation.js` / `./types.js` rather than redeclaring
14
+ * them.
15
+ *
16
+ * @experimental Not yet covered by the SDK's semver contract — these shapes
17
+ * may change in any minor release prior to `1.0.0`, and until a dedicated
18
+ * Studio OpenAPI snapshot is published this doc and the source-generated
19
+ * JSON contexts are `honua-server`'s only contract reference.
20
+ * @module
21
+ */
22
+ import type { HonuaStudioPackageFamily } from "./types.js";
23
+ import type { StudioPackageDiagnostic } from "./validation.js";
24
+ /**
25
+ * Successful `ApiResponse<T>` envelope every Studio lifecycle endpoint wraps
26
+ * its payload in. The source-generated JSON context omits `null`-valued
27
+ * properties, so `message` is present only on responses that carry one (for
28
+ * example the draft-delete response).
29
+ *
30
+ * @experimental
31
+ */
32
+ export interface StudioApiResponse<T> {
33
+ readonly success: true;
34
+ readonly data: T;
35
+ readonly timestamp: string;
36
+ readonly message?: string;
37
+ }
38
+ /** Depth of validation a package family currently receives. */
39
+ export type StudioValidationDepth = "full" | "envelope" | (string & {});
40
+ /** Deployment persistence backing for Studio lifecycle data. */
41
+ export type StudioPersistenceMode = "postgres" | "in-memory" | (string & {});
42
+ /** Support level a deployment advertises for a package family. */
43
+ export type StudioPackageFamilySupportLevel = "supported" | "limited" | (string & {});
44
+ /**
45
+ * One package-family-scoped operation name as returned by
46
+ * `GET /package-families`. `draft.delete` is available on every family but,
47
+ * per the API doc, is not itself advertised as a per-family capability
48
+ * operation.
49
+ */
50
+ export type StudioPackageFamilyOperation = "draft.create" | "draft.read" | "draft.update" | "validate" | "preview-plan" | "content-version.create" | "content-version.read" | "content-version.compare" | "publish-request.create" | "reopen" | "rollback" | (string & {});
51
+ /** Capability descriptor for one Studio package family. */
52
+ export interface StudioPackageFamilyCapability {
53
+ readonly family: HonuaStudioPackageFamily | (string & {});
54
+ readonly schemaVersion: string;
55
+ readonly format: string;
56
+ readonly supportLevel: StudioPackageFamilySupportLevel;
57
+ readonly supportedOperations: readonly StudioPackageFamilyOperation[];
58
+ readonly validationDepth: StudioValidationDepth;
59
+ readonly limitations?: readonly string[];
60
+ readonly maxPackageBytes: number;
61
+ readonly durable: boolean;
62
+ readonly persistenceMode?: StudioPersistenceMode;
63
+ readonly [extra: string]: unknown;
64
+ }
65
+ /** `GET /package-families` response payload — every registered package family. */
66
+ export interface StudioPackageFamilyCapabilities {
67
+ readonly families: readonly StudioPackageFamilyCapability[];
68
+ readonly [extra: string]: unknown;
69
+ }
70
+ /** Reference to a source a package envelope binds to. */
71
+ export interface StudioBindingRef {
72
+ readonly key: string;
73
+ readonly kind: string;
74
+ readonly ref: string;
75
+ readonly crs?: string;
76
+ readonly srid?: number;
77
+ readonly requiredPermissions?: readonly string[];
78
+ readonly [extra: string]: unknown;
79
+ }
80
+ /** Dependency lineage entry (e.g. on a content item's version) carried on an envelope. */
81
+ export interface StudioDependencyRef {
82
+ readonly kind: string;
83
+ readonly ref: string;
84
+ readonly versionId?: string;
85
+ readonly required?: boolean;
86
+ readonly [extra: string]: unknown;
87
+ }
88
+ /** Provenance lineage entry (e.g. the prompt or plan that generated the package). */
89
+ export interface StudioProvenanceRef {
90
+ readonly kind: string;
91
+ readonly ref: string;
92
+ readonly rel: string;
93
+ readonly [extra: string]: unknown;
94
+ }
95
+ /** Route/visibility a package declares it wants to publish to. */
96
+ export interface StudioPublicationIntent {
97
+ readonly route?: string;
98
+ readonly visibility?: "private" | "organization" | "public" | (string & {});
99
+ readonly [extra: string]: unknown;
100
+ }
101
+ /** `StudioValidationSummary.status` — see the API doc's "Validation And Preview" section. */
102
+ export type StudioValidationStatus = "not-validated" | "valid" | "warning" | "invalid";
103
+ /**
104
+ * Validation summary persisted on a draft or captured on a content version.
105
+ * Returned directly by `POST /package-drafts/{draftId}/validate` and embedded
106
+ * in every {@link StudioPackageEnvelope.validation}.
107
+ */
108
+ export interface StudioValidationSummary {
109
+ readonly status: StudioValidationStatus;
110
+ readonly diagnostics?: readonly StudioPackageDiagnostic[];
111
+ readonly unsupportedCapabilities?: readonly string[];
112
+ readonly generatedAt?: string;
113
+ readonly [extra: string]: unknown;
114
+ }
115
+ /**
116
+ * `StudioPackageEnvelope` — the wire shape shared by every package family.
117
+ * `schemaVersion` and `format` must match the descriptor
118
+ * {@link StudioPackageFamilyCapability} returns for `family` from
119
+ * `GET /package-families`. `body` is deliberately generic: for `map`/`app` it
120
+ * is validated against the existing `honua_map_package.v1` /
121
+ * `honua_app_package.v1` models (pass `HonuaMapPackage` /
122
+ * `HonuaGeneratedAppPackage` as `TBody` for full typing); every other family
123
+ * currently receives only envelope-level validation.
124
+ *
125
+ * @experimental
126
+ */
127
+ export interface StudioPackageEnvelope<TBody = Record<string, unknown>> {
128
+ readonly family: HonuaStudioPackageFamily | (string & {});
129
+ readonly schemaVersion: string;
130
+ readonly format: string;
131
+ readonly bindings?: readonly StudioBindingRef[];
132
+ readonly dependencies?: readonly StudioDependencyRef[];
133
+ readonly validation?: StudioValidationSummary;
134
+ readonly publicationIntent?: StudioPublicationIntent;
135
+ readonly provenance?: readonly StudioProvenanceRef[];
136
+ readonly body: TBody;
137
+ }
138
+ /** A mutable Studio package draft. `generation` increments on every successful `PUT`. */
139
+ export interface StudioPackageDraft {
140
+ readonly draftId: string;
141
+ readonly itemId: string;
142
+ readonly family: HonuaStudioPackageFamily | (string & {});
143
+ readonly packageKey: string;
144
+ readonly workspaceId?: string;
145
+ readonly ownerId?: string;
146
+ readonly generation: number;
147
+ readonly envelope: StudioPackageEnvelope;
148
+ readonly baseVersionId?: string;
149
+ readonly createdAt?: string;
150
+ readonly updatedAt?: string;
151
+ readonly [extra: string]: unknown;
152
+ }
153
+ /**
154
+ * `POST /package-drafts` request body. `packageKey` is trimmed, limited to
155
+ * 200 characters, and may contain only letters, numbers, dash, underscore, or
156
+ * dot. Omit `itemId` to let the server allocate a new Studio content item;
157
+ * omit `ownerId` to use the authenticated actor id.
158
+ */
159
+ export interface StudioPackageDraftCreateRequest {
160
+ readonly packageKey: string;
161
+ readonly workspaceId?: string;
162
+ readonly ownerId?: string;
163
+ readonly itemId?: string;
164
+ readonly envelope: StudioPackageEnvelope;
165
+ }
166
+ /**
167
+ * `PUT /package-drafts/{draftId}` request body. `workspaceId` uses replace
168
+ * semantics: omit it or send an empty string to clear the stored workspace.
169
+ * Omit `ownerId` to preserve the existing owner. Omit `generation` to update
170
+ * from the current server-loaded generation (last-write-wins); include the
171
+ * last-seen `generation` for strict optimistic-concurrency protection — a
172
+ * stale value throws {@link HonuaStudioError} with
173
+ * `code: "generation-conflict"` (`409`).
174
+ */
175
+ export interface StudioPackageDraftReplaceRequest {
176
+ readonly packageKey: string;
177
+ readonly workspaceId?: string;
178
+ readonly ownerId?: string;
179
+ readonly envelope: StudioPackageEnvelope;
180
+ readonly generation?: number;
181
+ }
182
+ /**
183
+ * `POST /package-drafts/{draftId}/preview-plan` response. `gp`, `etl`, and
184
+ * `workflow` drafts return `requiresJob: true, synchronous: false`; every
185
+ * other family returns `requiresJob: false, synchronous: true`.
186
+ */
187
+ export interface StudioPreviewPlan {
188
+ readonly requiresJob: boolean;
189
+ readonly synchronous: boolean;
190
+ readonly steps: readonly string[];
191
+ readonly [extra: string]: unknown;
192
+ }
193
+ /**
194
+ * An immutable Studio content version. Never edited in place — call
195
+ * `versions.reopen` to continue work as a new mutable draft.
196
+ */
197
+ export interface StudioContentVersion {
198
+ readonly versionId: string;
199
+ readonly itemId: string;
200
+ readonly family: HonuaStudioPackageFamily | (string & {});
201
+ readonly versionNumber: number;
202
+ readonly contentHash: string;
203
+ readonly envelope: StudioPackageEnvelope;
204
+ readonly validation?: StudioValidationSummary;
205
+ readonly dependencies?: readonly StudioDependencyRef[];
206
+ readonly provenance?: readonly StudioProvenanceRef[];
207
+ readonly baseDraftId?: string;
208
+ readonly createdAt?: string;
209
+ readonly createdBy?: string;
210
+ readonly [extra: string]: unknown;
211
+ }
212
+ /** `GET /content-items/{itemId}/versions` response — empty `versions` when none exist. */
213
+ export interface StudioContentVersionListResponse {
214
+ readonly itemId: string;
215
+ readonly versions: readonly StudioContentVersion[];
216
+ readonly [extra: string]: unknown;
217
+ }
218
+ /** `POST /content-items/{itemId}/version-comparisons` request body. */
219
+ export interface StudioVersionComparisonRequest {
220
+ readonly baseVersionId: string;
221
+ readonly compareVersionId: string;
222
+ }
223
+ /** Added/removed/unchanged partition for one comparison facet. */
224
+ export interface StudioVersionComparisonDiff<T> {
225
+ readonly added?: readonly T[];
226
+ readonly removed?: readonly T[];
227
+ readonly unchanged?: readonly T[];
228
+ readonly [extra: string]: unknown;
229
+ }
230
+ /**
231
+ * `POST /content-items/{itemId}/version-comparisons` response — compares two
232
+ * immutable versions by content hash, dependencies, validation, and
233
+ * provenance. The exact diff shape is not yet OpenAPI-pinned server-side;
234
+ * the documented facets are typed here and every field keeps its own open
235
+ * index signature so an unrecognized server addition still round-trips.
236
+ */
237
+ export interface StudioVersionComparison {
238
+ readonly itemId: string;
239
+ readonly baseVersionId: string;
240
+ readonly compareVersionId: string;
241
+ readonly contentHashChanged: boolean;
242
+ readonly dependencies?: StudioVersionComparisonDiff<StudioDependencyRef>;
243
+ readonly provenance?: StudioVersionComparisonDiff<StudioProvenanceRef>;
244
+ readonly validation?: {
245
+ readonly base?: StudioValidationSummary;
246
+ readonly compare?: StudioValidationSummary;
247
+ readonly [extra: string]: unknown;
248
+ };
249
+ readonly [extra: string]: unknown;
250
+ }
251
+ /**
252
+ * `pending` is reserved for later asynchronous publication execution and is
253
+ * not emitted by the API service today.
254
+ */
255
+ export type StudioPublicationRequestStatus = "accepted" | "rejected" | "pending" | (string & {});
256
+ /**
257
+ * `POST /content-items/{itemId}/versions/{versionId}/publish-requests`
258
+ * request body. `intent` overrides the version envelope's
259
+ * `publicationIntent` when supplied; an invalid override fails with `400`
260
+ * before a request is persisted. `warningAcknowledgment` is optional audit
261
+ * text for `warning`-status versions.
262
+ */
263
+ export interface StudioPublicationRequestInput {
264
+ readonly intent?: StudioPublicationIntent;
265
+ readonly warningAcknowledgment?: string;
266
+ readonly [extra: string]: unknown;
267
+ }
268
+ /**
269
+ * A persisted publication request. Versions whose captured validation status
270
+ * is `invalid` still produce a durable request with `status: "rejected"` and
271
+ * do not move the published pointer; `valid`/`warning` versions are
272
+ * `"accepted"` and do move it.
273
+ */
274
+ export interface StudioPublicationRequest {
275
+ readonly requestId: string;
276
+ readonly itemId: string;
277
+ readonly versionId: string;
278
+ readonly status: StudioPublicationRequestStatus;
279
+ readonly intent?: StudioPublicationIntent;
280
+ readonly createdAt?: string;
281
+ readonly createdBy?: string;
282
+ readonly [extra: string]: unknown;
283
+ }
284
+ /**
285
+ * `POST /content-items/{itemId}/versions/{versionId}/reopen` request body.
286
+ * No fields are documented as required; this is intentionally open for a
287
+ * future owner/workspace override.
288
+ */
289
+ export interface StudioReopenVersionRequest {
290
+ readonly ownerId?: string;
291
+ readonly workspaceId?: string;
292
+ readonly [extra: string]: unknown;
293
+ }
294
+ /** Which content-item pointer(s) a rollback request moves. */
295
+ export type StudioRollbackPointer = "current" | "published" | "both";
296
+ /** `POST /content-items/{itemId}/rollback-requests` request body. */
297
+ export interface StudioRollbackRequestInput {
298
+ readonly versionId: string;
299
+ readonly pointer: StudioRollbackPointer;
300
+ readonly message?: string;
301
+ readonly [extra: string]: unknown;
302
+ }
303
+ /** The Studio content item's current/published version pointers. */
304
+ export interface StudioContentItemPointers {
305
+ readonly itemId: string;
306
+ readonly currentVersionId?: string;
307
+ readonly publishedVersionId?: string;
308
+ readonly [extra: string]: unknown;
309
+ }
310
+ /** A persisted rollback request, carrying the resulting content-item pointers. */
311
+ export interface StudioRollbackRequest {
312
+ readonly requestId: string;
313
+ readonly itemId: string;
314
+ readonly versionId: string;
315
+ readonly pointer: StudioRollbackPointer;
316
+ readonly pointers: StudioContentItemPointers;
317
+ readonly createdAt?: string;
318
+ readonly createdBy?: string;
319
+ readonly [extra: string]: unknown;
320
+ }
321
+ //# sourceMappingURL=lifecycle-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle-types.d.ts","sourceRoot":"","sources":["../../../src/studio/lifecycle-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACjB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAMD,+DAA+D;AAC/D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAExE,gEAAgE;AAChE,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE7E,kEAAkE;AAClE,MAAM,MAAM,+BAA+B,GAAG,WAAW,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEtF;;;;;GAKG;AACH,MAAM,MAAM,4BAA4B,GACpC,cAAc,GACd,YAAY,GACZ,cAAc,GACd,UAAU,GACV,cAAc,GACd,wBAAwB,GACxB,sBAAsB,GACtB,yBAAyB,GACzB,wBAAwB,GACxB,QAA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v{version}/studio` in `honua-server`), backing
4
+ * {@link HonuaStudioLifecycleClient}.
5
+ *
6
+ * These mirror the DTOs documented in
7
+ * `docs/internal/admin-api/studio-package-lifecycle.md` (`honua-server`):
8
+ * `Honua.Core.Features.Studio.Domain` for the entities and
9
+ * `Honua.Server.Features.Studio.Models` for the request shapes. Every
10
+ * interface keeps an open `[extra: string]: unknown` index signature so
11
+ * additive server fields do not break existing clients, and reuses the
12
+ * existing {@link StudioPackageDiagnostic} / {@link HonuaStudioPackageFamily}
13
+ * projections from `./validation.js` / `./types.js` rather than redeclaring
14
+ * them.
15
+ *
16
+ * @experimental Not yet covered by the SDK's semver contract — these shapes
17
+ * may change in any minor release prior to `1.0.0`, and until a dedicated
18
+ * Studio OpenAPI snapshot is published this doc and the source-generated
19
+ * JSON contexts are `honua-server`'s only contract reference.
20
+ * @module
21
+ */
22
+ export {};
@@ -45,7 +45,6 @@ export function convertLabelingInfo(labelClasses, sourceId, baseLayerId, warn) {
45
45
  return layers;
46
46
  }
47
47
  const FEATURE_FIELD_RE = /^\$feature\.(\w+)$/;
48
- const FEATURE_FIELD_GLOBAL_RE = /\$feature\.(\w+)/g;
49
48
  function parseLabelExpression(lc, warn) {
50
49
  // Prefer labelExpressionInfo (Arcade-based)
51
50
  if (lc.labelExpressionInfo?.expression) {
@@ -1 +1 @@
1
- {"version":3,"file":"convert-symbol.d.ts","sourceRoot":"","sources":["../../../src/webmap/convert-symbol.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,SAAS,EAKT,YAAY,EAEb,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,iEAAiE;AACjE,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAM/E;AAaD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,S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