@osdk/client 2.7.0-beta.5 → 2.7.0-beta.7
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/CHANGELOG.md +27 -0
- package/build/browser/observable/ListPayload.js.map +1 -1
- package/build/browser/observable/ObjectPayload.js.map +1 -1
- package/build/browser/observable/ObservableClient.js +0 -5
- package/build/browser/observable/ObservableClient.js.map +1 -1
- package/build/browser/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/browser/observable/internal/Store.test.js +54 -0
- package/build/browser/observable/internal/Store.test.js.map +1 -1
- package/build/browser/observable/internal/base-list/BaseListQuery.js +1 -1
- package/build/browser/observable/internal/base-list/BaseListQuery.js.map +1 -1
- package/build/browser/observable/internal/utils/rdpFieldOperations.js +46 -25
- package/build/browser/observable/internal/utils/rdpFieldOperations.js.map +1 -1
- package/build/browser/public/unstable-do-not-use.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/cjs/{chunk-6SCDLAU2.cjs → chunk-LDTMSHUZ.cjs} +4 -4
- package/build/cjs/{chunk-6SCDLAU2.cjs.map → chunk-LDTMSHUZ.cjs.map} +1 -1
- package/build/cjs/{chunk-HM4EXGFD.cjs → chunk-PUP56SUU.cjs} +67 -67
- package/build/cjs/{chunk-HM4EXGFD.cjs.map → chunk-PUP56SUU.cjs.map} +1 -1
- package/build/cjs/{chunk-LBXKB67X.cjs → chunk-UAJMOJN3.cjs} +117 -115
- package/build/cjs/chunk-UAJMOJN3.cjs.map +1 -0
- package/build/cjs/{delay-KIUUJ5NJ.cjs → delay-W2TSML2P.cjs} +4 -4
- package/build/cjs/{delay-KIUUJ5NJ.cjs.map → delay-W2TSML2P.cjs.map} +1 -1
- package/build/cjs/index.cjs +12 -12
- package/build/cjs/public/internal-node.cjs +219 -219
- package/build/cjs/public/internal.cjs +14 -14
- package/build/cjs/public/unstable-do-not-use.cjs +139 -123
- package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
- package/build/cjs/public/unstable-do-not-use.d.cts +6 -6
- package/build/esm/observable/ListPayload.js.map +1 -1
- package/build/esm/observable/ObjectPayload.js.map +1 -1
- package/build/esm/observable/ObservableClient.js +0 -5
- package/build/esm/observable/ObservableClient.js.map +1 -1
- package/build/esm/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/esm/observable/internal/Store.test.js +54 -0
- package/build/esm/observable/internal/Store.test.js.map +1 -1
- package/build/esm/observable/internal/base-list/BaseListQuery.js +1 -1
- package/build/esm/observable/internal/base-list/BaseListQuery.js.map +1 -1
- package/build/esm/observable/internal/utils/rdpFieldOperations.js +46 -25
- package/build/esm/observable/internal/utils/rdpFieldOperations.js.map +1 -1
- package/build/esm/public/unstable-do-not-use.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/types/observable/ListPayload.d.ts +3 -2
- package/build/types/observable/ListPayload.d.ts.map +1 -1
- package/build/types/observable/ObjectPayload.d.ts +2 -2
- package/build/types/observable/ObjectPayload.d.ts.map +1 -1
- package/build/types/observable/ObservableClient.d.ts +8 -5
- package/build/types/observable/ObservableClient.d.ts.map +1 -1
- package/build/types/observable/internal/Store.test.d.ts.map +1 -1
- package/build/types/observable/internal/utils/rdpFieldOperations.d.ts.map +1 -1
- package/build/types/public/unstable-do-not-use.d.ts +1 -1
- package/build/types/public/unstable-do-not-use.d.ts.map +1 -1
- package/package.json +7 -7
- package/build/cjs/chunk-LBXKB67X.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLDTMSHUZ_cjs = require('./chunk-LDTMSHUZ.cjs');
|
|
4
4
|
var shared_net_errors = require('@osdk/shared.net.errors');
|
|
5
5
|
var shared_net_fetch = require('@osdk/shared.net.fetch');
|
|
6
6
|
var invariant3 = require('tiny-invariant');
|
|
@@ -13,33 +13,33 @@ var invariant3__default = /*#__PURE__*/_interopDefault(invariant3);
|
|
|
13
13
|
var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
|
|
14
14
|
|
|
15
15
|
// src/object/fetchPage.ts
|
|
16
|
-
|
|
16
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
|
|
19
|
-
|
|
19
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
22
22
|
var Action_exports = {};
|
|
23
|
-
|
|
23
|
+
chunkLDTMSHUZ_cjs.__export(Action_exports, {
|
|
24
24
|
apply: () => apply,
|
|
25
25
|
applyAsync: () => applyAsync,
|
|
26
26
|
applyBatch: () => applyBatch,
|
|
27
27
|
applyWithOverrides: () => applyWithOverrides
|
|
28
28
|
});
|
|
29
|
-
|
|
29
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
30
30
|
|
|
31
31
|
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
|
|
32
|
-
|
|
32
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
33
33
|
|
|
34
34
|
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
|
|
35
|
-
|
|
35
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/.pnpm/@osdk+shared.client@1.0.1/node_modules/@osdk/shared.client/index.js
|
|
38
|
-
|
|
38
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
39
39
|
var symbolClientContext = Symbol("ClientContext");
|
|
40
40
|
|
|
41
41
|
// ../../node_modules/.pnpm/@osdk+shared.client2@1.0.0/node_modules/@osdk/shared.client2/index.js
|
|
42
|
-
|
|
42
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
43
43
|
var symbolClientContext2 = "__osdkClientContext";
|
|
44
44
|
async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
|
|
45
45
|
const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
|
|
@@ -124,16 +124,16 @@ function applyWithOverrides($ctx, ...args) {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
|
|
127
|
-
|
|
127
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
128
128
|
|
|
129
129
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
|
|
130
130
|
var ActionTypeV2_exports = {};
|
|
131
|
-
|
|
131
|
+
chunkLDTMSHUZ_cjs.__export(ActionTypeV2_exports, {
|
|
132
132
|
get: () => get,
|
|
133
133
|
getByRid: () => getByRid,
|
|
134
134
|
list: () => list
|
|
135
135
|
});
|
|
136
|
-
|
|
136
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
137
137
|
var _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
138
138
|
function list($ctx, ...args) {
|
|
139
139
|
return foundryPlatformFetch($ctx, _list, ...args);
|
|
@@ -149,13 +149,13 @@ function getByRid($ctx, ...args) {
|
|
|
149
149
|
|
|
150
150
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
151
151
|
var Attachment_exports = {};
|
|
152
|
-
|
|
152
|
+
chunkLDTMSHUZ_cjs.__export(Attachment_exports, {
|
|
153
153
|
get: () => get2,
|
|
154
154
|
read: () => read,
|
|
155
155
|
upload: () => upload,
|
|
156
156
|
uploadWithRid: () => uploadWithRid
|
|
157
157
|
});
|
|
158
|
-
|
|
158
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
159
159
|
var _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
160
160
|
function upload($ctx, ...args) {
|
|
161
161
|
const headerParams = {
|
|
@@ -184,22 +184,22 @@ function get2($ctx, ...args) {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
187
|
-
|
|
187
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
188
188
|
|
|
189
189
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
|
|
190
|
-
|
|
190
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
191
191
|
|
|
192
192
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
193
|
-
|
|
193
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
194
194
|
|
|
195
195
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
196
196
|
var MediaReferenceProperty_exports = {};
|
|
197
|
-
|
|
197
|
+
chunkLDTMSHUZ_cjs.__export(MediaReferenceProperty_exports, {
|
|
198
198
|
getMediaContent: () => getMediaContent,
|
|
199
199
|
getMediaMetadata: () => getMediaMetadata,
|
|
200
200
|
upload: () => upload2
|
|
201
201
|
});
|
|
202
|
-
|
|
202
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
203
203
|
var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
|
|
204
204
|
function getMediaContent($ctx, ...args) {
|
|
205
205
|
return foundryPlatformFetch($ctx, _getMediaContent, ...args);
|
|
@@ -215,14 +215,14 @@ function upload2($ctx, ...args) {
|
|
|
215
215
|
|
|
216
216
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
217
217
|
var ObjectTypeV2_exports = {};
|
|
218
|
-
|
|
218
|
+
chunkLDTMSHUZ_cjs.__export(ObjectTypeV2_exports, {
|
|
219
219
|
get: () => get3,
|
|
220
220
|
getFullMetadata: () => getFullMetadata,
|
|
221
221
|
getOutgoingLinkType: () => getOutgoingLinkType,
|
|
222
222
|
list: () => list2,
|
|
223
223
|
listOutgoingLinkTypes: () => listOutgoingLinkTypes
|
|
224
224
|
});
|
|
225
|
-
|
|
225
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
226
226
|
var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
227
227
|
function list2($ctx, ...args) {
|
|
228
228
|
return foundryPlatformFetch($ctx, _list2, ...args);
|
|
@@ -246,7 +246,7 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
246
246
|
|
|
247
247
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
248
248
|
var OntologyInterface_exports = {};
|
|
249
|
-
|
|
249
|
+
chunkLDTMSHUZ_cjs.__export(OntologyInterface_exports, {
|
|
250
250
|
aggregate: () => aggregate,
|
|
251
251
|
get: () => get4,
|
|
252
252
|
getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
|
|
@@ -256,7 +256,7 @@ chunk6SCDLAU2_cjs.__export(OntologyInterface_exports, {
|
|
|
256
256
|
listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
|
|
257
257
|
search: () => search
|
|
258
258
|
});
|
|
259
|
-
|
|
259
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
260
260
|
var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
261
261
|
function list3($ctx, ...args) {
|
|
262
262
|
return foundryPlatformFetch($ctx, _list3, ...args);
|
|
@@ -292,7 +292,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
|
|
|
292
292
|
|
|
293
293
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
294
294
|
var OntologyObjectSet_exports = {};
|
|
295
|
-
|
|
295
|
+
chunkLDTMSHUZ_cjs.__export(OntologyObjectSet_exports, {
|
|
296
296
|
aggregate: () => aggregate2,
|
|
297
297
|
createTemporary: () => createTemporary,
|
|
298
298
|
get: () => get5,
|
|
@@ -301,7 +301,7 @@ chunk6SCDLAU2_cjs.__export(OntologyObjectSet_exports, {
|
|
|
301
301
|
loadMultipleObjectTypes: () => loadMultipleObjectTypes,
|
|
302
302
|
loadObjectsOrInterfaces: () => loadObjectsOrInterfaces
|
|
303
303
|
});
|
|
304
|
-
|
|
304
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
305
305
|
var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 3];
|
|
306
306
|
function createTemporary($ctx, ...args) {
|
|
307
307
|
return foundryPlatformFetch($ctx, _createTemporary, ...args);
|
|
@@ -332,23 +332,23 @@ function loadLinks($ctx, ...args) {
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
335
|
-
|
|
335
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
336
336
|
|
|
337
337
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
|
|
338
|
-
|
|
338
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
339
339
|
|
|
340
340
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
341
|
-
|
|
341
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
342
342
|
|
|
343
343
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
|
|
344
|
-
|
|
344
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
345
345
|
|
|
346
346
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
347
347
|
var Query_exports = {};
|
|
348
|
-
|
|
348
|
+
chunkLDTMSHUZ_cjs.__export(Query_exports, {
|
|
349
349
|
execute: () => execute
|
|
350
350
|
});
|
|
351
|
-
|
|
351
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
352
352
|
var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
|
|
353
353
|
function execute($ctx, ...args) {
|
|
354
354
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
@@ -356,11 +356,11 @@ function execute($ctx, ...args) {
|
|
|
356
356
|
|
|
357
357
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
358
358
|
var QueryType_exports = {};
|
|
359
|
-
|
|
359
|
+
chunkLDTMSHUZ_cjs.__export(QueryType_exports, {
|
|
360
360
|
get: () => get6,
|
|
361
361
|
list: () => list4
|
|
362
362
|
});
|
|
363
|
-
|
|
363
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
364
364
|
var _list4 = [0, "/v2/ontologies/{0}/queryTypes", 2];
|
|
365
365
|
function list4($ctx, ...args) {
|
|
366
366
|
return foundryPlatformFetch($ctx, _list4, ...args);
|
|
@@ -372,12 +372,12 @@ function get6($ctx, ...args) {
|
|
|
372
372
|
|
|
373
373
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
374
374
|
var TimeSeriesPropertyV2_exports = {};
|
|
375
|
-
|
|
375
|
+
chunkLDTMSHUZ_cjs.__export(TimeSeriesPropertyV2_exports, {
|
|
376
376
|
getFirstPoint: () => getFirstPoint,
|
|
377
377
|
getLastPoint: () => getLastPoint,
|
|
378
378
|
streamPoints: () => streamPoints
|
|
379
379
|
});
|
|
380
|
-
|
|
380
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
381
381
|
var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
|
|
382
382
|
function getFirstPoint($ctx, ...args) {
|
|
383
383
|
return foundryPlatformFetch($ctx, _getFirstPoint, ...args);
|
|
@@ -393,11 +393,11 @@ function streamPoints($ctx, ...args) {
|
|
|
393
393
|
|
|
394
394
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
395
395
|
var TimeSeriesValueBankProperty_exports = {};
|
|
396
|
-
|
|
396
|
+
chunkLDTMSHUZ_cjs.__export(TimeSeriesValueBankProperty_exports, {
|
|
397
397
|
getLatestValue: () => getLatestValue,
|
|
398
398
|
streamValues: () => streamValues
|
|
399
399
|
});
|
|
400
|
-
|
|
400
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
401
401
|
var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
|
|
402
402
|
function getLatestValue($ctx, ...args) {
|
|
403
403
|
return foundryPlatformFetch($ctx, _getLatestValue, ...args);
|
|
@@ -408,7 +408,7 @@ function streamValues($ctx, ...args) {
|
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
// src/internal/conversions/extractNamespace.ts
|
|
411
|
-
|
|
411
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
412
412
|
function extractNamespace(fqApiName) {
|
|
413
413
|
const last = fqApiName.lastIndexOf(".");
|
|
414
414
|
if (last === -1) return [void 0, fqApiName];
|
|
@@ -416,7 +416,7 @@ function extractNamespace(fqApiName) {
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
// src/util/addUserAgentAndRequestContextHeaders.ts
|
|
419
|
-
|
|
419
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
420
420
|
var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
421
421
|
...client,
|
|
422
422
|
fetch: shared_net_fetch.createFetchHeaderMutator(client.fetch, (headers) => {
|
|
@@ -429,7 +429,7 @@ var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
|
429
429
|
});
|
|
430
430
|
|
|
431
431
|
// src/util/extractObjectOrInterfaceType.ts
|
|
432
|
-
|
|
432
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
433
433
|
async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
434
434
|
switch (objectSet.type) {
|
|
435
435
|
case "searchAround": {
|
|
@@ -515,7 +515,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
// src/util/extractRdpDefinition.ts
|
|
518
|
-
|
|
518
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
519
519
|
async function extractRdpDefinition(clientCtx, objectSet) {
|
|
520
520
|
return (await extractRdpDefinitionInternal(clientCtx, objectSet, void 0)).definitions;
|
|
521
521
|
}
|
|
@@ -644,7 +644,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
|
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
// src/util/objectSetUtils.ts
|
|
647
|
-
|
|
647
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
648
648
|
function resolveBaseObjectSetType(objectType) {
|
|
649
649
|
return objectType.type === "interface" ? {
|
|
650
650
|
type: "interfaceBase",
|
|
@@ -865,10 +865,10 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
|
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
868
|
-
|
|
868
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
869
869
|
|
|
870
870
|
// src/Client.ts
|
|
871
|
-
|
|
871
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
872
872
|
var additionalContext = Symbol("additionalContext");
|
|
873
873
|
|
|
874
874
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
@@ -892,10 +892,10 @@ function hydrateAttachmentFromRidInternal(client, rid) {
|
|
|
892
892
|
}
|
|
893
893
|
|
|
894
894
|
// src/logger/MinimalLogger.ts
|
|
895
|
-
|
|
895
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
896
896
|
|
|
897
897
|
// src/logger/BaseLogger.ts
|
|
898
|
-
|
|
898
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
899
899
|
function noop() {
|
|
900
900
|
}
|
|
901
901
|
var levels = {
|
|
@@ -963,7 +963,7 @@ var MinimalLogger = class _MinimalLogger extends BaseLogger {
|
|
|
963
963
|
};
|
|
964
964
|
|
|
965
965
|
// src/object/fetchSingle.ts
|
|
966
|
-
|
|
966
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
967
967
|
async function fetchSingle(client, objectType, args, objectSet) {
|
|
968
968
|
const result = await fetchPage(client, objectType, {
|
|
969
969
|
...args,
|
|
@@ -993,16 +993,16 @@ async function fetchSingleWithErrors(client, objectType, args, objectSet) {
|
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
// src/objectSet/createObjectSet.ts
|
|
996
|
-
|
|
996
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
997
997
|
|
|
998
998
|
// src/derivedProperties/createWithPropertiesObjectSet.ts
|
|
999
|
-
|
|
999
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1000
1000
|
|
|
1001
1001
|
// src/internal/conversions/modernToLegacyWhereClause.ts
|
|
1002
|
-
|
|
1002
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1003
1003
|
|
|
1004
1004
|
// src/internal/conversions/fullyQualifyPropName.ts
|
|
1005
|
-
|
|
1005
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1006
1006
|
function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
1007
1007
|
if (objectOrInterface.type === "interface") {
|
|
1008
1008
|
const [objApiNamespace] = extractNamespace(objectOrInterface.apiName);
|
|
@@ -1013,10 +1013,10 @@ function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
// src/internal/conversions/makeGeoFilterIntersects.ts
|
|
1016
|
-
|
|
1016
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1017
1017
|
|
|
1018
1018
|
// src/internal/conversions/makeGeoFilterBbox.ts
|
|
1019
|
-
|
|
1019
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1020
1020
|
function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
1021
1021
|
return {
|
|
1022
1022
|
type: filterType === "$within" ? "withinBoundingBox" : "intersectsBoundingBox",
|
|
@@ -1043,7 +1043,7 @@ function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
1045
|
// src/internal/conversions/makeGeoFilterPolygon.ts
|
|
1046
|
-
|
|
1046
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1047
1047
|
function makeGeoFilterPolygon(coordinates, filterType, propertyIdentifier, field) {
|
|
1048
1048
|
return {
|
|
1049
1049
|
type: filterType,
|
|
@@ -1071,7 +1071,7 @@ function makeGeoFilterIntersects(intersectsBody, propertyIdentifier, field) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
// src/internal/conversions/makeGeoFilterWithin.ts
|
|
1074
|
-
|
|
1074
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1075
1075
|
function makeGeoFilterWithin(withinBody, propertyIdentifier, field) {
|
|
1076
1076
|
if (Array.isArray(withinBody)) {
|
|
1077
1077
|
return makeGeoFilterBbox(withinBody, "$within", propertyIdentifier, field);
|
|
@@ -1231,7 +1231,7 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
|
|
|
1231
1231
|
}
|
|
1232
1232
|
|
|
1233
1233
|
// src/derivedProperties/derivedPropertyDefinitionFactory.ts
|
|
1234
|
-
|
|
1234
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1235
1235
|
function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
|
|
1236
1236
|
const definition = {
|
|
1237
1237
|
abs() {
|
|
@@ -1418,10 +1418,10 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
|
|
|
1418
1418
|
}
|
|
1419
1419
|
|
|
1420
1420
|
// src/object/aggregate.ts
|
|
1421
|
-
|
|
1421
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1422
1422
|
|
|
1423
1423
|
// src/internal/conversions/legacyToModernSingleAggregationResult.ts
|
|
1424
|
-
|
|
1424
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1425
1425
|
function legacyToModernSingleAggregationResult(entry) {
|
|
1426
1426
|
return entry.metrics.reduce((accumulator, curValue) => {
|
|
1427
1427
|
const parts = curValue.name.split(".");
|
|
@@ -1440,7 +1440,7 @@ function legacyToModernSingleAggregationResult(entry) {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
1442
|
// src/internal/conversions/modernToLegacyAggregationClause.ts
|
|
1443
|
-
|
|
1443
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1444
1444
|
var directionFieldMap = (dir) => dir === "asc" ? "ASC" : dir === "desc" ? "DESC" : void 0;
|
|
1445
1445
|
function modernToLegacyAggregationClause(select) {
|
|
1446
1446
|
return Object.entries(select).flatMap(([propAndMetric, aggregationType]) => {
|
|
@@ -1464,7 +1464,7 @@ function modernToLegacyAggregationClause(select) {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
// src/internal/conversions/modernToLegacyGroupByClause.ts
|
|
1467
|
-
|
|
1467
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1468
1468
|
function modernToLegacyGroupByClause(groupByClause) {
|
|
1469
1469
|
if (!groupByClause) return [];
|
|
1470
1470
|
return Object.entries(groupByClause).flatMap(([field, type]) => {
|
|
@@ -1562,7 +1562,7 @@ function aggregationToCountResult(entry) {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
1564
|
// src/util/augmentRequestContext.ts
|
|
1565
|
-
|
|
1565
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1566
1566
|
var augmentRequestContext = (client, augment2) => ({
|
|
1567
1567
|
...client,
|
|
1568
1568
|
requestContext: {
|
|
@@ -1572,14 +1572,14 @@ var augmentRequestContext = (client, augment2) => ({
|
|
|
1572
1572
|
});
|
|
1573
1573
|
|
|
1574
1574
|
// src/util/WireObjectSet.ts
|
|
1575
|
-
|
|
1575
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1576
1576
|
var WIRE_OBJECT_SET_TYPES = /* @__PURE__ */ new Set(["base", "filter", "intersect", "reference", "searchAround", "static", "subtract", "union", "interfaceBase"]);
|
|
1577
1577
|
function isWireObjectSet(o) {
|
|
1578
1578
|
return o != null && typeof o === "object" && WIRE_OBJECT_SET_TYPES.has(o.type);
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
1581
|
// src/objectSet/fetchLinksPage.ts
|
|
1582
|
-
|
|
1582
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1583
1583
|
var fetchLinksPage = async (client, objectType, objectSet, links) => {
|
|
1584
1584
|
if (objectType.type === "interface") {
|
|
1585
1585
|
throw new Error("Interface object sets are not supported yet.");
|
|
@@ -1617,10 +1617,10 @@ var remapObjectLocator = (wireObjectLocator) => ({
|
|
|
1617
1617
|
});
|
|
1618
1618
|
|
|
1619
1619
|
// src/objectSet/ObjectSetListenerWebsocket.ts
|
|
1620
|
-
|
|
1620
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1621
1621
|
|
|
1622
1622
|
// src/util/exponentialBackoff.ts
|
|
1623
|
-
|
|
1623
|
+
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
1624
1624
|
var DEFAULT_OPTIONS = {
|
|
1625
1625
|
initialDelayMs: 1e3,
|
|
1626
1626
|
maxDelayMs: 6e4,
|
|
@@ -2317,5 +2317,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
|
|
|
2317
2317
|
exports.isObjectSet = isObjectSet;
|
|
2318
2318
|
exports.isWireObjectSet = isWireObjectSet;
|
|
2319
2319
|
exports.symbolClientContext = symbolClientContext;
|
|
2320
|
-
//# sourceMappingURL=chunk-
|
|
2321
|
-
//# sourceMappingURL=chunk-
|
|
2320
|
+
//# sourceMappingURL=chunk-PUP56SUU.cjs.map
|
|
2321
|
+
//# sourceMappingURL=chunk-PUP56SUU.cjs.map
|