@osdk/gotham.maprendering 0.0.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.
- package/build/browser/_components.d.ts +325 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +30 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +5 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +18 -0
- package/build/browser/index.js.map +1 -0
- package/build/browser/public/InvocationObject.d.ts +17 -0
- package/build/browser/public/InvocationObject.d.ts.map +1 -0
- package/build/browser/public/InvocationObject.js +28 -0
- package/build/browser/public/InvocationObject.js.map +1 -0
- package/build/browser/public/Symbol.d.ts +18 -0
- package/build/browser/public/Symbol.d.ts.map +1 -0
- package/build/browser/public/Symbol.js +28 -0
- package/build/browser/public/Symbol.js.map +1 -0
- package/build/esm/_components.d.ts +325 -0
- package/build/esm/_components.d.ts.map +1 -0
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.d.ts +30 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.d.ts +5 -0
- package/build/esm/index.d.ts.map +1 -0
- package/build/esm/index.js +18 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/public/InvocationObject.d.ts +17 -0
- package/build/esm/public/InvocationObject.d.ts.map +1 -0
- package/build/esm/public/InvocationObject.js +28 -0
- package/build/esm/public/InvocationObject.js.map +1 -0
- package/build/esm/public/Symbol.d.ts +18 -0
- package/build/esm/public/Symbol.d.ts.map +1 -0
- package/build/esm/public/Symbol.js +28 -0
- package/build/esm/public/Symbol.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import type * as _Geojson from "@osdk/gotham.geojson";
|
|
2
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
3
|
+
__LOOSE_BRAND?: T;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* The render capability of the client. Renderables will be returned in the best possible format that's supported
|
|
7
|
+
by the client.
|
|
8
|
+
*
|
|
9
|
+
* Log Safety: SAFE
|
|
10
|
+
*/
|
|
11
|
+
export interface ClientCapabilities {
|
|
12
|
+
supportedRenderableContent?: Array<RenderableContentType>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier of a Foundry object property.
|
|
16
|
+
*
|
|
17
|
+
* Log Safety: SAFE
|
|
18
|
+
*/
|
|
19
|
+
export type FoundryObjectPropertyTypeRid = LooselyBrandedString<"FoundryObjectPropertyTypeRid">;
|
|
20
|
+
/**
|
|
21
|
+
* The value of a Foundry object's property. The type of the property value is not preserved.
|
|
22
|
+
*
|
|
23
|
+
* Log Safety: UNSAFE
|
|
24
|
+
*/
|
|
25
|
+
export type FoundryObjectPropertyValueUntyped = any;
|
|
26
|
+
/**
|
|
27
|
+
* The RID of a Foundry object set.
|
|
28
|
+
*
|
|
29
|
+
* Log Safety: SAFE
|
|
30
|
+
*/
|
|
31
|
+
export type FoundryObjectSetRid = LooselyBrandedString<"FoundryObjectSetRid">;
|
|
32
|
+
/**
|
|
33
|
+
* A unique identifier of a Foundry object type.
|
|
34
|
+
*
|
|
35
|
+
* Log Safety: SAFE
|
|
36
|
+
*/
|
|
37
|
+
export type FoundryObjectTypeRid = LooselyBrandedString<"FoundryObjectTypeRid">;
|
|
38
|
+
/**
|
|
39
|
+
* Renderable content represented with GeoJson geometry.
|
|
40
|
+
*
|
|
41
|
+
* Log Safety: UNSAFE
|
|
42
|
+
*/
|
|
43
|
+
export interface GeometryRenderableContent {
|
|
44
|
+
geometry: _Geojson.GeoJsonObject;
|
|
45
|
+
style: MrsGeometryStyle;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Represents a request to render a set of Foundry objects. This includes information on how the objects should be
|
|
49
|
+
rendered.
|
|
50
|
+
*
|
|
51
|
+
* Log Safety: UNSAFE
|
|
52
|
+
*/
|
|
53
|
+
export interface Invocation {
|
|
54
|
+
id: InvocationId;
|
|
55
|
+
sourcingOnly?: boolean;
|
|
56
|
+
objects: ObjectsReference;
|
|
57
|
+
renderer: RendererReference;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Client supplied session-unique identifier for a specific invocation of a render function.
|
|
61
|
+
*
|
|
62
|
+
* Log Safety: UNSAFE
|
|
63
|
+
*/
|
|
64
|
+
export type InvocationId = LooselyBrandedString<"InvocationId">;
|
|
65
|
+
/**
|
|
66
|
+
* Log Safety: UNSAFE
|
|
67
|
+
*/
|
|
68
|
+
export interface InvocationObject {
|
|
69
|
+
capabilities: ClientCapabilities;
|
|
70
|
+
invocations?: Array<Invocation>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Alpha value of the color in the [0, 255] range.
|
|
74
|
+
*
|
|
75
|
+
* Log Safety: UNSAFE
|
|
76
|
+
*/
|
|
77
|
+
export type MrsAlpha = number;
|
|
78
|
+
/**
|
|
79
|
+
* Color to be applied to some component of a renderable.
|
|
80
|
+
*
|
|
81
|
+
* Log Safety: UNSAFE
|
|
82
|
+
*/
|
|
83
|
+
export interface MrsColor {
|
|
84
|
+
rgb: MrsRgb;
|
|
85
|
+
alpha: MrsAlpha;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Fill to be applied to some component of a renderable.
|
|
89
|
+
*
|
|
90
|
+
* Log Safety: UNSAFE
|
|
91
|
+
*/
|
|
92
|
+
export interface MrsFillStyle {
|
|
93
|
+
color: MrsColor;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Base generic symbol. Clients should always support rendering this symbol type.
|
|
97
|
+
*
|
|
98
|
+
* Log Safety: UNSAFE
|
|
99
|
+
*/
|
|
100
|
+
export interface MrsGenericSymbol {
|
|
101
|
+
id: MrsGenericSymbolId;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Unique identifier for a symbol that can be used to fetch the symbol as a PNG using loadGenericSymbol endpoint.
|
|
105
|
+
The ID is opaque and not meant to be parsed in any way.
|
|
106
|
+
*
|
|
107
|
+
* Log Safety: UNSAFE
|
|
108
|
+
*/
|
|
109
|
+
export type MrsGenericSymbolId = LooselyBrandedString<"MrsGenericSymbolId">;
|
|
110
|
+
/**
|
|
111
|
+
* Styling information for GeoJson geometry objects.
|
|
112
|
+
*
|
|
113
|
+
* Log Safety: UNSAFE
|
|
114
|
+
*/
|
|
115
|
+
export interface MrsGeometryStyle {
|
|
116
|
+
symbolStyle?: MrsSymbolStyle;
|
|
117
|
+
strokeStyle?: MrsStrokeStyle;
|
|
118
|
+
fillStyle?: MrsFillStyle;
|
|
119
|
+
labelStyle?: MrsLabelStyle;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Text to be rendered as part of the renderable content.
|
|
123
|
+
*
|
|
124
|
+
* Log Safety: UNSAFE
|
|
125
|
+
*/
|
|
126
|
+
export interface MrsLabelStyle {
|
|
127
|
+
color: MrsColor;
|
|
128
|
+
text: string;
|
|
129
|
+
size: MrsVirtualPixels;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Styling information for raster tiles.
|
|
133
|
+
*
|
|
134
|
+
* Log Safety: UNSAFE
|
|
135
|
+
*/
|
|
136
|
+
export interface MrsRasterStyle {
|
|
137
|
+
opacity: MrsAlpha;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* RGB values of the color encoded in hex as '#RRGGBB'
|
|
141
|
+
*
|
|
142
|
+
* Log Safety: UNSAFE
|
|
143
|
+
*/
|
|
144
|
+
export type MrsRgb = LooselyBrandedString<"MrsRgb">;
|
|
145
|
+
/**
|
|
146
|
+
* Color to be applied to some component of a renderable.
|
|
147
|
+
*
|
|
148
|
+
* Log Safety: UNSAFE
|
|
149
|
+
*/
|
|
150
|
+
export interface MrsStrokeStyle {
|
|
151
|
+
color: MrsColor;
|
|
152
|
+
width: MrsVirtualPixels;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Information used load the symbol from the Symbol loading apis.
|
|
156
|
+
*
|
|
157
|
+
* Log Safety: UNSAFE
|
|
158
|
+
*/
|
|
159
|
+
export type MrsSymbol = {
|
|
160
|
+
type: "generic";
|
|
161
|
+
} & MrsGenericSymbol;
|
|
162
|
+
/**
|
|
163
|
+
* Symbol to be rendered as part of the renderable content.
|
|
164
|
+
*
|
|
165
|
+
* Log Safety: UNSAFE
|
|
166
|
+
*/
|
|
167
|
+
export interface MrsSymbolStyle {
|
|
168
|
+
symbol: MrsSymbol;
|
|
169
|
+
size: MrsVirtualPixels;
|
|
170
|
+
opacity: MrsAlpha;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Size in virtual pixels, accounting for high DPI displays. For browser applications these are CSS pixels or
|
|
174
|
+
devicePixelRatio.
|
|
175
|
+
*
|
|
176
|
+
* Log Safety: UNSAFE
|
|
177
|
+
*/
|
|
178
|
+
export type MrsVirtualPixels = number;
|
|
179
|
+
/**
|
|
180
|
+
* Information that could be used to identify an unique Foundry object.
|
|
181
|
+
*
|
|
182
|
+
* Log Safety: UNSAFE
|
|
183
|
+
*/
|
|
184
|
+
export interface ObjectSourcingContent {
|
|
185
|
+
objectType: FoundryObjectTypeRid;
|
|
186
|
+
primaryKey?: Record<FoundryObjectPropertyTypeRid, FoundryObjectPropertyValueUntyped>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Reference to a set of Foundry objects.
|
|
190
|
+
*
|
|
191
|
+
* Log Safety: SAFE
|
|
192
|
+
*/
|
|
193
|
+
export type ObjectsReference = {
|
|
194
|
+
type: "objectSet";
|
|
195
|
+
} & ObjectsReferenceObjectSet;
|
|
196
|
+
/**
|
|
197
|
+
* Reference to a Foundry object set. Versioned object sets are currently not supported.
|
|
198
|
+
*
|
|
199
|
+
* Log Safety: SAFE
|
|
200
|
+
*/
|
|
201
|
+
export interface ObjectsReferenceObjectSet {
|
|
202
|
+
objectSetRid: FoundryObjectSetRid;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Renderable content represented with raster tiles in the Web Mercator (EPSG:3857) projection, laid out with the
|
|
206
|
+
single root tile, (z=0, x=0, y=0), covering the whole world. Construct the url using the url template supplied
|
|
207
|
+
to load the raster tile.
|
|
208
|
+
See https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames.
|
|
209
|
+
*
|
|
210
|
+
* Log Safety: UNSAFE
|
|
211
|
+
*/
|
|
212
|
+
export interface RasterTilesRenderableContent {
|
|
213
|
+
url: string;
|
|
214
|
+
tileDisplayResolution: MrsVirtualPixels;
|
|
215
|
+
coveringGeometry: _Geojson.GeoJsonObject;
|
|
216
|
+
style: MrsRasterStyle;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* A set of RenderableContent that represents a property of a Foundry object (i.e. the sourcing) for an invocation.
|
|
220
|
+
*
|
|
221
|
+
* Log Safety: UNSAFE
|
|
222
|
+
*/
|
|
223
|
+
export interface Renderable {
|
|
224
|
+
id: RenderableId;
|
|
225
|
+
invocation: InvocationId;
|
|
226
|
+
sourcing: SourcingId;
|
|
227
|
+
content?: Record<RenderablePartId, RenderableContent>;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Represents a set of geopositioned geometries and their corresponding style to be rendered on to a map.
|
|
231
|
+
*
|
|
232
|
+
* Log Safety: UNSAFE
|
|
233
|
+
*/
|
|
234
|
+
export type RenderableContent = ({
|
|
235
|
+
type: "geometry";
|
|
236
|
+
} & GeometryRenderableContent) | ({
|
|
237
|
+
type: "rasterTilesWebMercator";
|
|
238
|
+
} & RasterTilesRenderableContent);
|
|
239
|
+
/**
|
|
240
|
+
* Available renderable content types:
|
|
241
|
+
|
|
242
|
+
GEOMETRY: Base geometry type.
|
|
243
|
+
Corresponds to GeometryRenderableContent.
|
|
244
|
+
RASTER_TILES_WEB_MERCATOR: Web Mercator (EPSG:3857) projection raster tiles.
|
|
245
|
+
Corresponds to RasterTilesRenderableContent.
|
|
246
|
+
*
|
|
247
|
+
* Log Safety: SAFE
|
|
248
|
+
*/
|
|
249
|
+
export type RenderableContentType = "GEOMETRY" | "RASTER_TILES_WEB_MERCATOR";
|
|
250
|
+
/**
|
|
251
|
+
* Globally unique ID for a renderable within a session. The ID is opaque and not meant to be parsed in any way.
|
|
252
|
+
*
|
|
253
|
+
* Log Safety: UNSAFE
|
|
254
|
+
*/
|
|
255
|
+
export type RenderableId = LooselyBrandedString<"RenderableId">;
|
|
256
|
+
/**
|
|
257
|
+
* Locally unique identifier for a part of a renderable.
|
|
258
|
+
*
|
|
259
|
+
* Log Safety: UNSAFE
|
|
260
|
+
*/
|
|
261
|
+
export type RenderablePartId = LooselyBrandedString<"RenderablePartId">;
|
|
262
|
+
/**
|
|
263
|
+
* Reference that can be resolved into a renderer object. The renderer object includes configuration settings for
|
|
264
|
+
rendering the objects.
|
|
265
|
+
*
|
|
266
|
+
* Log Safety: SAFE
|
|
267
|
+
*/
|
|
268
|
+
export type RendererReference = {
|
|
269
|
+
type: "standard";
|
|
270
|
+
} & StandardRendererReference;
|
|
271
|
+
/**
|
|
272
|
+
* Log Safety: UNSAFE
|
|
273
|
+
*/
|
|
274
|
+
export interface RenderInvocationObjectRequest {
|
|
275
|
+
capabilities: ClientCapabilities;
|
|
276
|
+
invocations: Array<Invocation>;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Log Safety: UNSAFE
|
|
280
|
+
*/
|
|
281
|
+
export interface RenderObjectsResponse {
|
|
282
|
+
renderables?: Array<Renderable>;
|
|
283
|
+
sourcings?: Array<Sourcing>;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* A reference to an individual unit of data Renderables were derived from.
|
|
287
|
+
*
|
|
288
|
+
* Log Safety: UNSAFE
|
|
289
|
+
*/
|
|
290
|
+
export interface Sourcing {
|
|
291
|
+
id: SourcingId;
|
|
292
|
+
content: SourcingContent;
|
|
293
|
+
title: string;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Information used to locate the Sourcing and its metadata.
|
|
297
|
+
*
|
|
298
|
+
* Log Safety: UNSAFE
|
|
299
|
+
*/
|
|
300
|
+
export type SourcingContent = {
|
|
301
|
+
type: "object";
|
|
302
|
+
} & ObjectSourcingContent;
|
|
303
|
+
/**
|
|
304
|
+
* Globally unique ID for the sourcing within a session. The ID is opaque and not meant to be parsed in any way.
|
|
305
|
+
*
|
|
306
|
+
* Log Safety: UNSAFE
|
|
307
|
+
*/
|
|
308
|
+
export type SourcingId = LooselyBrandedString<"SourcingId">;
|
|
309
|
+
/**
|
|
310
|
+
* The standard built in renderer. Renders the objects with service defined default styling derived from the object
|
|
311
|
+
type icon set in ontology manager.
|
|
312
|
+
*
|
|
313
|
+
* Log Safety: SAFE
|
|
314
|
+
*/
|
|
315
|
+
export interface StandardRendererReference {
|
|
316
|
+
get?: any;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Log Safety: UNSAFE
|
|
320
|
+
*/
|
|
321
|
+
export interface Symbol {
|
|
322
|
+
id: MrsGenericSymbolId;
|
|
323
|
+
size?: number;
|
|
324
|
+
}
|
|
325
|
+
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEtD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;KAKK;AACL,MAAM,WAAW,kBAAkB;IACjC,0BAA0B,CAAC,EAAE,KAAK,CAAC,qBAAqB,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IG;AACH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,UAAU,CAAC;IACf,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG,qBAAqB,CAAC;AAEzE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AAE5D;;;;;KAKK;AACL,MAAM,WAAW,yBAAyB;IACxC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,kBAAkB,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.js","names":[],"sources":["_components.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Could not generic the Symbol.
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: UNSAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface GenericSymbolPermissionDenied {
|
|
10
|
+
errorCode: "PERMISSION_DENIED";
|
|
11
|
+
errorName: "GenericSymbolPermissionDenied";
|
|
12
|
+
errorDescription: "Could not generic the Symbol.";
|
|
13
|
+
errorInstanceId: string;
|
|
14
|
+
parameters: {
|
|
15
|
+
symbolId: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Could not render the InvocationObject.
|
|
20
|
+
*
|
|
21
|
+
* Log Safety: SAFE
|
|
22
|
+
*/
|
|
23
|
+
export interface RenderInvocationObjectPermissionDenied {
|
|
24
|
+
errorCode: "PERMISSION_DENIED";
|
|
25
|
+
errorName: "RenderInvocationObjectPermissionDenied";
|
|
26
|
+
errorDescription: "Could not render the InvocationObject.";
|
|
27
|
+
errorInstanceId: string;
|
|
28
|
+
parameters: {};
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=_errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,gBAAgB,EAAE,+BAA+B,CAAC;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACrD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,wCAAwC,CAAC;IACpD,gBAAgB,EAAE,wCAAwC,CAAC;IAC3D,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.js","names":[],"sources":["_errors.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { ClientCapabilities, FoundryObjectPropertyTypeRid, FoundryObjectPropertyValueUntyped, FoundryObjectSetRid, FoundryObjectTypeRid, GeometryRenderableContent, Invocation, InvocationId, InvocationObject, MrsAlpha, MrsColor, MrsFillStyle, MrsGenericSymbol, MrsGenericSymbolId, MrsGeometryStyle, MrsLabelStyle, MrsRasterStyle, MrsRgb, MrsStrokeStyle, MrsSymbol, MrsSymbolStyle, MrsVirtualPixels, ObjectSourcingContent, ObjectsReference, ObjectsReferenceObjectSet, RasterTilesRenderableContent, Renderable, RenderableContent, RenderableContentType, RenderableId, RenderablePartId, RendererReference, RenderInvocationObjectRequest, RenderObjectsResponse, Sourcing, SourcingContent, SourcingId, StandardRendererReference, Symbol, } from "./_components.js";
|
|
2
|
+
export type { GenericSymbolPermissionDenied, RenderInvocationObjectPermissionDenied, } from "./_errors.js";
|
|
3
|
+
export * as InvocationObjects from "./public/InvocationObject.js";
|
|
4
|
+
export * as Symbols from "./public/Symbol.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,kBAAkB,EAClB,4BAA4B,EAC5B,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,MAAM,EACN,cAAc,EACd,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,4BAA4B,EAC5B,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,6BAA6B,EAC7B,qBAAqB,EACrB,QAAQ,EACR,eAAe,EACf,UAAU,EACV,yBAAyB,EACzB,MAAM,GACP,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,6BAA6B,EAC7B,sCAAsC,GACvC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export * as InvocationObjects from "./public/InvocationObject.js";
|
|
17
|
+
export * as Symbols from "./public/Symbol.js";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["InvocationObjects","Symbols"],"sources":["index.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport * as InvocationObjects from \"./public/InvocationObject.js\";\nexport * as Symbols from \"./public/Symbol.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,iBAAiB,MAAM,8BAA8B;AACjE,OAAO,KAAKC,OAAO,MAAM,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/gotham.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _MapRendering from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* @beta
|
|
7
|
+
*
|
|
8
|
+
* Required Scopes: [api:map-read]
|
|
9
|
+
* URL: /v2/mapRendering/invocationObject/render
|
|
10
|
+
*/
|
|
11
|
+
export declare function render($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
12
|
+
$body: _MapRendering.RenderInvocationObjectRequest,
|
|
13
|
+
$queryParams?: {
|
|
14
|
+
preview?: _Core.PreviewMode | undefined;
|
|
15
|
+
}
|
|
16
|
+
]): Promise<_MapRendering.RenderObjectsResponse>;
|
|
17
|
+
//# sourceMappingURL=InvocationObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvocationObject.d.ts","sourceRoot":"","sources":["../../../src/public/InvocationObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAWxD;;;;;GAKG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,aAAa,CAAC,6BAA6B;IAClD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAE9C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $platformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _render = [2, "/v2/mapRendering/invocationObject/render", 3];
|
|
19
|
+
/**
|
|
20
|
+
* @beta
|
|
21
|
+
*
|
|
22
|
+
* Required Scopes: [api:map-read]
|
|
23
|
+
* URL: /v2/mapRendering/invocationObject/render
|
|
24
|
+
*/
|
|
25
|
+
export function render($ctx, ...args) {
|
|
26
|
+
return $platformFetch($ctx, _render, ...args);
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=InvocationObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvocationObject.js","names":["foundryPlatformFetch","$platformFetch","_render","render","$ctx","args"],"sources":["InvocationObject.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $platformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _render = [2, \"/v2/mapRendering/invocationObject/render\", 3];\n/**\n * @beta\n *\n * Required Scopes: [api:map-read]\n * URL: /v2/mapRendering/invocationObject/render\n */\nexport function render($ctx, ...args) {\n return $platformFetch($ctx, _render, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,cAAc,QAAQ,8BAA8B;AACrF;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,cAAc,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACjD","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/gotham.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _MapRendering from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* @beta
|
|
7
|
+
*
|
|
8
|
+
* Required Scopes: [api:map-read]
|
|
9
|
+
* URL: /v2/mapRendering/symbols/{symbolId}/generic
|
|
10
|
+
*/
|
|
11
|
+
export declare function generic($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
12
|
+
symbolId: _MapRendering.MrsGenericSymbolId,
|
|
13
|
+
$queryParams: {
|
|
14
|
+
size: number;
|
|
15
|
+
preview?: _Core.PreviewMode | undefined;
|
|
16
|
+
}
|
|
17
|
+
]): Promise<Response>;
|
|
18
|
+
//# sourceMappingURL=Symbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Symbol.d.ts","sourceRoot":"","sources":["../../../src/public/Symbol.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAiBxD;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,aAAa,CAAC,kBAAkB;IAE1C,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CACxE,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $platformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _generic = [0, "/v2/mapRendering/symbols/{0}/generic", 2,, "application/octet-stream"];
|
|
19
|
+
/**
|
|
20
|
+
* @beta
|
|
21
|
+
*
|
|
22
|
+
* Required Scopes: [api:map-read]
|
|
23
|
+
* URL: /v2/mapRendering/symbols/{symbolId}/generic
|
|
24
|
+
*/
|
|
25
|
+
export function generic($ctx, ...args) {
|
|
26
|
+
return $platformFetch($ctx, _generic, ...args);
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=Symbol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Symbol.js","names":["foundryPlatformFetch","$platformFetch","_generic","generic","$ctx","args"],"sources":["Symbol.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $platformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _generic = [\n 0,\n \"/v2/mapRendering/symbols/{0}/generic\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * @beta\n *\n * Required Scopes: [api:map-read]\n * URL: /v2/mapRendering/symbols/{symbolId}/generic\n */\nexport function generic($ctx, ...args) {\n return $platformFetch($ctx, _generic, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,cAAc,QAAQ,8BAA8B;AACrF;AACA,MAAMC,QAAQ,GAAG,CACb,CAAC,EACD,sCAAsC,EACtC,CAAC,GAED,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,cAAc,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AAClD","ignoreList":[]}
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import type * as _Geojson from "@osdk/gotham.geojson";
|
|
2
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
3
|
+
__LOOSE_BRAND?: T;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* The render capability of the client. Renderables will be returned in the best possible format that's supported
|
|
7
|
+
by the client.
|
|
8
|
+
*
|
|
9
|
+
* Log Safety: SAFE
|
|
10
|
+
*/
|
|
11
|
+
export interface ClientCapabilities {
|
|
12
|
+
supportedRenderableContent?: Array<RenderableContentType>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier of a Foundry object property.
|
|
16
|
+
*
|
|
17
|
+
* Log Safety: SAFE
|
|
18
|
+
*/
|
|
19
|
+
export type FoundryObjectPropertyTypeRid = LooselyBrandedString<"FoundryObjectPropertyTypeRid">;
|
|
20
|
+
/**
|
|
21
|
+
* The value of a Foundry object's property. The type of the property value is not preserved.
|
|
22
|
+
*
|
|
23
|
+
* Log Safety: UNSAFE
|
|
24
|
+
*/
|
|
25
|
+
export type FoundryObjectPropertyValueUntyped = any;
|
|
26
|
+
/**
|
|
27
|
+
* The RID of a Foundry object set.
|
|
28
|
+
*
|
|
29
|
+
* Log Safety: SAFE
|
|
30
|
+
*/
|
|
31
|
+
export type FoundryObjectSetRid = LooselyBrandedString<"FoundryObjectSetRid">;
|
|
32
|
+
/**
|
|
33
|
+
* A unique identifier of a Foundry object type.
|
|
34
|
+
*
|
|
35
|
+
* Log Safety: SAFE
|
|
36
|
+
*/
|
|
37
|
+
export type FoundryObjectTypeRid = LooselyBrandedString<"FoundryObjectTypeRid">;
|
|
38
|
+
/**
|
|
39
|
+
* Renderable content represented with GeoJson geometry.
|
|
40
|
+
*
|
|
41
|
+
* Log Safety: UNSAFE
|
|
42
|
+
*/
|
|
43
|
+
export interface GeometryRenderableContent {
|
|
44
|
+
geometry: _Geojson.GeoJsonObject;
|
|
45
|
+
style: MrsGeometryStyle;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Represents a request to render a set of Foundry objects. This includes information on how the objects should be
|
|
49
|
+
rendered.
|
|
50
|
+
*
|
|
51
|
+
* Log Safety: UNSAFE
|
|
52
|
+
*/
|
|
53
|
+
export interface Invocation {
|
|
54
|
+
id: InvocationId;
|
|
55
|
+
sourcingOnly?: boolean;
|
|
56
|
+
objects: ObjectsReference;
|
|
57
|
+
renderer: RendererReference;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Client supplied session-unique identifier for a specific invocation of a render function.
|
|
61
|
+
*
|
|
62
|
+
* Log Safety: UNSAFE
|
|
63
|
+
*/
|
|
64
|
+
export type InvocationId = LooselyBrandedString<"InvocationId">;
|
|
65
|
+
/**
|
|
66
|
+
* Log Safety: UNSAFE
|
|
67
|
+
*/
|
|
68
|
+
export interface InvocationObject {
|
|
69
|
+
capabilities: ClientCapabilities;
|
|
70
|
+
invocations?: Array<Invocation>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Alpha value of the color in the [0, 255] range.
|
|
74
|
+
*
|
|
75
|
+
* Log Safety: UNSAFE
|
|
76
|
+
*/
|
|
77
|
+
export type MrsAlpha = number;
|
|
78
|
+
/**
|
|
79
|
+
* Color to be applied to some component of a renderable.
|
|
80
|
+
*
|
|
81
|
+
* Log Safety: UNSAFE
|
|
82
|
+
*/
|
|
83
|
+
export interface MrsColor {
|
|
84
|
+
rgb: MrsRgb;
|
|
85
|
+
alpha: MrsAlpha;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Fill to be applied to some component of a renderable.
|
|
89
|
+
*
|
|
90
|
+
* Log Safety: UNSAFE
|
|
91
|
+
*/
|
|
92
|
+
export interface MrsFillStyle {
|
|
93
|
+
color: MrsColor;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Base generic symbol. Clients should always support rendering this symbol type.
|
|
97
|
+
*
|
|
98
|
+
* Log Safety: UNSAFE
|
|
99
|
+
*/
|
|
100
|
+
export interface MrsGenericSymbol {
|
|
101
|
+
id: MrsGenericSymbolId;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Unique identifier for a symbol that can be used to fetch the symbol as a PNG using loadGenericSymbol endpoint.
|
|
105
|
+
The ID is opaque and not meant to be parsed in any way.
|
|
106
|
+
*
|
|
107
|
+
* Log Safety: UNSAFE
|
|
108
|
+
*/
|
|
109
|
+
export type MrsGenericSymbolId = LooselyBrandedString<"MrsGenericSymbolId">;
|
|
110
|
+
/**
|
|
111
|
+
* Styling information for GeoJson geometry objects.
|
|
112
|
+
*
|
|
113
|
+
* Log Safety: UNSAFE
|
|
114
|
+
*/
|
|
115
|
+
export interface MrsGeometryStyle {
|
|
116
|
+
symbolStyle?: MrsSymbolStyle;
|
|
117
|
+
strokeStyle?: MrsStrokeStyle;
|
|
118
|
+
fillStyle?: MrsFillStyle;
|
|
119
|
+
labelStyle?: MrsLabelStyle;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Text to be rendered as part of the renderable content.
|
|
123
|
+
*
|
|
124
|
+
* Log Safety: UNSAFE
|
|
125
|
+
*/
|
|
126
|
+
export interface MrsLabelStyle {
|
|
127
|
+
color: MrsColor;
|
|
128
|
+
text: string;
|
|
129
|
+
size: MrsVirtualPixels;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Styling information for raster tiles.
|
|
133
|
+
*
|
|
134
|
+
* Log Safety: UNSAFE
|
|
135
|
+
*/
|
|
136
|
+
export interface MrsRasterStyle {
|
|
137
|
+
opacity: MrsAlpha;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* RGB values of the color encoded in hex as '#RRGGBB'
|
|
141
|
+
*
|
|
142
|
+
* Log Safety: UNSAFE
|
|
143
|
+
*/
|
|
144
|
+
export type MrsRgb = LooselyBrandedString<"MrsRgb">;
|
|
145
|
+
/**
|
|
146
|
+
* Color to be applied to some component of a renderable.
|
|
147
|
+
*
|
|
148
|
+
* Log Safety: UNSAFE
|
|
149
|
+
*/
|
|
150
|
+
export interface MrsStrokeStyle {
|
|
151
|
+
color: MrsColor;
|
|
152
|
+
width: MrsVirtualPixels;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Information used load the symbol from the Symbol loading apis.
|
|
156
|
+
*
|
|
157
|
+
* Log Safety: UNSAFE
|
|
158
|
+
*/
|
|
159
|
+
export type MrsSymbol = {
|
|
160
|
+
type: "generic";
|
|
161
|
+
} & MrsGenericSymbol;
|
|
162
|
+
/**
|
|
163
|
+
* Symbol to be rendered as part of the renderable content.
|
|
164
|
+
*
|
|
165
|
+
* Log Safety: UNSAFE
|
|
166
|
+
*/
|
|
167
|
+
export interface MrsSymbolStyle {
|
|
168
|
+
symbol: MrsSymbol;
|
|
169
|
+
size: MrsVirtualPixels;
|
|
170
|
+
opacity: MrsAlpha;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Size in virtual pixels, accounting for high DPI displays. For browser applications these are CSS pixels or
|
|
174
|
+
devicePixelRatio.
|
|
175
|
+
*
|
|
176
|
+
* Log Safety: UNSAFE
|
|
177
|
+
*/
|
|
178
|
+
export type MrsVirtualPixels = number;
|
|
179
|
+
/**
|
|
180
|
+
* Information that could be used to identify an unique Foundry object.
|
|
181
|
+
*
|
|
182
|
+
* Log Safety: UNSAFE
|
|
183
|
+
*/
|
|
184
|
+
export interface ObjectSourcingContent {
|
|
185
|
+
objectType: FoundryObjectTypeRid;
|
|
186
|
+
primaryKey?: Record<FoundryObjectPropertyTypeRid, FoundryObjectPropertyValueUntyped>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Reference to a set of Foundry objects.
|
|
190
|
+
*
|
|
191
|
+
* Log Safety: SAFE
|
|
192
|
+
*/
|
|
193
|
+
export type ObjectsReference = {
|
|
194
|
+
type: "objectSet";
|
|
195
|
+
} & ObjectsReferenceObjectSet;
|
|
196
|
+
/**
|
|
197
|
+
* Reference to a Foundry object set. Versioned object sets are currently not supported.
|
|
198
|
+
*
|
|
199
|
+
* Log Safety: SAFE
|
|
200
|
+
*/
|
|
201
|
+
export interface ObjectsReferenceObjectSet {
|
|
202
|
+
objectSetRid: FoundryObjectSetRid;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Renderable content represented with raster tiles in the Web Mercator (EPSG:3857) projection, laid out with the
|
|
206
|
+
single root tile, (z=0, x=0, y=0), covering the whole world. Construct the url using the url template supplied
|
|
207
|
+
to load the raster tile.
|
|
208
|
+
See https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames.
|
|
209
|
+
*
|
|
210
|
+
* Log Safety: UNSAFE
|
|
211
|
+
*/
|
|
212
|
+
export interface RasterTilesRenderableContent {
|
|
213
|
+
url: string;
|
|
214
|
+
tileDisplayResolution: MrsVirtualPixels;
|
|
215
|
+
coveringGeometry: _Geojson.GeoJsonObject;
|
|
216
|
+
style: MrsRasterStyle;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* A set of RenderableContent that represents a property of a Foundry object (i.e. the sourcing) for an invocation.
|
|
220
|
+
*
|
|
221
|
+
* Log Safety: UNSAFE
|
|
222
|
+
*/
|
|
223
|
+
export interface Renderable {
|
|
224
|
+
id: RenderableId;
|
|
225
|
+
invocation: InvocationId;
|
|
226
|
+
sourcing: SourcingId;
|
|
227
|
+
content?: Record<RenderablePartId, RenderableContent>;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Represents a set of geopositioned geometries and their corresponding style to be rendered on to a map.
|
|
231
|
+
*
|
|
232
|
+
* Log Safety: UNSAFE
|
|
233
|
+
*/
|
|
234
|
+
export type RenderableContent = ({
|
|
235
|
+
type: "geometry";
|
|
236
|
+
} & GeometryRenderableContent) | ({
|
|
237
|
+
type: "rasterTilesWebMercator";
|
|
238
|
+
} & RasterTilesRenderableContent);
|
|
239
|
+
/**
|
|
240
|
+
* Available renderable content types:
|
|
241
|
+
|
|
242
|
+
GEOMETRY: Base geometry type.
|
|
243
|
+
Corresponds to GeometryRenderableContent.
|
|
244
|
+
RASTER_TILES_WEB_MERCATOR: Web Mercator (EPSG:3857) projection raster tiles.
|
|
245
|
+
Corresponds to RasterTilesRenderableContent.
|
|
246
|
+
*
|
|
247
|
+
* Log Safety: SAFE
|
|
248
|
+
*/
|
|
249
|
+
export type RenderableContentType = "GEOMETRY" | "RASTER_TILES_WEB_MERCATOR";
|
|
250
|
+
/**
|
|
251
|
+
* Globally unique ID for a renderable within a session. The ID is opaque and not meant to be parsed in any way.
|
|
252
|
+
*
|
|
253
|
+
* Log Safety: UNSAFE
|
|
254
|
+
*/
|
|
255
|
+
export type RenderableId = LooselyBrandedString<"RenderableId">;
|
|
256
|
+
/**
|
|
257
|
+
* Locally unique identifier for a part of a renderable.
|
|
258
|
+
*
|
|
259
|
+
* Log Safety: UNSAFE
|
|
260
|
+
*/
|
|
261
|
+
export type RenderablePartId = LooselyBrandedString<"RenderablePartId">;
|
|
262
|
+
/**
|
|
263
|
+
* Reference that can be resolved into a renderer object. The renderer object includes configuration settings for
|
|
264
|
+
rendering the objects.
|
|
265
|
+
*
|
|
266
|
+
* Log Safety: SAFE
|
|
267
|
+
*/
|
|
268
|
+
export type RendererReference = {
|
|
269
|
+
type: "standard";
|
|
270
|
+
} & StandardRendererReference;
|
|
271
|
+
/**
|
|
272
|
+
* Log Safety: UNSAFE
|
|
273
|
+
*/
|
|
274
|
+
export interface RenderInvocationObjectRequest {
|
|
275
|
+
capabilities: ClientCapabilities;
|
|
276
|
+
invocations: Array<Invocation>;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Log Safety: UNSAFE
|
|
280
|
+
*/
|
|
281
|
+
export interface RenderObjectsResponse {
|
|
282
|
+
renderables?: Array<Renderable>;
|
|
283
|
+
sourcings?: Array<Sourcing>;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* A reference to an individual unit of data Renderables were derived from.
|
|
287
|
+
*
|
|
288
|
+
* Log Safety: UNSAFE
|
|
289
|
+
*/
|
|
290
|
+
export interface Sourcing {
|
|
291
|
+
id: SourcingId;
|
|
292
|
+
content: SourcingContent;
|
|
293
|
+
title: string;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Information used to locate the Sourcing and its metadata.
|
|
297
|
+
*
|
|
298
|
+
* Log Safety: UNSAFE
|
|
299
|
+
*/
|
|
300
|
+
export type SourcingContent = {
|
|
301
|
+
type: "object";
|
|
302
|
+
} & ObjectSourcingContent;
|
|
303
|
+
/**
|
|
304
|
+
* Globally unique ID for the sourcing within a session. The ID is opaque and not meant to be parsed in any way.
|
|
305
|
+
*
|
|
306
|
+
* Log Safety: UNSAFE
|
|
307
|
+
*/
|
|
308
|
+
export type SourcingId = LooselyBrandedString<"SourcingId">;
|
|
309
|
+
/**
|
|
310
|
+
* The standard built in renderer. Renders the objects with service defined default styling derived from the object
|
|
311
|
+
type icon set in ontology manager.
|
|
312
|
+
*
|
|
313
|
+
* Log Safety: SAFE
|
|
314
|
+
*/
|
|
315
|
+
export interface StandardRendererReference {
|
|
316
|
+
get?: any;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Log Safety: UNSAFE
|
|
320
|
+
*/
|
|
321
|
+
export interface Symbol {
|
|
322
|
+
id: MrsGenericSymbolId;
|
|
323
|
+
size?: number;
|
|
324
|
+
}
|
|
325
|
+
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEtD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;KAKK;AACL,MAAM,WAAW,kBAAkB;IACjC,0BAA0B,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;CAC3D;AAED;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAC7D,8BAA8B,CAC/B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,GAAG,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,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AAC;AAEzE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AAE5D;;;;;KAKK;AACL,MAAM,WAAW,yBAAyB;IACxC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,kBAAkB,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.js","names":[],"sources":["_components.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Could not generic the Symbol.
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: UNSAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface GenericSymbolPermissionDenied {
|
|
10
|
+
errorCode: "PERMISSION_DENIED";
|
|
11
|
+
errorName: "GenericSymbolPermissionDenied";
|
|
12
|
+
errorDescription: "Could not generic the Symbol.";
|
|
13
|
+
errorInstanceId: string;
|
|
14
|
+
parameters: {
|
|
15
|
+
symbolId: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Could not render the InvocationObject.
|
|
20
|
+
*
|
|
21
|
+
* Log Safety: SAFE
|
|
22
|
+
*/
|
|
23
|
+
export interface RenderInvocationObjectPermissionDenied {
|
|
24
|
+
errorCode: "PERMISSION_DENIED";
|
|
25
|
+
errorName: "RenderInvocationObjectPermissionDenied";
|
|
26
|
+
errorDescription: "Could not render the InvocationObject.";
|
|
27
|
+
errorInstanceId: string;
|
|
28
|
+
parameters: {};
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=_errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,gBAAgB,EAAE,+BAA+B,CAAC;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACrD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,wCAAwC,CAAC;IACpD,gBAAgB,EAAE,wCAAwC,CAAC;IAC3D,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.js","names":[],"sources":["_errors.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { ClientCapabilities, FoundryObjectPropertyTypeRid, FoundryObjectPropertyValueUntyped, FoundryObjectSetRid, FoundryObjectTypeRid, GeometryRenderableContent, Invocation, InvocationId, InvocationObject, MrsAlpha, MrsColor, MrsFillStyle, MrsGenericSymbol, MrsGenericSymbolId, MrsGeometryStyle, MrsLabelStyle, MrsRasterStyle, MrsRgb, MrsStrokeStyle, MrsSymbol, MrsSymbolStyle, MrsVirtualPixels, ObjectSourcingContent, ObjectsReference, ObjectsReferenceObjectSet, RasterTilesRenderableContent, Renderable, RenderableContent, RenderableContentType, RenderableId, RenderablePartId, RendererReference, RenderInvocationObjectRequest, RenderObjectsResponse, Sourcing, SourcingContent, SourcingId, StandardRendererReference, Symbol, } from "./_components.js";
|
|
2
|
+
export type { GenericSymbolPermissionDenied, RenderInvocationObjectPermissionDenied, } from "./_errors.js";
|
|
3
|
+
export * as InvocationObjects from "./public/InvocationObject.js";
|
|
4
|
+
export * as Symbols from "./public/Symbol.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,kBAAkB,EAClB,4BAA4B,EAC5B,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,MAAM,EACN,cAAc,EACd,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,4BAA4B,EAC5B,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,6BAA6B,EAC7B,qBAAqB,EACrB,QAAQ,EACR,eAAe,EACf,UAAU,EACV,yBAAyB,EACzB,MAAM,GACP,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,6BAA6B,EAC7B,sCAAsC,GACvC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export * as InvocationObjects from "./public/InvocationObject.js";
|
|
17
|
+
export * as Symbols from "./public/Symbol.js";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["InvocationObjects","Symbols"],"sources":["index.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport * as InvocationObjects from \"./public/InvocationObject.js\";\nexport * as Symbols from \"./public/Symbol.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,iBAAiB,MAAM,8BAA8B;AACjE,OAAO,KAAKC,OAAO,MAAM,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/gotham.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _MapRendering from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* @beta
|
|
7
|
+
*
|
|
8
|
+
* Required Scopes: [api:map-read]
|
|
9
|
+
* URL: /v2/mapRendering/invocationObject/render
|
|
10
|
+
*/
|
|
11
|
+
export declare function render($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
12
|
+
$body: _MapRendering.RenderInvocationObjectRequest,
|
|
13
|
+
$queryParams?: {
|
|
14
|
+
preview?: _Core.PreviewMode | undefined;
|
|
15
|
+
}
|
|
16
|
+
]): Promise<_MapRendering.RenderObjectsResponse>;
|
|
17
|
+
//# sourceMappingURL=InvocationObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvocationObject.d.ts","sourceRoot":"","sources":["../../../src/public/InvocationObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAWxD;;;;;GAKG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,aAAa,CAAC,6BAA6B;IAClD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAE9C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $platformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _render = [2, "/v2/mapRendering/invocationObject/render", 3];
|
|
19
|
+
/**
|
|
20
|
+
* @beta
|
|
21
|
+
*
|
|
22
|
+
* Required Scopes: [api:map-read]
|
|
23
|
+
* URL: /v2/mapRendering/invocationObject/render
|
|
24
|
+
*/
|
|
25
|
+
export function render($ctx, ...args) {
|
|
26
|
+
return $platformFetch($ctx, _render, ...args);
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=InvocationObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvocationObject.js","names":["foundryPlatformFetch","$platformFetch","_render","render","$ctx","args"],"sources":["InvocationObject.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $platformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _render = [2, \"/v2/mapRendering/invocationObject/render\", 3];\n/**\n * @beta\n *\n * Required Scopes: [api:map-read]\n * URL: /v2/mapRendering/invocationObject/render\n */\nexport function render($ctx, ...args) {\n return $platformFetch($ctx, _render, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,cAAc,QAAQ,8BAA8B;AACrF;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,cAAc,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACjD","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/gotham.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _MapRendering from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* @beta
|
|
7
|
+
*
|
|
8
|
+
* Required Scopes: [api:map-read]
|
|
9
|
+
* URL: /v2/mapRendering/symbols/{symbolId}/generic
|
|
10
|
+
*/
|
|
11
|
+
export declare function generic($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
12
|
+
symbolId: _MapRendering.MrsGenericSymbolId,
|
|
13
|
+
$queryParams: {
|
|
14
|
+
size: number;
|
|
15
|
+
preview?: _Core.PreviewMode | undefined;
|
|
16
|
+
}
|
|
17
|
+
]): Promise<Response>;
|
|
18
|
+
//# sourceMappingURL=Symbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Symbol.d.ts","sourceRoot":"","sources":["../../../src/public/Symbol.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAiBxD;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,aAAa,CAAC,kBAAkB;IAE1C,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CACxE,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $platformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _generic = [0, "/v2/mapRendering/symbols/{0}/generic", 2,, "application/octet-stream"];
|
|
19
|
+
/**
|
|
20
|
+
* @beta
|
|
21
|
+
*
|
|
22
|
+
* Required Scopes: [api:map-read]
|
|
23
|
+
* URL: /v2/mapRendering/symbols/{symbolId}/generic
|
|
24
|
+
*/
|
|
25
|
+
export function generic($ctx, ...args) {
|
|
26
|
+
return $platformFetch($ctx, _generic, ...args);
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=Symbol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Symbol.js","names":["foundryPlatformFetch","$platformFetch","_generic","generic","$ctx","args"],"sources":["Symbol.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $platformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _generic = [\n 0,\n \"/v2/mapRendering/symbols/{0}/generic\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * @beta\n *\n * Required Scopes: [api:map-read]\n * URL: /v2/mapRendering/symbols/{symbolId}/generic\n */\nexport function generic($ctx, ...args) {\n return $platformFetch($ctx, _generic, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,cAAc,QAAQ,8BAA8B;AACrF;AACA,MAAMC,QAAQ,GAAG,CACb,CAAC,EACD,sCAAsC,EACtC,CAAC,GAED,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,cAAc,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AAClD","ignoreList":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@osdk/gotham.maprendering",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/palantir/foundry-platform-typescript.git"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"browser": "./build/browser/index.js",
|
|
12
|
+
"import": "./build/esm/index.js",
|
|
13
|
+
"default": "./build/esm/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"browser": "./build/browser/public/*.js",
|
|
17
|
+
"import": "./build/esm/public/*.js",
|
|
18
|
+
"default": "./build/esm/public/*.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@osdk/shared.client": "1.0.1",
|
|
23
|
+
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
+
"@osdk/gotham.core": "0.5.0",
|
|
25
|
+
"@osdk/gotham.geojson": "0.5.0",
|
|
26
|
+
"@osdk/shared.net.platformapi": "~1.5.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"typescript": "^5.5.4",
|
|
30
|
+
"@osdk/monorepo.tsconfig": "~0.0.0"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"build/cjs",
|
|
37
|
+
"build/esm",
|
|
38
|
+
"build/browser",
|
|
39
|
+
"CHANGELOG.md",
|
|
40
|
+
"package.json",
|
|
41
|
+
"templates",
|
|
42
|
+
"*.d.ts"
|
|
43
|
+
],
|
|
44
|
+
"module": "./build/esm/index.js",
|
|
45
|
+
"types": "./build/esm/index.d.ts",
|
|
46
|
+
"sls": {
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
+
"minVersion": "1.1315.0",
|
|
50
|
+
"maxVersion": "1.x.x",
|
|
51
|
+
"optional": false
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"type": "module",
|
|
56
|
+
"scripts": {
|
|
57
|
+
"check-attw": "monorepo.tool.attw esm",
|
|
58
|
+
"check-spelling": "cspell --quiet .",
|
|
59
|
+
"clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
|
|
60
|
+
"fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
|
|
61
|
+
"lint": "eslint . && dprint check --config $(find-up dprint.json)",
|
|
62
|
+
"transpile": "monorepo.tool.transpile"
|
|
63
|
+
}
|
|
64
|
+
}
|