@osdk/client 2.64.0 → 2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec
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 +9 -0
- package/build/browser/Client.js +1 -1
- package/build/browser/Client.js.map +1 -1
- package/build/browser/observable/internal/AbstractHelper.js +5 -6
- package/build/browser/observable/internal/AbstractHelper.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{applyStreamingQuery-BIHKIKKU.cjs → applyStreamingQuery-6GMWORWF.cjs} +8 -8
- package/build/cjs/{applyStreamingQuery-BIHKIKKU.cjs.map → applyStreamingQuery-6GMWORWF.cjs.map} +1 -1
- package/build/cjs/{chunk-MJVYTA33.cjs → chunk-2PUKRISI.cjs} +13 -13
- package/build/cjs/{chunk-MJVYTA33.cjs.map → chunk-2PUKRISI.cjs.map} +1 -1
- package/build/cjs/{chunk-RZCGAM33.cjs → chunk-J36RLLGN.cjs} +83 -83
- package/build/cjs/chunk-J36RLLGN.cjs.map +1 -0
- package/build/cjs/{chunk-7C3MSZAN.cjs → chunk-ODWJ44XQ.cjs} +2 -2
- package/build/cjs/{chunk-7C3MSZAN.cjs.map → chunk-ODWJ44XQ.cjs.map} +1 -1
- package/build/cjs/{chunk-YXVFIOFP.cjs → chunk-TYFBHYCJ.cjs} +8 -8
- package/build/cjs/{chunk-YXVFIOFP.cjs.map → chunk-TYFBHYCJ.cjs.map} +1 -1
- package/build/cjs/{chunk-SJEGTIHS.cjs → chunk-YM3DAD6S.cjs} +46 -46
- package/build/cjs/chunk-YM3DAD6S.cjs.map +1 -0
- package/build/cjs/index.cjs +11 -11
- package/build/cjs/public/experimental.cjs +9 -9
- package/build/cjs/public/internal.cjs +7 -7
- package/build/cjs/public/observable.cjs +5 -5
- package/build/cjs/public/unstable-do-not-use.cjs +16 -16
- package/build/esm/Client.js +1 -1
- package/build/esm/Client.js.map +1 -1
- package/build/esm/observable/internal/AbstractHelper.js +5 -6
- package/build/esm/observable/internal/AbstractHelper.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/esm/util/UserAgent.js.map +1 -1
- package/build/types/Client.d.ts +1 -1
- package/build/types/observable/internal/AbstractHelper.d.ts.map +1 -1
- package/package.json +7 -7
- package/build/cjs/chunk-RZCGAM33.cjs.map +0 -1
- package/build/cjs/chunk-SJEGTIHS.cjs.map +0 -1
package/build/cjs/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYM3DAD6S_cjs = require('./chunk-YM3DAD6S.cjs');
|
|
4
4
|
require('./chunk-IBY4PG26.cjs');
|
|
5
5
|
require('./chunk-G2EJPP5V.cjs');
|
|
6
6
|
require('./chunk-KTZGY72C.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunk2PUKRISI_cjs = require('./chunk-2PUKRISI.cjs');
|
|
8
|
+
var chunkODWJ44XQ_cjs = require('./chunk-ODWJ44XQ.cjs');
|
|
9
9
|
require('./chunk-Q7QYW5NE.cjs');
|
|
10
10
|
require('./chunk-IWUIN6JJ.cjs');
|
|
11
11
|
require('./chunk-Q7SFCCGT.cjs');
|
|
@@ -19,7 +19,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
19
19
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
20
20
|
|
|
21
21
|
function createPlatformClient(baseUrl, tokenProvider, options = void 0, fetchFn = fetch) {
|
|
22
|
-
return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider,
|
|
22
|
+
return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunkYM3DAD6S_cjs.USER_AGENT, fetchFn);
|
|
23
23
|
}
|
|
24
24
|
var isoRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/u;
|
|
25
25
|
var extractDate = (dateTime) => {
|
|
@@ -43,31 +43,31 @@ var extractDateFromIsoString = (dateTime) => {
|
|
|
43
43
|
|
|
44
44
|
Object.defineProperty(exports, "ActionValidationError", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkYM3DAD6S_cjs.ActionValidationError; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createClient", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkYM3DAD6S_cjs.createClient; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createAttachmentUpload", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk2PUKRISI_cjs.createAttachmentUpload; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "createObjectSpecifierFromPrimaryKey", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk2PUKRISI_cjs.createObjectSpecifierFromPrimaryKey; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "extractPrimaryKeyFromObjectSpecifier", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk2PUKRISI_cjs.extractPrimaryKeyFromObjectSpecifier; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "getWireObjectSet", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkODWJ44XQ_cjs.getWireObjectSet; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "isObjectSet", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkODWJ44XQ_cjs.isObjectSet; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "isOk", {
|
|
73
73
|
enumerable: true,
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkTYFBHYCJ_cjs = require('../chunk-TYFBHYCJ.cjs');
|
|
4
|
+
var chunkYM3DAD6S_cjs = require('../chunk-YM3DAD6S.cjs');
|
|
5
5
|
require('../chunk-IBY4PG26.cjs');
|
|
6
6
|
require('../chunk-G2EJPP5V.cjs');
|
|
7
7
|
require('../chunk-KTZGY72C.cjs');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
var
|
|
8
|
+
require('../chunk-2PUKRISI.cjs');
|
|
9
|
+
var chunkODWJ44XQ_cjs = require('../chunk-ODWJ44XQ.cjs');
|
|
10
10
|
require('../chunk-Q7QYW5NE.cjs');
|
|
11
11
|
require('../chunk-IWUIN6JJ.cjs');
|
|
12
12
|
require('../chunk-Q7SFCCGT.cjs');
|
|
13
13
|
|
|
14
14
|
// src/createClientFromWriteableClient.ts
|
|
15
15
|
function createClientFromWriteableClient(writeableClient, options) {
|
|
16
|
-
const ctx = writeableClient[
|
|
16
|
+
const ctx = writeableClient[chunkODWJ44XQ_cjs.additionalContext];
|
|
17
17
|
if (ctx.transactionId === void 0 || ctx.flushEdits === void 0) {
|
|
18
18
|
throw new Error("createClientFromWriteableClient: provided client has no active transaction");
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return chunkYM3DAD6S_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
Object.defineProperty(exports, "createScenario", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkTYFBHYCJ_cjs.createScenario; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "withScenario", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTYFBHYCJ_cjs.withScenario; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYM3DAD6S_cjs.createClientWithTransaction; }
|
|
34
34
|
});
|
|
35
35
|
exports.createClientFromWriteableClient = createClientFromWriteableClient;
|
|
36
36
|
//# sourceMappingURL=experimental.cjs.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkIBY4PG26_cjs = require('../chunk-IBY4PG26.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkODWJ44XQ_cjs = require('../chunk-ODWJ44XQ.cjs');
|
|
5
5
|
require('../chunk-Q7QYW5NE.cjs');
|
|
6
6
|
require('../chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
8
8
|
// src/public-utils/createAndFetchTempObjectSetRid.ts
|
|
9
9
|
async function createAndFetchTempObjectSetRid(client, objectSet) {
|
|
10
|
-
const response = await
|
|
11
|
-
objectSet:
|
|
10
|
+
const response = await chunkODWJ44XQ_cjs.createTemporary(client, await client[chunkODWJ44XQ_cjs.additionalContext].ontologyRid, {
|
|
11
|
+
objectSet: chunkODWJ44XQ_cjs.getWireObjectSet(objectSet)
|
|
12
12
|
});
|
|
13
13
|
return response.objectSetRid;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// src/public-utils/hydrateObjectSetFromObjectRids.ts
|
|
17
17
|
function hydrateObjectSetFromObjectRids(client, definition, rids) {
|
|
18
|
-
return
|
|
18
|
+
return chunkODWJ44XQ_cjs.createObjectSet(definition, client[chunkODWJ44XQ_cjs.additionalContext], {
|
|
19
19
|
type: "intersect",
|
|
20
20
|
objectSets: [definition.type === "interface" ? {
|
|
21
21
|
type: "interfaceBase",
|
|
@@ -35,7 +35,7 @@ function asMutableArray(array) {
|
|
|
35
35
|
|
|
36
36
|
// src/public-utils/hydrateObjectSetFromRid.ts
|
|
37
37
|
function hydrateObjectSetFromRid(client, definition, rid) {
|
|
38
|
-
return
|
|
38
|
+
return chunkODWJ44XQ_cjs.createObjectSet(definition, client[chunkODWJ44XQ_cjs.additionalContext], {
|
|
39
39
|
type: "intersect",
|
|
40
40
|
objectSets: [definition.type === "interface" ? {
|
|
41
41
|
type: "interfaceBase",
|
|
@@ -106,11 +106,11 @@ Object.defineProperty(exports, "MinimalLogger", {
|
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "createMediaFromReference", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkODWJ44XQ_cjs.createMediaFromReference; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "hydrateAttachmentFromRid", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkODWJ44XQ_cjs.hydrateAttachmentFromRid; }
|
|
114
114
|
});
|
|
115
115
|
exports.BrowserLogger = BrowserLogger;
|
|
116
116
|
exports.createAndFetchTempObjectSetRid = createAndFetchTempObjectSetRid;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkJ36RLLGN_cjs = require('../chunk-J36RLLGN.cjs');
|
|
4
|
+
require('../chunk-YM3DAD6S.cjs');
|
|
5
5
|
require('../chunk-IBY4PG26.cjs');
|
|
6
6
|
require('../chunk-G2EJPP5V.cjs');
|
|
7
7
|
require('../chunk-KTZGY72C.cjs');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-2PUKRISI.cjs');
|
|
9
|
+
require('../chunk-ODWJ44XQ.cjs');
|
|
10
10
|
require('../chunk-Q7QYW5NE.cjs');
|
|
11
11
|
require('../chunk-IWUIN6JJ.cjs');
|
|
12
12
|
require('../chunk-Q7SFCCGT.cjs');
|
|
@@ -15,7 +15,7 @@ require('../chunk-Q7SFCCGT.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "createObservableClient", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJ36RLLGN_cjs.createObservableClient; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=observable.cjs.map
|
|
21
21
|
//# sourceMappingURL=observable.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkTYFBHYCJ_cjs = require('../chunk-TYFBHYCJ.cjs');
|
|
4
|
+
var chunkJ36RLLGN_cjs = require('../chunk-J36RLLGN.cjs');
|
|
5
|
+
var chunkYM3DAD6S_cjs = require('../chunk-YM3DAD6S.cjs');
|
|
6
6
|
require('../chunk-IBY4PG26.cjs');
|
|
7
7
|
require('../chunk-G2EJPP5V.cjs');
|
|
8
8
|
require('../chunk-KTZGY72C.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
var
|
|
9
|
+
require('../chunk-2PUKRISI.cjs');
|
|
10
|
+
var chunkODWJ44XQ_cjs = require('../chunk-ODWJ44XQ.cjs');
|
|
11
11
|
require('../chunk-Q7QYW5NE.cjs');
|
|
12
12
|
require('../chunk-IWUIN6JJ.cjs');
|
|
13
13
|
require('../chunk-Q7SFCCGT.cjs');
|
|
@@ -15,8 +15,8 @@ var unstable = require('@osdk/api/unstable');
|
|
|
15
15
|
|
|
16
16
|
// src/object/hydrateOsdkObject.ts
|
|
17
17
|
async function hydrateOsdkObject(client, objects, objectDefsByApiName, propertySecurities) {
|
|
18
|
-
return
|
|
19
|
-
client[
|
|
18
|
+
return chunkYM3DAD6S_cjs.convertWireToOsdkObjects(
|
|
19
|
+
client[chunkODWJ44XQ_cjs.additionalContext],
|
|
20
20
|
objects,
|
|
21
21
|
/* interfaceApiName */
|
|
22
22
|
void 0,
|
|
@@ -160,7 +160,7 @@ function getLinkQueryOptions(linkDef, sourceObject, pageSize) {
|
|
|
160
160
|
return options;
|
|
161
161
|
}
|
|
162
162
|
async function buildObjectSetFromLinkDefByType(client, sourceType, sourcePrimaryKey, linkDef) {
|
|
163
|
-
const metadata = await client[
|
|
163
|
+
const metadata = await client[chunkODWJ44XQ_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
|
|
164
164
|
const pkFieldName = metadata.primaryKeyApiName;
|
|
165
165
|
let objectSet = client(sourceType).where({
|
|
166
166
|
[pkFieldName]: sourcePrimaryKey
|
|
@@ -219,35 +219,35 @@ function resolveSymbolBindings(value, sourcePrimaryKey) {
|
|
|
219
219
|
|
|
220
220
|
Object.defineProperty(exports, "createScenario", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkTYFBHYCJ_cjs.createScenario; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "withScenario", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkTYFBHYCJ_cjs.withScenario; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "createObservableClient", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkJ36RLLGN_cjs.createObservableClient; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "createClientWithSubscriptionConnection", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkYM3DAD6S_cjs.createClientWithSubscriptionConnection; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkYM3DAD6S_cjs.createClientWithTransaction; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "augment", {
|
|
241
241
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkODWJ44XQ_cjs.augment; }
|
|
243
243
|
});
|
|
244
244
|
Object.defineProperty(exports, "getWireObjectSet", {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkODWJ44XQ_cjs.getWireObjectSet; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "isObjectSet", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkODWJ44XQ_cjs.isObjectSet; }
|
|
251
251
|
});
|
|
252
252
|
exports.applyShapeTransformations = applyShapeTransformations;
|
|
253
253
|
exports.applyShapeTransformationsToArray = applyShapeTransformationsToArray;
|
package/build/esm/Client.js
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
export const additionalContext = Symbol("additionalContext");
|
|
22
22
|
|
|
23
23
|
// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.
|
|
24
|
-
const MaxOsdkVersion = "2.64.
|
|
24
|
+
const MaxOsdkVersion = "2.64.1";
|
|
25
25
|
// END: THIS IS GENERATED CODE. DO NOT EDIT.
|
|
26
26
|
|
|
27
27
|
const ErrorMessage = Symbol("ErrorMessage");
|
package/build/esm/Client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","names":["additionalContext","Symbol","MaxOsdkVersion","ErrorMessage"],"sources":["Client.ts"],"sourcesContent":["/*\n * Copyright 2023 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 */\n\nimport type {\n ActionDefinition,\n ActionMetadata,\n CompileTimeMetadata,\n InterfaceDefinition,\n InterfaceMetadata,\n ObjectMetadata,\n ObjectSet,\n ObjectTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n VersionBound,\n} from \"@osdk/api\";\nimport type {\n Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\n\nimport type { ActionSignatureFromDef } from \"./actions/applyAction.js\";\nimport type { MinimalClient } from \"./MinimalClientContext.js\";\nimport type { QuerySignatureFromDef } from \"./queries/types.js\";\nimport type { SatisfiesSemver } from \"./SatisfiesSemver.js\";\n\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\ntype OldSharedClient = import(\"@osdk/shared.client\").SharedClient;\n\nexport type CheckVersionBound<Q> =\n Q extends VersionBound<infer V>\n ? SatisfiesSemver<V, MaxOsdkVersion> extends true\n ? Q\n : Q & {\n [ErrorMessage]: `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\n : Q;\n\nexport interface Client extends SharedClient, OldSharedClient {\n /**\n * Returns the operation surface for the given ontology definition. The shape of the\n * returned value is dispatched on what kind of definition is passed:\n * - object type → the object set type for that ontology object (typically a generated extension of {@link ObjectSet})\n * - interface → a {@link MinimalObjectSet} for the interface\n * - action → a callable with `applyAction` / `batchApplyAction`\n * - query → a callable with `executeFunction`\n * - experiment → the unstable feature surface for that experiment\n *\n * @param o - The object type definition to wrap.\n * @example\n * ```ts\n * const employees = await client(Employee).fetchPage({ $pageSize: 30 });\n * const employee = await client(Employee).fetchOne(12345);\n * ```\n * @returns an object set scoped to all objects of this type.\n */\n <Q extends ObjectTypeDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? ObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The interface definition to wrap.\n * @example\n * ```ts\n * const page = await client(MyInterface).fetchPage({ $pageSize: 30 });\n * ```\n * @returns a minimal object set over all objects implementing the interface.\n */\n <Q extends InterfaceDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? MinimalObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The action definition to invoke.\n * @example\n * ```ts\n * const result = await client(createEmployee).applyAction(\n * { name: \"Jane\", department: \"Engineering\" },\n * { $returnEdits: true },\n * );\n * ```\n * @returns a callable for applying (or batch-applying) the action.\n */\n <Q extends ActionDefinition<any>>(o: Q): ActionSignatureFromDef<Q>;\n\n /**\n * @param o - The query definition to invoke.\n * @example\n * ```ts\n * const result = await client(getEmployeeCount).executeFunction({ department: \"Engineering\" });\n * ```\n * @returns a callable for executing the query function.\n */\n <Q extends QueryDefinition<any>>(o: Q): QuerySignatureFromDef<Q>;\n\n /**\n * @param experiment - The experiment marker that gates an unstable feature.\n * @example\n * ```ts\n * const employee = await client(__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid)\n * .fetchOneByRid(Employee, \"ri.phonograph2-objects.main.object.1234\");\n * ```\n * @returns the experiment-specific function surface.\n */\n <\n Q extends\n | Experiment<\"2.0.8\">\n | Experiment<\"2.1.0\">\n | Experiment<\"2.59.0\">\n | Experiment<\"2.2.0\">\n | Experiment<\"2.8.0\">\n | Experiment<\"2.19.0\">,\n >(\n experiment: Q,\n ): ExperimentFns<Q>;\n\n /**\n * Fetches runtime metadata for the given ontology definition. The returned shape\n * is dispatched on the kind of definition passed: {@link ObjectMetadata},\n * {@link InterfaceMetadata}, {@link ActionMetadata}, or {@link QueryMetadata}.\n * @param o - The object type, interface, action, or query definition to look up.\n * @example\n * ```ts\n * const meta = await client.fetchMetadata(Employee);\n * console.log(meta.displayName, meta.description);\n * ```\n * @returns a promise resolving to the metadata for the given definition.\n */\n fetchMetadata<\n Q extends\n | ObjectTypeDefinition\n | InterfaceDefinition\n | ActionDefinition<any>\n | QueryDefinition<any>,\n >(\n o: Q,\n ): Promise<\n Q extends ObjectTypeDefinition\n ? ObjectMetadata\n : Q extends InterfaceDefinition\n ? InterfaceMetadata\n : Q extends ActionDefinition<any>\n ? ActionMetadata\n : Q extends QueryDefinition<any>\n ? QueryMetadata\n : never\n >;\n\n /** @internal */\n [additionalContext]: MinimalClient;\n}\n\n// DO NOT EXPORT FROM PACKAGE\n/** @internal */\nexport const additionalContext: unique symbol = Symbol(\"additionalContext\");\n\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst MaxOsdkVersion = \"2.64.
|
|
1
|
+
{"version":3,"file":"Client.js","names":["additionalContext","Symbol","MaxOsdkVersion","ErrorMessage"],"sources":["Client.ts"],"sourcesContent":["/*\n * Copyright 2023 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 */\n\nimport type {\n ActionDefinition,\n ActionMetadata,\n CompileTimeMetadata,\n InterfaceDefinition,\n InterfaceMetadata,\n ObjectMetadata,\n ObjectSet,\n ObjectTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n VersionBound,\n} from \"@osdk/api\";\nimport type {\n Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\n\nimport type { ActionSignatureFromDef } from \"./actions/applyAction.js\";\nimport type { MinimalClient } from \"./MinimalClientContext.js\";\nimport type { QuerySignatureFromDef } from \"./queries/types.js\";\nimport type { SatisfiesSemver } from \"./SatisfiesSemver.js\";\n\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\ntype OldSharedClient = import(\"@osdk/shared.client\").SharedClient;\n\nexport type CheckVersionBound<Q> =\n Q extends VersionBound<infer V>\n ? SatisfiesSemver<V, MaxOsdkVersion> extends true\n ? Q\n : Q & {\n [ErrorMessage]: `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\n : Q;\n\nexport interface Client extends SharedClient, OldSharedClient {\n /**\n * Returns the operation surface for the given ontology definition. The shape of the\n * returned value is dispatched on what kind of definition is passed:\n * - object type → the object set type for that ontology object (typically a generated extension of {@link ObjectSet})\n * - interface → a {@link MinimalObjectSet} for the interface\n * - action → a callable with `applyAction` / `batchApplyAction`\n * - query → a callable with `executeFunction`\n * - experiment → the unstable feature surface for that experiment\n *\n * @param o - The object type definition to wrap.\n * @example\n * ```ts\n * const employees = await client(Employee).fetchPage({ $pageSize: 30 });\n * const employee = await client(Employee).fetchOne(12345);\n * ```\n * @returns an object set scoped to all objects of this type.\n */\n <Q extends ObjectTypeDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? ObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The interface definition to wrap.\n * @example\n * ```ts\n * const page = await client(MyInterface).fetchPage({ $pageSize: 30 });\n * ```\n * @returns a minimal object set over all objects implementing the interface.\n */\n <Q extends InterfaceDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? MinimalObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The action definition to invoke.\n * @example\n * ```ts\n * const result = await client(createEmployee).applyAction(\n * { name: \"Jane\", department: \"Engineering\" },\n * { $returnEdits: true },\n * );\n * ```\n * @returns a callable for applying (or batch-applying) the action.\n */\n <Q extends ActionDefinition<any>>(o: Q): ActionSignatureFromDef<Q>;\n\n /**\n * @param o - The query definition to invoke.\n * @example\n * ```ts\n * const result = await client(getEmployeeCount).executeFunction({ department: \"Engineering\" });\n * ```\n * @returns a callable for executing the query function.\n */\n <Q extends QueryDefinition<any>>(o: Q): QuerySignatureFromDef<Q>;\n\n /**\n * @param experiment - The experiment marker that gates an unstable feature.\n * @example\n * ```ts\n * const employee = await client(__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid)\n * .fetchOneByRid(Employee, \"ri.phonograph2-objects.main.object.1234\");\n * ```\n * @returns the experiment-specific function surface.\n */\n <\n Q extends\n | Experiment<\"2.0.8\">\n | Experiment<\"2.1.0\">\n | Experiment<\"2.59.0\">\n | Experiment<\"2.2.0\">\n | Experiment<\"2.8.0\">\n | Experiment<\"2.19.0\">,\n >(\n experiment: Q,\n ): ExperimentFns<Q>;\n\n /**\n * Fetches runtime metadata for the given ontology definition. The returned shape\n * is dispatched on the kind of definition passed: {@link ObjectMetadata},\n * {@link InterfaceMetadata}, {@link ActionMetadata}, or {@link QueryMetadata}.\n * @param o - The object type, interface, action, or query definition to look up.\n * @example\n * ```ts\n * const meta = await client.fetchMetadata(Employee);\n * console.log(meta.displayName, meta.description);\n * ```\n * @returns a promise resolving to the metadata for the given definition.\n */\n fetchMetadata<\n Q extends\n | ObjectTypeDefinition\n | InterfaceDefinition\n | ActionDefinition<any>\n | QueryDefinition<any>,\n >(\n o: Q,\n ): Promise<\n Q extends ObjectTypeDefinition\n ? ObjectMetadata\n : Q extends InterfaceDefinition\n ? InterfaceMetadata\n : Q extends ActionDefinition<any>\n ? ActionMetadata\n : Q extends QueryDefinition<any>\n ? QueryMetadata\n : never\n >;\n\n /** @internal */\n [additionalContext]: MinimalClient;\n}\n\n// DO NOT EXPORT FROM PACKAGE\n/** @internal */\nexport const additionalContext: unique symbol = Symbol(\"additionalContext\");\n\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst MaxOsdkVersion = \"2.64.1\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport type MaxOsdkVersion = typeof MaxOsdkVersion;\nconst ErrorMessage: unique symbol = Symbol(\"ErrorMessage\");\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA2BA;;AAkIA;AACA;AACA,OAAO,MAAMA,iBAAgC,GAAGC,MAAM,CAAC,mBAAmB,CAAC;;AAE3E;AACA,MAAMC,cAAc,GAAG,QAAQ;AAC/B;;AAEA,MAAMC,YAA2B,GAAGF,MAAM,CAAC,cAAc,CAAC","ignoreList":[]}
|
|
@@ -53,6 +53,10 @@ export class AbstractHelper {
|
|
|
53
53
|
} else {
|
|
54
54
|
this.store.cacheKeys.retain(query.cacheKey);
|
|
55
55
|
}
|
|
56
|
+
// For queries that support views (list-like queries), wrap with ListQueryView
|
|
57
|
+
// to handle per-subscriber view data such as pageSize
|
|
58
|
+
const listOptions = options;
|
|
59
|
+
const view = supportsViews(query) ? new ListQueryView(query, listOptions.pageSize ?? 100, listOptions.autoFetchMore) : undefined;
|
|
56
60
|
if (options.mode !== "offline") {
|
|
57
61
|
query.revalidate(options.mode === "force").catch(e => {
|
|
58
62
|
subFn.error(e);
|
|
@@ -67,12 +71,7 @@ export class AbstractHelper {
|
|
|
67
71
|
}
|
|
68
72
|
});
|
|
69
73
|
}
|
|
70
|
-
|
|
71
|
-
// For queries that support views (list-like queries), wrap with ListQueryView
|
|
72
|
-
// to handle per-subscriber view data such as pageSize
|
|
73
|
-
const listOptions = options;
|
|
74
|
-
const useView = supportsViews(query) && (listOptions.pageSize !== undefined || listOptions.autoFetchMore !== undefined);
|
|
75
|
-
const sub = useView ? new ListQueryView(query, listOptions.pageSize ?? 100, listOptions.autoFetchMore).subscribe(subFn) : query.subscribe(subFn);
|
|
74
|
+
const sub = view ? view.subscribe(subFn) : query.subscribe(subFn);
|
|
76
75
|
const querySub = new QuerySubscription(query, sub);
|
|
77
76
|
query.registerSubscriptionDedupeInterval(querySub.subscriptionId, options.dedupeInterval);
|
|
78
77
|
sub.add(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractHelper.js","names":["ListQueryView","QuerySubscription","supportsViews","query","registerFetchPageSize","getLoadedCount","hasMorePages","notifySubscribers","fetchMore","AbstractHelper","constructor","store","cacheKeys","observe","options","subFn","getQuery","_subscribe","pendingCleanupCount","pendingCleanup","get","cacheKey","delete","set","retain","mode","revalidate","catch","e","error","logger","listOptions","useView","pageSize","undefined","autoFetchMore","sub","subscribe","querySub","registerSubscriptionDedupeInterval","subscriptionId","dedupeInterval","add","unregisterSubscriptionDedupeInterval","queueMicrotask","currentPending","release"],"sources":["AbstractHelper.ts"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\nimport type {\n CommonObserveOptions,\n Observer,\n} from \"../ObservableClient/common.js\";\nimport type { BaseListPayloadShape } from \"./base-list/BaseListQuery.js\";\nimport type { CacheKeys } from \"./CacheKeys.js\";\nimport type { KnownCacheKey } from \"./KnownCacheKey.js\";\nimport { ListQueryView, type ListQueryViewTarget } from \"./ListQueryView.js\";\nimport type { Query } from \"./Query.js\";\nimport { QuerySubscription } from \"./QuerySubscription.js\";\nimport type { Store } from \"./Store.js\";\n\n/**\n * Check if a query supports view-based pagination (has the required methods).\n * Generic over PAYLOAD to preserve type information when the guard passes.\n */\nfunction supportsViews<PAYLOAD extends BaseListPayloadShape>(\n query: unknown,\n): query is ListQueryViewTarget<PAYLOAD> {\n return (\n query != null &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).registerFetchPageSize ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).getLoadedCount ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).hasMorePages ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).notifySubscribers ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).fetchMore === \"function\"\n );\n}\n\n/**\n * Options that may include list-specific pagination settings.\n */\ninterface ListObserveOptions {\n pageSize?: number;\n autoFetchMore?: boolean | number;\n}\n\nexport abstract class AbstractHelper<\n TQuery extends Query<KnownCacheKey, any, CommonObserveOptions>,\n TObserveOptions extends CommonObserveOptions,\n> {\n protected readonly store: Store;\n protected readonly cacheKeys: CacheKeys<KnownCacheKey>;\n\n constructor(store: Store, cacheKeys: CacheKeys<KnownCacheKey>) {\n this.store = store;\n this.cacheKeys = cacheKeys;\n }\n\n observe(\n options: TObserveOptions,\n subFn: Observer<\n TQuery extends Query<any, infer PAYLOAD, any> ? PAYLOAD : never\n >,\n ): QuerySubscription<TQuery> {\n const query = this.getQuery(options);\n return this._subscribe(query, options, subFn);\n }\n\n abstract getQuery(options: TObserveOptions): TQuery;\n\n protected _subscribe<\n PAYLOAD extends TQuery extends Query<any, infer P, any> ? P : never,\n >(\n query: TQuery,\n options: TObserveOptions,\n subFn: Observer<PAYLOAD>,\n ): QuerySubscription<TQuery> {\n // the ListQuery represents the shared state of the list\n // If there is a deferred release pending for this key (from a prior\n // unmount), cancel exactly one pending release and avoid an extra retain.\n // This keeps refcounts balanced during unmount→remount within the same tick\n // (e.g. React StrictMode effect cleanup + re-run).\n const pendingCleanupCount =\n this.store.pendingCleanup.get(query.cacheKey) ?? 0;\n if (pendingCleanupCount > 0) {\n if (pendingCleanupCount === 1) {\n this.store.pendingCleanup.delete(query.cacheKey);\n } else {\n this.store.pendingCleanup.set(query.cacheKey, pendingCleanupCount - 1);\n }\n } else {\n this.store.cacheKeys.retain(query.cacheKey);\n }\n\n if (options.mode !== \"offline\") {\n query.revalidate(options.mode === \"force\").catch((e: unknown) => {\n subFn.error(e);\n\n // we don't want observeObject() to return a promise,\n // so we settle for logging an error here instead of\n // dropping it on the floor.\n if (this.store.logger) {\n this.store.logger.error(\"Unhandled error in observeObject\", e);\n } else {\n throw e;\n }\n });\n }\n\n // For queries that support views (list-like queries), wrap with ListQueryView\n // to handle per-subscriber view data such as pageSize\n const listOptions = options as ListObserveOptions;\n const useView =\n supportsViews<PAYLOAD & BaseListPayloadShape>(query) &&\n (listOptions.pageSize !== undefined ||\n listOptions.autoFetchMore !== undefined);\n\n const sub = useView\n ? new ListQueryView<PAYLOAD & BaseListPayloadShape>(\n query,\n listOptions.pageSize ?? 100,\n listOptions.autoFetchMore,\n ).subscribe(subFn as Observer<PAYLOAD & BaseListPayloadShape>)\n : query.subscribe(subFn);\n\n const querySub = new QuerySubscription(query, sub);\n\n query.registerSubscriptionDedupeInterval(\n querySub.subscriptionId,\n options.dedupeInterval,\n );\n\n sub.add(() => {\n query.unregisterSubscriptionDedupeInterval(querySub.subscriptionId);\n\n // Defer the release to the next microtask so React unmount-remount\n // cycles can re-subscribe before the cache key is released.\n // This prevents propagateWrite from skipping keys that are\n // momentarily between subscriptions.\n //\n // Note: microtask ordering is only guaranteed within a single\n // queueMicrotask call, not across separate invocations. If\n // additional microtasks are introduced that interact with\n // pendingCleanup or cacheKeys, ensure they don't rely on\n // running before or after this one.\n this.store.pendingCleanup.set(\n query.cacheKey,\n (this.store.pendingCleanup.get(query.cacheKey) ?? 0) + 1,\n );\n queueMicrotask(() => {\n const currentPending =\n this.store.pendingCleanup.get(query.cacheKey) ?? 0;\n if (currentPending > 0) {\n if (currentPending === 1) {\n this.store.pendingCleanup.delete(query.cacheKey);\n } else {\n this.store.pendingCleanup.set(query.cacheKey, currentPending - 1);\n }\n this.store.cacheKeys.release(query.cacheKey);\n }\n });\n });\n\n return querySub;\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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,CAACE,cAAc,CAAC;;MAEnE;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA,IAAI,CAAC7B,KAAK,CAACQ,cAAc,CAACI,GAAG,CAC3BpB,KAAK,CAACkB,QAAQ,EACd,CAAC,IAAI,CAACV,KAAK,CAACQ,cAAc,CAACC,GAAG,CAACjB,KAAK,CAACkB,QAAQ,CAAC,IAAI,CAAC,IAAI,CACzD,CAAC;MACDuB,cAAc,CAAC,MAAM;QACnB,MAAMC,cAAc,GAClB,IAAI,CAAClC,KAAK,CAACQ,cAAc,CAACC,GAAG,CAACjB,KAAK,CAACkB,QAAQ,CAAC,IAAI,CAAC;QACpD,IAAIwB,cAAc,GAAG,CAAC,EAAE;UACtB,IAAIA,cAAc,KAAK,CAAC,EAAE;YACxB,IAAI,CAAClC,KAAK,CAACQ,cAAc,CAACG,MAAM,CAACnB,KAAK,CAACkB,QAAQ,CAAC;UAClD,CAAC,MAAM;YACL,IAAI,CAACV,KAAK,CAACQ,cAAc,CAACI,GAAG,CAACpB,KAAK,CAACkB,QAAQ,EAAEwB,cAAc,GAAG,CAAC,CAAC;UACnE;UACA,IAAI,CAAClC,KAAK,CAACC,SAAS,CAACkC,OAAO,CAAC3C,KAAK,CAACkB,QAAQ,CAAC;QAC9C;MACF,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,OAAOiB,QAAQ;EACjB;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"AbstractHelper.js","names":["ListQueryView","QuerySubscription","supportsViews","query","registerFetchPageSize","getLoadedCount","hasMorePages","notifySubscribers","fetchMore","AbstractHelper","constructor","store","cacheKeys","observe","options","subFn","getQuery","_subscribe","pendingCleanupCount","pendingCleanup","get","cacheKey","delete","set","retain","listOptions","view","pageSize","autoFetchMore","undefined","mode","revalidate","catch","e","error","logger","sub","subscribe","querySub","registerSubscriptionDedupeInterval","subscriptionId","dedupeInterval","add","unregisterSubscriptionDedupeInterval","queueMicrotask","currentPending","release"],"sources":["AbstractHelper.ts"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\nimport type {\n CommonObserveOptions,\n Observer,\n} from \"../ObservableClient/common.js\";\nimport type { BaseListPayloadShape } from \"./base-list/BaseListQuery.js\";\nimport type { CacheKeys } from \"./CacheKeys.js\";\nimport type { KnownCacheKey } from \"./KnownCacheKey.js\";\nimport { ListQueryView, type ListQueryViewTarget } from \"./ListQueryView.js\";\nimport type { Query } from \"./Query.js\";\nimport { QuerySubscription } from \"./QuerySubscription.js\";\nimport type { Store } from \"./Store.js\";\n\n/**\n * Check if a query supports view-based pagination (has the required methods).\n * Generic over PAYLOAD to preserve type information when the guard passes.\n */\nfunction supportsViews<PAYLOAD extends BaseListPayloadShape>(\n query: unknown,\n): query is ListQueryViewTarget<PAYLOAD> {\n return (\n query != null &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).registerFetchPageSize ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).getLoadedCount ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).hasMorePages ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).notifySubscribers ===\n \"function\" &&\n typeof (query as ListQueryViewTarget<PAYLOAD>).fetchMore === \"function\"\n );\n}\n\n/**\n * Options that may include list-specific pagination settings.\n */\ninterface ListObserveOptions {\n pageSize?: number;\n autoFetchMore?: boolean | number;\n}\n\nexport abstract class AbstractHelper<\n TQuery extends Query<KnownCacheKey, any, CommonObserveOptions>,\n TObserveOptions extends CommonObserveOptions,\n> {\n protected readonly store: Store;\n protected readonly cacheKeys: CacheKeys<KnownCacheKey>;\n\n constructor(store: Store, cacheKeys: CacheKeys<KnownCacheKey>) {\n this.store = store;\n this.cacheKeys = cacheKeys;\n }\n\n observe(\n options: TObserveOptions,\n subFn: Observer<\n TQuery extends Query<any, infer PAYLOAD, any> ? PAYLOAD : never\n >,\n ): QuerySubscription<TQuery> {\n const query = this.getQuery(options);\n return this._subscribe(query, options, subFn);\n }\n\n abstract getQuery(options: TObserveOptions): TQuery;\n\n protected _subscribe<\n PAYLOAD extends TQuery extends Query<any, infer P, any> ? P : never,\n >(\n query: TQuery,\n options: TObserveOptions,\n subFn: Observer<PAYLOAD>,\n ): QuerySubscription<TQuery> {\n // the ListQuery represents the shared state of the list\n // If there is a deferred release pending for this key (from a prior\n // unmount), cancel exactly one pending release and avoid an extra retain.\n // This keeps refcounts balanced during unmount→remount within the same tick\n // (e.g. React StrictMode effect cleanup + re-run).\n const pendingCleanupCount =\n this.store.pendingCleanup.get(query.cacheKey) ?? 0;\n if (pendingCleanupCount > 0) {\n if (pendingCleanupCount === 1) {\n this.store.pendingCleanup.delete(query.cacheKey);\n } else {\n this.store.pendingCleanup.set(query.cacheKey, pendingCleanupCount - 1);\n }\n } else {\n this.store.cacheKeys.retain(query.cacheKey);\n }\n // For queries that support views (list-like queries), wrap with ListQueryView\n // to handle per-subscriber view data such as pageSize\n const listOptions = options as ListObserveOptions;\n const view = supportsViews<PAYLOAD & BaseListPayloadShape>(query)\n ? new ListQueryView<PAYLOAD & BaseListPayloadShape>(\n query,\n listOptions.pageSize ?? 100,\n listOptions.autoFetchMore,\n )\n : undefined;\n\n if (options.mode !== \"offline\") {\n query.revalidate(options.mode === \"force\").catch((e: unknown) => {\n subFn.error(e);\n\n // we don't want observeObject() to return a promise,\n // so we settle for logging an error here instead of\n // dropping it on the floor.\n if (this.store.logger) {\n this.store.logger.error(\"Unhandled error in observeObject\", e);\n } else {\n throw e;\n }\n });\n }\n\n const sub = view\n ? view.subscribe(subFn as Observer<PAYLOAD & BaseListPayloadShape>)\n : query.subscribe(subFn);\n\n const querySub = new QuerySubscription(query, sub);\n\n query.registerSubscriptionDedupeInterval(\n querySub.subscriptionId,\n options.dedupeInterval,\n );\n\n sub.add(() => {\n query.unregisterSubscriptionDedupeInterval(querySub.subscriptionId);\n\n // Defer the release to the next microtask so React unmount-remount\n // cycles can re-subscribe before the cache key is released.\n // This prevents propagateWrite from skipping keys that are\n // momentarily between subscriptions.\n //\n // Note: microtask ordering is only guaranteed within a single\n // queueMicrotask call, not across separate invocations. If\n // additional microtasks are introduced that interact with\n // pendingCleanup or cacheKeys, ensure they don't rely on\n // running before or after this one.\n this.store.pendingCleanup.set(\n query.cacheKey,\n (this.store.pendingCleanup.get(query.cacheKey) ?? 0) + 1,\n );\n queueMicrotask(() => {\n const currentPending =\n this.store.pendingCleanup.get(query.cacheKey) ?? 0;\n if (currentPending > 0) {\n if (currentPending === 1) {\n this.store.pendingCleanup.delete(query.cacheKey);\n } else {\n this.store.pendingCleanup.set(query.cacheKey, currentPending - 1);\n }\n this.store.cacheKeys.release(query.cacheKey);\n }\n });\n });\n\n return querySub;\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA,SAASA,aAAa,QAAkC,oBAAoB;AAE5E,SAASC,iBAAiB,QAAQ,wBAAwB;AAG1D;AACA;AACA;AACA;AACA,SAASC,aAAaA,CACpBC,KAAc,EACyB;EACvC,OACEA,KAAK,IAAI,IAAI,IACb,OAAQA,KAAK,CAAkCC,qBAAqB,KAClE,UAAU,IACZ,OAAQD,KAAK,CAAkCE,cAAc,KAC3D,UAAU,IACZ,OAAQF,KAAK,CAAkCG,YAAY,KACzD,UAAU,IACZ,OAAQH,KAAK,CAAkCI,iBAAiB,KAC9D,UAAU,IACZ,OAAQJ,KAAK,CAAkCK,SAAS,KAAK,UAAU;AAE3E;;AAEA;AACA;AACA;;AAMA,OA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CAACQ,cAAc,CAACG,MAAM,CAACnB,KAAK,CAACkB,QAAQ,CAAC;UAClD,CAAC,MAAM;YACL,IAAI,CAACV,KAAK,CAACQ,cAAc,CAACI,GAAG,CAACpB,KAAK,CAACkB,QAAQ,EAAEwB,cAAc,GAAG,CAAC,CAAC;UACnE;UACA,IAAI,CAAClC,KAAK,CAACC,SAAS,CAACkC,OAAO,CAAC3C,KAAK,CAACkB,QAAQ,CAAC;QAC9C;MACF,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,OAAOiB,QAAQ;EACjB;AACF","ignoreList":[]}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
export const USER_AGENT = `osdk-client/${"2.64.
|
|
18
|
-
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.64.
|
|
17
|
+
export const USER_AGENT = `osdk-client/${"2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec"}`;
|
|
18
|
+
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec"}`;
|
|
19
19
|
//# sourceMappingURL=UserAgent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAgent.js","names":["USER_AGENT","OBSERVABLE_USER_AGENT"],"sources":["UserAgent.ts"],"sourcesContent":["/*\n * Copyright 2023 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 */\n\nexport const USER_AGENT: string = `osdk-client/${process.env.PACKAGE_VERSION}`;\nexport const OBSERVABLE_USER_AGENT: string = `osdk-observable-client/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,UAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"UserAgent.js","names":["USER_AGENT","OBSERVABLE_USER_AGENT"],"sources":["UserAgent.ts"],"sourcesContent":["/*\n * Copyright 2023 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 */\n\nexport const USER_AGENT: string = `osdk-client/${process.env.PACKAGE_VERSION}`;\nexport const OBSERVABLE_USER_AGENT: string = `osdk-observable-client/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,UAAkB,GAAG,uEAA4C;AAC9E,OAAO,MAAMC,qBAA6B,GAAG,kFAAuD","ignoreList":[]}
|
package/build/types/Client.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export interface Client extends SharedClient, OldSharedClient {
|
|
|
81
81
|
*/
|
|
82
82
|
fetchMetadata<Q extends ObjectTypeDefinition | InterfaceDefinition | ActionDefinition<any> | QueryDefinition<any>>(o: Q): Promise<Q extends ObjectTypeDefinition ? ObjectMetadata : Q extends InterfaceDefinition ? InterfaceMetadata : Q extends ActionDefinition<any> ? ActionMetadata : Q extends QueryDefinition<any> ? QueryMetadata : never>;
|
|
83
83
|
}
|
|
84
|
-
declare const MaxOsdkVersion = "2.64.
|
|
84
|
+
declare const MaxOsdkVersion = "2.64.1";
|
|
85
85
|
export type MaxOsdkVersion = typeof MaxOsdkVersion;
|
|
86
86
|
declare const ErrorMessage: unique symbol;
|
|
87
87
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cACE,sBACA,gBACK,+BAAgC;AAEvC,cAAc,iBAAiB,gBAAiB;AAChD,cAAc,qBAAqB,oBAAqB;AAExD,cAAc,aAAa,YAAa;AACxC,SAAS,yBAAyB,wBAAyB;AAC3D,cAAc,aAAa,YAAa;AA+BxC,OAAO,uBAAe;CACpB,eAAe,MAAM,oBAAoB;CACzC,wBAAwB;EACxB;CACA,mBAAmB,OAAO;CAC1B,mBAAmB,WAAW,UAAU;CAExC,YAAYA,OAAO,OAAOC,WAAW,UAAU;CAK/C,QACEC,SAAS,iBACTC,OAAO,SACL,eAAe,iBAAiB,gBAAgB,mBAEjD,kBAAkB;CAKrB,SAAS,SAASD,SAAS,kBAAkB;CAE7C,UAAU,WACR,gBAAgB,eAAe,iBAAiB,UAAU,WAE1DE,OAAO,QACPF,SAAS,iBACTG,OAAO,SAAS,WACf,kBAAkB;
|
|
1
|
+
{"mappings":"AAgBA,cACE,sBACA,gBACK,+BAAgC;AAEvC,cAAc,iBAAiB,gBAAiB;AAChD,cAAc,qBAAqB,oBAAqB;AAExD,cAAc,aAAa,YAAa;AACxC,SAAS,yBAAyB,wBAAyB;AAC3D,cAAc,aAAa,YAAa;AA+BxC,OAAO,uBAAe;CACpB,eAAe,MAAM,oBAAoB;CACzC,wBAAwB;EACxB;CACA,mBAAmB,OAAO;CAC1B,mBAAmB,WAAW,UAAU;CAExC,YAAYA,OAAO,OAAOC,WAAW,UAAU;CAK/C,QACEC,SAAS,iBACTC,OAAO,SACL,eAAe,iBAAiB,gBAAgB,mBAEjD,kBAAkB;CAKrB,SAAS,SAASD,SAAS,kBAAkB;CAE7C,UAAU,WACR,gBAAgB,eAAe,iBAAiB,UAAU,WAE1DE,OAAO,QACPF,SAAS,iBACTG,OAAO,SAAS,WACf,kBAAkB;AAuFtB","names":["store: Store","cacheKeys: CacheKeys<KnownCacheKey>","options: TObserveOptions","subFn: Observer<\n TQuery extends Query<any, infer PAYLOAD, any> ? PAYLOAD : never\n >","query: TQuery","subFn: Observer<PAYLOAD>"],"sources":["../../../../src/observable/internal/AbstractHelper.ts"],"version":3,"file":"AbstractHelper.d.ts"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/client",
|
|
3
|
-
"version": "2.64.
|
|
3
|
+
"version": "2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec",
|
|
4
4
|
"description": "",
|
|
5
5
|
"access": "public",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"tiny-invariant": "^1.3.3",
|
|
83
83
|
"type-fest": "^4.41.0",
|
|
84
84
|
"ws": "^8.20.1",
|
|
85
|
-
"@osdk/api": "~2.64.
|
|
86
|
-
"@osdk/client.unstable": "2.64.
|
|
85
|
+
"@osdk/api": "~2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec",
|
|
86
|
+
"@osdk/client.unstable": "2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec",
|
|
87
|
+
"@osdk/generator-converters": "2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec",
|
|
87
88
|
"@osdk/shared.client.impl": "~1.13.0",
|
|
88
|
-
"@osdk/
|
|
89
|
-
"@osdk/shared.net.fetch": "~1.12.0"
|
|
90
|
-
"@osdk/shared.net.errors": "~2.12.0"
|
|
89
|
+
"@osdk/shared.net.errors": "~2.12.0",
|
|
90
|
+
"@osdk/shared.net.fetch": "~1.12.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
93
|
"@osdk/shared.test": "^2.44.0"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"ts-expect": "^1.3.0",
|
|
118
118
|
"typescript": "~5.5.4",
|
|
119
119
|
"zod": "^3.25.76",
|
|
120
|
-
"@osdk/client.test.ontology": "2.64.
|
|
120
|
+
"@osdk/client.test.ontology": "2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec",
|
|
121
121
|
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
122
122
|
"@osdk/monorepo.tsconfig": "~0.7.0",
|
|
123
123
|
"@osdk/shared.test.intellisense": "~0.21.0"
|