@honua/app-platform 0.1.7-beta.0 → 0.1.10-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 (326) hide show
  1. package/control-plane/admin-client.d.ts +89 -0
  2. package/control-plane/admin-client.d.ts.map +1 -0
  3. package/control-plane/admin-client.js +200 -0
  4. package/control-plane/client.d.ts +1 -1
  5. package/control-plane/client.d.ts.map +1 -1
  6. package/control-plane/client.js +145 -11
  7. package/control-plane/commands/catalog.d.ts +133 -0
  8. package/control-plane/commands/catalog.d.ts.map +1 -0
  9. package/control-plane/commands/catalog.js +365 -0
  10. package/control-plane/commands/errors.d.ts +96 -0
  11. package/control-plane/commands/errors.d.ts.map +1 -0
  12. package/control-plane/commands/errors.js +130 -0
  13. package/control-plane/commands/identity.d.ts +71 -0
  14. package/control-plane/commands/identity.d.ts.map +1 -0
  15. package/control-plane/commands/identity.js +0 -0
  16. package/control-plane/commands/index.d.ts +39 -0
  17. package/control-plane/commands/index.d.ts.map +1 -0
  18. package/control-plane/commands/index.js +34 -0
  19. package/control-plane/commands/runtime.d.ts +146 -0
  20. package/control-plane/commands/runtime.d.ts.map +1 -0
  21. package/control-plane/commands/runtime.js +330 -0
  22. package/control-plane/commands/types.d.ts +228 -0
  23. package/control-plane/commands/types.d.ts.map +1 -0
  24. package/control-plane/commands/types.js +30 -0
  25. package/control-plane/commands/validate.d.ts +27 -0
  26. package/control-plane/commands/validate.d.ts.map +1 -0
  27. package/control-plane/commands/validate.js +132 -0
  28. package/control-plane/generated/admin-api.d.ts +30265 -0
  29. package/control-plane/generated/admin-api.d.ts.map +1 -0
  30. package/control-plane/generated/admin-api.js +5 -0
  31. package/control-plane/generated/admin-operations.d.ts +4053 -0
  32. package/control-plane/generated/admin-operations.d.ts.map +1 -0
  33. package/control-plane/generated/admin-operations.js +820 -0
  34. package/control-plane/index.d.ts +11 -0
  35. package/control-plane/index.d.ts.map +1 -1
  36. package/control-plane/index.js +8 -0
  37. package/control-plane/types.d.ts +14 -0
  38. package/control-plane/types.d.ts.map +1 -1
  39. package/controls/catalog.d.ts.map +1 -1
  40. package/controls/catalog.js +12 -1
  41. package/controls/qualification.d.ts.map +1 -1
  42. package/controls/qualification.js +71 -8
  43. package/core/client.d.ts.map +1 -1
  44. package/core/client.js +29 -31
  45. package/core/credential-redaction.d.ts +163 -0
  46. package/core/credential-redaction.d.ts.map +1 -0
  47. package/core/credential-redaction.js +389 -0
  48. package/core/error-classifications.d.ts +15 -0
  49. package/core/error-classifications.d.ts.map +1 -1
  50. package/core/error-classifications.js +15 -0
  51. package/core/error-code-registry.d.ts +15 -0
  52. package/core/error-code-registry.d.ts.map +1 -1
  53. package/core/error-code-registry.js +15 -0
  54. package/core/error-envelope.d.ts +31 -0
  55. package/core/error-envelope.d.ts.map +1 -1
  56. package/core/error-envelope.js +11 -0
  57. package/core/errors.d.ts +15 -3
  58. package/core/errors.d.ts.map +1 -1
  59. package/core/errors.js +254 -2
  60. package/core/geometry-input-sr.d.ts +3 -0
  61. package/core/geometry-input-sr.d.ts.map +1 -0
  62. package/core/geometry-input-sr.js +28 -0
  63. package/core/geoservices.d.ts.map +1 -1
  64. package/core/geoservices.js +33 -6
  65. package/core/grpc-adapter.d.ts +2 -2
  66. package/core/grpc-adapter.d.ts.map +1 -1
  67. package/core/grpc-adapter.js +41 -9
  68. package/core/job-run-errors.d.ts +10 -0
  69. package/core/job-run-errors.d.ts.map +1 -0
  70. package/core/job-run-errors.js +14 -0
  71. package/core/job-run-lifecycle.d.ts +34 -0
  72. package/core/job-run-lifecycle.d.ts.map +1 -0
  73. package/core/job-run-lifecycle.js +193 -0
  74. package/core/ogc-processes.d.ts +38 -31
  75. package/core/ogc-processes.d.ts.map +1 -1
  76. package/core/ogc-processes.js +123 -173
  77. package/core/pbf-decoder.d.ts.map +1 -1
  78. package/core/pbf-decoder.js +16 -4
  79. package/core/process-runner.js +15 -100
  80. package/core/protocol-transport.d.ts +6 -1
  81. package/core/protocol-transport.d.ts.map +1 -1
  82. package/core/request-pipeline.d.ts +6 -3
  83. package/core/request-pipeline.d.ts.map +1 -1
  84. package/core/request-pipeline.js +28 -11
  85. package/core/spatial-filter.d.ts +4 -4
  86. package/core/spatial-filter.d.ts.map +1 -1
  87. package/core/spatial-filter.js +7 -7
  88. package/core/surfaces.d.ts +2 -8
  89. package/core/surfaces.d.ts.map +1 -1
  90. package/core/surfaces.js +21 -112
  91. package/core/types.d.ts +21 -9
  92. package/core/types.d.ts.map +1 -1
  93. package/custom-elements.json +341 -0
  94. package/esri-compat/class-breaks-renderer.d.ts +2 -0
  95. package/esri-compat/class-breaks-renderer.d.ts.map +1 -1
  96. package/esri-compat/class-breaks-renderer.js +7 -0
  97. package/esri-compat/controls.d.ts +10 -1
  98. package/esri-compat/controls.d.ts.map +1 -1
  99. package/esri-compat/controls.js +86 -2
  100. package/esri-compat/directions.d.ts +35 -0
  101. package/esri-compat/directions.d.ts.map +1 -1
  102. package/esri-compat/directions.js +153 -2
  103. package/esri-compat/expand.d.ts +1 -0
  104. package/esri-compat/expand.d.ts.map +1 -1
  105. package/esri-compat/expand.js +61 -0
  106. package/esri-compat/feature-layer.d.ts +29 -4
  107. package/esri-compat/feature-layer.d.ts.map +1 -1
  108. package/esri-compat/feature-layer.js +335 -13
  109. package/esri-compat/geometry-engine.d.ts +4 -0
  110. package/esri-compat/geometry-engine.d.ts.map +1 -1
  111. package/esri-compat/geometry-engine.js +8 -1
  112. package/esri-compat/graphic.d.ts +7 -4
  113. package/esri-compat/graphic.d.ts.map +1 -1
  114. package/esri-compat/legend.d.ts +2 -1
  115. package/esri-compat/legend.d.ts.map +1 -1
  116. package/esri-compat/legend.js +15 -0
  117. package/esri-compat/map-view-mount.d.ts +48 -0
  118. package/esri-compat/map-view-mount.d.ts.map +1 -0
  119. package/esri-compat/map-view-mount.js +344 -0
  120. package/esri-compat/map-view.d.ts +38 -6
  121. package/esri-compat/map-view.d.ts.map +1 -1
  122. package/esri-compat/map-view.js +467 -33
  123. package/esri-compat/portal.d.ts +2 -0
  124. package/esri-compat/portal.d.ts.map +1 -1
  125. package/esri-compat/portal.js +7 -2
  126. package/esri-compat/renderer-objects.d.ts +7 -2
  127. package/esri-compat/renderer-objects.d.ts.map +1 -1
  128. package/esri-compat/renderer-objects.js +16 -5
  129. package/esri-compat/route-layer.d.ts +8 -0
  130. package/esri-compat/route-layer.d.ts.map +1 -1
  131. package/esri-compat/route-layer.js +24 -4
  132. package/esri-compat/route-task.d.ts +5 -1
  133. package/esri-compat/route-task.d.ts.map +1 -1
  134. package/esri-compat/route-task.js +119 -7
  135. package/esri-compat/scene-view.d.ts.map +1 -1
  136. package/esri-compat/scene-view.js +1 -0
  137. package/esri-compat/search.d.ts +2 -1
  138. package/esri-compat/search.d.ts.map +1 -1
  139. package/esri-compat/search.js +52 -2
  140. package/esri-compat/unique-value-renderer.d.ts +2 -0
  141. package/esri-compat/unique-value-renderer.d.ts.map +1 -1
  142. package/esri-compat/unique-value-renderer.js +7 -0
  143. package/esri-compat/web-map.d.ts +10 -0
  144. package/esri-compat/web-map.d.ts.map +1 -1
  145. package/esri-compat/web-map.js +102 -0
  146. package/gen/geospatial/v1/common_pb.d.ts +514 -0
  147. package/gen/geospatial/v1/common_pb.d.ts.map +1 -0
  148. package/gen/geospatial/v1/common_pb.js +335 -0
  149. package/gen/geospatial/v1/execution_types_pb.d.ts +1186 -0
  150. package/gen/geospatial/v1/execution_types_pb.d.ts.map +1 -0
  151. package/gen/geospatial/v1/execution_types_pb.js +396 -0
  152. package/gen/geospatial/v1/feature_service_pb.d.ts +403 -0
  153. package/gen/geospatial/v1/feature_service_pb.d.ts.map +1 -0
  154. package/gen/geospatial/v1/feature_service_pb.js +47 -0
  155. package/gen/geospatial/v1/index.d.ts +5 -0
  156. package/gen/geospatial/v1/index.d.ts.map +1 -0
  157. package/gen/geospatial/v1/index.js +9 -0
  158. package/gen/geospatial/v1/spatial_types_pb.d.ts +285 -0
  159. package/gen/geospatial/v1/spatial_types_pb.d.ts.map +1 -0
  160. package/gen/geospatial/v1/spatial_types_pb.js +58 -0
  161. package/gen/geospatial/v1/workspace_artifact_types_pb.d.ts +379 -0
  162. package/gen/geospatial/v1/workspace_artifact_types_pb.d.ts.map +1 -0
  163. package/gen/geospatial/v1/workspace_artifact_types_pb.js +151 -0
  164. package/generated-app/projection.d.ts.map +1 -1
  165. package/generated-app/projection.js +10 -1
  166. package/geocoding/index.d.ts +1 -0
  167. package/geocoding/index.d.ts.map +1 -1
  168. package/geocoding/index.js +18 -8
  169. package/geocoding/provider-http.d.ts.map +1 -1
  170. package/geocoding/provider-http.js +3 -1
  171. package/map/webmap-maplibre.d.ts +2 -1
  172. package/map/webmap-maplibre.d.ts.map +1 -1
  173. package/map/webmap-maplibre.js +3 -0
  174. package/operate/client.d.ts +11 -1
  175. package/operate/client.d.ts.map +1 -1
  176. package/operate/client.js +39 -2
  177. package/operate/index.d.ts +1 -1
  178. package/operate/index.d.ts.map +1 -1
  179. package/operate/types.d.ts +40 -6
  180. package/operate/types.d.ts.map +1 -1
  181. package/package.json +6 -4
  182. package/query-planner/geoservices.d.ts.map +1 -1
  183. package/query-planner/geoservices.js +2 -0
  184. package/query-planner/grpc.d.ts +4 -4
  185. package/query-planner/grpc.d.ts.map +1 -1
  186. package/query-planner/grpc.js +11 -11
  187. package/query-planner/types.d.ts +6 -4
  188. package/query-planner/types.d.ts.map +1 -1
  189. package/realtime/honua-server.d.ts +4 -0
  190. package/realtime/honua-server.d.ts.map +1 -1
  191. package/realtime/honua-server.js +10 -0
  192. package/realtime/resumable.js +9 -0
  193. package/realtime/types.d.ts +8 -0
  194. package/realtime/types.d.ts.map +1 -1
  195. package/runtime/errors.d.ts +1 -1
  196. package/runtime/errors.d.ts.map +1 -1
  197. package/runtime/errors.js +2 -0
  198. package/runtime/generated/map-package-schema-meta.d.ts +11 -0
  199. package/runtime/generated/map-package-schema-meta.d.ts.map +1 -0
  200. package/runtime/generated/map-package-schema-meta.js +12 -0
  201. package/runtime/generated/map-package-schema-validator.d.ts +16 -0
  202. package/runtime/generated/map-package-schema-validator.d.ts.map +1 -0
  203. package/runtime/generated/map-package-schema-validator.js +1422 -0
  204. package/runtime/index.d.ts +5 -1
  205. package/runtime/index.d.ts.map +1 -1
  206. package/runtime/index.js +6 -0
  207. package/runtime/map-package-export.d.ts +151 -0
  208. package/runtime/map-package-export.d.ts.map +1 -0
  209. package/runtime/map-package-export.js +636 -0
  210. package/runtime/map-package-validation.d.ts +21 -1
  211. package/runtime/map-package-validation.d.ts.map +1 -1
  212. package/runtime/map-package-validation.js +132 -95
  213. package/runtime/map-package.d.ts +80 -0
  214. package/runtime/map-package.d.ts.map +1 -1
  215. package/scene-workspace/cesium-adapter.d.ts +8 -8
  216. package/scene-workspace/cesium-adapter.d.ts.map +1 -1
  217. package/scene-workspace/cesium-adapter.js +31 -18
  218. package/scene-workspace/index.d.ts +2 -2
  219. package/scene-workspace/index.d.ts.map +1 -1
  220. package/scene-workspace/index.js +1 -1
  221. package/scene-workspace/maplibre-state-sync.d.ts.map +1 -1
  222. package/scene-workspace/maplibre-state-sync.js +35 -3
  223. package/scene-workspace/primitives.d.ts +37 -5
  224. package/scene-workspace/primitives.d.ts.map +1 -1
  225. package/scene-workspace/primitives.js +55 -18
  226. package/scene-workspace/source-to-cesium.js +1 -1
  227. package/scene-workspace/state-sync-port-kit.d.ts +1 -1
  228. package/scene-workspace/state-sync-port-kit.d.ts.map +1 -1
  229. package/studio/capability-manifest.d.ts +10 -0
  230. package/studio/capability-manifest.d.ts.map +1 -1
  231. package/studio/capability-manifest.js +38 -0
  232. package/studio/chart-spec.d.ts +6 -6
  233. package/studio/chart-spec.d.ts.map +1 -1
  234. package/studio/chart-spec.js +6 -6
  235. package/studio/command-adapter.d.ts +35 -0
  236. package/studio/command-adapter.d.ts.map +1 -0
  237. package/studio/command-adapter.js +36 -0
  238. package/studio/generated/studio-api.d.ts +1062 -0
  239. package/studio/generated/studio-api.d.ts.map +1 -0
  240. package/studio/generated/studio-api.js +4 -0
  241. package/studio/index.d.ts +25 -13
  242. package/studio/index.d.ts.map +1 -1
  243. package/studio/index.js +21 -10
  244. package/studio/lifecycle-client.d.ts +262 -22
  245. package/studio/lifecycle-client.d.ts.map +1 -1
  246. package/studio/lifecycle-client.js +543 -24
  247. package/studio/lifecycle-errors.d.ts +8 -2
  248. package/studio/lifecycle-errors.d.ts.map +1 -1
  249. package/studio/lifecycle-errors.js +6 -1
  250. package/studio/lifecycle-types.d.ts +237 -38
  251. package/studio/lifecycle-types.d.ts.map +1 -1
  252. package/studio/lifecycle-types.js +5 -12
  253. package/studio/publication-status.d.ts +55 -0
  254. package/studio/publication-status.d.ts.map +1 -0
  255. package/studio/publication-status.js +103 -0
  256. package/studio/types.d.ts +37 -7
  257. package/studio/types.d.ts.map +1 -1
  258. package/studio/types.js +5 -3
  259. package/studio/validate.d.ts.map +1 -1
  260. package/studio/validate.js +104 -7
  261. package/style/renderers.d.ts +6 -1
  262. package/style/renderers.d.ts.map +1 -1
  263. package/style/renderers.js +11 -6
  264. package/style/visual-variables.d.ts +43 -0
  265. package/style/visual-variables.d.ts.map +1 -0
  266. package/style/visual-variables.js +183 -0
  267. package/web-components/application-context.d.ts +186 -0
  268. package/web-components/application-context.d.ts.map +1 -0
  269. package/web-components/application-context.js +429 -0
  270. package/web-components/elements.d.ts +10 -1
  271. package/web-components/elements.d.ts.map +1 -1
  272. package/web-components/elements.js +187 -7
  273. package/web-components/export-redaction.d.ts +11 -102
  274. package/web-components/export-redaction.d.ts.map +1 -1
  275. package/web-components/export-redaction.js +7 -260
  276. package/web-components/feature-editor-offline.d.ts +32 -0
  277. package/web-components/feature-editor-offline.d.ts.map +1 -0
  278. package/web-components/feature-editor-offline.js +115 -0
  279. package/web-components/feature-editor-workflow.d.ts +85 -22
  280. package/web-components/feature-editor-workflow.d.ts.map +1 -1
  281. package/web-components/feature-editor-workflow.js +240 -0
  282. package/web-components/feature-editor.d.ts +20 -6
  283. package/web-components/feature-editor.d.ts.map +1 -1
  284. package/web-components/feature-editor.js +159 -7
  285. package/web-components/feature-inspection.d.ts +287 -0
  286. package/web-components/feature-inspection.d.ts.map +1 -0
  287. package/web-components/feature-inspection.js +1464 -0
  288. package/web-components/feature-mutation.d.ts +77 -0
  289. package/web-components/feature-mutation.d.ts.map +1 -0
  290. package/web-components/feature-mutation.js +137 -0
  291. package/web-components/feature-table-engine.d.ts +94 -4
  292. package/web-components/feature-table-engine.d.ts.map +1 -1
  293. package/web-components/feature-table-engine.js +365 -18
  294. package/web-components/feature-table-view.d.ts +35 -1
  295. package/web-components/feature-table-view.d.ts.map +1 -1
  296. package/web-components/feature-table-view.js +128 -12
  297. package/web-components/index.d.ts +16 -7
  298. package/web-components/index.d.ts.map +1 -1
  299. package/web-components/index.js +9 -2
  300. package/web-components/map-pointer-claim.d.ts +24 -0
  301. package/web-components/map-pointer-claim.d.ts.map +1 -0
  302. package/web-components/map-pointer-claim.js +40 -0
  303. package/web-components/maplibre-renderer.d.ts.map +1 -1
  304. package/web-components/maplibre-renderer.js +5 -1
  305. package/web-components/measurement-units.d.ts +88 -0
  306. package/web-components/measurement-units.d.ts.map +1 -0
  307. package/web-components/measurement-units.js +278 -0
  308. package/web-components/measurement.d.ts +75 -4
  309. package/web-components/measurement.d.ts.map +1 -1
  310. package/web-components/measurement.js +227 -28
  311. package/web-components/types.d.ts +58 -3
  312. package/web-components/types.d.ts.map +1 -1
  313. package/webmap/convert-layer.d.ts +2 -1
  314. package/webmap/convert-layer.d.ts.map +1 -1
  315. package/webmap/convert-layer.js +20 -3
  316. package/webmap/convert-renderer.d.ts +10 -3
  317. package/webmap/convert-renderer.d.ts.map +1 -1
  318. package/webmap/convert-renderer.js +190 -36
  319. package/webmap/index.d.ts +1 -0
  320. package/webmap/index.d.ts.map +1 -1
  321. package/webmap/parse.d.ts +2 -1
  322. package/webmap/parse.d.ts.map +1 -1
  323. package/webmap/parse.js +1 -1
  324. package/gen/honua/v1/feature_service_pb.d.ts +0 -918
  325. package/gen/honua/v1/feature_service_pb.d.ts.map +0 -1
  326. package/gen/honua/v1/feature_service_pb.js +0 -375
@@ -0,0 +1,132 @@
1
+ /**
2
+ * Structural validation for command inputs.
3
+ *
4
+ * Commands describe their input with the JSON-Schema subset in `./types.js`,
5
+ * the same dialect `src/agent-tools/index.ts` uses for agent tool definitions.
6
+ * That one description drives CLI argument checking, MCP tool schemas, Studio
7
+ * forms, and this validator — so an input rejected by one transport is
8
+ * rejected identically by all of them.
9
+ *
10
+ * The validator covers exactly the keywords the dialect declares. It is not a
11
+ * general JSON-Schema implementation and deliberately adds no dependency;
12
+ * `src/` is zod-free.
13
+ *
14
+ * @experimental
15
+ * @module
16
+ */
17
+ /**
18
+ * Validate `value` against `schema`, returning every finding.
19
+ *
20
+ * `additionalProperties: false` is the load-bearing rule for the security
21
+ * contract: a closed input schema is why no transport can smuggle an approval
22
+ * or authority field into a shared command.
23
+ */
24
+ export function validateCommandInput(schema, value) {
25
+ const issues = [];
26
+ validateNode(schema, value, "", issues);
27
+ return issues;
28
+ }
29
+ function validateNode(schema, value, path, issues) {
30
+ if (schema.type !== undefined && !matchesType(schema.type, value)) {
31
+ issues.push({ path, message: `expected type ${formatType(schema.type)}, received ${describe(value)}` });
32
+ return;
33
+ }
34
+ if (schema.enum !== undefined && !schema.enum.some((allowed) => Object.is(allowed, value))) {
35
+ issues.push({ path, message: `expected one of ${schema.enum.map((entry) => JSON.stringify(entry)).join(", ")}` });
36
+ return;
37
+ }
38
+ if (typeof value === "string")
39
+ validateString(schema, value, path, issues);
40
+ if (typeof value === "number")
41
+ validateNumber(schema, value, path, issues);
42
+ if (Array.isArray(value)) {
43
+ if (schema.items) {
44
+ value.forEach((entry, index) => validateNode(schema.items, entry, `${path}[${index}]`, issues));
45
+ }
46
+ return;
47
+ }
48
+ if (isPlainRecord(value))
49
+ validateObject(schema, value, path, issues);
50
+ }
51
+ function validateString(schema, value, path, issues) {
52
+ if (schema.minLength !== undefined && value.length < schema.minLength) {
53
+ issues.push({ path, message: `expected at least ${schema.minLength} character(s)` });
54
+ }
55
+ if (schema.maxLength !== undefined && value.length > schema.maxLength) {
56
+ issues.push({ path, message: `expected at most ${schema.maxLength} character(s)` });
57
+ }
58
+ }
59
+ function validateNumber(schema, value, path, issues) {
60
+ if (schema.minimum !== undefined && value < schema.minimum) {
61
+ issues.push({ path, message: `expected >= ${schema.minimum}` });
62
+ }
63
+ if (schema.maximum !== undefined && value > schema.maximum) {
64
+ issues.push({ path, message: `expected <= ${schema.maximum}` });
65
+ }
66
+ }
67
+ function validateObject(schema, value, path, issues) {
68
+ const properties = schema.properties ?? {};
69
+ for (const required of schema.required ?? []) {
70
+ if (value[required] === undefined) {
71
+ issues.push({ path: join(path, required), message: "is required" });
72
+ }
73
+ }
74
+ for (const [key, child] of Object.entries(value)) {
75
+ if (child === undefined)
76
+ continue;
77
+ const propertySchema = properties[key];
78
+ if (propertySchema) {
79
+ validateNode(propertySchema, child, join(path, key), issues);
80
+ continue;
81
+ }
82
+ if (schema.additionalProperties === false) {
83
+ issues.push({ path: join(path, key), message: "is not an accepted property of this command" });
84
+ continue;
85
+ }
86
+ if (typeof schema.additionalProperties === "object") {
87
+ validateNode(schema.additionalProperties, child, join(path, key), issues);
88
+ }
89
+ }
90
+ }
91
+ function matchesType(type, value) {
92
+ const types = typeof type === "string" ? [type] : type;
93
+ return types.some((entry) => matchesSingleType(entry, value));
94
+ }
95
+ function matchesSingleType(type, value) {
96
+ switch (type) {
97
+ case "string":
98
+ return typeof value === "string";
99
+ case "number":
100
+ return typeof value === "number" && Number.isFinite(value);
101
+ case "integer":
102
+ return typeof value === "number" && Number.isInteger(value);
103
+ case "boolean":
104
+ return typeof value === "boolean";
105
+ case "array":
106
+ return Array.isArray(value);
107
+ case "object":
108
+ return isPlainRecord(value);
109
+ case "null":
110
+ return value === null;
111
+ default:
112
+ return true;
113
+ }
114
+ }
115
+ function formatType(type) {
116
+ return typeof type === "string" ? type : type.join(" | ");
117
+ }
118
+ function describe(value) {
119
+ if (value === null)
120
+ return "null";
121
+ if (value === undefined)
122
+ return "undefined";
123
+ if (Array.isArray(value))
124
+ return "array";
125
+ return typeof value;
126
+ }
127
+ function isPlainRecord(value) {
128
+ return typeof value === "object" && value !== null && !Array.isArray(value);
129
+ }
130
+ function join(path, key) {
131
+ return path ? `${path}.${key}` : key;
132
+ }