jmapcloud-types 0.0.1 → 2.0.23-qa.10

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.
@@ -0,0 +1,458 @@
1
+ export type Maybe<T> = T | null
2
+ export type InputMaybe<T> = T | null
3
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
4
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
5
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
6
+ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
7
+ export type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never }
8
+ /** All built-in and custom scalars, mapped to their actual values */
9
+ export type Scalars = {
10
+ ID: { input: string; output: string }
11
+ String: { input: string; output: string }
12
+ Boolean: { input: boolean; output: boolean }
13
+ Int: { input: number; output: number }
14
+ Float: { input: number; output: number }
15
+ }
16
+
17
+ export type Anchor = "BOTTOM" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "CENTER" | "LEFT" | "RIGHT" | "TOP" | "TOP_LEFT" | "TOP_RIGHT"
18
+
19
+ export type Attribute = {
20
+ bound?: Maybe<Scalars["Boolean"]["output"]>
21
+ id?: Maybe<Scalars["String"]["output"]>
22
+ indexed?: Maybe<Scalars["Boolean"]["output"]>
23
+ name: Scalars["String"]["output"]
24
+ title?: Maybe<Scalars["String"]["output"]>
25
+ type?: Maybe<Scalars["String"]["output"]>
26
+ visible?: Maybe<Scalars["Boolean"]["output"]>
27
+ }
28
+
29
+ export type Basemap = {
30
+ attributions: Array<Maybe<BasemapAttribution>>
31
+ id: Scalars["ID"]["output"]
32
+ imageUrl: Scalars["String"]["output"]
33
+ name: Scalars["String"]["output"]
34
+ selected?: Maybe<Scalars["Boolean"]["output"]>
35
+ }
36
+
37
+ export type BasemapAttribution = {
38
+ href?: Maybe<Scalars["String"]["output"]>
39
+ id: Scalars["ID"]["output"]
40
+ imageUrl?: Maybe<Scalars["String"]["output"]>
41
+ text?: Maybe<Scalars["String"]["output"]>
42
+ }
43
+
44
+ export type CheckPermissionsParams = {
45
+ allPermissionsRequired?: InputMaybe<Scalars["Boolean"]["input"]>
46
+ permissions: Array<Permission>
47
+ resourceId: Scalars["ID"]["input"]
48
+ resourceType: ResourceType
49
+ }
50
+
51
+ export type CheckPermissionsResponse = {
52
+ allowed: Scalars["Boolean"]["output"]
53
+ resourceId: Scalars["ID"]["output"]
54
+ }
55
+
56
+ export type DataSourceIndexedAttributes = {
57
+ attributeNames: Array<Maybe<Scalars["String"]["output"]>>
58
+ id: Scalars["ID"]["output"]
59
+ organizationId: Scalars["String"]["output"]
60
+ }
61
+
62
+ export type DynamicFilter = {
63
+ active?: Maybe<Scalars["Boolean"]["output"]>
64
+ filter: Scalars["String"]["output"]
65
+ id: Scalars["ID"]["output"]
66
+ name?: Maybe<Scalars["String"]["output"]>
67
+ resourceId: Scalars["String"]["output"]
68
+ }
69
+
70
+ export type LabellingConfiguration = {
71
+ active?: Maybe<Scalars["Boolean"]["output"]>
72
+ allowOverlapping?: Maybe<Scalars["Boolean"]["output"]>
73
+ anchor?: Maybe<Anchor>
74
+ backgroundSymbol?: Maybe<Symbol>
75
+ backgroundSymbolActive?: Maybe<Scalars["Boolean"]["output"]>
76
+ backgroundSymbolOffset?: Maybe<Point>
77
+ followMapRotation?: Maybe<Scalars["Boolean"]["output"]>
78
+ frameActive?: Maybe<Scalars["Boolean"]["output"]>
79
+ frameBorderColor?: Maybe<Scalars["String"]["output"]>
80
+ frameFillColor?: Maybe<Scalars["String"]["output"]>
81
+ frameTransparency?: Maybe<Scalars["Float"]["output"]>
82
+ labelSpacing?: Maybe<Scalars["Int"]["output"]>
83
+ maximumZoom?: Maybe<Scalars["Float"]["output"]>
84
+ minimumZoom?: Maybe<Scalars["Float"]["output"]>
85
+ offset?: Maybe<Point>
86
+ outlineColor?: Maybe<Scalars["String"]["output"]>
87
+ outlined?: Maybe<Scalars["Boolean"]["output"]>
88
+ referenceZoom?: Maybe<Scalars["Float"]["output"]>
89
+ rotationAttributeId?: Maybe<Scalars["String"]["output"]>
90
+ rotationDirection?: Maybe<RotationDirection>
91
+ rotationOrigin?: Maybe<RotationOrigin>
92
+ rotationUnit?: Maybe<RotationUnit>
93
+ text?: Maybe<Scalars["String"]["output"]>
94
+ textBold?: Maybe<Scalars["Boolean"]["output"]>
95
+ textColor?: Maybe<Scalars["String"]["output"]>
96
+ textItalic?: Maybe<Scalars["Boolean"]["output"]>
97
+ textSize?: Maybe<Scalars["Int"]["output"]>
98
+ transparency?: Maybe<Scalars["Float"]["output"]>
99
+ typeface?: Maybe<Typeface>
100
+ }
101
+
102
+ export type Layer = {
103
+ allowClientSideEditing?: Maybe<Scalars["Boolean"]["output"]>
104
+ attributes?: Maybe<Array<Maybe<Attribute>>>
105
+ baseFilter?: Maybe<Scalars["String"]["output"]>
106
+ elementType?: Maybe<Scalars["String"]["output"]>
107
+ forms?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
108
+ generalizationLevel?: Maybe<Scalars["String"]["output"]>
109
+ id: Scalars["ID"]["output"]
110
+ includeInLegend?: Maybe<Scalars["Boolean"]["output"]>
111
+ indexed?: Maybe<Scalars["Boolean"]["output"]>
112
+ labellingConfiguration?: Maybe<LabellingConfiguration>
113
+ listed?: Maybe<Scalars["Boolean"]["output"]>
114
+ maximumZoom?: Maybe<Scalars["Float"]["output"]>
115
+ minimumZoom?: Maybe<Scalars["Float"]["output"]>
116
+ mouseOverConfiguration?: Maybe<MouseOverConfiguration>
117
+ name?: Maybe<Scalars["String"]["output"]>
118
+ permissions?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
119
+ selectable?: Maybe<Scalars["Boolean"]["output"]>
120
+ selectionStyleId?: Maybe<Scalars["String"]["output"]>
121
+ spatialDataSourceId: Scalars["String"]["output"]
122
+ spatialDataSourceOrganizationId: Scalars["String"]["output"]
123
+ tags?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
124
+ type?: Maybe<LayerType>
125
+ userMetadata?: Maybe<Array<Maybe<UserMetadata>>>
126
+ visible?: Maybe<Scalars["Boolean"]["output"]>
127
+ }
128
+
129
+ export type LayerType = "OGC_API_FEATURES" | "RASTER" | "VECTOR" | "WMS" | "WMTS"
130
+
131
+ export type MouseOverConfiguration = {
132
+ active?: Maybe<Scalars["Boolean"]["output"]>
133
+ backgroundColor?: Maybe<Scalars["String"]["output"]>
134
+ maximumZoom?: Maybe<Scalars["Float"]["output"]>
135
+ minimumZoom?: Maybe<Scalars["Float"]["output"]>
136
+ preventDuplication?: Maybe<Scalars["Boolean"]["output"]>
137
+ text: Scalars["String"]["output"]
138
+ url?: Maybe<Scalars["String"]["output"]>
139
+ }
140
+
141
+ export type Permission =
142
+ | "CREATE_FEATURE"
143
+ | "CREATE_ROW"
144
+ | "DELETE_FEATURE"
145
+ | "DELETE_ROW"
146
+ | "EDIT_FEATURE_ATTRIBUTES"
147
+ | "EDIT_FEATURE_GEOMETRY"
148
+ | "EDIT_ROW"
149
+ | "EXTRACT_FEATURE"
150
+ | "EXTRACT_RASTER"
151
+ | "EXTRACT_ROW"
152
+ | "MODIFY"
153
+ | "OWNER"
154
+ | "VIEW"
155
+
156
+ export type Point = {
157
+ x?: Maybe<Scalars["Float"]["output"]>
158
+ y?: Maybe<Scalars["Float"]["output"]>
159
+ }
160
+
161
+ export type Query = {
162
+ checkResourcesPermissions: Array<Maybe<CheckPermissionsResponse>>
163
+ checkSpatialDataSourceExtractPermission: Scalars["Boolean"]["output"]
164
+ getAvailableBasemaps: Array<Maybe<Basemap>>
165
+ getBasemaps: Array<Maybe<Basemap>>
166
+ getDataSourceIndexedAttributes: Array<Maybe<DataSourceIndexedAttributes>>
167
+ getFilteredRasterDataSources: Array<Maybe<RasterDataSource>>
168
+ getLayer: Layer
169
+ getLayerDynamicFilters: Array<Maybe<DynamicFilter>>
170
+ getLayers: Array<Maybe<Layer>>
171
+ getSpatialDataSourceInfos: Array<Maybe<SpatialDataSourceInfo>>
172
+ getStyleRules: Array<Maybe<StyleRule>>
173
+ getStyleSamples: Array<Maybe<StyleSample>>
174
+ getTableDatasetDynamicFilters: Array<Maybe<DynamicFilter>>
175
+ getTablesDataset: Array<Maybe<TableDataset>>
176
+ }
177
+
178
+ export type QueryCheckResourcesPermissionsArgs = {
179
+ checkPermissionsParams: Array<CheckPermissionsParams>
180
+ organizationId: Scalars["ID"]["input"]
181
+ }
182
+
183
+ export type QueryCheckSpatialDataSourceExtractPermissionArgs = {
184
+ organizationId: Scalars["ID"]["input"]
185
+ spatialDataSourceId: Scalars["String"]["input"]
186
+ }
187
+
188
+ export type QueryGetAvailableBasemapsArgs = {
189
+ locale?: InputMaybe<Scalars["String"]["input"]>
190
+ organizationId: Scalars["String"]["input"]
191
+ projectId: Scalars["String"]["input"]
192
+ }
193
+
194
+ export type QueryGetBasemapsArgs = {
195
+ locale?: InputMaybe<Scalars["String"]["input"]>
196
+ organizationId: Scalars["String"]["input"]
197
+ projectId: Scalars["String"]["input"]
198
+ }
199
+
200
+ export type QueryGetDataSourceIndexedAttributesArgs = {
201
+ organizationId: Scalars["String"]["input"]
202
+ projectId: Scalars["String"]["input"]
203
+ }
204
+
205
+ export type QueryGetFilteredRasterDataSourcesArgs = {
206
+ organizationId: Scalars["String"]["input"]
207
+ permission: Scalars["String"]["input"]
208
+ }
209
+
210
+ export type QueryGetLayerArgs = {
211
+ layerId: Scalars["String"]["input"]
212
+ locale?: InputMaybe<Scalars["String"]["input"]>
213
+ organizationId: Scalars["String"]["input"]
214
+ projectId: Scalars["String"]["input"]
215
+ }
216
+
217
+ export type QueryGetLayerDynamicFiltersArgs = {
218
+ locale?: InputMaybe<Scalars["String"]["input"]>
219
+ organizationId: Scalars["String"]["input"]
220
+ projectId: Scalars["String"]["input"]
221
+ }
222
+
223
+ export type QueryGetLayersArgs = {
224
+ locale?: InputMaybe<Scalars["String"]["input"]>
225
+ organizationId: Scalars["String"]["input"]
226
+ projectId: Scalars["String"]["input"]
227
+ }
228
+
229
+ export type QueryGetSpatialDataSourceInfosArgs = {
230
+ organizationId: Scalars["String"]["input"]
231
+ projectId: Scalars["String"]["input"]
232
+ }
233
+
234
+ export type QueryGetStyleRulesArgs = {
235
+ locale?: InputMaybe<Scalars["String"]["input"]>
236
+ organizationId: Scalars["String"]["input"]
237
+ projectId: Scalars["String"]["input"]
238
+ }
239
+
240
+ export type QueryGetStyleSamplesArgs = {
241
+ organizationId: Scalars["String"]["input"]
242
+ projectId: Scalars["String"]["input"]
243
+ sampleHeight?: InputMaybe<Scalars["Int"]["input"]>
244
+ sampleWidth?: InputMaybe<Scalars["Int"]["input"]>
245
+ }
246
+
247
+ export type QueryGetTableDatasetDynamicFiltersArgs = {
248
+ locale?: InputMaybe<Scalars["String"]["input"]>
249
+ organizationId: Scalars["String"]["input"]
250
+ projectId: Scalars["String"]["input"]
251
+ }
252
+
253
+ export type QueryGetTablesDatasetArgs = {
254
+ locale?: InputMaybe<Scalars["String"]["input"]>
255
+ organizationId: Scalars["String"]["input"]
256
+ projectId: Scalars["String"]["input"]
257
+ }
258
+
259
+ export type RasterDataSource = {
260
+ crs?: Maybe<Scalars["String"]["output"]>
261
+ description?: Maybe<Scalars["String"]["output"]>
262
+ fileIds?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
263
+ id: Scalars["ID"]["output"]
264
+ name?: Maybe<Scalars["String"]["output"]>
265
+ organizationId?: Maybe<Scalars["String"]["output"]>
266
+ }
267
+
268
+ export type ResourceType = "DATA_SOURCE" | "PROJECT"
269
+
270
+ export type RotationDirection = "CCW" | "CW"
271
+
272
+ export type RotationOrigin = "ARITHMETIC" | "GEOGRAPHIC"
273
+
274
+ export type RotationUnit = "DEGREE" | "RADIAN"
275
+
276
+ export type RuleCondition = {
277
+ id: Scalars["ID"]["output"]
278
+ name?: Maybe<Scalars["String"]["output"]>
279
+ styleMapScales?: Maybe<Array<Maybe<StyleMapScale>>>
280
+ }
281
+
282
+ export type SpatialDataSourceInfo = {
283
+ collectionId?: Maybe<Scalars["String"]["output"]>
284
+ fileIds?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
285
+ id: Scalars["ID"]["output"]
286
+ landingPageUrl?: Maybe<Scalars["String"]["output"]>
287
+ organizationId: Scalars["String"]["output"]
288
+ type: SpatialDataSourceType
289
+ }
290
+
291
+ export type SpatialDataSourceType = "FILE" | "OGC_API_FEATURES" | "RASTER" | "VECTOR"
292
+
293
+ export type StyleMapScale = {
294
+ id: Scalars["ID"]["output"]
295
+ maximumZoom?: Maybe<Scalars["Float"]["output"]>
296
+ minimumZoom?: Maybe<Scalars["Float"]["output"]>
297
+ styleId?: Maybe<Scalars["String"]["output"]>
298
+ }
299
+
300
+ export type StyleRule = {
301
+ active?: Maybe<Scalars["Boolean"]["output"]>
302
+ conditions?: Maybe<Array<Maybe<RuleCondition>>>
303
+ id: Scalars["ID"]["output"]
304
+ layerId: Scalars["String"]["output"]
305
+ name?: Maybe<Scalars["String"]["output"]>
306
+ spatialDataSourceId: Scalars["String"]["output"]
307
+ }
308
+
309
+ export type StyleSample = {
310
+ base64Image?: Maybe<Scalars["String"]["output"]>
311
+ styleId: Scalars["ID"]["output"]
312
+ }
313
+
314
+ export type Symbol = {
315
+ data?: Maybe<Scalars["String"]["output"]>
316
+ height?: Maybe<Scalars["Int"]["output"]>
317
+ mimeType?: Maybe<Scalars["String"]["output"]>
318
+ width?: Maybe<Scalars["Int"]["output"]>
319
+ }
320
+
321
+ export type TableDataset = {
322
+ allowClientSideEditing?: Maybe<Scalars["Boolean"]["output"]>
323
+ attributes?: Maybe<Array<Maybe<Attribute>>>
324
+ baseFilter?: Maybe<Scalars["String"]["output"]>
325
+ dataSourceId: Scalars["String"]["output"]
326
+ dataSourceOrganizationId: Scalars["String"]["output"]
327
+ forms?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
328
+ id: Scalars["ID"]["output"]
329
+ indexed?: Maybe<Scalars["Boolean"]["output"]>
330
+ listed?: Maybe<Scalars["Boolean"]["output"]>
331
+ name?: Maybe<Scalars["String"]["output"]>
332
+ permissions?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
333
+ tags?: Maybe<Array<Maybe<Scalars["String"]["output"]>>>
334
+ }
335
+
336
+ export type Typeface = "AVERIA_SANS_LIBRE" | "BARLOW" | "IBM_PLEX_MONO" | "NOTO_SERIF" | "OPEN_SANS" | "ROBOTO" | "SHANTELL_SANS"
337
+
338
+ export type UserMetadata = {
339
+ id?: Maybe<Scalars["String"]["output"]>
340
+ title?: Maybe<Scalars["String"]["output"]>
341
+ type?: Maybe<Scalars["String"]["output"]>
342
+ value?: Maybe<Scalars["String"]["output"]>
343
+ }
344
+
345
+ export type GetStyleRulesQueryVariables = Exact<{
346
+ organizationId: Scalars["String"]["input"]
347
+ projectId: Scalars["String"]["input"]
348
+ locale?: InputMaybe<Scalars["String"]["input"]>
349
+ }>
350
+
351
+ export type GetStyleRulesQuery = {
352
+ getStyleRules: Array<{
353
+ id: string
354
+ layerId: string
355
+ name: string | null
356
+ active: boolean | null
357
+ conditions: Array<{
358
+ id: string
359
+ name: string | null
360
+ styleMapScales: Array<{ id: string; styleId: string | null; minimumZoom: number | null; maximumZoom: number | null } | null> | null
361
+ } | null> | null
362
+ } | null>
363
+ }
364
+
365
+ export type GetBasemapsQueryVariables = Exact<{
366
+ organizationId: Scalars["String"]["input"]
367
+ projectId: Scalars["String"]["input"]
368
+ locale?: InputMaybe<Scalars["String"]["input"]>
369
+ }>
370
+
371
+ export type GetBasemapsQuery = {
372
+ getBasemaps: Array<{
373
+ id: string
374
+ name: string
375
+ imageUrl: string
376
+ selected: boolean | null
377
+ attributions: Array<{ id: string; href: string | null; imageUrl: string | null; text: string | null } | null>
378
+ } | null>
379
+ }
380
+
381
+ export type GetAvailableBasemapsQueryVariables = Exact<{
382
+ organizationId: Scalars["String"]["input"]
383
+ projectId: Scalars["String"]["input"]
384
+ locale?: InputMaybe<Scalars["String"]["input"]>
385
+ }>
386
+
387
+ export type GetAvailableBasemapsQuery = {
388
+ getAvailableBasemaps: Array<{ id: string; name: string; imageUrl: string; attributions: Array<{ id: string; href: string | null; imageUrl: string | null; text: string | null } | null> } | null>
389
+ }
390
+
391
+ export type GetNgLayersConfigurationQueryVariables = Exact<{
392
+ organizationId: Scalars["String"]["input"]
393
+ projectId: Scalars["String"]["input"]
394
+ locale?: InputMaybe<Scalars["String"]["input"]>
395
+ sampleSize?: InputMaybe<Scalars["Int"]["input"]>
396
+ }>
397
+
398
+ export type GetNgLayersConfigurationQuery = {
399
+ getLayers: Array<{
400
+ id: string
401
+ spatialDataSourceId: string
402
+ spatialDataSourceOrganizationId: string
403
+ name: string | null
404
+ type: LayerType | null
405
+ includeInLegend: boolean | null
406
+ elementType: string | null
407
+ visible: boolean | null
408
+ listed: boolean | null
409
+ selectable: boolean | null
410
+ allowClientSideEditing: boolean | null
411
+ minimumZoom: number | null
412
+ maximumZoom: number | null
413
+ permissions: Array<string | null> | null
414
+ selectionStyleId: string | null
415
+ tags: Array<string | null> | null
416
+ baseFilter: string | null
417
+ forms: Array<string | null> | null
418
+ mouseOverConfiguration: {
419
+ active: boolean | null
420
+ text: string
421
+ preventDuplication: boolean | null
422
+ backgroundColor: string | null
423
+ minimumZoom: number | null
424
+ maximumZoom: number | null
425
+ url: string | null
426
+ } | null
427
+ attributes: Array<{ id: string | null; name: string; type: string | null; title: string | null; indexed: boolean | null; visible: boolean | null } | null> | null
428
+ userMetadata: Array<{ id: string | null; type: string | null; title: string | null; value: string | null } | null> | null
429
+ } | null>
430
+ getLayerDynamicFilters: Array<{ id: string; name: string | null; resourceId: string; active: boolean | null; filter: string } | null>
431
+ getTablesDataset: Array<{
432
+ id: string
433
+ dataSourceId: string
434
+ dataSourceOrganizationId: string
435
+ name: string | null
436
+ tags: Array<string | null> | null
437
+ listed: boolean | null
438
+ indexed: boolean | null
439
+ allowClientSideEditing: boolean | null
440
+ permissions: Array<string | null> | null
441
+ baseFilter: string | null
442
+ forms: Array<string | null> | null
443
+ attributes: Array<{ id: string | null; name: string; title: string | null; type: string | null; indexed: boolean | null; visible: boolean | null } | null> | null
444
+ } | null>
445
+ getTableDatasetDynamicFilters: Array<{ id: string; name: string | null; resourceId: string; active: boolean | null; filter: string } | null>
446
+ getStyleSamples: Array<{ styleId: string; base64Image: string | null } | null>
447
+ getStyleRules: Array<{
448
+ id: string
449
+ layerId: string
450
+ name: string | null
451
+ active: boolean | null
452
+ conditions: Array<{
453
+ id: string
454
+ name: string | null
455
+ styleMapScales: Array<{ id: string; styleId: string | null; minimumZoom: number | null; maximumZoom: number | null } | null> | null
456
+ } | null> | null
457
+ } | null>
458
+ }