@osdk/api 2.52.0 → 2.53.0-main-c14abb8c42dc5f289bec2162062c415dd1037bf8

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @osdk/api
2
2
 
3
+ ## 2.53.0-main-c14abb8c42dc5f289bec2162062c415dd1037bf8
4
+
3
5
  ## 2.52.0
4
6
 
5
7
  ### Minor Changes
@@ -17,9 +17,9 @@
17
17
  /**
18
18
  * @experimental This feature is experimental and might change in the future.
19
19
  *
20
- * Executes a query as a streaming function, yielding results as they arrive
21
- * from the server over an NDJSON stream. For queries that return arrays, the
22
- * stream yields the element type — batches are flattened automatically.
20
+ * Intended to execute a query as a streaming function, yielding results as
21
+ * they arrive from the server. Streaming query execution is not currently
22
+ * supported in the TypeScript OSDK.
23
23
  */
24
24
 
25
25
  export const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = {
@@ -1 +1 @@
1
- {"version":3,"file":"executeStreamingFunction.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","name","type","version"],"sources":["executeStreamingFunction.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { QueryDefinition } from \"../ontology/QueryDefinition.js\";\nimport type { Experiment } from \"./Experiment.js\";\n\ntype StreamingArgs<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (...args: infer A) => any\n ? A\n : never[];\n\ntype StreamingElement<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (\n ...args: any[]\n ) => Promise<infer R>\n ? R extends ReadonlyArray<infer E>\n ? E\n : R\n : never;\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Executes a query as a streaming function, yielding results as they arrive\n * from the server over an NDJSON stream. For queries that return arrays, the\n * stream yields the element type — batches are flattened automatically.\n */\ntype executeStreamingFunctionFn = <QD extends QueryDefinition<any>>(\n query: QD,\n ...args: StreamingArgs<QD>\n) => AsyncIterable<StreamingElement<QD>>;\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction: Experiment<\n \"2.19.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n { executeStreamingFunction: executeStreamingFunctionFn }\n> = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,2DAIZ,GAAG;EACFC,IAAI,EAAE,6DAA6D;EACnEC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"executeStreamingFunction.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","name","type","version"],"sources":["executeStreamingFunction.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { QueryDefinition } from \"../ontology/QueryDefinition.js\";\nimport type { Experiment } from \"./Experiment.js\";\n\ntype StreamingArgs<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (...args: infer A) => any\n ? A\n : never[];\n\ntype StreamingElement<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (\n ...args: any[]\n ) => Promise<infer R>\n ? R extends ReadonlyArray<infer E>\n ? E\n : R\n : never;\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Intended to execute a query as a streaming function, yielding results as\n * they arrive from the server. Streaming query execution is not currently\n * supported in the TypeScript OSDK.\n */\ntype executeStreamingFunctionFn = <QD extends QueryDefinition<any>>(\n query: QD,\n ...args: StreamingArgs<QD>\n) => AsyncIterable<StreamingElement<QD>>;\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction: Experiment<\n \"2.19.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n { executeStreamingFunction: executeStreamingFunctionFn }\n> = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,2DAIZ,GAAG;EACFC,IAAI,EAAE,6DAA6D;EACnEC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/experimental/createMediaReference.ts","../../../src/experimental/executeStreamingFunction.ts","../../../src/experimental/fetchOneByRid.ts","../../../src/experimental/fetchPageByRid.ts","../../../src/experimental/getBulkLinks.ts","../../../src/experimental/subscribeToNoTypeObjectSet.ts","../../../src/experimental/transformAndWait.ts","../../../src/object/MediaTransformationErrors.ts","../../../src/shapes/ShapeDefinition.ts","../../../src/shapes/computeShapeId.ts","../../../src/shapes/ShapeBuilder.ts","../../../src/shapes/configToShapeDefinition.ts"],"names":[],"mappings":";;;AA6BO,IAAM,uDAAA,GAA0D;AAAA,EACrE,IAAA,EAAM,yDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACTO,IAAM,2DAAA,GAA8D;AAAA,EACzE,IAAA,EAAM,6DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACZO,IAAM,gDAAA,GAAmD;AAAA,EAC9D,IAAA,EAAM,kDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,iDAAA,GAAoD;AAAA,EAC/D,IAAA,EAAM,mDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,+CAAA,GAAkD;AAAA,EAC7D,IAAA,EAAM,iDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,6DAAA,GAAgE;AAAA,EAC3E,IAAA,EAAM,+DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACeO,IAAM,mDAAA,GAAsD;AAAA,EACjE,IAAA,EAAM,qDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACnBO,IAAM,wBAAA,GAAN,cAAuC,KAAA,CAAM;AAAA,EAClD,YAAY,OAAA,EAAS;AACnB,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,IAAA,CAAK,IAAA,GAAO,0BAAA;AAAA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AA,CAAO;AAAA,MACrB,GAAG;AAAA,KACJ,CAAA;AAAA,IACD,gBAAgB,MAAA,CAAO,MAAA,CAAO,CAAC,GAAG,YAAY,CAAC,CAAA;AAAA,IAC/C,qBAAqB,EAAC;AAAA,IACtB,oBAAoB;AAAC,GACvB;AACF","file":"unstable.cjs","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Uploads a media item to the media property of the specified object type.\n *\n * @param data - Data to upload as media item\n * @param fileName - Name that will be assigned as path to the uploaded media item.\n * @param objectType - Object type to which the media item will be uploaded.\n * @param propertyType - Media reference property of the corresponding object type to which the media item will be uploaded.\n *\n * @returns media reference of the uploaded media item.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference\",\n type: \"experiment\",\n version: \"2.1.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Executes a query as a streaming function, yielding results as they arrive\n * from the server over an NDJSON stream. For queries that return arrays, the\n * stream yields the element type — batches are flattened automatically.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid\",\n type: \"experiment\",\n version: \"2.1.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid\",\n type: \"experiment\",\n version: \"2.2.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks\",\n type: \"experiment\",\n version: \"2.0.8\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2026 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\n/**\n * Options for polling a media transformation job.\n *\n * @experimental\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Submits a transformation job for a media item, polls until completion,\n * and returns the transformed content.\n *\n * @param args.mediaReference - The media reference to transform\n * @param args.transformation - The {@link MediaTransformation} to apply\n * @param args.options - Polling options (interval and timeout)\n *\n * @returns The transformed media content as a Response\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__transformAndWait = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__transformAndWait\",\n type: \"experiment\",\n version: \"2.8.0\"\n};","/*\n * Copyright 2026 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\n/**\n * Base error for media transformation failures.\n * @beta\n */\nexport class MediaTransformationError extends Error {\n constructor(message) {\n super(message);\n this.name = \"MediaTransformationError\";\n }\n}\n\n/**\n * Thrown when a media transformation job exceeds the poll timeout.\n * @beta\n */\nexport class MediaTransformationTimeoutError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} timed out polling status`);\n this.name = \"MediaTransformationTimeoutError\";\n }\n}\n\n/**\n * Thrown when a media transformation job status is FAILED.\n * @beta\n */\nexport class MediaTransformationFailedError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} failed`);\n this.name = \"MediaTransformationFailedError\";\n }\n}","/*\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\nexport const SourcePrimaryKeySymbol = Symbol.for(\"osdk.query.$sourcePk\");\nconst LegacyShapesSymbol = Symbol.for(\"osdk.shapes.$primaryKey\");\nexport function isSourcePkSymbol(value) {\n return typeof value === \"symbol\" && (value === SourcePrimaryKeySymbol || value === LegacyShapesSymbol);\n}\n\n/** Configuration for how a derived link is loaded at runtime. */\n\n/** The result of calling `ShapeLinkBuilder.as()`, binding a link traversal to a target shape. */\n\n/** A single link traversal step in a derived link's object set definition. */\n\n/** Sort clause for a derived link's result set. */\n\n/** A set operation (union/intersect/subtract) applied to a derived link's object set. */\n\n/** Serializable definition of a derived link's object set: link traversals, filters, ordering, and set operations. */\n\n/** How a shape handles null values for a selected property. */\n\n/** Per-property configuration stored in a shape's `__props` map. */\n\n/** A derived link definition stored in a shape's `__derivedLinks` array. */\n\n/**\n * Type projection from an OSDK type. `__props` is the single source of truth for property config.\n *\n * @typeParam BASE - The base ObjectTypeDefinition or InterfaceDefinition\n * @typeParam SELECTED_PROPS - Record of selected properties and their transformed types\n * @typeParam DERIVED_LINKS - Record of derived link names to their result types\n */\n\nexport class ShapeNullabilityError extends Error {\n constructor(shape, violations) {\n const props = violations.map(v => v.property).join(\", \");\n const shapeName = shape.__debugName ?? shape.__shapeId;\n super(`Shape \"${shapeName}\" requires these properties to be non-null: ${props}`);\n this.shape = shape;\n this.violations = violations;\n this.name = \"ShapeNullabilityError\";\n }\n}","/*\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\nfunction sortedStringify(obj) {\n return JSON.stringify(obj, (_, v) => v && typeof v === \"object\" && !Array.isArray(v) ? Object.fromEntries(Object.entries(v).sort(([a], [b]) => a.localeCompare(b))) : v);\n}\n\n/**\n * Computes a stable, deterministic identifier for a shape definition.\n * The ID uniquely represents the combination of base type, property\n * selections/nullability configs, and derived link definitions so\n * that identical shapes produce the same ID across calls.\n */\nexport function computeShapeId(input) {\n const canonical = canonicalizeShapeInput(input);\n return simpleHash(sortedStringify(canonical));\n}\nfunction canonicalizeShapeInput(input) {\n const sortedPropKeys = [...Object.keys(input.props)].sort();\n const canonicalProps = {};\n for (const key of sortedPropKeys) {\n const config = input.props[key];\n const op = config.nullabilityOp;\n canonicalProps[key] = op.type === \"withDefault\" ? {\n type: op.type,\n defaultValue: op.defaultValue\n } : op.type;\n }\n const canonicalLinks = input.derivedLinks.map(link => ({\n name: link.name,\n objectSetDef: canonicalizeObjectSetDef(link.objectSetDef),\n targetShapeId: link.targetShape.__shapeId\n }));\n canonicalLinks.sort((a, b) => a.name.localeCompare(b.name));\n return {\n baseType: input.baseTypeApiName,\n props: canonicalProps,\n links: canonicalLinks\n };\n}\nfunction canonicalizeObjectSetDef(def) {\n const result = {\n segments: def.segments.map(seg => ({\n type: seg.type,\n linkName: seg.linkName,\n sourceType: seg.sourceType\n }))\n };\n if (def.where) {\n result.where = JSON.parse(sortedStringify(def.where));\n }\n if (def.orderBy && def.orderBy.length > 0) {\n result.orderBy = def.orderBy.map(o => ({\n property: o.property,\n direction: o.direction\n }));\n }\n if (def.limit !== undefined) {\n result.limit = def.limit;\n }\n if (def.distinct) {\n result.distinct = true;\n }\n if (def.setOperations && def.setOperations.length > 0) {\n result.setOperations = def.setOperations.map(op => ({\n type: op.type,\n other: canonicalizeObjectSetDef(op.other)\n }));\n }\n return result;\n}\n\n// Shape IDs are used for cache keying and equality, not security,\n// so 32-bit is sufficient.\nfunction simpleHash(str) {\n let hash = 5381;\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash ^ char;\n }\n const positiveHash = hash >>> 0;\n return positiveHash.toString(16).padStart(8, \"0\");\n}","/*\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 { computeShapeId } from \"./computeShapeId.js\";\nimport { SourcePrimaryKeySymbol } from \"./ShapeDefinition.js\";\nclass ShapeBuilderImpl {\n #state;\n constructor(state) {\n this.#state = state;\n }\n #addProps(props, type) {\n const newProps = {\n ...this.#state.props\n };\n for (const prop of props) {\n newProps[prop] = {\n nullabilityOp: {\n type\n }\n };\n }\n return newProps;\n }\n select(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"select\")\n });\n }\n require(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"require\")\n });\n }\n dropIfNull(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"dropIfNull\")\n });\n }\n withDefault(prop, defaultValue) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n }\n }\n });\n }\n withTransform(prop, transform) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n }\n }\n });\n }\n deriveLink(name, builder) {\n const linkBuilder = createShapeLinkBuilder(this.#state.baseTypeApiName);\n const linkResult = builder(linkBuilder);\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props\n },\n derivedLinks: [...this.#state.derivedLinks, {\n name,\n objectSetDef: linkResult.objectSetDef,\n targetShape: linkResult.targetShape,\n config: linkResult.config\n }]\n });\n }\n build() {\n const shapeId = computeShapeId({\n baseTypeApiName: this.#state.baseTypeApiName,\n props: this.#state.props,\n derivedLinks: this.#state.derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: this.#state.debugName,\n __baseType: this.#state.baseType,\n __baseTypeApiName: this.#state.baseTypeApiName,\n __props: Object.freeze({\n ...this.#state.props\n }),\n __derivedLinks: Object.freeze([...this.#state.derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n }\n}\nclass ShapeLinkBuilderImpl {\n #state;\n $primaryKey = SourcePrimaryKeySymbol;\n constructor(state) {\n this.#state = state;\n }\n pivotTo(link) {\n const newSegments = [...this.#state.segments, {\n type: \"pivotTo\",\n linkName: link,\n sourceType: this.#state.currentTypeApiName\n // targetType is resolved at link execution time when link metadata is available\n }];\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n segments: newSegments,\n // currentTypeApiName is a hint for debugging; actual type resolution happens at execution\n currentTypeApiName: `${this.#state.currentTypeApiName}.${link}`\n });\n }\n\n /** Sets the where filter for this link. Calling multiple times replaces the previous clause (last-write-wins). */\n where(clause) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n where: clause\n });\n }\n #setOp(type, others) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n setOperations: [...this.#state.setOperations, ...others.map(other => ({\n type,\n other: other.toObjectSetDef()\n }))]\n });\n }\n union(...others) {\n return this.#setOp(\"union\", others);\n }\n intersect(...others) {\n return this.#setOp(\"intersect\", others);\n }\n subtract(...others) {\n return this.#setOp(\"subtract\", others);\n }\n orderBy(property, direction = \"asc\") {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n orderBy: [...this.#state.orderBy, {\n property: property,\n direction\n }]\n });\n }\n limit(n) {\n if (!Number.isInteger(n) || n <= 0) {\n throw new Error(`ShapeLinkBuilder.limit() requires a positive integer, got: ${n}`);\n }\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n limit: n\n });\n }\n distinct() {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n distinct: true\n });\n }\n as(shape, config = {}) {\n // The brand is a compile-time only marker, at runtime it's just undefined\n return {\n targetShape: shape,\n objectSetDef: this.toObjectSetDef(),\n config\n };\n }\n toObjectSetDef() {\n return {\n segments: Object.freeze([...this.#state.segments]),\n where: this.#state.where,\n orderBy: this.#state.orderBy.length > 0 ? Object.freeze([...this.#state.orderBy]) : undefined,\n limit: this.#state.limit,\n distinct: this.#state.distinct || undefined,\n setOperations: this.#state.setOperations.length > 0 ? Object.freeze([...this.#state.setOperations]) : undefined\n };\n }\n}\nexport function createShapeLinkBuilder(sourceTypeApiName) {\n return new ShapeLinkBuilderImpl({\n sourceTypeApiName,\n currentTypeApiName: sourceTypeApiName,\n segments: [],\n orderBy: [],\n distinct: false,\n setOperations: []\n });\n}\n\n/**\n * Creates a new ShapeBuilder for the given base type.\n *\n * @param baseType - The base ObjectTypeDefinition or InterfaceDefinition\n * @param debugName - Optional name for debugging in DevTools\n *\n * @example\n * ```typescript\n * const SlimPlayer = createShapeBuilder(Player, \"SlimPlayer\")\n * .require(\"name\", \"age\")\n * .withDefault(\"position\", \"Unknown\")\n * .build();\n * ```\n */\nexport function createShapeBuilder(baseType, debugName) {\n const state = {\n baseType,\n baseTypeApiName: baseType.apiName,\n debugName,\n props: {},\n derivedLinks: []\n };\n return new ShapeBuilderImpl(state);\n}","/*\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 { computeShapeId } from \"./computeShapeId.js\";\nimport { createShapeLinkBuilder } from \"./ShapeBuilder.js\";\nexport function configToShapeDefinition(baseType, config) {\n const baseTypeApiName = baseType.apiName;\n const props = {};\n const seen = new Set();\n function addProp(prop, config2) {\n if (seen.has(prop)) {\n throw new Error(`Property \"${prop}\" appears in multiple config arrays`);\n }\n seen.add(prop);\n props[prop] = config2;\n }\n if (config.require) {\n for (const prop of config.require) {\n addProp(prop, {\n nullabilityOp: {\n type: \"require\"\n }\n });\n }\n }\n if (config.select) {\n for (const prop of config.select) {\n addProp(prop, {\n nullabilityOp: {\n type: \"select\"\n }\n });\n }\n }\n if (config.dropIfNull) {\n for (const prop of config.dropIfNull) {\n addProp(prop, {\n nullabilityOp: {\n type: \"dropIfNull\"\n }\n });\n }\n }\n if (config.defaults) {\n for (const [prop, defaultValue] of Object.entries(config.defaults)) {\n addProp(prop, {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n });\n }\n }\n if (config.transforms) {\n for (const [prop, transform] of Object.entries(config.transforms)) {\n if (typeof transform !== \"function\") {\n throw new Error(`transforms[\"${prop}\"] must be a function, got: ${typeof transform}`);\n }\n addProp(prop, {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n });\n }\n }\n const derivedLinks = [];\n if (config.links) {\n for (const [name, linkConfig] of Object.entries(config.links)) {\n const linkBuilder = createShapeLinkBuilder(baseTypeApiName);\n const traversed = linkConfig.via(linkBuilder);\n const objectSetDef = traversed.toObjectSetDef();\n const targetShape = linkConfig.target;\n derivedLinks.push({\n name,\n objectSetDef,\n targetShape,\n config: {\n defer: linkConfig.defer\n }\n });\n }\n }\n const shapeId = computeShapeId({\n baseTypeApiName,\n props,\n derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: undefined,\n __baseType: baseType,\n __baseTypeApiName: baseTypeApiName,\n __props: Object.freeze({\n ...props\n }),\n __derivedLinks: Object.freeze([...derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n}"]}
1
+ {"version":3,"sources":["../../../src/experimental/createMediaReference.ts","../../../src/experimental/executeStreamingFunction.ts","../../../src/experimental/fetchOneByRid.ts","../../../src/experimental/fetchPageByRid.ts","../../../src/experimental/getBulkLinks.ts","../../../src/experimental/subscribeToNoTypeObjectSet.ts","../../../src/experimental/transformAndWait.ts","../../../src/object/MediaTransformationErrors.ts","../../../src/shapes/ShapeDefinition.ts","../../../src/shapes/computeShapeId.ts","../../../src/shapes/ShapeBuilder.ts","../../../src/shapes/configToShapeDefinition.ts"],"names":[],"mappings":";;;AA6BO,IAAM,uDAAA,GAA0D;AAAA,EACrE,IAAA,EAAM,yDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACTO,IAAM,2DAAA,GAA8D;AAAA,EACzE,IAAA,EAAM,6DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACZO,IAAM,gDAAA,GAAmD;AAAA,EAC9D,IAAA,EAAM,kDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,iDAAA,GAAoD;AAAA,EAC/D,IAAA,EAAM,mDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,+CAAA,GAAkD;AAAA,EAC7D,IAAA,EAAM,iDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,6DAAA,GAAgE;AAAA,EAC3E,IAAA,EAAM,+DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACeO,IAAM,mDAAA,GAAsD;AAAA,EACjE,IAAA,EAAM,qDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACnBO,IAAM,wBAAA,GAAN,cAAuC,KAAA,CAAM;AAAA,EAClD,YAAY,OAAA,EAAS;AACnB,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,IAAA,CAAK,IAAA,GAAO,0BAAA;AAAA,EACd;AACF;AAMO,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ACrB,GAAG;AAAA,KACJ,CAAA;AAAA,IACD,gBAAgB,MAAA,CAAO,MAAA,CAAO,CAAC,GAAG,YAAY,CAAC,CAAA;AAAA,IAC/C,qBAAqB,EAAC;AAAA,IACtB,oBAAoB;AAAC,GACvB;AACF","file":"unstable.cjs","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Uploads a media item to the media property of the specified object type.\n *\n * @param data - Data to upload as media item\n * @param fileName - Name that will be assigned as path to the uploaded media item.\n * @param objectType - Object type to which the media item will be uploaded.\n * @param propertyType - Media reference property of the corresponding object type to which the media item will be uploaded.\n *\n * @returns media reference of the uploaded media item.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference\",\n type: \"experiment\",\n version: \"2.1.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Intended to execute a query as a streaming function, yielding results as\n * they arrive from the server. Streaming query execution is not currently\n * supported in the TypeScript OSDK.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid\",\n type: \"experiment\",\n version: \"2.1.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid\",\n type: \"experiment\",\n version: \"2.2.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks\",\n type: \"experiment\",\n version: \"2.0.8\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2026 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\n/**\n * Options for polling a media transformation job.\n *\n * @experimental\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Submits a transformation job for a media item, polls until completion,\n * and returns the transformed content.\n *\n * @param args.mediaReference - The media reference to transform\n * @param args.transformation - The {@link MediaTransformation} to apply\n * @param args.options - Polling options (interval and timeout)\n *\n * @returns The transformed media content as a Response\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__transformAndWait = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__transformAndWait\",\n type: \"experiment\",\n version: \"2.8.0\"\n};","/*\n * Copyright 2026 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\n/**\n * Base error for media transformation failures.\n * @beta\n */\nexport class MediaTransformationError extends Error {\n constructor(message) {\n super(message);\n this.name = \"MediaTransformationError\";\n }\n}\n\n/**\n * Thrown when a media transformation job exceeds the poll timeout.\n * @beta\n */\nexport class MediaTransformationTimeoutError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} timed out polling status`);\n this.name = \"MediaTransformationTimeoutError\";\n }\n}\n\n/**\n * Thrown when a media transformation job status is FAILED.\n * @beta\n */\nexport class MediaTransformationFailedError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} failed`);\n this.name = \"MediaTransformationFailedError\";\n }\n}","/*\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\nexport const SourcePrimaryKeySymbol = Symbol.for(\"osdk.query.$sourcePk\");\nconst LegacyShapesSymbol = Symbol.for(\"osdk.shapes.$primaryKey\");\nexport function isSourcePkSymbol(value) {\n return typeof value === \"symbol\" && (value === SourcePrimaryKeySymbol || value === LegacyShapesSymbol);\n}\n\n/** Configuration for how a derived link is loaded at runtime. */\n\n/** The result of calling `ShapeLinkBuilder.as()`, binding a link traversal to a target shape. */\n\n/** A single link traversal step in a derived link's object set definition. */\n\n/** Sort clause for a derived link's result set. */\n\n/** A set operation (union/intersect/subtract) applied to a derived link's object set. */\n\n/** Serializable definition of a derived link's object set: link traversals, filters, ordering, and set operations. */\n\n/** How a shape handles null values for a selected property. */\n\n/** Per-property configuration stored in a shape's `__props` map. */\n\n/** A derived link definition stored in a shape's `__derivedLinks` array. */\n\n/**\n * Type projection from an OSDK type. `__props` is the single source of truth for property config.\n *\n * @typeParam BASE - The base ObjectTypeDefinition or InterfaceDefinition\n * @typeParam SELECTED_PROPS - Record of selected properties and their transformed types\n * @typeParam DERIVED_LINKS - Record of derived link names to their result types\n */\n\nexport class ShapeNullabilityError extends Error {\n constructor(shape, violations) {\n const props = violations.map(v => v.property).join(\", \");\n const shapeName = shape.__debugName ?? shape.__shapeId;\n super(`Shape \"${shapeName}\" requires these properties to be non-null: ${props}`);\n this.shape = shape;\n this.violations = violations;\n this.name = \"ShapeNullabilityError\";\n }\n}","/*\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\nfunction sortedStringify(obj) {\n return JSON.stringify(obj, (_, v) => v && typeof v === \"object\" && !Array.isArray(v) ? Object.fromEntries(Object.entries(v).sort(([a], [b]) => a.localeCompare(b))) : v);\n}\n\n/**\n * Computes a stable, deterministic identifier for a shape definition.\n * The ID uniquely represents the combination of base type, property\n * selections/nullability configs, and derived link definitions so\n * that identical shapes produce the same ID across calls.\n */\nexport function computeShapeId(input) {\n const canonical = canonicalizeShapeInput(input);\n return simpleHash(sortedStringify(canonical));\n}\nfunction canonicalizeShapeInput(input) {\n const sortedPropKeys = [...Object.keys(input.props)].sort();\n const canonicalProps = {};\n for (const key of sortedPropKeys) {\n const config = input.props[key];\n const op = config.nullabilityOp;\n canonicalProps[key] = op.type === \"withDefault\" ? {\n type: op.type,\n defaultValue: op.defaultValue\n } : op.type;\n }\n const canonicalLinks = input.derivedLinks.map(link => ({\n name: link.name,\n objectSetDef: canonicalizeObjectSetDef(link.objectSetDef),\n targetShapeId: link.targetShape.__shapeId\n }));\n canonicalLinks.sort((a, b) => a.name.localeCompare(b.name));\n return {\n baseType: input.baseTypeApiName,\n props: canonicalProps,\n links: canonicalLinks\n };\n}\nfunction canonicalizeObjectSetDef(def) {\n const result = {\n segments: def.segments.map(seg => ({\n type: seg.type,\n linkName: seg.linkName,\n sourceType: seg.sourceType\n }))\n };\n if (def.where) {\n result.where = JSON.parse(sortedStringify(def.where));\n }\n if (def.orderBy && def.orderBy.length > 0) {\n result.orderBy = def.orderBy.map(o => ({\n property: o.property,\n direction: o.direction\n }));\n }\n if (def.limit !== undefined) {\n result.limit = def.limit;\n }\n if (def.distinct) {\n result.distinct = true;\n }\n if (def.setOperations && def.setOperations.length > 0) {\n result.setOperations = def.setOperations.map(op => ({\n type: op.type,\n other: canonicalizeObjectSetDef(op.other)\n }));\n }\n return result;\n}\n\n// Shape IDs are used for cache keying and equality, not security,\n// so 32-bit is sufficient.\nfunction simpleHash(str) {\n let hash = 5381;\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash ^ char;\n }\n const positiveHash = hash >>> 0;\n return positiveHash.toString(16).padStart(8, \"0\");\n}","/*\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 { computeShapeId } from \"./computeShapeId.js\";\nimport { SourcePrimaryKeySymbol } from \"./ShapeDefinition.js\";\nclass ShapeBuilderImpl {\n #state;\n constructor(state) {\n this.#state = state;\n }\n #addProps(props, type) {\n const newProps = {\n ...this.#state.props\n };\n for (const prop of props) {\n newProps[prop] = {\n nullabilityOp: {\n type\n }\n };\n }\n return newProps;\n }\n select(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"select\")\n });\n }\n require(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"require\")\n });\n }\n dropIfNull(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"dropIfNull\")\n });\n }\n withDefault(prop, defaultValue) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n }\n }\n });\n }\n withTransform(prop, transform) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n }\n }\n });\n }\n deriveLink(name, builder) {\n const linkBuilder = createShapeLinkBuilder(this.#state.baseTypeApiName);\n const linkResult = builder(linkBuilder);\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props\n },\n derivedLinks: [...this.#state.derivedLinks, {\n name,\n objectSetDef: linkResult.objectSetDef,\n targetShape: linkResult.targetShape,\n config: linkResult.config\n }]\n });\n }\n build() {\n const shapeId = computeShapeId({\n baseTypeApiName: this.#state.baseTypeApiName,\n props: this.#state.props,\n derivedLinks: this.#state.derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: this.#state.debugName,\n __baseType: this.#state.baseType,\n __baseTypeApiName: this.#state.baseTypeApiName,\n __props: Object.freeze({\n ...this.#state.props\n }),\n __derivedLinks: Object.freeze([...this.#state.derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n }\n}\nclass ShapeLinkBuilderImpl {\n #state;\n $primaryKey = SourcePrimaryKeySymbol;\n constructor(state) {\n this.#state = state;\n }\n pivotTo(link) {\n const newSegments = [...this.#state.segments, {\n type: \"pivotTo\",\n linkName: link,\n sourceType: this.#state.currentTypeApiName\n // targetType is resolved at link execution time when link metadata is available\n }];\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n segments: newSegments,\n // currentTypeApiName is a hint for debugging; actual type resolution happens at execution\n currentTypeApiName: `${this.#state.currentTypeApiName}.${link}`\n });\n }\n\n /** Sets the where filter for this link. Calling multiple times replaces the previous clause (last-write-wins). */\n where(clause) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n where: clause\n });\n }\n #setOp(type, others) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n setOperations: [...this.#state.setOperations, ...others.map(other => ({\n type,\n other: other.toObjectSetDef()\n }))]\n });\n }\n union(...others) {\n return this.#setOp(\"union\", others);\n }\n intersect(...others) {\n return this.#setOp(\"intersect\", others);\n }\n subtract(...others) {\n return this.#setOp(\"subtract\", others);\n }\n orderBy(property, direction = \"asc\") {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n orderBy: [...this.#state.orderBy, {\n property: property,\n direction\n }]\n });\n }\n limit(n) {\n if (!Number.isInteger(n) || n <= 0) {\n throw new Error(`ShapeLinkBuilder.limit() requires a positive integer, got: ${n}`);\n }\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n limit: n\n });\n }\n distinct() {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n distinct: true\n });\n }\n as(shape, config = {}) {\n // The brand is a compile-time only marker, at runtime it's just undefined\n return {\n targetShape: shape,\n objectSetDef: this.toObjectSetDef(),\n config\n };\n }\n toObjectSetDef() {\n return {\n segments: Object.freeze([...this.#state.segments]),\n where: this.#state.where,\n orderBy: this.#state.orderBy.length > 0 ? Object.freeze([...this.#state.orderBy]) : undefined,\n limit: this.#state.limit,\n distinct: this.#state.distinct || undefined,\n setOperations: this.#state.setOperations.length > 0 ? Object.freeze([...this.#state.setOperations]) : undefined\n };\n }\n}\nexport function createShapeLinkBuilder(sourceTypeApiName) {\n return new ShapeLinkBuilderImpl({\n sourceTypeApiName,\n currentTypeApiName: sourceTypeApiName,\n segments: [],\n orderBy: [],\n distinct: false,\n setOperations: []\n });\n}\n\n/**\n * Creates a new ShapeBuilder for the given base type.\n *\n * @param baseType - The base ObjectTypeDefinition or InterfaceDefinition\n * @param debugName - Optional name for debugging in DevTools\n *\n * @example\n * ```typescript\n * const SlimPlayer = createShapeBuilder(Player, \"SlimPlayer\")\n * .require(\"name\", \"age\")\n * .withDefault(\"position\", \"Unknown\")\n * .build();\n * ```\n */\nexport function createShapeBuilder(baseType, debugName) {\n const state = {\n baseType,\n baseTypeApiName: baseType.apiName,\n debugName,\n props: {},\n derivedLinks: []\n };\n return new ShapeBuilderImpl(state);\n}","/*\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 { computeShapeId } from \"./computeShapeId.js\";\nimport { createShapeLinkBuilder } from \"./ShapeBuilder.js\";\nexport function configToShapeDefinition(baseType, config) {\n const baseTypeApiName = baseType.apiName;\n const props = {};\n const seen = new Set();\n function addProp(prop, config2) {\n if (seen.has(prop)) {\n throw new Error(`Property \"${prop}\" appears in multiple config arrays`);\n }\n seen.add(prop);\n props[prop] = config2;\n }\n if (config.require) {\n for (const prop of config.require) {\n addProp(prop, {\n nullabilityOp: {\n type: \"require\"\n }\n });\n }\n }\n if (config.select) {\n for (const prop of config.select) {\n addProp(prop, {\n nullabilityOp: {\n type: \"select\"\n }\n });\n }\n }\n if (config.dropIfNull) {\n for (const prop of config.dropIfNull) {\n addProp(prop, {\n nullabilityOp: {\n type: \"dropIfNull\"\n }\n });\n }\n }\n if (config.defaults) {\n for (const [prop, defaultValue] of Object.entries(config.defaults)) {\n addProp(prop, {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n });\n }\n }\n if (config.transforms) {\n for (const [prop, transform] of Object.entries(config.transforms)) {\n if (typeof transform !== \"function\") {\n throw new Error(`transforms[\"${prop}\"] must be a function, got: ${typeof transform}`);\n }\n addProp(prop, {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n });\n }\n }\n const derivedLinks = [];\n if (config.links) {\n for (const [name, linkConfig] of Object.entries(config.links)) {\n const linkBuilder = createShapeLinkBuilder(baseTypeApiName);\n const traversed = linkConfig.via(linkBuilder);\n const objectSetDef = traversed.toObjectSetDef();\n const targetShape = linkConfig.target;\n derivedLinks.push({\n name,\n objectSetDef,\n targetShape,\n config: {\n defer: linkConfig.defer\n }\n });\n }\n }\n const shapeId = computeShapeId({\n baseTypeApiName,\n props,\n derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: undefined,\n __baseType: baseType,\n __baseTypeApiName: baseTypeApiName,\n __props: Object.freeze({\n ...props\n }),\n __derivedLinks: Object.freeze([...derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n}"]}
@@ -41,9 +41,9 @@ type StreamingElement<QD extends QueryDefinition<any>> = CompileTimeMetadata<QD>
41
41
  /**
42
42
  * @experimental This feature is experimental and might change in the future.
43
43
  *
44
- * Executes a query as a streaming function, yielding results as they arrive
45
- * from the server over an NDJSON stream. For queries that return arrays, the
46
- * stream yields the element type — batches are flattened automatically.
44
+ * Intended to execute a query as a streaming function, yielding results as
45
+ * they arrive from the server. Streaming query execution is not currently
46
+ * supported in the TypeScript OSDK.
47
47
  */
48
48
  type executeStreamingFunctionFn = <QD extends QueryDefinition<any>>(query: QD, ...args: StreamingArgs<QD>) => AsyncIterable<StreamingElement<QD>>;
49
49
  declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction: Experiment<"2.19.0", "__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction", {
@@ -17,9 +17,9 @@
17
17
  /**
18
18
  * @experimental This feature is experimental and might change in the future.
19
19
  *
20
- * Executes a query as a streaming function, yielding results as they arrive
21
- * from the server over an NDJSON stream. For queries that return arrays, the
22
- * stream yields the element type — batches are flattened automatically.
20
+ * Intended to execute a query as a streaming function, yielding results as
21
+ * they arrive from the server. Streaming query execution is not currently
22
+ * supported in the TypeScript OSDK.
23
23
  */
24
24
 
25
25
  export const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = {
@@ -1 +1 @@
1
- {"version":3,"file":"executeStreamingFunction.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","name","type","version"],"sources":["executeStreamingFunction.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { QueryDefinition } from \"../ontology/QueryDefinition.js\";\nimport type { Experiment } from \"./Experiment.js\";\n\ntype StreamingArgs<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (...args: infer A) => any\n ? A\n : never[];\n\ntype StreamingElement<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (\n ...args: any[]\n ) => Promise<infer R>\n ? R extends ReadonlyArray<infer E>\n ? E\n : R\n : never;\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Executes a query as a streaming function, yielding results as they arrive\n * from the server over an NDJSON stream. For queries that return arrays, the\n * stream yields the element type — batches are flattened automatically.\n */\ntype executeStreamingFunctionFn = <QD extends QueryDefinition<any>>(\n query: QD,\n ...args: StreamingArgs<QD>\n) => AsyncIterable<StreamingElement<QD>>;\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction: Experiment<\n \"2.19.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n { executeStreamingFunction: executeStreamingFunctionFn }\n> = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,2DAIZ,GAAG;EACFC,IAAI,EAAE,6DAA6D;EACnEC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"executeStreamingFunction.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","name","type","version"],"sources":["executeStreamingFunction.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { QueryDefinition } from \"../ontology/QueryDefinition.js\";\nimport type { Experiment } from \"./Experiment.js\";\n\ntype StreamingArgs<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (...args: infer A) => any\n ? A\n : never[];\n\ntype StreamingElement<QD extends QueryDefinition<any>> =\n CompileTimeMetadata<QD>[\"signature\"] extends (\n ...args: any[]\n ) => Promise<infer R>\n ? R extends ReadonlyArray<infer E>\n ? E\n : R\n : never;\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Intended to execute a query as a streaming function, yielding results as\n * they arrive from the server. Streaming query execution is not currently\n * supported in the TypeScript OSDK.\n */\ntype executeStreamingFunctionFn = <QD extends QueryDefinition<any>>(\n query: QD,\n ...args: StreamingArgs<QD>\n) => AsyncIterable<StreamingElement<QD>>;\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction: Experiment<\n \"2.19.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n { executeStreamingFunction: executeStreamingFunctionFn }\n> = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,2DAIZ,GAAG;EACFC,IAAI,EAAE,6DAA6D;EACnEC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
@@ -6,9 +6,9 @@ type StreamingElement<QD extends QueryDefinition<any>> = CompileTimeMetadata<QD>
6
6
  /**
7
7
  * @experimental This feature is experimental and might change in the future.
8
8
  *
9
- * Executes a query as a streaming function, yielding results as they arrive
10
- * from the server over an NDJSON stream. For queries that return arrays, the
11
- * stream yields the element type — batches are flattened automatically.
9
+ * Intended to execute a query as a streaming function, yielding results as
10
+ * they arrive from the server. Streaming query execution is not currently
11
+ * supported in the TypeScript OSDK.
12
12
  */
13
13
  type executeStreamingFunctionFn = <QD extends QueryDefinition<any>>(query: QD, ...args: StreamingArgs<QD>) => AsyncIterable<StreamingElement<QD>>;
14
14
  export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction: Experiment<"2.19.0", "__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "2.52.0",
3
+ "version": "2.53.0-main-c14abb8c42dc5f289bec2162062c415dd1037bf8",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -57,8 +57,8 @@
57
57
  "@microsoft/api-extractor": "^7.52.11",
58
58
  "ts-expect": "^1.3.0",
59
59
  "typescript": "~5.5.4",
60
- "@osdk/monorepo.tsconfig": "~0.7.0",
61
- "@osdk/monorepo.api-extractor": "~0.7.0"
60
+ "@osdk/monorepo.api-extractor": "~0.7.0",
61
+ "@osdk/monorepo.tsconfig": "~0.7.0"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"