@jupytergis/schema 0.14.1 → 0.16.0-alpha.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 (78) hide show
  1. package/lib/_interface/forms.json +7834 -417
  2. package/lib/_interface/processing/clipRasterByExtent.d.ts +39 -0
  3. package/lib/_interface/processing/clipRasterByVector.d.ts +32 -0
  4. package/lib/_interface/processing/clipVectorByMaskLayer.d.ts +28 -0
  5. package/lib/_interface/processing/rasterize.d.ts +42 -0
  6. package/lib/_interface/project/jgis.d.ts +21 -4
  7. package/lib/_interface/project/layers/geoTiffLayer.d.ts +351 -0
  8. package/lib/_interface/project/layers/heatmapLayer.d.ts +8 -1
  9. package/lib/_interface/project/layers/openeoTileLayer.d.ts +20 -0
  10. package/lib/_interface/project/layers/storySegmentLayer.d.ts +6 -0
  11. package/lib/_interface/project/layers/vectorLayer.d.ts +615 -5
  12. package/lib/_interface/project/layers/vectorTileLayer.d.ts +582 -2
  13. package/lib/_interface/project/sources/geoJsonSource.d.ts +8 -0
  14. package/lib/_interface/project/sources/geoPackageRasterSource.d.ts +36 -0
  15. package/lib/_interface/project/sources/geoPackageVectorSource.d.ts +28 -0
  16. package/lib/_interface/project/sources/geoParquetSource.d.ts +8 -0
  17. package/lib/_interface/project/sources/geoTiffSource.d.ts +8 -0
  18. package/lib/_interface/project/sources/imageSource.d.ts +8 -0
  19. package/lib/_interface/project/sources/openeoTileSource.d.ts +26 -0
  20. package/lib/_interface/project/sources/rasterDemSource.d.ts +8 -0
  21. package/lib/_interface/project/sources/rasterSource.d.ts +8 -0
  22. package/lib/_interface/project/sources/shapefileSource.d.ts +8 -0
  23. package/lib/_interface/project/sources/vectorTileSource.d.ts +8 -0
  24. package/lib/_interface/project/sources/videoSource.d.ts +8 -0
  25. package/lib/_interface/project/sources/wmsTileSource.d.ts +40 -0
  26. package/lib/_interface/project/symbology.d.ts +305 -0
  27. package/lib/_interface/version.d.ts +1 -1
  28. package/lib/_interface/version.js +1 -1
  29. package/lib/doc.d.ts +9 -2
  30. package/lib/doc.js +49 -5
  31. package/lib/grammar/grammarConversions.d.ts +50 -0
  32. package/lib/grammar/grammarConversions.js +137 -0
  33. package/lib/index.d.ts +4 -0
  34. package/lib/index.js +2 -0
  35. package/lib/interfaces.d.ts +87 -19
  36. package/lib/interfaces.js +10 -1
  37. package/lib/migrations/index.d.ts +16 -0
  38. package/lib/migrations/index.js +52 -0
  39. package/lib/migrations/v0_5_to_v0_6.d.ts +11 -0
  40. package/lib/migrations/v0_5_to_v0_6.js +154 -0
  41. package/lib/model.d.ts +49 -13
  42. package/lib/model.js +214 -23
  43. package/lib/processing/ProcessingMerge.d.ts +4 -0
  44. package/lib/processing/ProcessingMerge.js +4 -0
  45. package/lib/processing/_generated/exportProcessingSchema.d.ts +7 -3
  46. package/lib/processing/_generated/exportProcessingSchema.js +7 -3
  47. package/lib/processing/_generated/processingType.d.ts +1 -1
  48. package/lib/processing/_generated/processingType.js +7 -3
  49. package/lib/processing/_generated/processing_merge.json +74 -19
  50. package/lib/schema/processing/clipRasterByExtent.json +39 -0
  51. package/lib/schema/processing/clipRasterByVector.json +33 -0
  52. package/lib/schema/processing/clipVectorByMaskLayer.json +27 -0
  53. package/lib/schema/processing/rasterize.json +45 -0
  54. package/lib/schema/project/jgis.json +35 -5
  55. package/lib/schema/project/layers/{webGlLayer.json → geoTiffLayer.json} +9 -3
  56. package/lib/schema/project/layers/heatmapLayer.json +7 -1
  57. package/lib/schema/project/layers/openeoTileLayer.json +21 -0
  58. package/lib/schema/project/layers/storySegmentLayer.json +14 -3
  59. package/lib/schema/project/layers/vectorLayer.json +93 -14
  60. package/lib/schema/project/layers/vectorTileLayer.json +34 -10
  61. package/lib/schema/project/sources/geoJsonSource.json +13 -0
  62. package/lib/schema/project/sources/geoPackageRasterSource.json +45 -0
  63. package/lib/schema/project/sources/geoPackageVectorSource.json +29 -0
  64. package/lib/schema/project/sources/geoParquetSource.json +13 -0
  65. package/lib/schema/project/sources/geoTiffSource.json +13 -0
  66. package/lib/schema/project/sources/imageSource.json +13 -0
  67. package/lib/schema/project/sources/openeoTileSource.json +23 -0
  68. package/lib/schema/project/sources/rasterDemSource.json +13 -0
  69. package/lib/schema/project/sources/rasterSource.json +13 -0
  70. package/lib/schema/project/sources/shapefileSource.json +13 -0
  71. package/lib/schema/project/sources/vectorTileSource.json +13 -0
  72. package/lib/schema/project/sources/videoSource.json +13 -0
  73. package/lib/schema/project/sources/wmsTileSource.json +48 -0
  74. package/lib/schema/project/symbology.json +418 -0
  75. package/lib/types.d.ts +16 -1
  76. package/lib/types.js +8 -1
  77. package/package.json +3 -1
  78. package/lib/_interface/project/layers/webGlLayer.d.ts +0 -39
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ export type EmbedOutputClippedRasterInFile = boolean;
9
+
10
+ /**
11
+ * ClipRasterByExtent
12
+ */
13
+ export interface IClipRasterByExtent {
14
+ /**
15
+ * The raster layer to clip.
16
+ */
17
+ inputLayer: string;
18
+ /**
19
+ * Minimum X coordinate (left edge) of the clipping extent.
20
+ */
21
+ xMin: number;
22
+ /**
23
+ * Minimum Y coordinate (bottom edge) of the clipping extent.
24
+ */
25
+ yMin: number;
26
+ /**
27
+ * Maximum X coordinate (right edge) of the clipping extent.
28
+ */
29
+ xMax: number;
30
+ /**
31
+ * Maximum Y coordinate (top edge) of the clipping extent.
32
+ */
33
+ yMax: number;
34
+ /**
35
+ * Output file name for the clipped raster.
36
+ */
37
+ outputFileName?: string;
38
+ embedOutputLayer?: EmbedOutputClippedRasterInFile;
39
+ }
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * Shrink the output extent to the cutline's bounding box. When off, the original raster extent is preserved and pixels outside the cutline are set to nodata.
10
+ */
11
+ export type CropToCutlineExtent = boolean;
12
+ export type EmbedOutputClippedRasterInJGISFile = boolean;
13
+
14
+ /**
15
+ * ClipRasterByVector
16
+ */
17
+ export interface IClipRasterByVector {
18
+ /**
19
+ * The raster layer to clip.
20
+ */
21
+ inputLayer: string;
22
+ /**
23
+ * The vector layer to use as the cutline boundary.
24
+ */
25
+ clipLayer: string;
26
+ cropToCutline?: CropToCutlineExtent;
27
+ /**
28
+ * Output file name for the clipped raster.
29
+ */
30
+ outputFileName?: string;
31
+ embedOutputLayer?: EmbedOutputClippedRasterInJGISFile;
32
+ }
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * Name for the resulting clipped layer.
10
+ */
11
+ export type OutputLayerName = string;
12
+ export type EmbedOutputClippedLayerInFile = boolean;
13
+
14
+ /**
15
+ * ClipVectorByMaskLayer
16
+ */
17
+ export interface IClipVectorByMaskLayer {
18
+ /**
19
+ * The input layer to clip.
20
+ */
21
+ inputLayer: string;
22
+ /**
23
+ * The layer to use as the clip boundary.
24
+ */
25
+ clipLayer: string;
26
+ outputLayerName?: OutputLayerName;
27
+ embedOutputLayer?: EmbedOutputClippedLayerInFile;
28
+ }
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * When enabled, the GeoTIFF is base64-embedded inside the .jGIS document instead of being written to disk.
10
+ */
11
+ export type EmbedOutputGeoTIFFInFile = boolean;
12
+
13
+ /**
14
+ * Rasterize
15
+ */
16
+ export interface IRasterize {
17
+ /**
18
+ * The input vector layer to rasterize.
19
+ */
20
+ inputLayer: string;
21
+ /**
22
+ * Output raster pixel size (in projection units). Must be greater than 0.
23
+ */
24
+ pixelSize: number;
25
+ /**
26
+ * Optional feature attribute used to burn values. Leave empty to use a fixed burn value.
27
+ */
28
+ attributeField?: string;
29
+ /**
30
+ * Fixed value burned into raster cells when no attribute field is provided.
31
+ */
32
+ burnValue?: number;
33
+ /**
34
+ * Value assigned to cells not covered by any feature.
35
+ */
36
+ noDataValue?: number;
37
+ /**
38
+ * Output GeoTIFF filename, saved next to the project file.
39
+ */
40
+ outputFileName: string;
41
+ embedOutputLayer?: EmbedOutputGeoTIFFInFile;
42
+ }
@@ -14,17 +14,19 @@ export type LayerType =
14
14
  | "VectorLayer"
15
15
  | "VectorTileLayer"
16
16
  | "HillshadeLayer"
17
- | "WebGlLayer"
17
+ | "GeoTiffLayer"
18
18
  | "ImageLayer"
19
19
  | "HeatmapLayer"
20
20
  | "StacLayer"
21
- | "StorySegmentLayer";
21
+ | "StorySegmentLayer"
22
+ | "OpenEOTileLayer";
22
23
  /**
23
24
  * This interface was referenced by `IJGISContent`'s JSON-Schema
24
25
  * via the `definition` "sourceType".
25
26
  */
26
27
  export type SourceType =
27
28
  | "RasterSource"
29
+ | "WmsTileSource"
28
30
  | "VectorTileSource"
29
31
  | "GeoJSONSource"
30
32
  | "RasterDemSource"
@@ -32,8 +34,11 @@ export type SourceType =
32
34
  | "ImageSource"
33
35
  | "ShapefileSource"
34
36
  | "GeoTiffSource"
37
+ | "GeoPackageVectorSource"
38
+ | "GeoPackageRasterSource"
35
39
  | "GeoParquetSource"
36
- | "MarkerSource";
40
+ | "MarkerSource"
41
+ | "OpenEOTileSource";
37
42
  /**
38
43
  * This interface was referenced by `IJGISContent`'s JSON-Schema
39
44
  * via the `definition` "jGISLayerItem".
@@ -52,7 +57,7 @@ export type Title = string;
52
57
  /**
53
58
  * The type of story map
54
59
  */
55
- export type StoryType = "guided" | "unguided";
60
+ export type StoryType = "guided" | "unguided" | "Vertical Scroll";
56
61
  /**
57
62
  * Toggle the gradient background in presentation mode.
58
63
  */
@@ -73,6 +78,7 @@ export interface IJGISContent {
73
78
  layerTree?: IJGISLayerTree;
74
79
  options?: IJGISOptions;
75
80
  stories?: IJGISStoryMap;
81
+ viewState?: IJGISViewState;
76
82
  metadata?: {
77
83
  /**
78
84
  * This interface was referenced by `undefined`'s JSON-Schema definition
@@ -181,3 +187,14 @@ export interface IJGISStoryMap {
181
187
  presentationTextColor?: PresentationTextColor;
182
188
  [k: string]: any;
183
189
  }
190
+ /**
191
+ * This interface was referenced by `IJGISContent`'s JSON-Schema
192
+ * via the `definition` "jGISViewState".
193
+ */
194
+ export interface IJGISViewState {
195
+ [k: string]: {
196
+ extent: number[];
197
+ zoom?: number;
198
+ projection?: string;
199
+ };
200
+ }
@@ -0,0 +1,351 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * GeoTiffLayer
10
+ */
11
+ export interface IGeoTiffLayer {
12
+ /**
13
+ * The id of the source
14
+ */
15
+ source: string;
16
+ /**
17
+ * The opacity of the source
18
+ */
19
+ opacity?: number;
20
+ /**
21
+ * The color of the the object
22
+ */
23
+ color?: string | number | (string | number | (number | string | (number | string)[])[])[];
24
+ /**
25
+ * The state of the symbology panel options
26
+ */
27
+ symbologyState?: {
28
+ /**
29
+ * Grammar rendering layers.
30
+ */
31
+ layers?: {
32
+ /**
33
+ * Stable UUID.
34
+ */
35
+ id: string;
36
+ /**
37
+ * Render-side transforms (KDE, cluster) applied before encoding rules.
38
+ */
39
+ preprocess?: (
40
+ | {
41
+ type: "kde";
42
+ radius: number;
43
+ blur: number;
44
+ weightField?: string;
45
+ }
46
+ | {
47
+ type: "cluster";
48
+ radius: number;
49
+ }
50
+ )[];
51
+ /**
52
+ * Encoding rules compiled into a flat-style expression for this layer.
53
+ */
54
+ rules: {
55
+ /**
56
+ * Stable UUID.
57
+ */
58
+ id: string;
59
+ /**
60
+ * Input field name(s). Absent for constant rules.
61
+ */
62
+ fields?: string[];
63
+ /**
64
+ * (scale, channels) pairs sharing these input fields.
65
+ */
66
+ mappings: [
67
+ {
68
+ scale:
69
+ | {
70
+ scheme: "colorRamp";
71
+ params: {
72
+ name: string;
73
+ domain?: [number, number];
74
+ nShades: number;
75
+ mode: "equal interval" | "quantile" | "jenks" | "pretty" | "logarithmic";
76
+ reverse: boolean;
77
+ /**
78
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
79
+ */
80
+ fallback: [number, number, number, number];
81
+ colorStops?: {
82
+ stop: number;
83
+ /**
84
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
85
+ */
86
+ color: [number, number, number, number];
87
+ }[];
88
+ };
89
+ }
90
+ | {
91
+ scheme: "categorical";
92
+ params: {
93
+ colorRamp: string;
94
+ nShades?: number;
95
+ reverse?: boolean;
96
+ /**
97
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
98
+ */
99
+ fallback: [number, number, number, number];
100
+ colorStops?: {
101
+ stop: string | number;
102
+ /**
103
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
104
+ */
105
+ color: [number, number, number, number];
106
+ }[];
107
+ };
108
+ }
109
+ | {
110
+ scheme: "scalar";
111
+ params: {
112
+ domain: [number, number];
113
+ range: [number, number];
114
+ mode: "equal interval" | "quantile" | "jenks" | "pretty" | "logarithmic";
115
+ nStops: number;
116
+ fallback: number;
117
+ scalarStops?: {
118
+ stop: number;
119
+ output: number;
120
+ }[];
121
+ };
122
+ }
123
+ | {
124
+ scheme: "constant_rgba";
125
+ params: {
126
+ /**
127
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
128
+ */
129
+ value: [number, number, number, number];
130
+ };
131
+ }
132
+ | {
133
+ scheme: "constant_num";
134
+ params: {
135
+ value: number;
136
+ };
137
+ }
138
+ | {
139
+ scheme: "identity";
140
+ }
141
+ | {
142
+ scheme: "expression";
143
+ params: {
144
+ expr: string;
145
+ fallback: number | [number, number, number, number];
146
+ };
147
+ };
148
+ /**
149
+ * Target output channel names.
150
+ */
151
+ channels: [
152
+ (
153
+ | ("fill-color" | "stroke-color" | "circle-fill-color" | "circle-stroke-color" | "pixel-color")
154
+ | ("fill-red" | "fill-green" | "fill-blue" | "pixel-red" | "pixel-green" | "pixel-blue")
155
+ | ("fill-alpha" | "pixel-alpha")
156
+ | "pixel-rgb"
157
+ | ("stroke-width" | "circle-radius" | "circle-stroke-width")
158
+ ),
159
+ ...(
160
+ | ("fill-color" | "stroke-color" | "circle-fill-color" | "circle-stroke-color" | "pixel-color")
161
+ | ("fill-red" | "fill-green" | "fill-blue" | "pixel-red" | "pixel-green" | "pixel-blue")
162
+ | ("fill-alpha" | "pixel-alpha")
163
+ | "pixel-rgb"
164
+ | ("stroke-width" | "circle-radius" | "circle-stroke-width")
165
+ )[]
166
+ ];
167
+ },
168
+ ...{
169
+ scale:
170
+ | {
171
+ scheme: "colorRamp";
172
+ params: {
173
+ name: string;
174
+ domain?: [number, number];
175
+ nShades: number;
176
+ mode: "equal interval" | "quantile" | "jenks" | "pretty" | "logarithmic";
177
+ reverse: boolean;
178
+ /**
179
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
180
+ */
181
+ fallback: [number, number, number, number];
182
+ colorStops?: {
183
+ stop: number;
184
+ /**
185
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
186
+ */
187
+ color: [number, number, number, number];
188
+ }[];
189
+ };
190
+ }
191
+ | {
192
+ scheme: "categorical";
193
+ params: {
194
+ colorRamp: string;
195
+ nShades?: number;
196
+ reverse?: boolean;
197
+ /**
198
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
199
+ */
200
+ fallback: [number, number, number, number];
201
+ colorStops?: {
202
+ stop: string | number;
203
+ /**
204
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
205
+ */
206
+ color: [number, number, number, number];
207
+ }[];
208
+ };
209
+ }
210
+ | {
211
+ scheme: "scalar";
212
+ params: {
213
+ domain: [number, number];
214
+ range: [number, number];
215
+ mode: "equal interval" | "quantile" | "jenks" | "pretty" | "logarithmic";
216
+ nStops: number;
217
+ fallback: number;
218
+ scalarStops?: {
219
+ stop: number;
220
+ output: number;
221
+ }[];
222
+ };
223
+ }
224
+ | {
225
+ scheme: "constant_rgba";
226
+ params: {
227
+ /**
228
+ * [R 0-255, G 0-255, B 0-255, A 0-1]
229
+ */
230
+ value: [number, number, number, number];
231
+ };
232
+ }
233
+ | {
234
+ scheme: "constant_num";
235
+ params: {
236
+ value: number;
237
+ };
238
+ }
239
+ | {
240
+ scheme: "identity";
241
+ }
242
+ | {
243
+ scheme: "expression";
244
+ params: {
245
+ expr: string;
246
+ fallback: number | [number, number, number, number];
247
+ };
248
+ };
249
+ /**
250
+ * Target output channel names.
251
+ */
252
+ channels: [
253
+ (
254
+ | ("fill-color" | "stroke-color" | "circle-fill-color" | "circle-stroke-color" | "pixel-color")
255
+ | ("fill-red" | "fill-green" | "fill-blue" | "pixel-red" | "pixel-green" | "pixel-blue")
256
+ | ("fill-alpha" | "pixel-alpha")
257
+ | "pixel-rgb"
258
+ | ("stroke-width" | "circle-radius" | "circle-stroke-width")
259
+ ),
260
+ ...(
261
+ | ("fill-color" | "stroke-color" | "circle-fill-color" | "circle-stroke-color" | "pixel-color")
262
+ | ("fill-red" | "fill-green" | "fill-blue" | "pixel-red" | "pixel-green" | "pixel-blue")
263
+ | ("fill-alpha" | "pixel-alpha")
264
+ | "pixel-rgb"
265
+ | ("stroke-width" | "circle-radius" | "circle-stroke-width")
266
+ )[]
267
+ ];
268
+ }[]
269
+ ];
270
+ /**
271
+ * Guard predicates for this rule.
272
+ */
273
+ when?: (
274
+ | {
275
+ type: "geometryType";
276
+ value: "Point" | "LineString" | "Polygon";
277
+ }
278
+ | {
279
+ type: "hasField";
280
+ field: string;
281
+ }
282
+ | {
283
+ type: "fieldEquals";
284
+ field: string;
285
+ value: string | number;
286
+ }
287
+ | {
288
+ type: "fieldCompare";
289
+ field: string;
290
+ op: ">" | "<" | ">=" | "<=" | "!=";
291
+ value: number;
292
+ }
293
+ | {
294
+ type: "between";
295
+ field: string;
296
+ min: number;
297
+ max: number;
298
+ }
299
+ )[];
300
+ /**
301
+ * Logical combinator for when predicates. Defaults to 'all'.
302
+ */
303
+ whenOp?: "all" | "any";
304
+ }[];
305
+ /**
306
+ * Guard predicates applied to every rule in this layer.
307
+ */
308
+ when?: (
309
+ | {
310
+ type: "geometryType";
311
+ value: "Point" | "LineString" | "Polygon";
312
+ }
313
+ | {
314
+ type: "hasField";
315
+ field: string;
316
+ }
317
+ | {
318
+ type: "fieldEquals";
319
+ field: string;
320
+ value: string | number;
321
+ }
322
+ | {
323
+ type: "fieldCompare";
324
+ field: string;
325
+ op: ">" | "<" | ">=" | "<=" | "!=";
326
+ value: number;
327
+ }
328
+ | {
329
+ type: "between";
330
+ field: string;
331
+ min: number;
332
+ max: number;
333
+ }
334
+ )[];
335
+ /**
336
+ * Logical combinator for when predicates. Defaults to 'all'.
337
+ */
338
+ whenOp?: "all" | "any";
339
+ }[];
340
+ renderType?: string;
341
+ band?: number;
342
+ redBand?: number;
343
+ greenBand?: number;
344
+ blueBand?: number;
345
+ alphaBand?: number;
346
+ interpolation?: "discrete" | "linear" | "exact";
347
+ colorRamp?: string;
348
+ nClasses?: string;
349
+ mode?: "continuous" | "equal interval" | "quantile";
350
+ };
351
+ }
@@ -25,13 +25,20 @@ export interface IHeatmapLayer {
25
25
  * Blur size in pixels
26
26
  */
27
27
  blur: number;
28
+ /**
29
+ * DEPRECATED. Legacy gradient cache. New files should not set this; symbologyState.gradient is the source of truth. Retained only so that legacy .jGIS files can be migrated on load.
30
+ */
28
31
  color?: string[];
29
32
  /**
30
- * The state of the symbology panel options
33
+ * The symbology configuration. Source of truth for how the heatmap is rendered.
31
34
  */
32
35
  symbologyState?: {
33
36
  renderType: string;
34
37
  colorRamp?: string;
38
+ /**
39
+ * Ordered list of CSS color strings used to build the heatmap gradient.
40
+ */
41
+ gradient?: string[];
35
42
  [k: string]: any;
36
43
  };
37
44
  }
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * OpenEOTileLayer
10
+ */
11
+ export interface IOpenEOTileLayer {
12
+ /**
13
+ * The id of the source
14
+ */
15
+ source: string;
16
+ /**
17
+ * The opacity of the source
18
+ */
19
+ opacity?: number;
20
+ }
@@ -5,6 +5,10 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
+ /**
9
+ * Display map or markdown content while this segment is active
10
+ */
11
+ export type ContentMode = "map" | "markdown";
8
12
  export type SegmentTitle = string;
9
13
  /**
10
14
  * The name of the layer to apply a layer override to when this story segment is active
@@ -71,6 +75,7 @@ export interface IStorySegmentLayer {
71
75
  [k: string]: any;
72
76
  }
73
77
  export interface SegmentContent {
78
+ contentMode: ContentMode;
74
79
  title?: SegmentTitle;
75
80
  /**
76
81
  * Link to image for the story
@@ -80,4 +85,5 @@ export interface SegmentContent {
80
85
  * Markdown string representing the content of the story stop
81
86
  */
82
87
  markdown?: string;
88
+ [k: string]: any;
83
89
  }