@osdk/api 2.61.0-main-c742209e719ed5ad879076a91bcf383a88bb623f → 2.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -1
- package/build/browser/experimental/subscribeToLinks.js +22 -0
- package/build/browser/experimental/subscribeToLinks.js.map +1 -0
- package/build/browser/objectSet/ObjectSetLinks.js.map +1 -1
- package/build/browser/public/unstable.js +1 -0
- package/build/browser/public/unstable.js.map +1 -1
- package/build/cjs/{ObjectSet-CbKKPty9.d.cts → ObjectSet-AKn8Gjtr.d.cts} +1 -1
- package/build/cjs/{QueryDefinition-Bb6jK2IX.d.cts → QueryDefinition-e1BcqZvS.d.cts} +1 -1
- package/build/cjs/index.d.cts +4 -4
- package/build/cjs/public/shapes-internal.d.cts +2 -2
- package/build/cjs/public/unstable.cjs +8 -0
- package/build/cjs/public/unstable.cjs.map +1 -1
- package/build/cjs/public/unstable.d.cts +38 -6
- package/build/cjs/{shapes-internal-i4VGJkDh.d.cts → shapes-internal-D0JGod50.d.cts} +1 -1
- package/build/esm/experimental/subscribeToLinks.js +22 -0
- package/build/esm/experimental/subscribeToLinks.js.map +1 -0
- package/build/esm/objectSet/ObjectSetLinks.js.map +1 -1
- package/build/esm/public/unstable.js +1 -0
- package/build/esm/public/unstable.js.map +1 -1
- package/build/types/experimental/subscribeToLinks.d.ts +49 -0
- package/build/types/experimental/subscribeToLinks.d.ts.map +1 -0
- package/build/types/objectSet/ObjectSetLinks.d.ts +1 -2
- package/build/types/objectSet/ObjectSetLinks.d.ts.map +1 -1
- package/build/types/public/unstable.d.ts +1 -0
- package/build/types/public/unstable.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @osdk/api
|
|
2
2
|
|
|
3
|
-
## 2.61.0
|
|
3
|
+
## 2.61.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
+
- bdf45fa: Add experimental subscriptions for directed link changes between selected objects.
|
|
7
8
|
- 34cb7e0: Type the OCR and transcription language parameters on the experimental media transformation surface as the closed enums the platform actually declares, and export the encoding types that were previously unreachable.
|
|
8
9
|
|
|
9
10
|
These four parameters were previously `string`, so this narrows a shipped public type on the `@osdk/api/unstable` entrypoint. Existing call sites holding a `string` in those positions no longer compile, and a language the pinned platform SDK does not list must be cast until the pin moves.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export let LinkSubscription;
|
|
17
|
+
export const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = {
|
|
18
|
+
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions",
|
|
19
|
+
type: "experiment",
|
|
20
|
+
version: "2.59.0"
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=subscribeToLinks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribeToLinks.js","names":["LinkSubscription","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","name","type","version"],"sources":["subscribeToLinks.ts"],"sourcesContent":["/*\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\nimport type {\n LinkTypeApiNamesFor,\n LinkedObjectType,\n} from \"../objectSet/ObjectSetLinks.js\";\nimport type { ObjectTypeDefinition } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ObjectIdentifiers } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type { Experiment } from \"./Experiment.js\";\n\nexport namespace LinkSubscription {\n export interface Args<\n Q extends ObjectTypeDefinition,\n L extends LinkTypeApiNamesFor<Q>,\n > {\n readonly links: ReadonlyArray<L>;\n readonly listener: Listener<NoInfer<Q>, NoInfer<L>>;\n readonly objects: ReadonlyArray<\n ObjectIdentifiers<NoInfer<Q>> | OsdkObjectPrimaryKeyType<NoInfer<Q>>\n >;\n }\n\n export interface Listener<\n Q extends ObjectTypeDefinition,\n L extends LinkTypeApiNamesFor<Q>,\n > {\n readonly onChange?: (linkUpdate: LinkUpdate<Q, L>) => void;\n readonly onError?: (error: {\n readonly error: unknown;\n readonly subscriptionClosed: boolean;\n }) => void;\n readonly onOutOfDate?: (event: OutOfDateEvent<L>) => void;\n readonly onSuccessfulSubscription?: () => void;\n }\n\n export type LinkUpdate<\n Q extends ObjectTypeDefinition,\n L extends LinkTypeApiNamesFor<Q>,\n > =\n L extends LinkTypeApiNamesFor<Q>\n ? {\n readonly linkType: L;\n readonly source: ObjectIdentifiers<Q>;\n readonly state: \"ADDED\" | \"REMOVED\";\n readonly target: ObjectIdentifiers<LinkedObjectType<Q, L>>;\n }\n : never;\n\n export interface OutOfDateEvent<L extends string> {\n readonly links: ReadonlyArray<L>;\n }\n}\n\ntype SubscribeToLinks = <\n const Q extends ObjectTypeDefinition,\n const L extends LinkTypeApiNamesFor<NoInfer<Q>>,\n>(\n objectType: Q,\n args: LinkSubscription.Args<Q, L>,\n) => { readonly unsubscribe: () => void };\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions: Experiment<\n \"2.59.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n { readonly subscribeToLinks: SubscribeToLinks }\n> = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n type: \"experiment\",\n version: \"2.59.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyBiBA,gBAAgB;AAmDjC,OAAO,MAAMC,oDAIZ,GAAG;EACFC,IAAI,EAAE,sDAAsD;EAC5DC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectSetLinks.js","names":[],"sources":["ObjectSetLinks.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 { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ObjectIdentifiers } from \"../OsdkBase.js\";\n\nexport type LinkTypeApiNamesFor<Q extends ObjectOrInterfaceDefinition> =\n Extract<keyof CompileTimeMetadata<Q>[\"links\"], string>;\n\
|
|
1
|
+
{"version":3,"file":"ObjectSetLinks.js","names":[],"sources":["ObjectSetLinks.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 { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ObjectIdentifiers } from \"../OsdkBase.js\";\n\nexport type LinkTypeApiNamesFor<Q extends ObjectOrInterfaceDefinition> =\n Extract<keyof CompileTimeMetadata<Q>[\"links\"], string>;\n\nexport type LinkedObjectType<\n Q extends ObjectOrInterfaceDefinition,\n LINK_TYPE_API_NAME extends LinkTypeApiNamesFor<Q>,\n> = NonNullable<\n CompileTimeMetadata<Q>[\"links\"][LINK_TYPE_API_NAME][\"__OsdkLinkTargetType\"]\n>;\n\nexport type MinimalDirectedObjectLinkInstance<\n Q extends ObjectOrInterfaceDefinition,\n LINK_TYPE_API_NAME extends LinkTypeApiNamesFor<Q>,\n> = {\n source: ObjectIdentifiers<Q>;\n target: ObjectIdentifiers<LinkedObjectType<Q, LINK_TYPE_API_NAME>>;\n linkType: LINK_TYPE_API_NAME;\n};\n\nexport type FetchLinksPageResult<\n Q extends ObjectOrInterfaceDefinition,\n LINK_TYPE extends LinkTypeApiNamesFor<Q>,\n> = {\n data: Array<MinimalDirectedObjectLinkInstance<Q, LINK_TYPE>>;\n nextPageToken?: string;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -18,6 +18,7 @@ export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../
|
|
|
18
18
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
|
|
19
19
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid } from "../experimental/fetchPageByRid.js";
|
|
20
20
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
|
|
21
|
+
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions } from "../experimental/subscribeToLinks.js";
|
|
21
22
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from "../experimental/subscribeToNoTypeObjectSet.js";
|
|
22
23
|
export { transformAndWait } from "../experimental/transformAndWait.js";
|
|
23
24
|
export { MediaTransformationError, MediaTransformationFailedError, MediaTransformationTimeoutError } from "../object/MediaTransformationErrors.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.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\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AA+
|
|
1
|
+
{"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.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\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions,\n type LinkSubscription,\n} from \"../experimental/subscribeToLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SACEC,oDAAoD,QAE/C,qCAAqC;AA+C5C,SAASC,6DAA6D,QAAQ,+CAA+C;AAC7H,SACEC,gBAAgB,QAEX,qCAAqC;AAC5C,SACEC,wBAAwB,EACxBC,8BAA8B,EAC9BC,+BAA+B,QAC1B,wCAAwC;AAK/C;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,oBAAoB","ignoreList":[]}
|
|
@@ -2536,4 +2536,4 @@ interface AsyncIterLinks<Q extends ObjectOrInterfaceDefinition> {
|
|
|
2536
2536
|
interface ObjectSetCleanedTypes<Q extends ObjectOrInterfaceDefinition, D extends Record<string, SimplePropertyDef>, MERGED extends ObjectOrInterfaceDefinition & Q, ORDER_BY_OPTIONS extends ObjectSetArgs.OrderByOptions<PropertyKeys<Q>> = {}> extends MinimalObjectSet<Q, D, ORDER_BY_OPTIONS>, WithProperties<Q, D>, Aggregate<MERGED>, SetArithmetic<MERGED>, PivotTo<Q>, FetchOne<Q, D>, NearestNeighbors<Q>, NarrowToType<Q> {
|
|
2537
2537
|
}
|
|
2538
2538
|
|
|
2539
|
-
export { type DicomMediaType as $, type AttachmentUpload as A, type Augments as B, type CompileTimeMetadata as C, type BandInfo as D, type BaseObjectSet as E, type BaseWirePropertyTypes as F, type CipherText as G, type ColorInterpretation as H, type InterfaceDefinition as I, type CommonDicomDataElements as J, type ConvertProps as K, type CoordinateReferenceSystem as L, type MediaReference as M, type DataType as N, type ObjectOrInterfaceDefinition as O, type PropertyValueWireToClient as P, type DatetimeFormat as Q, type ReleaseStatus as R, type DatetimeLocalizedFormat as S, type DatetimeLocalizedFormatType as T, type DatetimeStringFormat as U, type DatetimeTimezone as V, type DatetimeTimezoneStatic as W, type DatetimeTimezoneUser as X, DerivedProperty as Y, type DicomDataElementKey as Z, type DicomMediaItemMetadata as _, type OsdkMetadata as a, type NumberFormatRatio as a$, type DicomMetaInformation as a0, type DicomMetaInformationV1 as a1, type Dimensions as a2, DistanceUnitMapping as a3, type DocumentDecodeFormat as a4, type DocumentMediaItemMetadata as a5, type DurationBaseValue as a6, type DurationFormatStyle as a7, DurationMapping as a8, type DurationPrecision as a9, type KnownType as aA, type LinkNames as aB, type LinkTypeApiNamesFor as aC, type LinkedType as aD, type Mailbox as aE, type MailboxOrGroup as aF, type MailboxWrapper as aG, type MaybeScore as aH, type MediaFullMetadata as aI, type MediaItemMetadata as aJ, type MediaMetadata as aK, type MediaPropertyLocation as aL, type MinimalDirectedObjectLinkInstance as aM, type Modality as aN, type Model3dDecodeFormat as aO, type Model3dMediaItemMetadata as aP, type Model3dType as aQ, type NotWhereClause as aR, NullabilityAdherence as aS, type NumberFormatAffix as aT, type NumberFormatCurrency as aU, type NumberFormatCurrencyStyle as aV, type NumberFormatCustomUnit as aW, type NumberFormatDuration as aX, type NumberFormatFixedValues as aY, type NumberFormatNotation as aZ, type NumberFormatOptions as a_, type EmailAttachment as aa, type EmailDecodeFormat as ab, type EmailMediaItemMetadata as ac, type FetchLinksPageResult as ad, type FetchPageArgs as ae, type FetchPageResult as af, type FlipAxis as ag, type GcpList as ah, type GeoFilterOptions as ai, type GeoFilter_Intersects as aj, type GeoFilter_Within as ak, type GeoMetadata as al, type GeotimeSeriesProperty as am, type GpsMetadata as an, type GroundControlPoint as ao, type Group as ap, type GroupByClause as aq, type GroupByRange as ar, type GroupWrapper as as, type HumanReadableFormat as at, type ImageAttributeDomain as au, type ImageAttributeKey as av, type ImageryDecodeFormat as aw, type ImageryMediaItemMetadata as ax, InterfaceMetadata as ay, type IntervalRule as az, type ObjectTypeDefinition as b, type
|
|
2539
|
+
export { type DicomMediaType as $, type AttachmentUpload as A, type Augments as B, type CompileTimeMetadata as C, type BandInfo as D, type BaseObjectSet as E, type BaseWirePropertyTypes as F, type CipherText as G, type ColorInterpretation as H, type InterfaceDefinition as I, type CommonDicomDataElements as J, type ConvertProps as K, type CoordinateReferenceSystem as L, type MediaReference as M, type DataType as N, type ObjectOrInterfaceDefinition as O, type PropertyValueWireToClient as P, type DatetimeFormat as Q, type ReleaseStatus as R, type DatetimeLocalizedFormat as S, type DatetimeLocalizedFormatType as T, type DatetimeStringFormat as U, type DatetimeTimezone as V, type DatetimeTimezoneStatic as W, type DatetimeTimezoneUser as X, DerivedProperty as Y, type DicomDataElementKey as Z, type DicomMediaItemMetadata as _, type OsdkMetadata as a, type NumberFormatRatio as a$, type DicomMetaInformation as a0, type DicomMetaInformationV1 as a1, type Dimensions as a2, DistanceUnitMapping as a3, type DocumentDecodeFormat as a4, type DocumentMediaItemMetadata as a5, type DurationBaseValue as a6, type DurationFormatStyle as a7, DurationMapping as a8, type DurationPrecision as a9, type KnownType as aA, type LinkNames as aB, type LinkTypeApiNamesFor as aC, type LinkedType as aD, type Mailbox as aE, type MailboxOrGroup as aF, type MailboxWrapper as aG, type MaybeScore as aH, type MediaFullMetadata as aI, type MediaItemMetadata as aJ, type MediaMetadata as aK, type MediaPropertyLocation as aL, type MinimalDirectedObjectLinkInstance as aM, type Modality as aN, type Model3dDecodeFormat as aO, type Model3dMediaItemMetadata as aP, type Model3dType as aQ, type NotWhereClause as aR, NullabilityAdherence as aS, type NumberFormatAffix as aT, type NumberFormatCurrency as aU, type NumberFormatCurrencyStyle as aV, type NumberFormatCustomUnit as aW, type NumberFormatDuration as aX, type NumberFormatFixedValues as aY, type NumberFormatNotation as aZ, type NumberFormatOptions as a_, type EmailAttachment as aa, type EmailDecodeFormat as ab, type EmailMediaItemMetadata as ac, type FetchLinksPageResult as ad, type FetchPageArgs as ae, type FetchPageResult as af, type FlipAxis as ag, type GcpList as ah, type GeoFilterOptions as ai, type GeoFilter_Intersects as aj, type GeoFilter_Within as ak, type GeoMetadata as al, type GeotimeSeriesProperty as am, type GpsMetadata as an, type GroundControlPoint as ao, type Group as ap, type GroupByClause as aq, type GroupByRange as ar, type GroupWrapper as as, type HumanReadableFormat as at, type ImageAttributeDomain as au, type ImageAttributeKey as av, type ImageryDecodeFormat as aw, type ImageryMediaItemMetadata as ax, InterfaceMetadata as ay, type IntervalRule as az, type ObjectTypeDefinition as b, type Just as b$, type NumberFormatScale as b0, type NumberFormatStandard as b1, type NumberFormatStandardUnit as b2, type NumberRatioType as b3, type NumberRoundingMode as b4, type NumberScaleType as b5, ObjectMetadata as b6, ObjectSetArgs as b7, ObjectSetSubscription as b8, type ObjectSpecifier as b9, type SelectArgToKeys as bA, SimplePropertyDef as bB, type SingleLinkAccessor as bC, type SingleOsdkResult as bD, type SpreadsheetDecodeFormat as bE, type SpreadsheetMediaItemMetadata as bF, type StringConstant as bG, type TimeCodeFormat as bH, type TimeSeriesPoint as bI, type TimeSeriesProperty as bJ, type TimeSeriesQuery as bK, TimeseriesDurationMapping as bL, type UnitInterpretation as bM, type UnknownMediaItemMetadata as bN, type UntypedMediaItemMetadata as bO, type ValidAggregationKeys as bP, type VersionBound as bQ, type VideoDecodeFormat as bR, type VideoMediaItemMetadata as bS, type VideoSpecification as bT, type WhereClause as bU, type WirePropertyTypes as bV, isOk as bW, type ExtractOptions as bX, type ApplyModifiersArg as bY, type PropertyModifierValue as bZ, type LinkedObjectType as b_, type OrWhereClause as ba, type Orientation as bb, Osdk as bc, type OsdkObjectCreatePropertyType as bd, type OsdkObjectLinksObject as be, type OsdkObjectPropertyType as bf, type PageResult as bg, type PaletteInterpretation as bh, type PossibleWhereClauseFilters as bi, type PrimaryKeyType as bj, type PropertyBooleanFormattingRule as bk, type PropertyDateFormattingRule as bl, type PropertyDef as bm, PropertyKeys as bn, type PropertyKnownTypeFormattingRule as bo, type PropertyMarkings as bp, type PropertyNumberFormattingRule as bq, type PropertyNumberFormattingRuleType as br, type PropertySecurity as bs, type PropertyTimestampFormattingRule as bt, type PropertyTypeReference as bu, type PropertyTypeReferenceOrStringConstant as bv, type PropertyValueFormattingRule as bw, type Result as bx, type RotationAngle as by, type SelectArg as bz, type MediaUpload as c, type MinimalObjectSet as c0, type Media as d, type Attachment as e, type ObjectIdentifiers as f, type OsdkObjectPrimaryKeyType as g, type ObjectSet as h, type PrimaryKeyTypes as i, type OsdkBase as j, type AffineTransform as k, type Affix as l, type AggregateOpts as m, type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy as n, type AggregationClause as o, type AggregationResultsWithGroups as p, type AggregationResultsWithoutGroups as q, type AggregationsResults as r, type AllGroupByValues as s, type AndWhereClause as t, type AsyncIterArgs as u, type AttachmentMetadata as v, type AudioDecodeFormat as w, type AudioMediaItemMetadata as x, type AudioSpecification as y, type Augment as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as ObjectOrInterfaceDefinition, a as OsdkMetadata, b as ObjectTypeDefinition } from './ObjectSet-
|
|
1
|
+
import { O as ObjectOrInterfaceDefinition, a as OsdkMetadata, b as ObjectTypeDefinition } from './ObjectSet-AKn8Gjtr.cjs';
|
|
2
2
|
|
|
3
3
|
interface QueryMetadata {
|
|
4
4
|
type: "query";
|
package/build/cjs/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AttachmentUpload, M as MediaReference, c as MediaUpload, d as Media, e as Attachment, b as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, a as OsdkMetadata, R as ReleaseStatus, P as PropertyValueWireToClient, i as PrimaryKeyTypes, O as ObjectOrInterfaceDefinition, j as OsdkBase } from './ObjectSet-
|
|
2
|
-
export { k as AffineTransform, l as Affix, m as AggregateOpts, n as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, o as AggregationClause, p as AggregationResultsWithGroups, q as AggregationResultsWithoutGroups, r as AggregationsResults, s as AllGroupByValues, t as AndWhereClause, u as AsyncIterArgs, v as AttachmentMetadata, w as AudioDecodeFormat, x as AudioMediaItemMetadata, y as AudioSpecification, z as Augment, B as Augments, D as BandInfo, E as BaseObjectSet, F as BaseWirePropertyTypes, G as CipherText, H as ColorInterpretation, J as CommonDicomDataElements, K as ConvertProps, L as CoordinateReferenceSystem, N as DataType, Q as DatetimeFormat, S as DatetimeLocalizedFormat, T as DatetimeLocalizedFormatType, U as DatetimeStringFormat, V as DatetimeTimezone, W as DatetimeTimezoneStatic, X as DatetimeTimezoneUser, Y as DerivedProperty, Z as DicomDataElementKey, _ as DicomMediaItemMetadata, $ as DicomMediaType, a0 as DicomMetaInformation, a1 as DicomMetaInformationV1, a2 as Dimensions, a3 as DistanceUnitMapping, a4 as DocumentDecodeFormat, a5 as DocumentMediaItemMetadata, a6 as DurationBaseValue, a7 as DurationFormatStyle, a8 as DurationMapping, a9 as DurationPrecision, aa as EmailAttachment, ab as EmailDecodeFormat, ac as EmailMediaItemMetadata, ad as FetchLinksPageResult, ae as FetchPageArgs, af as FetchPageResult, ag as FlipAxis, ah as GcpList, ai as GeoFilterOptions, aj as GeoFilter_Intersects, ak as GeoFilter_Within, al as GeoMetadata, am as GeotimeSeriesProperty, an as GpsMetadata, ao as GroundControlPoint, ap as Group, aq as GroupByClause, ar as GroupByRange, as as GroupWrapper, at as HumanReadableFormat, au as ImageAttributeDomain, av as ImageAttributeKey, aw as ImageryDecodeFormat, ax as ImageryMediaItemMetadata, ay as InterfaceMetadata, az as IntervalRule, aA as KnownType, aB as LinkNames, aC as LinkTypeApiNamesFor, aD as LinkedType, aE as Mailbox, aF as MailboxOrGroup, aG as MailboxWrapper, aH as MaybeScore, aI as MediaFullMetadata, aJ as MediaItemMetadata, aK as MediaMetadata, aL as MediaPropertyLocation, aM as MinimalDirectedObjectLinkInstance, aN as Modality, aO as Model3dDecodeFormat, aP as Model3dMediaItemMetadata, aQ as Model3dType, aR as NotWhereClause, aS as NullabilityAdherence, aT as NumberFormatAffix, aU as NumberFormatCurrency, aV as NumberFormatCurrencyStyle, aW as NumberFormatCustomUnit, aX as NumberFormatDuration, aY as NumberFormatFixedValues, aZ as NumberFormatNotation, a_ as NumberFormatOptions, a$ as NumberFormatRatio, b0 as NumberFormatScale, b1 as NumberFormatStandard, b2 as NumberFormatStandardUnit, b3 as NumberRatioType, b4 as NumberRoundingMode, b5 as NumberScaleType, b6 as ObjectMetadata, b7 as ObjectSetArgs, b8 as ObjectSetSubscription, b9 as ObjectSpecifier, ba as OrWhereClause, bb as Orientation, bc as Osdk, bd as OsdkObjectCreatePropertyType, be as OsdkObjectLinksObject, bf as OsdkObjectPropertyType, bg as PageResult, bh as PaletteInterpretation, bi as PossibleWhereClauseFilters, bj as PrimaryKeyType, bk as PropertyBooleanFormattingRule, bl as PropertyDateFormattingRule, bm as PropertyDef, bn as PropertyKeys, bo as PropertyKnownTypeFormattingRule, bp as PropertyMarkings, bq as PropertyNumberFormattingRule, br as PropertyNumberFormattingRuleType, bs as PropertySecurity, bt as PropertyTimestampFormattingRule, bu as PropertyTypeReference, bv as PropertyTypeReferenceOrStringConstant, bw as PropertyValueFormattingRule, bx as Result, by as RotationAngle, bz as SelectArg, bA as SelectArgToKeys, bB as SimplePropertyDef, bC as SingleLinkAccessor, bD as SingleOsdkResult, bE as SpreadsheetDecodeFormat, bF as SpreadsheetMediaItemMetadata, bG as StringConstant, bH as TimeCodeFormat, bI as TimeSeriesPoint, bJ as TimeSeriesProperty, bK as TimeSeriesQuery, bL as TimeseriesDurationMapping, bM as UnitInterpretation, bN as UnknownMediaItemMetadata, bO as UntypedMediaItemMetadata, bP as ValidAggregationKeys, bQ as VersionBound, bR as VideoDecodeFormat, bS as VideoMediaItemMetadata, bT as VideoSpecification, bU as WhereClause, bV as WirePropertyTypes, bW as isOk } from './ObjectSet-
|
|
3
|
-
import { A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes } from './QueryDefinition-
|
|
4
|
-
export { I as InterfaceQueryDataType, O as ObjectQueryDataType, c as ObjectSetQueryDataType, Q as QueryDataTypeDefinition, d as QueryDefinition, e as QueryMetadata, f as QueryParameterDefinition, T as ThreeDimensionalQueryAggregationDefinition, g as TwoDimensionalQueryAggregationDefinition } from './QueryDefinition-
|
|
1
|
+
import { A as AttachmentUpload, M as MediaReference, c as MediaUpload, d as Media, e as Attachment, b as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, a as OsdkMetadata, R as ReleaseStatus, P as PropertyValueWireToClient, i as PrimaryKeyTypes, O as ObjectOrInterfaceDefinition, j as OsdkBase } from './ObjectSet-AKn8Gjtr.cjs';
|
|
2
|
+
export { k as AffineTransform, l as Affix, m as AggregateOpts, n as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, o as AggregationClause, p as AggregationResultsWithGroups, q as AggregationResultsWithoutGroups, r as AggregationsResults, s as AllGroupByValues, t as AndWhereClause, u as AsyncIterArgs, v as AttachmentMetadata, w as AudioDecodeFormat, x as AudioMediaItemMetadata, y as AudioSpecification, z as Augment, B as Augments, D as BandInfo, E as BaseObjectSet, F as BaseWirePropertyTypes, G as CipherText, H as ColorInterpretation, J as CommonDicomDataElements, K as ConvertProps, L as CoordinateReferenceSystem, N as DataType, Q as DatetimeFormat, S as DatetimeLocalizedFormat, T as DatetimeLocalizedFormatType, U as DatetimeStringFormat, V as DatetimeTimezone, W as DatetimeTimezoneStatic, X as DatetimeTimezoneUser, Y as DerivedProperty, Z as DicomDataElementKey, _ as DicomMediaItemMetadata, $ as DicomMediaType, a0 as DicomMetaInformation, a1 as DicomMetaInformationV1, a2 as Dimensions, a3 as DistanceUnitMapping, a4 as DocumentDecodeFormat, a5 as DocumentMediaItemMetadata, a6 as DurationBaseValue, a7 as DurationFormatStyle, a8 as DurationMapping, a9 as DurationPrecision, aa as EmailAttachment, ab as EmailDecodeFormat, ac as EmailMediaItemMetadata, ad as FetchLinksPageResult, ae as FetchPageArgs, af as FetchPageResult, ag as FlipAxis, ah as GcpList, ai as GeoFilterOptions, aj as GeoFilter_Intersects, ak as GeoFilter_Within, al as GeoMetadata, am as GeotimeSeriesProperty, an as GpsMetadata, ao as GroundControlPoint, ap as Group, aq as GroupByClause, ar as GroupByRange, as as GroupWrapper, at as HumanReadableFormat, au as ImageAttributeDomain, av as ImageAttributeKey, aw as ImageryDecodeFormat, ax as ImageryMediaItemMetadata, ay as InterfaceMetadata, az as IntervalRule, aA as KnownType, aB as LinkNames, aC as LinkTypeApiNamesFor, aD as LinkedType, aE as Mailbox, aF as MailboxOrGroup, aG as MailboxWrapper, aH as MaybeScore, aI as MediaFullMetadata, aJ as MediaItemMetadata, aK as MediaMetadata, aL as MediaPropertyLocation, aM as MinimalDirectedObjectLinkInstance, aN as Modality, aO as Model3dDecodeFormat, aP as Model3dMediaItemMetadata, aQ as Model3dType, aR as NotWhereClause, aS as NullabilityAdherence, aT as NumberFormatAffix, aU as NumberFormatCurrency, aV as NumberFormatCurrencyStyle, aW as NumberFormatCustomUnit, aX as NumberFormatDuration, aY as NumberFormatFixedValues, aZ as NumberFormatNotation, a_ as NumberFormatOptions, a$ as NumberFormatRatio, b0 as NumberFormatScale, b1 as NumberFormatStandard, b2 as NumberFormatStandardUnit, b3 as NumberRatioType, b4 as NumberRoundingMode, b5 as NumberScaleType, b6 as ObjectMetadata, b7 as ObjectSetArgs, b8 as ObjectSetSubscription, b9 as ObjectSpecifier, ba as OrWhereClause, bb as Orientation, bc as Osdk, bd as OsdkObjectCreatePropertyType, be as OsdkObjectLinksObject, bf as OsdkObjectPropertyType, bg as PageResult, bh as PaletteInterpretation, bi as PossibleWhereClauseFilters, bj as PrimaryKeyType, bk as PropertyBooleanFormattingRule, bl as PropertyDateFormattingRule, bm as PropertyDef, bn as PropertyKeys, bo as PropertyKnownTypeFormattingRule, bp as PropertyMarkings, bq as PropertyNumberFormattingRule, br as PropertyNumberFormattingRuleType, bs as PropertySecurity, bt as PropertyTimestampFormattingRule, bu as PropertyTypeReference, bv as PropertyTypeReferenceOrStringConstant, bw as PropertyValueFormattingRule, bx as Result, by as RotationAngle, bz as SelectArg, bA as SelectArgToKeys, bB as SimplePropertyDef, bC as SingleLinkAccessor, bD as SingleOsdkResult, bE as SpreadsheetDecodeFormat, bF as SpreadsheetMediaItemMetadata, bG as StringConstant, bH as TimeCodeFormat, bI as TimeSeriesPoint, bJ as TimeSeriesProperty, bK as TimeSeriesQuery, bL as TimeseriesDurationMapping, bM as UnitInterpretation, bN as UnknownMediaItemMetadata, bO as UntypedMediaItemMetadata, bP as ValidAggregationKeys, bQ as VersionBound, bR as VideoDecodeFormat, bS as VideoMediaItemMetadata, bT as VideoSpecification, bU as WhereClause, bV as WirePropertyTypes, bW as isOk } from './ObjectSet-AKn8Gjtr.cjs';
|
|
3
|
+
import { A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes } from './QueryDefinition-e1BcqZvS.cjs';
|
|
4
|
+
export { I as InterfaceQueryDataType, O as ObjectQueryDataType, c as ObjectSetQueryDataType, Q as QueryDataTypeDefinition, d as QueryDefinition, e as QueryMetadata, f as QueryParameterDefinition, T as ThreeDimensionalQueryAggregationDefinition, g as TwoDimensionalQueryAggregationDefinition } from './QueryDefinition-e1BcqZvS.cjs';
|
|
5
5
|
import 'type-fest';
|
|
6
6
|
import 'geojson';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DerivedLinkConfig, k as NullabilityOp, l as ShapeDerivedLinkDef, m as ShapeLinkObjectSetDef, n as ShapeLinkOrderBy, o as ShapeLinkSegment, p as ShapeLinkSetOperation, q as ShapePropertyConfig } from '../shapes-internal-
|
|
2
|
-
import '../ObjectSet-
|
|
1
|
+
export { D as DerivedLinkConfig, k as NullabilityOp, l as ShapeDerivedLinkDef, m as ShapeLinkObjectSetDef, n as ShapeLinkOrderBy, o as ShapeLinkSegment, p as ShapeLinkSetOperation, q as ShapePropertyConfig } from '../shapes-internal-D0JGod50.cjs';
|
|
2
|
+
import '../ObjectSet-AKn8Gjtr.cjs';
|
|
3
3
|
import 'type-fest';
|
|
4
4
|
import 'geojson';
|
|
@@ -28,6 +28,13 @@ var __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {
|
|
|
28
28
|
version: "2.0.8"
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
+
// src/experimental/subscribeToLinks.ts
|
|
32
|
+
var __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = {
|
|
33
|
+
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions",
|
|
34
|
+
type: "experiment",
|
|
35
|
+
version: "2.59.0"
|
|
36
|
+
};
|
|
37
|
+
|
|
31
38
|
// src/experimental/subscribeToNoTypeObjectSet.ts
|
|
32
39
|
var __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet = {
|
|
33
40
|
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet",
|
|
@@ -467,6 +474,7 @@ exports.__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = __EXPERIME
|
|
|
467
474
|
exports.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid;
|
|
468
475
|
exports.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid = __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid;
|
|
469
476
|
exports.__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks;
|
|
477
|
+
exports.__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions;
|
|
470
478
|
exports.__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet = __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet;
|
|
471
479
|
exports.configToShapeDefinition = configToShapeDefinition;
|
|
472
480
|
exports.createShapeBuilder = createShapeBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../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":";;;AAyBO,IAAM,2DAAA,GAA8D;AAAA,EACzE,IAAA,EAAM,6DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACbO,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,gBAAA,GAAmB;AAAA,EAC9B,IAAA,EAAM,kBAAA;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,IAAM,+BAAA,GAAN,cAA8C,wBAAA,CAAyB;AAAA,EAC5E,YAAY,KAAA,EAAO;AACjB,IAAA,KAAA,CAAM,CAAA,mBAAA,EAAsB,KAAK,CAAA,yBAAA,CAA2B,CAAA;AAC5D,IAAA,IAAA,CAAK,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.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 * Executes a query as a streaming function, yielding results as they arrive\n * from the server. Queries whose declared output is an array are delivered in\n * batches and flattened, so the iterable yields one element at a time rather\n * than one batch at a time.\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.media - The media item 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 transformAndWait = {\n name: \"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/executeStreamingFunction.ts","../../../src/experimental/fetchOneByRid.ts","../../../src/experimental/fetchPageByRid.ts","../../../src/experimental/getBulkLinks.ts","../../../src/experimental/subscribeToLinks.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":";;;AAyBO,IAAM,2DAAA,GAA8D;AAAA,EACzE,IAAA,EAAM,6DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACbO,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,oDAAA,GAAuD;AAAA,EAClE,IAAA,EAAM,sDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,6DAAA,GAAgE;AAAA,EAC3E,IAAA,EAAM,+DAAA;AAAA,E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AAO,UAAA,CAAW;AAAA;AACpB,OACD,CAAA;AAAA,IACH;AAAA,EACF;AACA,EAAA,MAAM,UAAU,cAAA,CAAe;AAAA,IAC7B,eAAA;AAAA,IACA,KAAA;AAAA,IACA;AAAA,GACD,CAAA;AACD,EAAA,OAAO;AAAA,IACL,SAAA,EAAW,OAAA;AAAA,IACX,WAAA,EAAa,MAAA;AAAA,IACb,UAAA,EAAY,QAAA;AAAA,IACZ,iBAAA,EAAmB,eAAA;AAAA,IACnB,OAAA,EAAS,OAAO,MAAA,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 * Executes a query as a streaming function, yielding results as they arrive\n * from the server. Queries whose declared output is an array are delivered in\n * batches and flattened, so the iterable yields one element at a time rather\n * than one batch at a time.\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 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 */\nexport let LinkSubscription;\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n type: \"experiment\",\n version: \"2.59.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__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.media - The media item 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 transformAndWait = {\n name: \"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,8 +1,8 @@
|
|
|
1
|
-
import { C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bn as PropertyKeys, aS as NullabilityAdherence, bz as SelectArg, bc as Osdk, bX as ExtractOptions, bY as ApplyModifiersArg, bZ as PropertyModifierValue, ae as FetchPageArgs, af as FetchPageResult, j as OsdkBase, b_ as Just, b8 as ObjectSetSubscription, d as Media } from '../ObjectSet-
|
|
2
|
-
export {
|
|
3
|
-
import { d as QueryDefinition } from '../QueryDefinition-
|
|
4
|
-
import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-
|
|
5
|
-
export { L as LinkLoadConfig, c as LinkStatus, N as NullabilityViolation, d as ShapeBaseType, e as ShapeDerivedLinks, f as ShapeInstance, g as ShapeLinkResult, h as ShapeNullabilityError, i as SourcePrimaryKeySymbol, j as isSourcePkSymbol } from '../shapes-internal-
|
|
1
|
+
import { C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bn as PropertyKeys, aS as NullabilityAdherence, bz as SelectArg, bc as Osdk, bX as ExtractOptions, bY as ApplyModifiersArg, bZ as PropertyModifierValue, ae as FetchPageArgs, af as FetchPageResult, j as OsdkBase, b as ObjectTypeDefinition, aC as LinkTypeApiNamesFor, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, b_ as LinkedObjectType, b$ as Just, b8 as ObjectSetSubscription, d as Media } from '../ObjectSet-AKn8Gjtr.cjs';
|
|
2
|
+
export { c0 as MinimalObjectSet } from '../ObjectSet-AKn8Gjtr.cjs';
|
|
3
|
+
import { d as QueryDefinition } from '../QueryDefinition-e1BcqZvS.cjs';
|
|
4
|
+
import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-D0JGod50.cjs';
|
|
5
|
+
export { L as LinkLoadConfig, c as LinkStatus, N as NullabilityViolation, d as ShapeBaseType, e as ShapeDerivedLinks, f as ShapeInstance, g as ShapeLinkResult, h as ShapeNullabilityError, i as SourcePrimaryKeySymbol, j as isSourcePkSymbol } from '../shapes-internal-D0JGod50.cjs';
|
|
6
6
|
import 'type-fest';
|
|
7
7
|
import 'geojson';
|
|
8
8
|
|
|
@@ -54,6 +54,38 @@ declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks: Experiment<"2.0.8
|
|
|
54
54
|
getBulkLinks: getBulkLinksFn;
|
|
55
55
|
}>;
|
|
56
56
|
|
|
57
|
+
declare namespace LinkSubscription {
|
|
58
|
+
interface Args<Q extends ObjectTypeDefinition, L extends LinkTypeApiNamesFor<Q>> {
|
|
59
|
+
readonly links: ReadonlyArray<L>;
|
|
60
|
+
readonly listener: Listener<NoInfer<Q>, NoInfer<L>>;
|
|
61
|
+
readonly objects: ReadonlyArray<ObjectIdentifiers<NoInfer<Q>> | OsdkObjectPrimaryKeyType<NoInfer<Q>>>;
|
|
62
|
+
}
|
|
63
|
+
interface Listener<Q extends ObjectTypeDefinition, L extends LinkTypeApiNamesFor<Q>> {
|
|
64
|
+
readonly onChange?: (linkUpdate: LinkUpdate<Q, L>) => void;
|
|
65
|
+
readonly onError?: (error: {
|
|
66
|
+
readonly error: unknown;
|
|
67
|
+
readonly subscriptionClosed: boolean;
|
|
68
|
+
}) => void;
|
|
69
|
+
readonly onOutOfDate?: (event: OutOfDateEvent<L>) => void;
|
|
70
|
+
readonly onSuccessfulSubscription?: () => void;
|
|
71
|
+
}
|
|
72
|
+
type LinkUpdate<Q extends ObjectTypeDefinition, L extends LinkTypeApiNamesFor<Q>> = L extends LinkTypeApiNamesFor<Q> ? {
|
|
73
|
+
readonly linkType: L;
|
|
74
|
+
readonly source: ObjectIdentifiers<Q>;
|
|
75
|
+
readonly state: "ADDED" | "REMOVED";
|
|
76
|
+
readonly target: ObjectIdentifiers<LinkedObjectType<Q, L>>;
|
|
77
|
+
} : never;
|
|
78
|
+
interface OutOfDateEvent<L extends string> {
|
|
79
|
+
readonly links: ReadonlyArray<L>;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
type SubscribeToLinks = <const Q extends ObjectTypeDefinition, const L extends LinkTypeApiNamesFor<NoInfer<Q>>>(objectType: Q, args: LinkSubscription.Args<Q, L>) => {
|
|
83
|
+
readonly unsubscribe: () => void;
|
|
84
|
+
};
|
|
85
|
+
declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions: Experiment<"2.59.0", "__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions", {
|
|
86
|
+
readonly subscribeToLinks: SubscribeToLinks;
|
|
87
|
+
}>;
|
|
88
|
+
|
|
57
89
|
/**
|
|
58
90
|
* A language for OCR (Optical Character Recognition) operations.
|
|
59
91
|
*
|
|
@@ -929,4 +961,4 @@ declare function createShapeBuilder<BASE extends ObjectOrInterfaceDefinition>(ba
|
|
|
929
961
|
|
|
930
962
|
declare function configToShapeDefinition<BASE extends ObjectOrInterfaceDefinition, const C extends InlineShapeConfig<BASE>>(baseType: BASE, config: C): InferShapeDefinition<BASE, C>;
|
|
931
963
|
|
|
932
|
-
export { AnnotateGeometry, type Annotation, type ArchiveEncoding, type AudioEncoding, AudioOperation, AudioToTextOperation, type BoundingBox, type Color, ContrastType, DicomToImageOperation, type DocumentEncoding, type DocumentTextExtractionConfig, DocumentToDocumentOperation, DocumentToImageOperation, DocumentToTextOperation, type EXPERIMENTAL_BulkLinkResult, EmailToAttachmentOperation, EmailToTextOperation, type Experiment, type ExperimentFns, type FetchPageByRidPayload, ImageOperation, type ImagePixelCoordinate, type ImageRegionPolygon, type ImageSpec, ImageToDocumentOperation, ImageToEmbeddingOperation, ImageToTextOperation, type ImageryEncoding, type InferShapeDefinition, type InlineLinkConfig, type InlineShapeConfig, type LayoutAwareExtractionParameters, type LlmSpec, MediaTransformation, MediaTransformationError, MediaTransformationFailedError, MediaTransformationTimeoutError, type OcrLanguage, OcrLanguageOrScript, OcrOutputFormat, type OcrParameters, type OcrScript, type PageRange, PropertyType, RequiredProperty, ShapeBuilder, ShapeDefinition, ShapeLinkBuilder, SpreadsheetToTextOperation, TranscribeOutputFormat, type TranscriptionLanguage, type TransformOptions, type VideoEncoding, VideoOperation, VideoToArchiveOperation, VideoToAudioOperation, VideoToImageOperation, VideoToTextOperation, VlmPreprocessingConfig, __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks, __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet, configToShapeDefinition, createShapeBuilder, transformAndWait };
|
|
964
|
+
export { AnnotateGeometry, type Annotation, type ArchiveEncoding, type AudioEncoding, AudioOperation, AudioToTextOperation, type BoundingBox, type Color, ContrastType, DicomToImageOperation, type DocumentEncoding, type DocumentTextExtractionConfig, DocumentToDocumentOperation, DocumentToImageOperation, DocumentToTextOperation, type EXPERIMENTAL_BulkLinkResult, EmailToAttachmentOperation, EmailToTextOperation, type Experiment, type ExperimentFns, type FetchPageByRidPayload, ImageOperation, type ImagePixelCoordinate, type ImageRegionPolygon, type ImageSpec, ImageToDocumentOperation, ImageToEmbeddingOperation, ImageToTextOperation, type ImageryEncoding, type InferShapeDefinition, type InlineLinkConfig, type InlineShapeConfig, type LayoutAwareExtractionParameters, LinkSubscription, type LlmSpec, MediaTransformation, MediaTransformationError, MediaTransformationFailedError, MediaTransformationTimeoutError, type OcrLanguage, OcrLanguageOrScript, OcrOutputFormat, type OcrParameters, type OcrScript, type PageRange, PropertyType, RequiredProperty, ShapeBuilder, ShapeDefinition, ShapeLinkBuilder, SpreadsheetToTextOperation, TranscribeOutputFormat, type TranscriptionLanguage, type TransformOptions, type VideoEncoding, VideoOperation, VideoToArchiveOperation, VideoToAudioOperation, VideoToImageOperation, VideoToTextOperation, VlmPreprocessingConfig, __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks, __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions, __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet, configToShapeDefinition, createShapeBuilder, transformAndWait };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as ObjectOrInterfaceDefinition, bU as WhereClause, bn as PropertyKeys, C as CompileTimeMetadata, aB as LinkNames, aD as LinkedType, j as OsdkBase } from './ObjectSet-
|
|
1
|
+
import { O as ObjectOrInterfaceDefinition, bU as WhereClause, bn as PropertyKeys, C as CompileTimeMetadata, aB as LinkNames, aD as LinkedType, j as OsdkBase } from './ObjectSet-AKn8Gjtr.cjs';
|
|
2
2
|
|
|
3
3
|
declare const SourcePrimaryKeySymbol: unique symbol;
|
|
4
4
|
declare function isSourcePkSymbol(value: unknown): value is symbol;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export let LinkSubscription;
|
|
17
|
+
export const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = {
|
|
18
|
+
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions",
|
|
19
|
+
type: "experiment",
|
|
20
|
+
version: "2.59.0"
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=subscribeToLinks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribeToLinks.js","names":["LinkSubscription","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","name","type","version"],"sources":["subscribeToLinks.ts"],"sourcesContent":["/*\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\nimport type {\n LinkTypeApiNamesFor,\n LinkedObjectType,\n} from \"../objectSet/ObjectSetLinks.js\";\nimport type { ObjectTypeDefinition } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ObjectIdentifiers } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type { Experiment } from \"./Experiment.js\";\n\nexport namespace LinkSubscription {\n export interface Args<\n Q extends ObjectTypeDefinition,\n L extends LinkTypeApiNamesFor<Q>,\n > {\n readonly links: ReadonlyArray<L>;\n readonly listener: Listener<NoInfer<Q>, NoInfer<L>>;\n readonly objects: ReadonlyArray<\n ObjectIdentifiers<NoInfer<Q>> | OsdkObjectPrimaryKeyType<NoInfer<Q>>\n >;\n }\n\n export interface Listener<\n Q extends ObjectTypeDefinition,\n L extends LinkTypeApiNamesFor<Q>,\n > {\n readonly onChange?: (linkUpdate: LinkUpdate<Q, L>) => void;\n readonly onError?: (error: {\n readonly error: unknown;\n readonly subscriptionClosed: boolean;\n }) => void;\n readonly onOutOfDate?: (event: OutOfDateEvent<L>) => void;\n readonly onSuccessfulSubscription?: () => void;\n }\n\n export type LinkUpdate<\n Q extends ObjectTypeDefinition,\n L extends LinkTypeApiNamesFor<Q>,\n > =\n L extends LinkTypeApiNamesFor<Q>\n ? {\n readonly linkType: L;\n readonly source: ObjectIdentifiers<Q>;\n readonly state: \"ADDED\" | \"REMOVED\";\n readonly target: ObjectIdentifiers<LinkedObjectType<Q, L>>;\n }\n : never;\n\n export interface OutOfDateEvent<L extends string> {\n readonly links: ReadonlyArray<L>;\n }\n}\n\ntype SubscribeToLinks = <\n const Q extends ObjectTypeDefinition,\n const L extends LinkTypeApiNamesFor<NoInfer<Q>>,\n>(\n objectType: Q,\n args: LinkSubscription.Args<Q, L>,\n) => { readonly unsubscribe: () => void };\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions: Experiment<\n \"2.59.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n { readonly subscribeToLinks: SubscribeToLinks }\n> = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n type: \"experiment\",\n version: \"2.59.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyBiBA,gBAAgB;AAmDjC,OAAO,MAAMC,oDAIZ,GAAG;EACFC,IAAI,EAAE,sDAAsD;EAC5DC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectSetLinks.js","names":[],"sources":["ObjectSetLinks.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 { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ObjectIdentifiers } from \"../OsdkBase.js\";\n\nexport type LinkTypeApiNamesFor<Q extends ObjectOrInterfaceDefinition> =\n Extract<keyof CompileTimeMetadata<Q>[\"links\"], string>;\n\
|
|
1
|
+
{"version":3,"file":"ObjectSetLinks.js","names":[],"sources":["ObjectSetLinks.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 { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ObjectIdentifiers } from \"../OsdkBase.js\";\n\nexport type LinkTypeApiNamesFor<Q extends ObjectOrInterfaceDefinition> =\n Extract<keyof CompileTimeMetadata<Q>[\"links\"], string>;\n\nexport type LinkedObjectType<\n Q extends ObjectOrInterfaceDefinition,\n LINK_TYPE_API_NAME extends LinkTypeApiNamesFor<Q>,\n> = NonNullable<\n CompileTimeMetadata<Q>[\"links\"][LINK_TYPE_API_NAME][\"__OsdkLinkTargetType\"]\n>;\n\nexport type MinimalDirectedObjectLinkInstance<\n Q extends ObjectOrInterfaceDefinition,\n LINK_TYPE_API_NAME extends LinkTypeApiNamesFor<Q>,\n> = {\n source: ObjectIdentifiers<Q>;\n target: ObjectIdentifiers<LinkedObjectType<Q, LINK_TYPE_API_NAME>>;\n linkType: LINK_TYPE_API_NAME;\n};\n\nexport type FetchLinksPageResult<\n Q extends ObjectOrInterfaceDefinition,\n LINK_TYPE extends LinkTypeApiNamesFor<Q>,\n> = {\n data: Array<MinimalDirectedObjectLinkInstance<Q, LINK_TYPE>>;\n nextPageToken?: string;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -18,6 +18,7 @@ export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../
|
|
|
18
18
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
|
|
19
19
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid } from "../experimental/fetchPageByRid.js";
|
|
20
20
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
|
|
21
|
+
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions } from "../experimental/subscribeToLinks.js";
|
|
21
22
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from "../experimental/subscribeToNoTypeObjectSet.js";
|
|
22
23
|
export { transformAndWait } from "../experimental/transformAndWait.js";
|
|
23
24
|
export { MediaTransformationError, MediaTransformationFailedError, MediaTransformationTimeoutError } from "../object/MediaTransformationErrors.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.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\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AA+
|
|
1
|
+
{"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.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\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions,\n type LinkSubscription,\n} from \"../experimental/subscribeToLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SACEC,oDAAoD,QAE/C,qCAAqC;AA+C5C,SAASC,6DAA6D,QAAQ,+CAA+C;AAC7H,SACEC,gBAAgB,QAEX,qCAAqC;AAC5C,SACEC,wBAAwB,EACxBC,8BAA8B,EAC9BC,+BAA+B,QAC1B,wCAAwC;AAK/C;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { LinkTypeApiNamesFor, LinkedObjectType } from "../objectSet/ObjectSetLinks.js";
|
|
2
|
+
import type { ObjectTypeDefinition } from "../ontology/ObjectTypeDefinition.js";
|
|
3
|
+
import type { ObjectIdentifiers } from "../OsdkBase.js";
|
|
4
|
+
import type { OsdkObjectPrimaryKeyType } from "../OsdkObjectPrimaryKeyType.js";
|
|
5
|
+
import type { Experiment } from "./Experiment.js";
|
|
6
|
+
export declare namespace LinkSubscription {
|
|
7
|
+
interface Args<
|
|
8
|
+
Q extends ObjectTypeDefinition,
|
|
9
|
+
L extends LinkTypeApiNamesFor<Q>
|
|
10
|
+
> {
|
|
11
|
+
readonly links: ReadonlyArray<L>;
|
|
12
|
+
readonly listener: Listener<NoInfer<Q>, NoInfer<L>>;
|
|
13
|
+
readonly objects: ReadonlyArray<ObjectIdentifiers<NoInfer<Q>> | OsdkObjectPrimaryKeyType<NoInfer<Q>>>;
|
|
14
|
+
}
|
|
15
|
+
interface Listener<
|
|
16
|
+
Q extends ObjectTypeDefinition,
|
|
17
|
+
L extends LinkTypeApiNamesFor<Q>
|
|
18
|
+
> {
|
|
19
|
+
readonly onChange?: (linkUpdate: LinkUpdate<Q, L>) => void;
|
|
20
|
+
readonly onError?: (error: {
|
|
21
|
+
readonly error: unknown
|
|
22
|
+
readonly subscriptionClosed: boolean
|
|
23
|
+
}) => void;
|
|
24
|
+
readonly onOutOfDate?: (event: OutOfDateEvent<L>) => void;
|
|
25
|
+
readonly onSuccessfulSubscription?: () => void;
|
|
26
|
+
}
|
|
27
|
+
type LinkUpdate<
|
|
28
|
+
Q extends ObjectTypeDefinition,
|
|
29
|
+
L extends LinkTypeApiNamesFor<Q>
|
|
30
|
+
> = L extends LinkTypeApiNamesFor<Q> ? {
|
|
31
|
+
readonly linkType: L
|
|
32
|
+
readonly source: ObjectIdentifiers<Q>
|
|
33
|
+
readonly state: "ADDED" | "REMOVED"
|
|
34
|
+
readonly target: ObjectIdentifiers<LinkedObjectType<Q, L>>
|
|
35
|
+
} : never;
|
|
36
|
+
interface OutOfDateEvent<L extends string> {
|
|
37
|
+
readonly links: ReadonlyArray<L>;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
type SubscribeToLinks = <
|
|
41
|
+
const Q extends ObjectTypeDefinition,
|
|
42
|
+
const L extends LinkTypeApiNamesFor<NoInfer<Q>>
|
|
43
|
+
>(objectType: Q, args: LinkSubscription.Args<Q, L>) => {
|
|
44
|
+
readonly unsubscribe: () => void
|
|
45
|
+
};
|
|
46
|
+
export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions: Experiment<"2.59.0", "__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions", {
|
|
47
|
+
readonly subscribeToLinks: SubscribeToLinks
|
|
48
|
+
}>;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cACE,qBACA,wBACK,gCAAiC;AACxC,cAAc,4BAA4B,qCAAsC;AAChF,cAAc,yBAAyB,gBAAiB;AACxD,cAAc,gCAAgC,gCAAiC;AAC/E,cAAc,kBAAkB,iBAAkB;AAElD,yBAAiB;WACE;EACf,UAAU;EACV,UAAU,oBAAoB;GAC9B;WACS,OAAO,cAAc;WACrB,UAAU,SAAS,QAAQ,IAAI,QAAQ;WACvC,SAAS,cAChB,kBAAkB,QAAQ,MAAM,yBAAyB,QAAQ;CAEpE;WAEgB;EACf,UAAU;EACV,UAAU,oBAAoB;GAC9B;WACS,YAAYA,YAAY,WAAW,GAAG;WACtC,WAAWC,OAAO;YAChB;YACA;EACV;WACQ,eAAeC,OAAO,eAAe;WACrC;CACV;MAEW;EACV,UAAU;EACV,UAAU,oBAAoB;KAE9B,UAAU,oBAAoB,KAC1B;WACW,UAAU;WACV,QAAQ,kBAAkB;WAC1B,OAAO,UAAU;WACjB,QAAQ,kBAAkB,iBAAiB,GAAG;CACxD;WAGU,eAAe,kBAAkB;WACvC,OAAO,cAAc;CAC/B;;KAGE;OACG,UAAU;OACV,UAAU,oBAAoB,QAAQ;EAE5CC,YAAY,GACZC,MAAM,iBAAiB,KAAK,GAAG,OAC5B;UAAW;AAAyB;AAEzC,OAAO,cAAMC,sDAAsD,WACjE,UACA,wDACA;UAAW,kBAAkB;AAAkB","names":["linkUpdate: LinkUpdate<Q, L>","error: {\n readonly error: unknown;\n readonly subscriptionClosed: boolean;\n }","event: OutOfDateEvent<L>","objectType: Q","args: LinkSubscription.Args<Q, L>","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions: Experiment<\n \"2.59.0\",\n \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n { readonly subscribeToLinks: SubscribeToLinks }\n>"],"sources":["../../../src/experimental/subscribeToLinks.ts"],"version":3,"file":"subscribeToLinks.d.ts"}
|
|
@@ -2,7 +2,7 @@ import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.
|
|
|
2
2
|
import type { CompileTimeMetadata } from "../ontology/ObjectTypeDefinition.js";
|
|
3
3
|
import type { ObjectIdentifiers } from "../OsdkBase.js";
|
|
4
4
|
export type LinkTypeApiNamesFor<Q extends ObjectOrInterfaceDefinition> = Extract<keyof CompileTimeMetadata<Q>["links"], string>;
|
|
5
|
-
type LinkedObjectType<
|
|
5
|
+
export type LinkedObjectType<
|
|
6
6
|
Q extends ObjectOrInterfaceDefinition,
|
|
7
7
|
LINK_TYPE_API_NAME extends LinkTypeApiNamesFor<Q>
|
|
8
8
|
> = NonNullable<CompileTimeMetadata<Q>["links"][LINK_TYPE_API_NAME]["__OsdkLinkTargetType"]>;
|
|
@@ -21,4 +21,3 @@ export type FetchLinksPageResult<
|
|
|
21
21
|
data: Array<MinimalDirectedObjectLinkInstance<Q, LINK_TYPE>>
|
|
22
22
|
nextPageToken?: string
|
|
23
23
|
};
|
|
24
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,mCAAmC,kCAAmC;AACpF,cAAc,2BAA2B,qCAAsC;AAC/E,cAAc,yBAAyB,gBAAiB;AAExD,YAAY,oBAAoB,UAAU,+BACxC,cAAc,oBAAoB,GAAG;
|
|
1
|
+
{"mappings":"AAgBA,cAAc,mCAAmC,kCAAmC;AACpF,cAAc,2BAA2B,qCAAsC;AAC/E,cAAc,yBAAyB,gBAAiB;AAExD,YAAY,oBAAoB,UAAU,+BACxC,cAAc,oBAAoB,GAAG;AAEvC,YAAY;CACV,UAAU;CACV,2BAA2B,oBAAoB;IAC7C,YACF,oBAAoB,GAAG,SAAS,oBAAoB;AAGtD,YAAY;CACV,UAAU;CACV,2BAA2B,oBAAoB;IAC7C;CACF,QAAQ,kBAAkB;CAC1B,QAAQ,kBAAkB,iBAAiB,GAAG;CAC9C,UAAU;AACX;AAED,YAAY;CACV,UAAU;CACV,kBAAkB,oBAAoB;IACpC;CACF,MAAM,MAAM,kCAAkC,GAAG;CACjD;AACD","names":[],"sources":["../../../src/objectSet/ObjectSetLinks.ts"],"version":3,"file":"ObjectSetLinks.d.ts"}
|
|
@@ -3,6 +3,7 @@ export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../
|
|
|
3
3
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
|
|
4
4
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid, type FetchPageByRidPayload } from "../experimental/fetchPageByRid.js";
|
|
5
5
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
|
|
6
|
+
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions, type LinkSubscription } from "../experimental/subscribeToLinks.js";
|
|
6
7
|
export type { AnnotateGeometry, Annotation, ArchiveEncoding, AudioEncoding, AudioOperation, AudioToTextOperation, BoundingBox, Color, ContrastType, DicomToImageOperation, DocumentEncoding, DocumentTextExtractionConfig, DocumentToDocumentOperation, DocumentToImageOperation, DocumentToTextOperation, EmailToAttachmentOperation, EmailToTextOperation, ImageOperation, ImagePixelCoordinate, ImageRegionPolygon, ImageryEncoding, ImageSpec, ImageToDocumentOperation, ImageToEmbeddingOperation, ImageToTextOperation, LayoutAwareExtractionParameters, LlmSpec, MediaTransformation, OcrLanguage, OcrLanguageOrScript, OcrOutputFormat, OcrParameters, OcrScript, PageRange, SpreadsheetToTextOperation, TranscribeOutputFormat, TranscriptionLanguage, VideoEncoding, VideoOperation, VideoToArchiveOperation, VideoToAudioOperation, VideoToImageOperation, VideoToTextOperation, VlmPreprocessingConfig } from "../experimental/MediaTransformation.js";
|
|
7
8
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from "../experimental/subscribeToNoTypeObjectSet.js";
|
|
8
9
|
export { transformAndWait, type TransformOptions } from "../experimental/transformAndWait.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,YAAY,qBAAqB;AAE/C,SAAS,mEAAmE;AAC5E,SAAS,wDAAwD;AACjE,SACE,wDACK,6BACA;AACP,SAAS,uDAAuD;AAChE,cACE,kBACA,YACA,iBACA,eACA,gBACA,sBACA,aACA,OACA,cACA,uBACA,kBACA,8BACA,6BACA,0BACA,yBACA,4BACA,sBACA,gBACA,sBACA,oBACA,iBACA,WACA,0BACA,2BACA,sBACA,iCACA,SACA,qBACA,aACA,qBACA,iBACA,eACA,WACA,WACA,4BACA,wBACA,uBACA,eACA,gBACA,yBACA,uBACA,uBACA,sBACA,8BACK;AACP,SAAS,qEAAqE;AAC9E,SACE,uBACK,wBACA;AACP,SACE,0BACA,gCACA,uCACK;AAEP,cAAc,mCAAmC;AACjD,cAAc,wBAAwB;AAGtC,SACE,yBACA,oBACA,kBACA,uBACA,8BACK;AAEP,cACE,sBACA,kBACA,mBACA,gBACA,YACA,sBACA,cACA,kBACA,eACA,cACA,iBACA,mBACA,eACA,kBACA,uBACK","names":[],"sources":["../../../src/public/unstable.ts"],"version":3,"file":"unstable.d.ts"}
|
|
1
|
+
{"mappings":"AAgBA,cAAc,YAAY,qBAAqB;AAE/C,SAAS,mEAAmE;AAC5E,SAAS,wDAAwD;AACjE,SACE,wDACK,6BACA;AACP,SAAS,uDAAuD;AAChE,SACE,2DACK,wBACA;AACP,cACE,kBACA,YACA,iBACA,eACA,gBACA,sBACA,aACA,OACA,cACA,uBACA,kBACA,8BACA,6BACA,0BACA,yBACA,4BACA,sBACA,gBACA,sBACA,oBACA,iBACA,WACA,0BACA,2BACA,sBACA,iCACA,SACA,qBACA,aACA,qBACA,iBACA,eACA,WACA,WACA,4BACA,wBACA,uBACA,eACA,gBACA,yBACA,uBACA,uBACA,sBACA,8BACK;AACP,SAAS,qEAAqE;AAC9E,SACE,uBACK,wBACA;AACP,SACE,0BACA,gCACA,uCACK;AAEP,cAAc,mCAAmC;AACjD,cAAc,wBAAwB;AAGtC,SACE,yBACA,oBACA,kBACA,uBACA,8BACK;AAEP,cACE,sBACA,kBACA,mBACA,gBACA,YACA,sBACA,cACA,kBACA,eACA,cACA,iBACA,mBACA,eACA,kBACA,uBACK","names":[],"sources":["../../../src/public/unstable.ts"],"version":3,"file":"unstable.d.ts"}
|