@geode/opengeodeweb-back 6.16.1 → 6.17.0-rc.2
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.
- package/opengeodeweb_back_schemas.json +956 -177
- package/opengeodeweb_back_typed_schemas.d.ts +248 -15
- package/package.json +2 -2
|
@@ -1,6 +1,76 @@
|
|
|
1
1
|
// Generated by opengeodeweb-microservice-generate, do not edit.
|
|
2
2
|
import type json from "./opengeodeweb_back_schemas.json";
|
|
3
3
|
|
|
4
|
+
export interface BasemapDeleteParams {
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface BasemapDeleteResponse {
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface BasemapBuildParams {
|
|
13
|
+
bounds: Bounds;
|
|
14
|
+
crs: CRSParams;
|
|
15
|
+
maps: Map[];
|
|
16
|
+
margin?: boolean;
|
|
17
|
+
max_pixels?: number;
|
|
18
|
+
z: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface Bounds {
|
|
22
|
+
x_max: number;
|
|
23
|
+
x_min: number;
|
|
24
|
+
y_max: number;
|
|
25
|
+
y_min: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface CRSParams {
|
|
29
|
+
authority: string;
|
|
30
|
+
code: string;
|
|
31
|
+
name: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type Map = "satellite" | "plan" | "routes";
|
|
35
|
+
|
|
36
|
+
export interface BasemapBuildResponse {
|
|
37
|
+
attribution: string;
|
|
38
|
+
binary_light_viewable?: string;
|
|
39
|
+
bounds: MeshBounds;
|
|
40
|
+
columns: number;
|
|
41
|
+
crs?: BasemapBuildResponseCRS;
|
|
42
|
+
geode_id: string;
|
|
43
|
+
geode_object_type: string;
|
|
44
|
+
id: string;
|
|
45
|
+
is_viewable: boolean;
|
|
46
|
+
maps: MapElement[];
|
|
47
|
+
name: string;
|
|
48
|
+
native_file: string;
|
|
49
|
+
nb_vertices?: number;
|
|
50
|
+
rows: number;
|
|
51
|
+
viewable_file?: string;
|
|
52
|
+
viewer_type: string;
|
|
53
|
+
zoom: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface MeshBounds {
|
|
57
|
+
x_max: number;
|
|
58
|
+
x_min: number;
|
|
59
|
+
y_max: number;
|
|
60
|
+
y_min: number;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface BasemapBuildResponseCRS {
|
|
64
|
+
authority: string;
|
|
65
|
+
code: string;
|
|
66
|
+
name: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface MapElement {
|
|
70
|
+
map: string;
|
|
71
|
+
sources: string[];
|
|
72
|
+
}
|
|
73
|
+
|
|
4
74
|
export interface CreatePolygonalSurfaceParams {
|
|
5
75
|
name: string;
|
|
6
76
|
points: PolygonalSurfacePoint[];
|
|
@@ -16,6 +86,7 @@ export interface PolygonalSurfacePoint {
|
|
|
16
86
|
export interface CreatePolygonalSurfaceResponse {
|
|
17
87
|
binary_light_viewable?: string;
|
|
18
88
|
collection_components?: CreatePolygonalSurfaceResponseCollectionComponent[];
|
|
89
|
+
crs?: CreatePolygonalSurfaceResponseCRS;
|
|
19
90
|
geode_id: string;
|
|
20
91
|
geode_object_type: string;
|
|
21
92
|
id: string;
|
|
@@ -36,6 +107,12 @@ export interface CreatePolygonalSurfaceResponseCollectionComponent {
|
|
|
36
107
|
type: string;
|
|
37
108
|
}
|
|
38
109
|
|
|
110
|
+
export interface CreatePolygonalSurfaceResponseCRS {
|
|
111
|
+
authority: string;
|
|
112
|
+
code: string;
|
|
113
|
+
name: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
39
116
|
export interface CreatePolygonalSurfaceResponseMeshComponent {
|
|
40
117
|
boundaries: string[];
|
|
41
118
|
geode_id: string;
|
|
@@ -60,6 +137,7 @@ export interface Point {
|
|
|
60
137
|
export interface CreatePointSetResponse {
|
|
61
138
|
binary_light_viewable?: string;
|
|
62
139
|
collection_components?: CreatePointSetResponseCollectionComponent[];
|
|
140
|
+
crs?: CreatePointSetResponseCRS;
|
|
63
141
|
geode_id: string;
|
|
64
142
|
geode_object_type: string;
|
|
65
143
|
id: string;
|
|
@@ -80,6 +158,12 @@ export interface CreatePointSetResponseCollectionComponent {
|
|
|
80
158
|
type: string;
|
|
81
159
|
}
|
|
82
160
|
|
|
161
|
+
export interface CreatePointSetResponseCRS {
|
|
162
|
+
authority: string;
|
|
163
|
+
code: string;
|
|
164
|
+
name: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
83
167
|
export interface CreatePointSetResponseMeshComponent {
|
|
84
168
|
boundaries: string[];
|
|
85
169
|
geode_id: string;
|
|
@@ -105,6 +189,7 @@ export interface EdgedCurvePoint {
|
|
|
105
189
|
export interface CreateEdgedCurveResponse {
|
|
106
190
|
binary_light_viewable?: string;
|
|
107
191
|
collection_components?: CreateEdgedCurveResponseCollectionComponent[];
|
|
192
|
+
crs?: CreateEdgedCurveResponseCRS;
|
|
108
193
|
geode_id: string;
|
|
109
194
|
geode_object_type: string;
|
|
110
195
|
id: string;
|
|
@@ -125,6 +210,12 @@ export interface CreateEdgedCurveResponseCollectionComponent {
|
|
|
125
210
|
type: string;
|
|
126
211
|
}
|
|
127
212
|
|
|
213
|
+
export interface CreateEdgedCurveResponseCRS {
|
|
214
|
+
authority: string;
|
|
215
|
+
code: string;
|
|
216
|
+
name: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
128
219
|
export interface CreateEdgedCurveResponseMeshComponent {
|
|
129
220
|
boundaries: string[];
|
|
130
221
|
geode_id: string;
|
|
@@ -135,6 +226,145 @@ export interface CreateEdgedCurveResponseMeshComponent {
|
|
|
135
226
|
viewer_id: number;
|
|
136
227
|
}
|
|
137
228
|
|
|
229
|
+
export interface CRSGeographicListParams {
|
|
230
|
+
geode_object_type: string;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export interface CRSGeographicListResponse {
|
|
234
|
+
crs_list: CRSList[];
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface CRSList {
|
|
238
|
+
authority: string;
|
|
239
|
+
code: string;
|
|
240
|
+
name: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface CRSConvertGeographicParams {
|
|
244
|
+
authority: string;
|
|
245
|
+
code: string;
|
|
246
|
+
id: string;
|
|
247
|
+
linked_ids?: string[];
|
|
248
|
+
name: string;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export interface CRSConvertGeographicResponse {
|
|
252
|
+
binary_light_viewable?: string;
|
|
253
|
+
crs?: CRSConvertGeographicResponseCRS;
|
|
254
|
+
linked?: CRSConvertGeographicResponseLinked[];
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface CRSConvertGeographicResponseCRS {
|
|
258
|
+
authority: string;
|
|
259
|
+
code: string;
|
|
260
|
+
name: string;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export interface CRSConvertGeographicResponseLinked {
|
|
264
|
+
binary_light_viewable?: string;
|
|
265
|
+
crs?: PurpleCRS;
|
|
266
|
+
id: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export interface PurpleCRS {
|
|
270
|
+
authority: string;
|
|
271
|
+
code: string;
|
|
272
|
+
name: string;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export interface CRSAssignGeographicParams {
|
|
276
|
+
authority: string;
|
|
277
|
+
code: string;
|
|
278
|
+
id: string;
|
|
279
|
+
linked_ids?: string[];
|
|
280
|
+
name: string;
|
|
281
|
+
only_plausible?: boolean;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface CRSAssignGeographicResponse {
|
|
285
|
+
crs?: CRSAssignGeographicResponseCRS;
|
|
286
|
+
implausible?: boolean;
|
|
287
|
+
linked?: CRSAssignGeographicResponseLinked[];
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export interface CRSAssignGeographicResponseCRS {
|
|
291
|
+
authority: string;
|
|
292
|
+
code: string;
|
|
293
|
+
name: string;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export interface CRSAssignGeographicResponseLinked {
|
|
297
|
+
crs?: FluffyCRS;
|
|
298
|
+
id: string;
|
|
299
|
+
implausible?: boolean;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface FluffyCRS {
|
|
303
|
+
authority: string;
|
|
304
|
+
code: string;
|
|
305
|
+
name: string;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export interface CRSAlignParams {
|
|
309
|
+
authority: string;
|
|
310
|
+
code: string;
|
|
311
|
+
id: string;
|
|
312
|
+
linked_ids?: string[];
|
|
313
|
+
name: string;
|
|
314
|
+
source_points: SourcePoint[];
|
|
315
|
+
target_points: TargetPoint[];
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface SourcePoint {
|
|
319
|
+
picked?: boolean;
|
|
320
|
+
x: number;
|
|
321
|
+
y: number;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export interface TargetPoint {
|
|
325
|
+
x: number;
|
|
326
|
+
y: number;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export interface CRSAlignResponse {
|
|
330
|
+
binary_light_viewable?: string;
|
|
331
|
+
crs?: CRSAlignResponseCRS;
|
|
332
|
+
linked?: CRSAlignResponseLinked[];
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export interface CRSAlignResponseCRS {
|
|
336
|
+
authority: string;
|
|
337
|
+
code: string;
|
|
338
|
+
name: string;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export interface CRSAlignResponseLinked {
|
|
342
|
+
binary_light_viewable?: string;
|
|
343
|
+
crs?: TentacledCRS;
|
|
344
|
+
id: string;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export interface TentacledCRS {
|
|
348
|
+
authority: string;
|
|
349
|
+
code: string;
|
|
350
|
+
name: string;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export interface CRSActiveParams {
|
|
354
|
+
id: string;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export interface CRSActiveResponse {
|
|
358
|
+
crs_info?: CRSInfo;
|
|
359
|
+
crs_name: string;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export interface CRSInfo {
|
|
363
|
+
authority: string;
|
|
364
|
+
code: string;
|
|
365
|
+
name: string;
|
|
366
|
+
}
|
|
367
|
+
|
|
138
368
|
export interface VertexAttributeRangeParams {
|
|
139
369
|
attribute_name: string;
|
|
140
370
|
id: string;
|
|
@@ -213,6 +443,7 @@ export interface SaveViewableFileParams {
|
|
|
213
443
|
export interface SaveViewableFileResponse {
|
|
214
444
|
binary_light_viewable?: string;
|
|
215
445
|
collection_components?: SaveViewableFileResponseCollectionComponent[];
|
|
446
|
+
crs?: SaveViewableFileResponseCRS;
|
|
216
447
|
geode_id: string;
|
|
217
448
|
geode_object_type: string;
|
|
218
449
|
id: string;
|
|
@@ -233,6 +464,12 @@ export interface SaveViewableFileResponseCollectionComponent {
|
|
|
233
464
|
type: string;
|
|
234
465
|
}
|
|
235
466
|
|
|
467
|
+
export interface SaveViewableFileResponseCRS {
|
|
468
|
+
authority: string;
|
|
469
|
+
code: string;
|
|
470
|
+
name: string;
|
|
471
|
+
}
|
|
472
|
+
|
|
236
473
|
export interface SaveViewableFileResponseMeshComponent {
|
|
237
474
|
boundaries: string[];
|
|
238
475
|
geode_id: string;
|
|
@@ -428,20 +665,6 @@ export interface ImportProjectResponse {
|
|
|
428
665
|
snapshot: { [key: string]: any };
|
|
429
666
|
}
|
|
430
667
|
|
|
431
|
-
export interface GeographicCoordinateSystemsParams {
|
|
432
|
-
geode_object_type: string;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export interface GeographicCoordinateSystemsResponse {
|
|
436
|
-
crs_list: CRSList[];
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
export interface CRSList {
|
|
440
|
-
authority: string;
|
|
441
|
-
code: string;
|
|
442
|
-
name: string;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
668
|
export interface GeodeObjectsAndOutputExtensionsParams {
|
|
446
669
|
filename: string;
|
|
447
670
|
geode_object_type: string;
|
|
@@ -572,11 +795,22 @@ export type TypedSchema<Params, Response> = {
|
|
|
572
795
|
|
|
573
796
|
export interface Schemas {
|
|
574
797
|
readonly opengeodeweb_back: {
|
|
798
|
+
readonly basemap: {
|
|
799
|
+
readonly delete: (typeof json)["opengeodeweb_back"]["basemap"]["delete"] & TypedSchema<BasemapDeleteParams, BasemapDeleteResponse>;
|
|
800
|
+
readonly build: (typeof json)["opengeodeweb_back"]["basemap"]["build"] & TypedSchema<BasemapBuildParams, BasemapBuildResponse>;
|
|
801
|
+
};
|
|
575
802
|
readonly create: {
|
|
576
803
|
readonly polygonal_surface: (typeof json)["opengeodeweb_back"]["create"]["polygonal_surface"] & TypedSchema<CreatePolygonalSurfaceParams, CreatePolygonalSurfaceResponse>;
|
|
577
804
|
readonly point_set: (typeof json)["opengeodeweb_back"]["create"]["point_set"] & TypedSchema<CreatePointSetParams, CreatePointSetResponse>;
|
|
578
805
|
readonly edged_curve: (typeof json)["opengeodeweb_back"]["create"]["edged_curve"] & TypedSchema<CreateEdgedCurveParams, CreateEdgedCurveResponse>;
|
|
579
806
|
};
|
|
807
|
+
readonly crs: {
|
|
808
|
+
readonly geographic_list: (typeof json)["opengeodeweb_back"]["crs"]["geographic_list"] & TypedSchema<CRSGeographicListParams, CRSGeographicListResponse>;
|
|
809
|
+
readonly convert_geographic: (typeof json)["opengeodeweb_back"]["crs"]["convert_geographic"] & TypedSchema<CRSConvertGeographicParams, CRSConvertGeographicResponse>;
|
|
810
|
+
readonly assign_geographic: (typeof json)["opengeodeweb_back"]["crs"]["assign_geographic"] & TypedSchema<CRSAssignGeographicParams, CRSAssignGeographicResponse>;
|
|
811
|
+
readonly align: (typeof json)["opengeodeweb_back"]["crs"]["align"] & TypedSchema<CRSAlignParams, CRSAlignResponse>;
|
|
812
|
+
readonly active: (typeof json)["opengeodeweb_back"]["crs"]["active"] & TypedSchema<CRSActiveParams, CRSActiveResponse>;
|
|
813
|
+
};
|
|
580
814
|
readonly vertex_attribute_range: (typeof json)["opengeodeweb_back"]["vertex_attribute_range"] & TypedSchema<VertexAttributeRangeParams, VertexAttributeRangeResponse>;
|
|
581
815
|
readonly vertex_attribute_names: (typeof json)["opengeodeweb_back"]["vertex_attribute_names"] & TypedSchema<VertexAttributeNamesParams, VertexAttributeNamesResponse>;
|
|
582
816
|
readonly validate: (typeof json)["opengeodeweb_back"]["validate"] & TypedSchema<ValidateParams, ValidateResponse>;
|
|
@@ -600,7 +834,6 @@ export interface Schemas {
|
|
|
600
834
|
readonly model_component_edge_attribute_names: (typeof json)["opengeodeweb_back"]["model_component_edge_attribute_names"] & TypedSchema<ModelComponentEdgeAttributeNamesParams, ModelComponentEdgeAttributeNamesResponse>;
|
|
601
835
|
readonly kill: (typeof json)["opengeodeweb_back"]["kill"] & TypedSchema<KillParams, KillResponse>;
|
|
602
836
|
readonly import_project: (typeof json)["opengeodeweb_back"]["import_project"] & TypedSchema<ImportProjectParams, ImportProjectResponse>;
|
|
603
|
-
readonly geographic_coordinate_systems: (typeof json)["opengeodeweb_back"]["geographic_coordinate_systems"] & TypedSchema<GeographicCoordinateSystemsParams, GeographicCoordinateSystemsResponse>;
|
|
604
837
|
readonly geode_objects_and_output_extensions: (typeof json)["opengeodeweb_back"]["geode_objects_and_output_extensions"] & TypedSchema<GeodeObjectsAndOutputExtensionsParams, GeodeObjectsAndOutputExtensionsResponse>;
|
|
605
838
|
readonly geode_object_inheritance: (typeof json)["opengeodeweb_back"]["geode_object_inheritance"] & TypedSchema<GeodeObjectInheritanceParams, GeodeObjectInheritanceResponse>;
|
|
606
839
|
readonly export_project: (typeof json)["opengeodeweb_back"]["export_project"] & TypedSchema<ExportProjectParams, Blob>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/opengeodeweb-back",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.17.0-rc.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Back",
|
|
6
6
|
"bugs": {
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
"build": "npm run json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@geode/opengeodeweb-microservice": "
|
|
43
|
+
"@geode/opengeodeweb-microservice": "next"
|
|
44
44
|
}
|
|
45
45
|
}
|