@osdk/faux 0.5.0-beta.1 → 0.5.0-beta.3
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 +24 -0
- package/build/browser/FauxFoundry/FauxDataStore.js +21 -2
- package/build/browser/FauxFoundry/FauxDataStore.js.map +1 -1
- package/build/browser/filterObjects.js +2 -1
- package/build/browser/filterObjects.js.map +1 -1
- package/build/browser/handlers/createObjectSetHandlers.js +4 -2
- package/build/browser/handlers/createObjectSetHandlers.js.map +1 -1
- package/build/browser/handlers/util/pageThroughResponseSearchParams.js +3 -2
- package/build/browser/handlers/util/pageThroughResponseSearchParams.js.map +1 -1
- package/build/cjs/index.cjs +55 -27
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +4 -1
- package/build/esm/FauxFoundry/FauxDataStore.js +21 -2
- package/build/esm/FauxFoundry/FauxDataStore.js.map +1 -1
- package/build/esm/filterObjects.js +2 -1
- package/build/esm/filterObjects.js.map +1 -1
- package/build/esm/handlers/createObjectSetHandlers.js +4 -2
- package/build/esm/handlers/createObjectSetHandlers.js.map +1 -1
- package/build/esm/handlers/util/pageThroughResponseSearchParams.js +3 -2
- package/build/esm/handlers/util/pageThroughResponseSearchParams.js.map +1 -1
- package/build/types/FauxFoundry/FauxDataStore.d.ts +2 -0
- package/build/types/FauxFoundry/FauxDataStore.d.ts.map +1 -1
- package/build/types/handlers/util/pageThroughResponseSearchParams.d.ts +3 -1
- package/build/types/handlers/util/pageThroughResponseSearchParams.d.ts.map +1 -1
- package/package.json +8 -8
package/build/cjs/index.cjs
CHANGED
|
@@ -327,7 +327,8 @@ function subSelectProperties(objects, urlOrProperties, includeCount, excludeRid)
|
|
|
327
327
|
const ret = {
|
|
328
328
|
nextPageToken: objects.nextPageToken,
|
|
329
329
|
data: result,
|
|
330
|
-
totalCount: objects.totalCount
|
|
330
|
+
totalCount: objects.totalCount,
|
|
331
|
+
propertySecurities: objects.propertySecurities
|
|
331
332
|
};
|
|
332
333
|
return ret;
|
|
333
334
|
}
|
|
@@ -442,7 +443,7 @@ function handleOpenApiCall(openApiCall, names) {
|
|
|
442
443
|
function pageThroughResponseSearchParams(iter, {
|
|
443
444
|
pageSize = 1e3,
|
|
444
445
|
pageToken
|
|
445
|
-
}, includeCount) {
|
|
446
|
+
}, includeCount, propertySecurities) {
|
|
446
447
|
const data = Array.from(iter);
|
|
447
448
|
const pageCount = Math.ceil(data.length / pageSize);
|
|
448
449
|
const currentPage = pageToken ? Number(pageToken) : 0;
|
|
@@ -457,7 +458,8 @@ function pageThroughResponseSearchParams(iter, {
|
|
|
457
458
|
data: data.slice(startIndex, endIndex),
|
|
458
459
|
...includeCount ? {
|
|
459
460
|
totalCount: String(data.length)
|
|
460
|
-
} : {}
|
|
461
|
+
} : {},
|
|
462
|
+
propertySecurities: propertySecurities ?? []
|
|
461
463
|
};
|
|
462
464
|
return ret;
|
|
463
465
|
}
|
|
@@ -1221,11 +1223,13 @@ function isValidDecimalString(value) {
|
|
|
1221
1223
|
// src/FauxFoundry/FauxDataStore.ts
|
|
1222
1224
|
var FauxDataStore = class {
|
|
1223
1225
|
#objects = new mnemonist.DefaultMap((key) => /* @__PURE__ */ new Map());
|
|
1226
|
+
#objectsWithSecurities = new mnemonist.DefaultMap((key) => /* @__PURE__ */ new Map());
|
|
1224
1227
|
#singleLinks = new mnemonist.DefaultMap((_objectLocator) => /* @__PURE__ */ new Map());
|
|
1225
1228
|
#manyLinks = new mnemonist.DefaultMap((_objectLocator) => new mnemonist.MultiMap(Set));
|
|
1226
1229
|
#fauxOntology;
|
|
1227
1230
|
#attachments;
|
|
1228
1231
|
#timeSeriesData = new mnemonist.DefaultMap((_objectType) => new mnemonist.DefaultMap((_pk) => new mnemonist.DefaultMap((_property) => [])));
|
|
1232
|
+
#propertySecurities = new mnemonist.DefaultMap((_objectLocator) => [{}]);
|
|
1229
1233
|
#media = new mnemonist.DefaultMap((_objectType) => new mnemonist.DefaultMap((_propName) => {
|
|
1230
1234
|
return /* @__PURE__ */ new Map();
|
|
1231
1235
|
}));
|
|
@@ -1317,6 +1321,14 @@ var FauxDataStore = class {
|
|
|
1317
1321
|
this.#objects.get(bso.__apiName).set(String(bso.__primaryKey), frozenBso);
|
|
1318
1322
|
return frozenBso;
|
|
1319
1323
|
}
|
|
1324
|
+
registerObjectWithPropertySecurities(regularObject, securedObject, propertySecurities) {
|
|
1325
|
+
const registeredObj = this.registerObject(regularObject);
|
|
1326
|
+
this.#objectsWithSecurities.get(registeredObj.__apiName).set(String(registeredObj.__primaryKey), Object.freeze({
|
|
1327
|
+
...securedObject
|
|
1328
|
+
}));
|
|
1329
|
+
this.#propertySecurities.set(objectLocator(registeredObj), propertySecurities);
|
|
1330
|
+
return registeredObj;
|
|
1331
|
+
}
|
|
1320
1332
|
#osdkCreatableToBso(objectType, anyObj) {
|
|
1321
1333
|
objectType = typeof objectType === "string" ? objectType : objectType.apiName;
|
|
1322
1334
|
if ("$apiName" in anyObj) {
|
|
@@ -1585,6 +1597,9 @@ var FauxDataStore = class {
|
|
|
1585
1597
|
}
|
|
1586
1598
|
return object;
|
|
1587
1599
|
}
|
|
1600
|
+
getObjectWithSecurities(apiName, primaryKey) {
|
|
1601
|
+
return this.#objectsWithSecurities.get(apiName).get(String(primaryKey));
|
|
1602
|
+
}
|
|
1588
1603
|
getObjectByRid(rid) {
|
|
1589
1604
|
for (const [, pkToObjects] of this.#objects) {
|
|
1590
1605
|
for (const [, obj] of pkToObjects) {
|
|
@@ -1630,18 +1645,24 @@ var FauxDataStore = class {
|
|
|
1630
1645
|
}
|
|
1631
1646
|
getObjectsFromObjectSet(parsedBody) {
|
|
1632
1647
|
const selected = parsedBody.select;
|
|
1648
|
+
const loadPropertySecurities = parsedBody.loadPropertySecurities ?? false;
|
|
1633
1649
|
let objects = getObjectsFromSet(this, parsedBody.objectSet, void 0);
|
|
1650
|
+
if (loadPropertySecurities) {
|
|
1651
|
+
!(objects.length === 1) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Loading property securities is only supported when loading a single object") : invariant4__default.default(false) : void 0;
|
|
1652
|
+
objects = [this.getObjectWithSecurities(objects[0].__apiName, objects[0].__primaryKey)];
|
|
1653
|
+
}
|
|
1634
1654
|
if (!objects || objects.length === 0) {
|
|
1635
1655
|
return {
|
|
1636
1656
|
data: [],
|
|
1637
1657
|
totalCount: "0",
|
|
1638
|
-
nextPageToken: void 0
|
|
1658
|
+
nextPageToken: void 0,
|
|
1659
|
+
propertySecurities: []
|
|
1639
1660
|
};
|
|
1640
1661
|
}
|
|
1641
1662
|
if (parsedBody.orderBy) {
|
|
1642
1663
|
objects = objects.sort(createOrderBySortFn(parsedBody.orderBy));
|
|
1643
1664
|
}
|
|
1644
|
-
const page = pageThroughResponseSearchParams(objects, getPaginationParamsFromRequest(parsedBody), false);
|
|
1665
|
+
const page = pageThroughResponseSearchParams(objects, getPaginationParamsFromRequest(parsedBody), false, loadPropertySecurities ? this.#propertySecurities.get(objectLocator(objects[0])) : void 0);
|
|
1645
1666
|
if (!page) {
|
|
1646
1667
|
throw new OpenApiCallError(404, InvalidRequest(`No objects found for ${JSON.stringify(parsedBody)}`));
|
|
1647
1668
|
}
|
|
@@ -1773,12 +1794,13 @@ __export(Actions_exports, {
|
|
|
1773
1794
|
applyBatch: () => applyBatch2
|
|
1774
1795
|
});
|
|
1775
1796
|
|
|
1776
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1797
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
1777
1798
|
var Action_exports = {};
|
|
1778
1799
|
__export(Action_exports, {
|
|
1779
1800
|
apply: () => apply,
|
|
1780
1801
|
applyAsync: () => applyAsync,
|
|
1781
|
-
applyBatch: () => applyBatch
|
|
1802
|
+
applyBatch: () => applyBatch,
|
|
1803
|
+
applyWithOverrides: () => applyWithOverrides
|
|
1782
1804
|
});
|
|
1783
1805
|
|
|
1784
1806
|
// ../../node_modules/.pnpm/@osdk+shared.client@1.0.1/node_modules/@osdk/shared.client/index.js
|
|
@@ -1809,7 +1831,7 @@ var UnknownError = class extends PalantirApiError {
|
|
|
1809
1831
|
}
|
|
1810
1832
|
};
|
|
1811
1833
|
|
|
1812
|
-
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.
|
|
1834
|
+
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.6.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
|
|
1813
1835
|
async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
|
|
1814
1836
|
const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
|
|
1815
1837
|
const body = flags & 1 ? args.shift() : void 0;
|
|
@@ -1874,7 +1896,7 @@ function parseUrl(baseUrl, endpointPath) {
|
|
|
1874
1896
|
return new URL(`api${endpointPath}`, baseUrl);
|
|
1875
1897
|
}
|
|
1876
1898
|
|
|
1877
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1899
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
1878
1900
|
var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
1879
1901
|
function apply($ctx, ...args) {
|
|
1880
1902
|
return foundryPlatformFetch($ctx, _apply, ...args);
|
|
@@ -1887,8 +1909,12 @@ var _applyBatch = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
|
1887
1909
|
function applyBatch($ctx, ...args) {
|
|
1888
1910
|
return foundryPlatformFetch($ctx, _applyBatch, ...args);
|
|
1889
1911
|
}
|
|
1912
|
+
var _applyWithOverrides = [1, "/v2/ontologies/{0}/actions/{1}/applyWithOverrides", 3];
|
|
1913
|
+
function applyWithOverrides($ctx, ...args) {
|
|
1914
|
+
return foundryPlatformFetch($ctx, _applyWithOverrides, ...args);
|
|
1915
|
+
}
|
|
1890
1916
|
|
|
1891
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1917
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
|
|
1892
1918
|
var ActionTypeV2_exports = {};
|
|
1893
1919
|
__export(ActionTypeV2_exports, {
|
|
1894
1920
|
get: () => get,
|
|
@@ -1908,7 +1934,7 @@ function getByRid($ctx, ...args) {
|
|
|
1908
1934
|
return foundryPlatformFetch($ctx, _getByRid, ...args);
|
|
1909
1935
|
}
|
|
1910
1936
|
|
|
1911
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1937
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
1912
1938
|
var Attachment_exports = {};
|
|
1913
1939
|
__export(Attachment_exports, {
|
|
1914
1940
|
get: () => get2,
|
|
@@ -1943,7 +1969,7 @@ function get2($ctx, ...args) {
|
|
|
1943
1969
|
return foundryPlatformFetch($ctx, _get2, ...args);
|
|
1944
1970
|
}
|
|
1945
1971
|
|
|
1946
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1972
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
1947
1973
|
var AttachmentPropertyV2_exports = {};
|
|
1948
1974
|
__export(AttachmentPropertyV2_exports, {
|
|
1949
1975
|
getAttachment: () => getAttachment,
|
|
@@ -1968,7 +1994,7 @@ function readAttachmentByRid($ctx, ...args) {
|
|
|
1968
1994
|
return foundryPlatformFetch($ctx, _readAttachmentByRid, ...args);
|
|
1969
1995
|
}
|
|
1970
1996
|
|
|
1971
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1997
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
1972
1998
|
var LinkedObjectV2_exports = {};
|
|
1973
1999
|
__export(LinkedObjectV2_exports, {
|
|
1974
2000
|
getLinkedObject: () => getLinkedObject,
|
|
@@ -1983,7 +2009,7 @@ function getLinkedObject($ctx, ...args) {
|
|
|
1983
2009
|
return foundryPlatformFetch($ctx, _getLinkedObject, ...args);
|
|
1984
2010
|
}
|
|
1985
2011
|
|
|
1986
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2012
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
1987
2013
|
var MediaReferenceProperty_exports = {};
|
|
1988
2014
|
__export(MediaReferenceProperty_exports, {
|
|
1989
2015
|
getMediaContent: () => getMediaContent,
|
|
@@ -2003,7 +2029,7 @@ function upload2($ctx, ...args) {
|
|
|
2003
2029
|
return foundryPlatformFetch($ctx, _upload2, ...args);
|
|
2004
2030
|
}
|
|
2005
2031
|
|
|
2006
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2032
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
2007
2033
|
var ObjectTypeV2_exports = {};
|
|
2008
2034
|
__export(ObjectTypeV2_exports, {
|
|
2009
2035
|
get: () => get3,
|
|
@@ -2033,7 +2059,7 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
2033
2059
|
return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
|
|
2034
2060
|
}
|
|
2035
2061
|
|
|
2036
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2062
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
2037
2063
|
var OntologyInterface_exports = {};
|
|
2038
2064
|
__export(OntologyInterface_exports, {
|
|
2039
2065
|
aggregate: () => aggregate,
|
|
@@ -2078,7 +2104,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
|
|
|
2078
2104
|
return foundryPlatformFetch($ctx, _listInterfaceLinkedObjects, ...args);
|
|
2079
2105
|
}
|
|
2080
2106
|
|
|
2081
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2107
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
2082
2108
|
var OntologyObjectSet_exports = {};
|
|
2083
2109
|
__export(OntologyObjectSet_exports, {
|
|
2084
2110
|
aggregate: () => aggregate2,
|
|
@@ -2118,7 +2144,7 @@ function loadLinks($ctx, ...args) {
|
|
|
2118
2144
|
return foundryPlatformFetch($ctx, _loadLinks, ...args);
|
|
2119
2145
|
}
|
|
2120
2146
|
|
|
2121
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2147
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
2122
2148
|
var OntologyObjectV2_exports = {};
|
|
2123
2149
|
__export(OntologyObjectV2_exports, {
|
|
2124
2150
|
aggregate: () => aggregate3,
|
|
@@ -2148,7 +2174,7 @@ function aggregate3($ctx, ...args) {
|
|
|
2148
2174
|
return foundryPlatformFetch($ctx, _aggregate3, ...args);
|
|
2149
2175
|
}
|
|
2150
2176
|
|
|
2151
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2177
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
|
|
2152
2178
|
var OntologyTransaction_exports = {};
|
|
2153
2179
|
__export(OntologyTransaction_exports, {
|
|
2154
2180
|
postEdits: () => postEdits
|
|
@@ -2158,7 +2184,7 @@ function postEdits($ctx, ...args) {
|
|
|
2158
2184
|
return foundryPlatformFetch($ctx, _postEdits, ...args);
|
|
2159
2185
|
}
|
|
2160
2186
|
|
|
2161
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2187
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
2162
2188
|
var OntologyV2_exports = {};
|
|
2163
2189
|
__export(OntologyV2_exports, {
|
|
2164
2190
|
get: () => get7,
|
|
@@ -2183,7 +2209,7 @@ function loadMetadata($ctx, ...args) {
|
|
|
2183
2209
|
return foundryPlatformFetch($ctx, _loadMetadata, ...args);
|
|
2184
2210
|
}
|
|
2185
2211
|
|
|
2186
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2212
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
2187
2213
|
var Query_exports = {};
|
|
2188
2214
|
__export(Query_exports, {
|
|
2189
2215
|
execute: () => execute
|
|
@@ -2193,7 +2219,7 @@ function execute($ctx, ...args) {
|
|
|
2193
2219
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
2194
2220
|
}
|
|
2195
2221
|
|
|
2196
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2222
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
2197
2223
|
var QueryType_exports = {};
|
|
2198
2224
|
__export(QueryType_exports, {
|
|
2199
2225
|
get: () => get8,
|
|
@@ -2208,7 +2234,7 @@ function get8($ctx, ...args) {
|
|
|
2208
2234
|
return foundryPlatformFetch($ctx, _get8, ...args);
|
|
2209
2235
|
}
|
|
2210
2236
|
|
|
2211
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2237
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
2212
2238
|
var TimeSeriesPropertyV2_exports = {};
|
|
2213
2239
|
__export(TimeSeriesPropertyV2_exports, {
|
|
2214
2240
|
getFirstPoint: () => getFirstPoint,
|
|
@@ -2228,7 +2254,7 @@ function streamPoints($ctx, ...args) {
|
|
|
2228
2254
|
return foundryPlatformFetch($ctx, _streamPoints, ...args);
|
|
2229
2255
|
}
|
|
2230
2256
|
|
|
2231
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2257
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
2232
2258
|
var TimeSeriesValueBankProperty_exports = {};
|
|
2233
2259
|
__export(TimeSeriesValueBankProperty_exports, {
|
|
2234
2260
|
getLatestValue: () => getLatestValue,
|
|
@@ -2294,7 +2320,7 @@ __export(MediaReferenceProperties_exports, {
|
|
|
2294
2320
|
uploadMedia: () => uploadMedia2
|
|
2295
2321
|
});
|
|
2296
2322
|
|
|
2297
|
-
// ../../node_modules/.pnpm/@osdk+foundry.mediasets@2.
|
|
2323
|
+
// ../../node_modules/.pnpm/@osdk+foundry.mediasets@2.45.0/node_modules/@osdk/foundry.mediasets/build/esm/public/MediaSet.js
|
|
2298
2324
|
var MediaSet_exports = {};
|
|
2299
2325
|
__export(MediaSet_exports, {
|
|
2300
2326
|
abort: () => abort,
|
|
@@ -2750,7 +2776,8 @@ var createObjectSetHandlers = (baseUrl, fauxFoundry) => [
|
|
|
2750
2776
|
request,
|
|
2751
2777
|
params
|
|
2752
2778
|
}) => {
|
|
2753
|
-
|
|
2779
|
+
const a = fauxFoundry.getDataStore(params.ontologyApiName).getObjectsFromObjectSet(await request.json());
|
|
2780
|
+
return a;
|
|
2754
2781
|
}),
|
|
2755
2782
|
/**
|
|
2756
2783
|
* Aggregate Objects in ObjectSet
|
|
@@ -2772,7 +2799,8 @@ var createObjectSetHandlers = (baseUrl, fauxFoundry) => [
|
|
|
2772
2799
|
return {
|
|
2773
2800
|
interfaceToObjectTypeMappings: fauxFoundry.getOntology(params.ontologyApiName).getInterfaceToObjectTypeMappings(objectApiNames),
|
|
2774
2801
|
interfaceToObjectTypeMappingsV2: {},
|
|
2775
|
-
...pagedResponse
|
|
2802
|
+
...pagedResponse,
|
|
2803
|
+
propertySecurities: []
|
|
2776
2804
|
};
|
|
2777
2805
|
})
|
|
2778
2806
|
];
|