@honua/react 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 (249) 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/core/client.d.ts.map +1 -1
  40. package/core/client.js +29 -31
  41. package/core/credential-redaction.d.ts +163 -0
  42. package/core/credential-redaction.d.ts.map +1 -0
  43. package/core/credential-redaction.js +389 -0
  44. package/core/error-classifications.d.ts +15 -0
  45. package/core/error-classifications.d.ts.map +1 -1
  46. package/core/error-classifications.js +15 -0
  47. package/core/error-code-registry.d.ts +15 -0
  48. package/core/error-code-registry.d.ts.map +1 -1
  49. package/core/error-code-registry.js +15 -0
  50. package/core/error-envelope.d.ts +31 -0
  51. package/core/error-envelope.d.ts.map +1 -1
  52. package/core/error-envelope.js +11 -0
  53. package/core/errors.d.ts +15 -3
  54. package/core/errors.d.ts.map +1 -1
  55. package/core/errors.js +254 -2
  56. package/core/geometry-input-sr.d.ts +3 -0
  57. package/core/geometry-input-sr.d.ts.map +1 -0
  58. package/core/geometry-input-sr.js +28 -0
  59. package/core/geoservices.d.ts.map +1 -1
  60. package/core/geoservices.js +33 -6
  61. package/core/grpc-adapter.d.ts +2 -2
  62. package/core/grpc-adapter.d.ts.map +1 -1
  63. package/core/grpc-adapter.js +41 -9
  64. package/core/job-run-errors.d.ts +10 -0
  65. package/core/job-run-errors.d.ts.map +1 -0
  66. package/core/job-run-errors.js +14 -0
  67. package/core/job-run-lifecycle.d.ts +34 -0
  68. package/core/job-run-lifecycle.d.ts.map +1 -0
  69. package/core/job-run-lifecycle.js +193 -0
  70. package/core/ogc-processes.d.ts +38 -31
  71. package/core/ogc-processes.d.ts.map +1 -1
  72. package/core/ogc-processes.js +123 -173
  73. package/core/pbf-decoder.d.ts.map +1 -1
  74. package/core/pbf-decoder.js +16 -4
  75. package/core/process-runner.js +15 -100
  76. package/core/protocol-transport.d.ts +6 -1
  77. package/core/protocol-transport.d.ts.map +1 -1
  78. package/core/request-pipeline.d.ts +6 -3
  79. package/core/request-pipeline.d.ts.map +1 -1
  80. package/core/request-pipeline.js +28 -11
  81. package/core/spatial-filter.d.ts +4 -4
  82. package/core/spatial-filter.d.ts.map +1 -1
  83. package/core/spatial-filter.js +7 -7
  84. package/core/surfaces.d.ts +2 -8
  85. package/core/surfaces.d.ts.map +1 -1
  86. package/core/surfaces.js +21 -112
  87. package/core/types.d.ts +21 -9
  88. package/core/types.d.ts.map +1 -1
  89. package/esri-compat/class-breaks-renderer.d.ts +2 -0
  90. package/esri-compat/class-breaks-renderer.d.ts.map +1 -1
  91. package/esri-compat/class-breaks-renderer.js +7 -0
  92. package/esri-compat/controls.d.ts +10 -1
  93. package/esri-compat/controls.d.ts.map +1 -1
  94. package/esri-compat/controls.js +86 -2
  95. package/esri-compat/directions.d.ts +35 -0
  96. package/esri-compat/directions.d.ts.map +1 -1
  97. package/esri-compat/directions.js +153 -2
  98. package/esri-compat/expand.d.ts +1 -0
  99. package/esri-compat/expand.d.ts.map +1 -1
  100. package/esri-compat/expand.js +61 -0
  101. package/esri-compat/feature-layer.d.ts +29 -4
  102. package/esri-compat/feature-layer.d.ts.map +1 -1
  103. package/esri-compat/feature-layer.js +335 -13
  104. package/esri-compat/geometry-engine.d.ts +4 -0
  105. package/esri-compat/geometry-engine.d.ts.map +1 -1
  106. package/esri-compat/geometry-engine.js +8 -1
  107. package/esri-compat/graphic.d.ts +7 -4
  108. package/esri-compat/graphic.d.ts.map +1 -1
  109. package/esri-compat/legend.d.ts +2 -1
  110. package/esri-compat/legend.d.ts.map +1 -1
  111. package/esri-compat/legend.js +15 -0
  112. package/esri-compat/map-view-mount.d.ts +48 -0
  113. package/esri-compat/map-view-mount.d.ts.map +1 -0
  114. package/esri-compat/map-view-mount.js +344 -0
  115. package/esri-compat/map-view.d.ts +38 -6
  116. package/esri-compat/map-view.d.ts.map +1 -1
  117. package/esri-compat/map-view.js +467 -33
  118. package/esri-compat/portal.d.ts +2 -0
  119. package/esri-compat/portal.d.ts.map +1 -1
  120. package/esri-compat/portal.js +7 -2
  121. package/esri-compat/renderer-objects.d.ts +7 -2
  122. package/esri-compat/renderer-objects.d.ts.map +1 -1
  123. package/esri-compat/renderer-objects.js +16 -5
  124. package/esri-compat/route-layer.d.ts +8 -0
  125. package/esri-compat/route-layer.d.ts.map +1 -1
  126. package/esri-compat/route-layer.js +24 -4
  127. package/esri-compat/route-task.d.ts +5 -1
  128. package/esri-compat/route-task.d.ts.map +1 -1
  129. package/esri-compat/route-task.js +119 -7
  130. package/esri-compat/scene-view.d.ts.map +1 -1
  131. package/esri-compat/scene-view.js +1 -0
  132. package/esri-compat/search.d.ts +2 -1
  133. package/esri-compat/search.d.ts.map +1 -1
  134. package/esri-compat/search.js +52 -2
  135. package/esri-compat/unique-value-renderer.d.ts +2 -0
  136. package/esri-compat/unique-value-renderer.d.ts.map +1 -1
  137. package/esri-compat/unique-value-renderer.js +7 -0
  138. package/esri-compat/web-map.d.ts +10 -0
  139. package/esri-compat/web-map.d.ts.map +1 -1
  140. package/esri-compat/web-map.js +102 -0
  141. package/gen/geospatial/v1/common_pb.d.ts +514 -0
  142. package/gen/geospatial/v1/common_pb.d.ts.map +1 -0
  143. package/gen/geospatial/v1/common_pb.js +335 -0
  144. package/gen/geospatial/v1/execution_types_pb.d.ts +1186 -0
  145. package/gen/geospatial/v1/execution_types_pb.d.ts.map +1 -0
  146. package/gen/geospatial/v1/execution_types_pb.js +396 -0
  147. package/gen/geospatial/v1/feature_service_pb.d.ts +403 -0
  148. package/gen/geospatial/v1/feature_service_pb.d.ts.map +1 -0
  149. package/gen/geospatial/v1/feature_service_pb.js +47 -0
  150. package/gen/geospatial/v1/index.d.ts +5 -0
  151. package/gen/geospatial/v1/index.d.ts.map +1 -0
  152. package/gen/geospatial/v1/index.js +9 -0
  153. package/gen/geospatial/v1/spatial_types_pb.d.ts +285 -0
  154. package/gen/geospatial/v1/spatial_types_pb.d.ts.map +1 -0
  155. package/gen/geospatial/v1/spatial_types_pb.js +58 -0
  156. package/gen/geospatial/v1/workspace_artifact_types_pb.d.ts +379 -0
  157. package/gen/geospatial/v1/workspace_artifact_types_pb.d.ts.map +1 -0
  158. package/gen/geospatial/v1/workspace_artifact_types_pb.js +151 -0
  159. package/generated-app/projection.d.ts.map +1 -1
  160. package/generated-app/projection.js +10 -1
  161. package/map/webmap-maplibre.d.ts +2 -1
  162. package/map/webmap-maplibre.d.ts.map +1 -1
  163. package/map/webmap-maplibre.js +3 -0
  164. package/package.json +3 -3
  165. package/query-planner/geoservices.d.ts.map +1 -1
  166. package/query-planner/geoservices.js +2 -0
  167. package/query-planner/grpc.d.ts +4 -4
  168. package/query-planner/grpc.d.ts.map +1 -1
  169. package/query-planner/grpc.js +11 -11
  170. package/query-planner/types.d.ts +6 -4
  171. package/query-planner/types.d.ts.map +1 -1
  172. package/realtime/honua-server.d.ts +4 -0
  173. package/realtime/honua-server.d.ts.map +1 -1
  174. package/realtime/honua-server.js +10 -0
  175. package/realtime/resumable.js +9 -0
  176. package/realtime/types.d.ts +8 -0
  177. package/realtime/types.d.ts.map +1 -1
  178. package/runtime/errors.d.ts +1 -1
  179. package/runtime/errors.d.ts.map +1 -1
  180. package/runtime/errors.js +2 -0
  181. package/runtime/generated/map-package-schema-meta.d.ts +11 -0
  182. package/runtime/generated/map-package-schema-meta.d.ts.map +1 -0
  183. package/runtime/generated/map-package-schema-meta.js +12 -0
  184. package/runtime/generated/map-package-schema-validator.d.ts +16 -0
  185. package/runtime/generated/map-package-schema-validator.d.ts.map +1 -0
  186. package/runtime/generated/map-package-schema-validator.js +1422 -0
  187. package/runtime/index.d.ts +5 -1
  188. package/runtime/index.d.ts.map +1 -1
  189. package/runtime/index.js +6 -0
  190. package/runtime/map-package-export.d.ts +151 -0
  191. package/runtime/map-package-export.d.ts.map +1 -0
  192. package/runtime/map-package-export.js +636 -0
  193. package/runtime/map-package-validation.d.ts +21 -1
  194. package/runtime/map-package-validation.d.ts.map +1 -1
  195. package/runtime/map-package-validation.js +132 -95
  196. package/runtime/map-package.d.ts +80 -0
  197. package/runtime/map-package.d.ts.map +1 -1
  198. package/studio/capability-manifest.d.ts +10 -0
  199. package/studio/capability-manifest.d.ts.map +1 -1
  200. package/studio/capability-manifest.js +38 -0
  201. package/studio/chart-spec.d.ts +6 -6
  202. package/studio/chart-spec.d.ts.map +1 -1
  203. package/studio/chart-spec.js +6 -6
  204. package/studio/command-adapter.d.ts +35 -0
  205. package/studio/command-adapter.d.ts.map +1 -0
  206. package/studio/command-adapter.js +36 -0
  207. package/studio/generated/studio-api.d.ts +1062 -0
  208. package/studio/generated/studio-api.d.ts.map +1 -0
  209. package/studio/generated/studio-api.js +4 -0
  210. package/studio/index.d.ts +25 -13
  211. package/studio/index.d.ts.map +1 -1
  212. package/studio/index.js +21 -10
  213. package/studio/lifecycle-client.d.ts +262 -22
  214. package/studio/lifecycle-client.d.ts.map +1 -1
  215. package/studio/lifecycle-client.js +543 -24
  216. package/studio/lifecycle-errors.d.ts +8 -2
  217. package/studio/lifecycle-errors.d.ts.map +1 -1
  218. package/studio/lifecycle-errors.js +6 -1
  219. package/studio/lifecycle-types.d.ts +237 -38
  220. package/studio/lifecycle-types.d.ts.map +1 -1
  221. package/studio/lifecycle-types.js +5 -12
  222. package/studio/publication-status.d.ts +55 -0
  223. package/studio/publication-status.d.ts.map +1 -0
  224. package/studio/publication-status.js +103 -0
  225. package/studio/types.d.ts +37 -7
  226. package/studio/types.d.ts.map +1 -1
  227. package/studio/types.js +5 -3
  228. package/studio/validate.d.ts.map +1 -1
  229. package/studio/validate.js +104 -7
  230. package/style/renderers.d.ts +6 -1
  231. package/style/renderers.d.ts.map +1 -1
  232. package/style/renderers.js +11 -6
  233. package/style/visual-variables.d.ts +43 -0
  234. package/style/visual-variables.d.ts.map +1 -0
  235. package/style/visual-variables.js +183 -0
  236. package/webmap/convert-layer.d.ts +2 -1
  237. package/webmap/convert-layer.d.ts.map +1 -1
  238. package/webmap/convert-layer.js +20 -3
  239. package/webmap/convert-renderer.d.ts +10 -3
  240. package/webmap/convert-renderer.d.ts.map +1 -1
  241. package/webmap/convert-renderer.js +190 -36
  242. package/webmap/index.d.ts +1 -0
  243. package/webmap/index.d.ts.map +1 -1
  244. package/webmap/parse.d.ts +2 -1
  245. package/webmap/parse.d.ts.map +1 -1
  246. package/webmap/parse.js +1 -1
  247. package/gen/honua/v1/feature_service_pb.d.ts +0 -918
  248. package/gen/honua/v1/feature_service_pb.d.ts.map +0 -1
  249. package/gen/honua/v1/feature_service_pb.js +0 -375
@@ -1,12 +1,46 @@
1
+ import { FeatureLayerCompat } from "./feature-layer.js";
1
2
  import { MapCompat } from "./map.js";
3
+ import { PortalCompat } from "./portal.js";
2
4
  export class WebMapCompat extends MapCompat {
5
+ initialExtent;
3
6
  constructor(options = {}) {
4
7
  super(options);
8
+ this.initialExtent = undefined;
5
9
  }
6
10
  async load() {
11
+ if (this.loaded) {
12
+ return this;
13
+ }
14
+ await this.populateFromPortalItem();
7
15
  await super.load();
8
16
  return this;
9
17
  }
18
+ async populateFromPortalItem() {
19
+ const portalItem = readPortalItem(this.portalItem);
20
+ if (!portalItem || this.layers.length > 0) {
21
+ return;
22
+ }
23
+ const portal = new PortalCompat({ portalUrl: portalItem.portalUrl });
24
+ try {
25
+ const item = await portal.getItem(portalItem.id);
26
+ this.setPortalItem({ ...portalItem.raw, ...item, id: portalItem.id });
27
+ const data = await portal.getItemData(portalItem.id);
28
+ const viewState = readWebMapViewState(data);
29
+ if (viewState.extent) {
30
+ this.initialExtent = viewState.extent;
31
+ }
32
+ if (this.basemap === undefined && viewState.basemap !== undefined) {
33
+ this.setBasemap(viewState.basemap);
34
+ }
35
+ for (const layer of featureLayersFromWebMap(data)) {
36
+ this.add(layer);
37
+ }
38
+ }
39
+ catch {
40
+ // A private item or a missing data document leaves the map empty.
41
+ // The view still becomes ready so the page can show the failure.
42
+ }
43
+ }
10
44
  async when(callback) {
11
45
  const map = await this.load();
12
46
  if (callback) {
@@ -22,3 +56,71 @@ export class WebMapCompat extends MapCompat {
22
56
  this.eventBus.emit("web-map.portal-item-changed", { portalItem }, this);
23
57
  }
24
58
  }
59
+ function readPortalItem(value) {
60
+ if (!value || typeof value !== "object") {
61
+ return undefined;
62
+ }
63
+ const record = value;
64
+ if (typeof record.id !== "string" || record.id.length === 0) {
65
+ return undefined;
66
+ }
67
+ const portalUrl = typeof record.portal?.url === "string" ? record.portal.url : undefined;
68
+ return { id: record.id, portalUrl, raw: value };
69
+ }
70
+ function readWebMapViewState(data) {
71
+ if (!data || typeof data !== "object") {
72
+ return {};
73
+ }
74
+ const record = data;
75
+ const target = record.initialState?.viewpoint?.targetGeometry ?? record.extent;
76
+ return {
77
+ basemap: record.basemap ?? record.baseMap,
78
+ extent: readExtent(target),
79
+ };
80
+ }
81
+ function readExtent(value) {
82
+ if (!value || typeof value !== "object") {
83
+ return undefined;
84
+ }
85
+ const record = value;
86
+ if (typeof record.xmin !== "number" ||
87
+ typeof record.ymin !== "number" ||
88
+ typeof record.xmax !== "number" ||
89
+ typeof record.ymax !== "number") {
90
+ return undefined;
91
+ }
92
+ const wkid = record.spatialReference?.wkid;
93
+ return {
94
+ xmin: record.xmin,
95
+ ymin: record.ymin,
96
+ xmax: record.xmax,
97
+ ymax: record.ymax,
98
+ ...(typeof wkid === "number" ? { spatialReference: { wkid } } : {}),
99
+ };
100
+ }
101
+ function featureLayersFromWebMap(data) {
102
+ if (!data || typeof data !== "object") {
103
+ return [];
104
+ }
105
+ const layers = data.operationalLayers;
106
+ if (!Array.isArray(layers)) {
107
+ return [];
108
+ }
109
+ const created = [];
110
+ for (const layer of layers) {
111
+ if (!layer || typeof layer !== "object") {
112
+ continue;
113
+ }
114
+ const record = layer;
115
+ if (typeof record.url !== "string" || !/FeatureServer\/\d+/i.test(record.url)) {
116
+ continue;
117
+ }
118
+ created.push(new FeatureLayerCompat({
119
+ url: record.url,
120
+ title: typeof record.title === "string" ? record.title : undefined,
121
+ id: typeof record.id === "string" ? record.id : undefined,
122
+ visible: record.visibility !== false,
123
+ }));
124
+ }
125
+ return created;
126
+ }
@@ -0,0 +1,514 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file geospatial/v1/common.proto.
5
+ */
6
+ export declare const file_geospatial_v1_common: GenFile;
7
+ /**
8
+ * AttributeValue wraps the possible types for a feature attribute.
9
+ *
10
+ * @generated from message geospatial.v1.AttributeValue
11
+ */
12
+ export type AttributeValue = Message<"geospatial.v1.AttributeValue"> & {
13
+ /**
14
+ * @generated from oneof geospatial.v1.AttributeValue.value
15
+ */
16
+ value: {
17
+ /**
18
+ * @generated from field: string string_value = 1;
19
+ */
20
+ value: string;
21
+ case: "stringValue";
22
+ } | {
23
+ /**
24
+ * @generated from field: int32 int32_value = 2;
25
+ */
26
+ value: number;
27
+ case: "int32Value";
28
+ } | {
29
+ /**
30
+ * @generated from field: int64 int64_value = 3;
31
+ */
32
+ value: bigint;
33
+ case: "int64Value";
34
+ } | {
35
+ /**
36
+ * @generated from field: double double_value = 4;
37
+ */
38
+ value: number;
39
+ case: "doubleValue";
40
+ } | {
41
+ /**
42
+ * @generated from field: float float_value = 5;
43
+ */
44
+ value: number;
45
+ case: "floatValue";
46
+ } | {
47
+ /**
48
+ * @generated from field: bool bool_value = 6;
49
+ */
50
+ value: boolean;
51
+ case: "boolValue";
52
+ } | {
53
+ /**
54
+ * UTC milliseconds since epoch
55
+ *
56
+ * @generated from field: int64 datetime_value = 7;
57
+ */
58
+ value: bigint;
59
+ case: "datetimeValue";
60
+ } | {
61
+ /**
62
+ * @generated from field: bytes bytes_value = 8;
63
+ */
64
+ value: Uint8Array;
65
+ case: "bytesValue";
66
+ } | {
67
+ /**
68
+ * @generated from field: geospatial.v1.NullValue null_value = 9;
69
+ */
70
+ value: NullValue;
71
+ case: "nullValue";
72
+ } | {
73
+ case: undefined;
74
+ value?: undefined;
75
+ };
76
+ };
77
+ /**
78
+ * Describes the message geospatial.v1.AttributeValue.
79
+ * Use `create(AttributeValueSchema)` to create a new message.
80
+ */
81
+ export declare const AttributeValueSchema: GenMessage<AttributeValue>;
82
+ /**
83
+ * SpatialReference identifies a coordinate system.
84
+ *
85
+ * @generated from message geospatial.v1.SpatialReference
86
+ */
87
+ export type SpatialReference = Message<"geospatial.v1.SpatialReference"> & {
88
+ /**
89
+ * Well-known ID (EPSG code)
90
+ *
91
+ * @generated from field: int32 wkid = 1;
92
+ */
93
+ wkid: number;
94
+ /**
95
+ * Latest EPSG code for this CRS
96
+ *
97
+ * @generated from field: int32 latest_wkid = 2;
98
+ */
99
+ latestWkid: number;
100
+ /**
101
+ * Well-Known Text definition
102
+ *
103
+ * @generated from field: string wkt = 3;
104
+ */
105
+ wkt: string;
106
+ };
107
+ /**
108
+ * Describes the message geospatial.v1.SpatialReference.
109
+ * Use `create(SpatialReferenceSchema)` to create a new message.
110
+ */
111
+ export declare const SpatialReferenceSchema: GenMessage<SpatialReference>;
112
+ /**
113
+ * FieldDefinition describes a field in the layer schema.
114
+ *
115
+ * @generated from message geospatial.v1.FieldDefinition
116
+ */
117
+ export type FieldDefinition = Message<"geospatial.v1.FieldDefinition"> & {
118
+ /**
119
+ * @generated from field: string name = 1;
120
+ */
121
+ name: string;
122
+ /**
123
+ * @generated from field: geospatial.v1.FieldType field_type = 2;
124
+ */
125
+ fieldType: FieldType;
126
+ /**
127
+ * For string fields
128
+ *
129
+ * @generated from field: int32 length = 3;
130
+ */
131
+ length: number;
132
+ /**
133
+ * @generated from field: bool nullable = 4;
134
+ */
135
+ nullable: boolean;
136
+ /**
137
+ * Display name
138
+ *
139
+ * @generated from field: string alias = 5;
140
+ */
141
+ alias: string;
142
+ };
143
+ /**
144
+ * Describes the message geospatial.v1.FieldDefinition.
145
+ * Use `create(FieldDefinitionSchema)` to create a new message.
146
+ */
147
+ export declare const FieldDefinitionSchema: GenMessage<FieldDefinition>;
148
+ /**
149
+ * StatisticDefinition specifies an aggregate statistic to compute.
150
+ *
151
+ * @generated from message geospatial.v1.StatisticDefinition
152
+ */
153
+ export type StatisticDefinition = Message<"geospatial.v1.StatisticDefinition"> & {
154
+ /**
155
+ * @generated from field: string on_statistic_field = 1;
156
+ */
157
+ onStatisticField: string;
158
+ /**
159
+ * @generated from field: geospatial.v1.StatisticType statistic_type = 2;
160
+ */
161
+ statisticType: StatisticType;
162
+ /**
163
+ * @generated from field: string out_statistic_field_name = 3;
164
+ */
165
+ outStatisticFieldName: string;
166
+ };
167
+ /**
168
+ * Describes the message geospatial.v1.StatisticDefinition.
169
+ * Use `create(StatisticDefinitionSchema)` to create a new message.
170
+ */
171
+ export declare const StatisticDefinitionSchema: GenMessage<StatisticDefinition>;
172
+ /**
173
+ * Extent represents a bounding box.
174
+ *
175
+ * Axis order matches PointGeometry/Coordinate: x is longitude/easting, y is
176
+ * latitude/northing. Units follow spatial_reference (degrees for geographic CRS
177
+ * such as EPSG:4326). When this Extent is reused as a 3D Tiles region (see
178
+ * scene_types BoundingVolume.region) the angular bounds are RADIANS instead;
179
+ * that contract is documented at the region field, not here.
180
+ *
181
+ * @generated from message geospatial.v1.Extent
182
+ */
183
+ export type Extent = Message<"geospatial.v1.Extent"> & {
184
+ /**
185
+ * Minimum x (longitude/easting), units per spatial_reference
186
+ *
187
+ * @generated from field: double xmin = 1;
188
+ */
189
+ xmin: number;
190
+ /**
191
+ * Minimum y (latitude/northing), units per spatial_reference
192
+ *
193
+ * @generated from field: double ymin = 2;
194
+ */
195
+ ymin: number;
196
+ /**
197
+ * Maximum x (longitude/easting), units per spatial_reference
198
+ *
199
+ * @generated from field: double xmax = 3;
200
+ */
201
+ xmax: number;
202
+ /**
203
+ * Maximum y (latitude/northing), units per spatial_reference
204
+ *
205
+ * @generated from field: double ymax = 4;
206
+ */
207
+ ymax: number;
208
+ /**
209
+ * @generated from field: geospatial.v1.SpatialReference spatial_reference = 5;
210
+ */
211
+ spatialReference?: SpatialReference | undefined;
212
+ };
213
+ /**
214
+ * Describes the message geospatial.v1.Extent.
215
+ * Use `create(ExtentSchema)` to create a new message.
216
+ */
217
+ export declare const ExtentSchema: GenMessage<Extent>;
218
+ /**
219
+ * NullValue represents a null attribute value.
220
+ *
221
+ * @generated from enum geospatial.v1.NullValue
222
+ */
223
+ export declare enum NullValue {
224
+ /**
225
+ * @generated from enum value: NULL_VALUE = 0;
226
+ */
227
+ NULL_VALUE = 0
228
+ }
229
+ /**
230
+ * Describes the enum geospatial.v1.NullValue.
231
+ */
232
+ export declare const NullValueSchema: GenEnum<NullValue>;
233
+ /**
234
+ * FieldType enumerates supported attribute field types.
235
+ *
236
+ * @generated from enum geospatial.v1.FieldType
237
+ */
238
+ export declare enum FieldType {
239
+ /**
240
+ * @generated from enum value: FIELD_TYPE_UNSPECIFIED = 0;
241
+ */
242
+ UNSPECIFIED = 0,
243
+ /**
244
+ * @generated from enum value: FIELD_TYPE_STRING = 1;
245
+ */
246
+ STRING = 1,
247
+ /**
248
+ * @generated from enum value: FIELD_TYPE_INTEGER = 2;
249
+ */
250
+ INTEGER = 2,
251
+ /**
252
+ * @generated from enum value: FIELD_TYPE_BIG_INTEGER = 3;
253
+ */
254
+ BIG_INTEGER = 3,
255
+ /**
256
+ * @generated from enum value: FIELD_TYPE_DOUBLE = 4;
257
+ */
258
+ DOUBLE = 4,
259
+ /**
260
+ * @generated from enum value: FIELD_TYPE_FLOAT = 5;
261
+ */
262
+ FLOAT = 5,
263
+ /**
264
+ * @generated from enum value: FIELD_TYPE_BOOLEAN = 6;
265
+ */
266
+ BOOLEAN = 6,
267
+ /**
268
+ * @generated from enum value: FIELD_TYPE_DATE_TIME = 7;
269
+ */
270
+ DATE_TIME = 7,
271
+ /**
272
+ * @generated from enum value: FIELD_TYPE_DATE = 8;
273
+ */
274
+ DATE = 8,
275
+ /**
276
+ * @generated from enum value: FIELD_TYPE_TIME = 9;
277
+ */
278
+ TIME = 9,
279
+ /**
280
+ * @generated from enum value: FIELD_TYPE_GEOMETRY = 10;
281
+ */
282
+ GEOMETRY = 10,
283
+ /**
284
+ * @generated from enum value: FIELD_TYPE_JSON = 11;
285
+ */
286
+ JSON = 11,
287
+ /**
288
+ * @generated from enum value: FIELD_TYPE_BINARY = 12;
289
+ */
290
+ BINARY = 12,
291
+ /**
292
+ * @generated from enum value: FIELD_TYPE_UUID = 13;
293
+ */
294
+ UUID = 13
295
+ }
296
+ /**
297
+ * Describes the enum geospatial.v1.FieldType.
298
+ */
299
+ export declare const FieldTypeSchema: GenEnum<FieldType>;
300
+ /**
301
+ * GeometryType enumerates supported geometry types.
302
+ *
303
+ * @generated from enum geospatial.v1.GeometryType
304
+ */
305
+ export declare enum GeometryType {
306
+ /**
307
+ * @generated from enum value: GEOMETRY_TYPE_UNSPECIFIED = 0;
308
+ */
309
+ UNSPECIFIED = 0,
310
+ /**
311
+ * @generated from enum value: GEOMETRY_TYPE_POINT = 1;
312
+ */
313
+ POINT = 1,
314
+ /**
315
+ * @generated from enum value: GEOMETRY_TYPE_MULTI_POINT = 2;
316
+ */
317
+ MULTI_POINT = 2,
318
+ /**
319
+ * @generated from enum value: GEOMETRY_TYPE_LINE_STRING = 3;
320
+ */
321
+ LINE_STRING = 3,
322
+ /**
323
+ * @generated from enum value: GEOMETRY_TYPE_MULTI_LINE_STRING = 4;
324
+ */
325
+ MULTI_LINE_STRING = 4,
326
+ /**
327
+ * @generated from enum value: GEOMETRY_TYPE_POLYGON = 5;
328
+ */
329
+ POLYGON = 5,
330
+ /**
331
+ * @generated from enum value: GEOMETRY_TYPE_MULTI_POLYGON = 6;
332
+ */
333
+ MULTI_POLYGON = 6,
334
+ /**
335
+ * @generated from enum value: GEOMETRY_TYPE_GEOMETRY_COLLECTION = 7;
336
+ */
337
+ GEOMETRY_COLLECTION = 7,
338
+ /**
339
+ * @generated from enum value: GEOMETRY_TYPE_NONE = 8;
340
+ */
341
+ NONE = 8
342
+ }
343
+ /**
344
+ * Describes the enum geospatial.v1.GeometryType.
345
+ */
346
+ export declare const GeometryTypeSchema: GenEnum<GeometryType>;
347
+ /**
348
+ * SpatialRelationship enumerates spatial relationship types for filtering.
349
+ *
350
+ * @generated from enum geospatial.v1.SpatialRelationship
351
+ */
352
+ export declare enum SpatialRelationship {
353
+ /**
354
+ * @generated from enum value: SPATIAL_RELATIONSHIP_UNSPECIFIED = 0;
355
+ */
356
+ UNSPECIFIED = 0,
357
+ /**
358
+ * @generated from enum value: SPATIAL_RELATIONSHIP_INTERSECTS = 1;
359
+ */
360
+ INTERSECTS = 1,
361
+ /**
362
+ * @generated from enum value: SPATIAL_RELATIONSHIP_WITHIN = 2;
363
+ */
364
+ WITHIN = 2,
365
+ /**
366
+ * @generated from enum value: SPATIAL_RELATIONSHIP_CONTAINS = 3;
367
+ */
368
+ CONTAINS = 3,
369
+ /**
370
+ * @generated from enum value: SPATIAL_RELATIONSHIP_ENVELOPE_INTERSECTS = 4;
371
+ */
372
+ ENVELOPE_INTERSECTS = 4,
373
+ /**
374
+ * @generated from enum value: SPATIAL_RELATIONSHIP_CROSSES = 5;
375
+ */
376
+ CROSSES = 5,
377
+ /**
378
+ * @generated from enum value: SPATIAL_RELATIONSHIP_TOUCHES = 6;
379
+ */
380
+ TOUCHES = 6,
381
+ /**
382
+ * @generated from enum value: SPATIAL_RELATIONSHIP_OVERLAPS = 7;
383
+ */
384
+ OVERLAPS = 7,
385
+ /**
386
+ * @generated from enum value: SPATIAL_RELATIONSHIP_DISJOINT = 8;
387
+ */
388
+ DISJOINT = 8,
389
+ /**
390
+ * @generated from enum value: SPATIAL_RELATIONSHIP_EQUALS = 9;
391
+ */
392
+ EQUALS = 9,
393
+ /**
394
+ * @generated from enum value: SPATIAL_RELATIONSHIP_WITHIN_DISTANCE = 10;
395
+ */
396
+ WITHIN_DISTANCE = 10,
397
+ /**
398
+ * @generated from enum value: SPATIAL_RELATIONSHIP_BEYOND_DISTANCE = 11;
399
+ */
400
+ BEYOND_DISTANCE = 11,
401
+ /**
402
+ * @generated from enum value: SPATIAL_RELATIONSHIP_NEAREST_NEIGHBOR = 12;
403
+ */
404
+ NEAREST_NEIGHBOR = 12
405
+ }
406
+ /**
407
+ * Describes the enum geospatial.v1.SpatialRelationship.
408
+ */
409
+ export declare const SpatialRelationshipSchema: GenEnum<SpatialRelationship>;
410
+ /**
411
+ * DistanceUnit enumerates supported distance measurement units.
412
+ *
413
+ * @generated from enum geospatial.v1.DistanceUnit
414
+ */
415
+ export declare enum DistanceUnit {
416
+ /**
417
+ * @generated from enum value: DISTANCE_UNIT_UNSPECIFIED = 0;
418
+ */
419
+ UNSPECIFIED = 0,
420
+ /**
421
+ * @generated from enum value: DISTANCE_UNIT_METERS = 1;
422
+ */
423
+ METERS = 1,
424
+ /**
425
+ * @generated from enum value: DISTANCE_UNIT_FEET = 2;
426
+ */
427
+ FEET = 2,
428
+ /**
429
+ * @generated from enum value: DISTANCE_UNIT_KILOMETERS = 3;
430
+ */
431
+ KILOMETERS = 3,
432
+ /**
433
+ * @generated from enum value: DISTANCE_UNIT_MILES = 4;
434
+ */
435
+ MILES = 4
436
+ }
437
+ /**
438
+ * Describes the enum geospatial.v1.DistanceUnit.
439
+ */
440
+ export declare const DistanceUnitSchema: GenEnum<DistanceUnit>;
441
+ /**
442
+ * StatisticType enumerates supported aggregate functions.
443
+ *
444
+ * @generated from enum geospatial.v1.StatisticType
445
+ */
446
+ export declare enum StatisticType {
447
+ /**
448
+ * @generated from enum value: STATISTIC_TYPE_UNSPECIFIED = 0;
449
+ */
450
+ UNSPECIFIED = 0,
451
+ /**
452
+ * @generated from enum value: STATISTIC_TYPE_COUNT = 1;
453
+ */
454
+ COUNT = 1,
455
+ /**
456
+ * @generated from enum value: STATISTIC_TYPE_SUM = 2;
457
+ */
458
+ SUM = 2,
459
+ /**
460
+ * @generated from enum value: STATISTIC_TYPE_MIN = 3;
461
+ */
462
+ MIN = 3,
463
+ /**
464
+ * @generated from enum value: STATISTIC_TYPE_MAX = 4;
465
+ */
466
+ MAX = 4,
467
+ /**
468
+ * @generated from enum value: STATISTIC_TYPE_AVG = 5;
469
+ */
470
+ AVG = 5,
471
+ /**
472
+ * @generated from enum value: STATISTIC_TYPE_STDDEV = 6;
473
+ */
474
+ STDDEV = 6,
475
+ /**
476
+ * @generated from enum value: STATISTIC_TYPE_VAR = 7;
477
+ */
478
+ VAR = 7
479
+ }
480
+ /**
481
+ * Describes the enum geospatial.v1.StatisticType.
482
+ */
483
+ export declare const StatisticTypeSchema: GenEnum<StatisticType>;
484
+ /**
485
+ * Severity is the canonical severity classification shared across the protocol
486
+ * (validation issues, diagnostics, quality findings). Values are ordered
487
+ * ascending by seriousness so that a numeric comparison or cast preserves the
488
+ * INFO < WARNING < ERROR relationship.
489
+ *
490
+ * @generated from enum geospatial.v1.Severity
491
+ */
492
+ export declare enum Severity {
493
+ /**
494
+ * @generated from enum value: SEVERITY_UNSPECIFIED = 0;
495
+ */
496
+ UNSPECIFIED = 0,
497
+ /**
498
+ * @generated from enum value: SEVERITY_INFO = 1;
499
+ */
500
+ INFO = 1,
501
+ /**
502
+ * @generated from enum value: SEVERITY_WARNING = 2;
503
+ */
504
+ WARNING = 2,
505
+ /**
506
+ * @generated from enum value: SEVERITY_ERROR = 3;
507
+ */
508
+ ERROR = 3
509
+ }
510
+ /**
511
+ * Describes the enum geospatial.v1.Severity.
512
+ */
513
+ export declare const SeveritySchema: GenEnum<Severity>;
514
+ //# sourceMappingURL=common_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/geospatial/v1/common_pb.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,OACgpG,CAAC;AAEzrG;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,8BAA8B,CAAC,GAAG;IACrE;;OAEG;IACH,KAAK,EAAE;QACL;;WAEG;QACH,KAAK,EAAE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