@osdk/api 2.1.0-beta.8 → 2.1.0-rc.32
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 +138 -0
- package/build/browser/Definitions.js +0 -15
- package/build/browser/Definitions.js.map +1 -1
- package/build/browser/OsdkBase.js +0 -15
- package/build/browser/OsdkBase.js.map +1 -1
- package/build/browser/OsdkMetadata.js +0 -15
- package/build/browser/OsdkMetadata.js.map +1 -1
- package/build/browser/OsdkObject.js +0 -15
- package/build/browser/OsdkObject.js.map +1 -1
- package/build/browser/OsdkObjectFrom.js +27 -1
- package/build/browser/OsdkObjectFrom.js.map +1 -1
- package/build/browser/OsdkObjectFrom.test.js +17 -0
- package/build/browser/OsdkObjectFrom.test.js.map +1 -1
- package/build/browser/OsdkObjectPrimaryKeyType.js +0 -15
- package/build/browser/OsdkObjectPrimaryKeyType.js.map +1 -1
- package/build/browser/PageResult.js +0 -15
- package/build/browser/PageResult.js.map +1 -1
- package/build/browser/actions/ActionResults.js +0 -15
- package/build/browser/actions/ActionResults.js.map +1 -1
- package/build/browser/actions/ActionReturnTypeForOptions.js +0 -15
- package/build/browser/actions/ActionReturnTypeForOptions.js.map +1 -1
- package/build/browser/actions/Actions.js +4 -1
- package/build/browser/actions/Actions.js.map +1 -1
- package/build/browser/aggregate/AggregatableKeys.js +0 -15
- package/build/browser/aggregate/AggregatableKeys.js.map +1 -1
- package/build/browser/aggregate/AggregateOpts.js +0 -15
- package/build/browser/aggregate/AggregateOpts.js.map +1 -1
- package/build/browser/aggregate/AggregateOptsThatErrors.js +0 -15
- package/build/browser/aggregate/AggregateOptsThatErrors.js.map +1 -1
- package/build/browser/aggregate/AggregationResultsWithGroups.js +0 -15
- package/build/browser/aggregate/AggregationResultsWithGroups.js.map +1 -1
- package/build/browser/aggregate/AggregationResultsWithoutGroups.js +0 -15
- package/build/browser/aggregate/AggregationResultsWithoutGroups.js.map +1 -1
- package/build/browser/aggregate/AggregationsClause.js +0 -15
- package/build/browser/aggregate/AggregationsClause.js.map +1 -1
- package/build/browser/aggregate/AggregationsClause.test.js +1 -0
- package/build/browser/aggregate/AggregationsClause.test.js.map +1 -1
- package/build/browser/aggregate/AggregationsResults.js +0 -15
- package/build/browser/aggregate/AggregationsResults.js.map +1 -1
- package/build/browser/aggregate/ArrayFilter.js +2 -0
- package/build/browser/aggregate/ArrayFilter.js.map +1 -0
- package/build/browser/aggregate/BaseFilter.js +20 -0
- package/build/browser/aggregate/BaseFilter.js.map +1 -0
- package/build/browser/aggregate/BooleanFilter.js +19 -0
- package/build/browser/aggregate/BooleanFilter.js.map +1 -0
- package/build/browser/aggregate/DatetimeFilter.js +19 -0
- package/build/browser/aggregate/DatetimeFilter.js.map +1 -0
- package/build/browser/{objectSet/EXPERIMENTAL_ObjectSetListener.js → aggregate/GeoFilter.js} +2 -2
- package/build/browser/aggregate/GeoFilter.js.map +1 -0
- package/build/browser/aggregate/Just.js +2 -0
- package/build/browser/aggregate/Just.js.map +1 -0
- package/build/browser/aggregate/NumberFilter.js +19 -0
- package/build/browser/aggregate/NumberFilter.js.map +1 -0
- package/build/browser/aggregate/StringFilter.js +19 -0
- package/build/browser/aggregate/StringFilter.js.map +1 -0
- package/build/browser/aggregate/WhereClause.js +4 -1
- package/build/browser/aggregate/WhereClause.js.map +1 -1
- package/build/browser/definitions/LinkDefinitions.js +0 -15
- package/build/browser/definitions/LinkDefinitions.js.map +1 -1
- package/build/browser/definitions/LinkDefinitions.test.js +1 -0
- package/build/browser/definitions/LinkDefinitions.test.js.map +1 -1
- package/build/browser/derivedProperties/WithPropertiesAggregationOptions.js +2 -0
- package/build/browser/derivedProperties/WithPropertiesAggregationOptions.js.map +1 -0
- package/build/browser/experimental/Experiment.js +0 -15
- package/build/browser/experimental/Experiment.js.map +1 -1
- package/build/browser/experimental/createMediaReference.js +35 -0
- package/build/browser/experimental/createMediaReference.js.map +1 -0
- package/build/browser/experimental/{subscribe.js → fetchOneByRid.js} +4 -3
- package/build/browser/experimental/fetchOneByRid.js.map +1 -0
- package/build/browser/experimental/getBulkLinks.js +1 -0
- package/build/browser/experimental/getBulkLinks.js.map +1 -1
- package/build/browser/groupby/GroupByClause.js +1 -0
- package/build/browser/groupby/GroupByClause.js.map +1 -1
- package/build/browser/groupby/GroupByClause.test.js +1 -0
- package/build/browser/groupby/GroupByClause.test.js.map +1 -1
- package/build/browser/groupby/GroupByMapper.js +0 -15
- package/build/browser/groupby/GroupByMapper.js.map +1 -1
- package/build/browser/index.js +2 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/junk.test.js +1 -0
- package/build/browser/junk.test.js.map +1 -1
- package/build/browser/mapping/DataValueMapping.js +0 -15
- package/build/browser/mapping/DataValueMapping.js.map +1 -1
- package/build/browser/mapping/DurationMapping.js +1 -0
- package/build/browser/mapping/DurationMapping.js.map +1 -1
- package/build/browser/mapping/PropertyValueMapping.js +0 -15
- package/build/browser/mapping/PropertyValueMapping.js.map +1 -1
- package/build/browser/object/Attachment.js +0 -15
- package/build/browser/object/Attachment.js.map +1 -1
- package/build/browser/object/FetchPageArgs.js +1 -1
- package/build/browser/object/FetchPageArgs.js.map +1 -1
- package/build/browser/object/FetchPageResult.js +0 -15
- package/build/browser/object/FetchPageResult.js.map +1 -1
- package/build/browser/object/Media.js +2 -0
- package/build/browser/object/Media.js.map +1 -0
- package/build/browser/object/ObjectDefinitions.test.js +5 -0
- package/build/browser/object/ObjectDefinitions.test.js.map +1 -1
- package/build/browser/object/Result.js +2 -0
- package/build/browser/object/Result.js.map +1 -1
- package/build/browser/objectSet/BaseObjectSet.js +0 -15
- package/build/browser/objectSet/BaseObjectSet.js.map +1 -1
- package/build/browser/objectSet/BulkLinkResult.js +0 -15
- package/build/browser/objectSet/BulkLinkResult.js.map +1 -1
- package/build/browser/objectSet/ObjectSet.js +0 -15
- package/build/browser/objectSet/ObjectSet.js.map +1 -1
- package/build/browser/objectSet/ObjectSet.test.js +45 -0
- package/build/browser/objectSet/ObjectSet.test.js.map +1 -0
- package/build/browser/objectSet/ObjectSetListener.js +17 -0
- package/build/browser/objectSet/ObjectSetListener.js.map +1 -0
- package/build/browser/ontology/ActionDefinition.js +1 -1
- package/build/browser/ontology/ActionDefinition.js.map +1 -1
- package/build/browser/ontology/InterfaceDefinition.js +0 -15
- package/build/browser/ontology/InterfaceDefinition.js.map +1 -1
- package/build/browser/ontology/ObjectOrInterface.js +1 -1
- package/build/browser/ontology/ObjectOrInterface.js.map +1 -1
- package/build/browser/ontology/ObjectTypeDefinition.js +1 -1
- package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -1
- package/build/browser/ontology/OntologyMetadata.js +0 -15
- package/build/browser/ontology/OntologyMetadata.js.map +1 -1
- package/build/browser/ontology/PrimaryKeyTypes.js +0 -15
- package/build/browser/ontology/PrimaryKeyTypes.js.map +1 -1
- package/build/browser/ontology/QueryDefinition.js +0 -15
- package/build/browser/ontology/QueryDefinition.js.map +1 -1
- package/build/browser/ontology/SimplePropertyDef.js +17 -0
- package/build/browser/ontology/SimplePropertyDef.js.map +1 -0
- package/build/browser/ontology/SimplePropertyDef.test.js +48 -0
- package/build/browser/ontology/SimplePropertyDef.test.js.map +1 -0
- package/build/browser/ontology/VersionString.js +0 -15
- package/build/browser/ontology/VersionString.js.map +1 -1
- package/build/browser/ontology/WirePropertyTypes.js +0 -15
- package/build/browser/ontology/WirePropertyTypes.js.map +1 -1
- package/build/browser/public/unstable.js +3 -2
- package/build/browser/public/unstable.js.map +1 -1
- package/build/browser/queries/Aggregations.js +2 -0
- package/build/browser/queries/Aggregations.js.map +1 -0
- package/build/browser/queries/Queries.js +8 -1
- package/build/browser/queries/Queries.js.map +1 -1
- package/build/browser/timeseries/timeseries.js +1 -0
- package/build/browser/timeseries/timeseries.js.map +1 -1
- package/build/browser/util/LinkUtils.js +0 -15
- package/build/browser/util/LinkUtils.js.map +1 -1
- package/build/cjs/ObjectSet-BPh3Vefb.d.cts +1104 -0
- package/build/cjs/index.cjs +75 -0
- package/build/cjs/index.cjs.map +1 -0
- package/build/cjs/index.d.cts +416 -0
- package/build/cjs/public/unstable.cjs +28 -0
- package/build/cjs/public/unstable.cjs.map +1 -0
- package/build/cjs/public/unstable.d.cts +53 -0
- package/build/esm/Definitions.js +0 -15
- package/build/esm/Definitions.js.map +1 -1
- package/build/esm/OsdkBase.js +0 -15
- package/build/esm/OsdkBase.js.map +1 -1
- package/build/esm/OsdkMetadata.js +0 -15
- package/build/esm/OsdkMetadata.js.map +1 -1
- package/build/esm/OsdkObject.js +0 -15
- package/build/esm/OsdkObject.js.map +1 -1
- package/build/esm/OsdkObjectFrom.js +27 -1
- package/build/esm/OsdkObjectFrom.js.map +1 -1
- package/build/esm/OsdkObjectFrom.test.js +17 -0
- package/build/esm/OsdkObjectFrom.test.js.map +1 -1
- package/build/esm/OsdkObjectPrimaryKeyType.js +0 -15
- package/build/esm/OsdkObjectPrimaryKeyType.js.map +1 -1
- package/build/esm/PageResult.js +0 -15
- package/build/esm/PageResult.js.map +1 -1
- package/build/esm/actions/ActionResults.js +0 -15
- package/build/esm/actions/ActionResults.js.map +1 -1
- package/build/esm/actions/ActionReturnTypeForOptions.js +0 -15
- package/build/esm/actions/ActionReturnTypeForOptions.js.map +1 -1
- package/build/esm/actions/Actions.js +4 -1
- package/build/esm/actions/Actions.js.map +1 -1
- package/build/esm/aggregate/AggregatableKeys.js +0 -15
- package/build/esm/aggregate/AggregatableKeys.js.map +1 -1
- package/build/esm/aggregate/AggregateOpts.js +0 -15
- package/build/esm/aggregate/AggregateOpts.js.map +1 -1
- package/build/esm/aggregate/AggregateOptsThatErrors.js +0 -15
- package/build/esm/aggregate/AggregateOptsThatErrors.js.map +1 -1
- package/build/esm/aggregate/AggregationResultsWithGroups.js +0 -15
- package/build/esm/aggregate/AggregationResultsWithGroups.js.map +1 -1
- package/build/esm/aggregate/AggregationResultsWithoutGroups.js +0 -15
- package/build/esm/aggregate/AggregationResultsWithoutGroups.js.map +1 -1
- package/build/esm/aggregate/AggregationsClause.js +0 -15
- package/build/esm/aggregate/AggregationsClause.js.map +1 -1
- package/build/esm/aggregate/AggregationsClause.test.js +1 -0
- package/build/esm/aggregate/AggregationsClause.test.js.map +1 -1
- package/build/esm/aggregate/AggregationsResults.js +0 -15
- package/build/esm/aggregate/AggregationsResults.js.map +1 -1
- package/build/esm/aggregate/ArrayFilter.js +2 -0
- package/build/esm/aggregate/ArrayFilter.js.map +1 -0
- package/build/esm/aggregate/BaseFilter.js +20 -0
- package/build/esm/aggregate/BaseFilter.js.map +1 -0
- package/build/esm/aggregate/BooleanFilter.js +19 -0
- package/build/esm/aggregate/BooleanFilter.js.map +1 -0
- package/build/esm/aggregate/DatetimeFilter.js +19 -0
- package/build/esm/aggregate/DatetimeFilter.js.map +1 -0
- package/build/esm/{objectSet/EXPERIMENTAL_ObjectSetListener.js → aggregate/GeoFilter.js} +2 -2
- package/build/esm/aggregate/GeoFilter.js.map +1 -0
- package/build/esm/aggregate/Just.js +2 -0
- package/build/esm/aggregate/Just.js.map +1 -0
- package/build/esm/aggregate/NumberFilter.js +19 -0
- package/build/esm/aggregate/NumberFilter.js.map +1 -0
- package/build/esm/aggregate/StringFilter.js +19 -0
- package/build/esm/aggregate/StringFilter.js.map +1 -0
- package/build/esm/aggregate/WhereClause.js +4 -1
- package/build/esm/aggregate/WhereClause.js.map +1 -1
- package/build/esm/definitions/LinkDefinitions.js +0 -15
- package/build/esm/definitions/LinkDefinitions.js.map +1 -1
- package/build/esm/definitions/LinkDefinitions.test.js +1 -0
- package/build/esm/definitions/LinkDefinitions.test.js.map +1 -1
- package/build/esm/derivedProperties/WithPropertiesAggregationOptions.js +2 -0
- package/build/esm/derivedProperties/WithPropertiesAggregationOptions.js.map +1 -0
- package/build/esm/experimental/Experiment.js +0 -15
- package/build/esm/experimental/Experiment.js.map +1 -1
- package/build/esm/experimental/createMediaReference.js +35 -0
- package/build/esm/experimental/createMediaReference.js.map +1 -0
- package/build/esm/experimental/{subscribe.js → fetchOneByRid.js} +4 -3
- package/build/esm/experimental/fetchOneByRid.js.map +1 -0
- package/build/esm/experimental/getBulkLinks.js +1 -0
- package/build/esm/experimental/getBulkLinks.js.map +1 -1
- package/build/esm/groupby/GroupByClause.js +1 -0
- package/build/esm/groupby/GroupByClause.js.map +1 -1
- package/build/esm/groupby/GroupByClause.test.js +1 -0
- package/build/esm/groupby/GroupByClause.test.js.map +1 -1
- package/build/esm/groupby/GroupByMapper.js +0 -15
- package/build/esm/groupby/GroupByMapper.js.map +1 -1
- package/build/esm/index.js +2 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/junk.test.js +1 -0
- package/build/esm/junk.test.js.map +1 -1
- package/build/esm/mapping/DataValueMapping.js +0 -15
- package/build/esm/mapping/DataValueMapping.js.map +1 -1
- package/build/esm/mapping/DurationMapping.js +1 -0
- package/build/esm/mapping/DurationMapping.js.map +1 -1
- package/build/esm/mapping/PropertyValueMapping.js +0 -15
- package/build/esm/mapping/PropertyValueMapping.js.map +1 -1
- package/build/esm/object/Attachment.js +0 -15
- package/build/esm/object/Attachment.js.map +1 -1
- package/build/esm/object/FetchPageArgs.js +1 -1
- package/build/esm/object/FetchPageArgs.js.map +1 -1
- package/build/esm/object/FetchPageResult.js +0 -15
- package/build/esm/object/FetchPageResult.js.map +1 -1
- package/build/esm/object/Media.js +2 -0
- package/build/esm/object/Media.js.map +1 -0
- package/build/esm/object/ObjectDefinitions.test.js +5 -0
- package/build/esm/object/ObjectDefinitions.test.js.map +1 -1
- package/build/esm/object/Result.js +2 -0
- package/build/esm/object/Result.js.map +1 -1
- package/build/esm/objectSet/BaseObjectSet.js +0 -15
- package/build/esm/objectSet/BaseObjectSet.js.map +1 -1
- package/build/esm/objectSet/BulkLinkResult.js +0 -15
- package/build/esm/objectSet/BulkLinkResult.js.map +1 -1
- package/build/esm/objectSet/ObjectSet.js +0 -15
- package/build/esm/objectSet/ObjectSet.js.map +1 -1
- package/build/esm/objectSet/ObjectSet.test.js +45 -0
- package/build/esm/objectSet/ObjectSet.test.js.map +1 -0
- package/build/esm/objectSet/ObjectSetListener.js +17 -0
- package/build/esm/objectSet/ObjectSetListener.js.map +1 -0
- package/build/esm/ontology/ActionDefinition.js +1 -1
- package/build/esm/ontology/ActionDefinition.js.map +1 -1
- package/build/esm/ontology/InterfaceDefinition.js +0 -15
- package/build/esm/ontology/InterfaceDefinition.js.map +1 -1
- package/build/esm/ontology/ObjectOrInterface.js +1 -1
- package/build/esm/ontology/ObjectOrInterface.js.map +1 -1
- package/build/esm/ontology/ObjectTypeDefinition.js +1 -1
- package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -1
- package/build/esm/ontology/OntologyMetadata.js +0 -15
- package/build/esm/ontology/OntologyMetadata.js.map +1 -1
- package/build/esm/ontology/PrimaryKeyTypes.js +0 -15
- package/build/esm/ontology/PrimaryKeyTypes.js.map +1 -1
- package/build/esm/ontology/QueryDefinition.js +0 -15
- package/build/esm/ontology/QueryDefinition.js.map +1 -1
- package/build/esm/ontology/SimplePropertyDef.js +17 -0
- package/build/esm/ontology/SimplePropertyDef.js.map +1 -0
- package/build/esm/ontology/SimplePropertyDef.test.js +48 -0
- package/build/esm/ontology/SimplePropertyDef.test.js.map +1 -0
- package/build/esm/ontology/VersionString.js +0 -15
- package/build/esm/ontology/VersionString.js.map +1 -1
- package/build/esm/ontology/WirePropertyTypes.js +0 -15
- package/build/esm/ontology/WirePropertyTypes.js.map +1 -1
- package/build/esm/public/unstable.js +3 -2
- package/build/esm/public/unstable.js.map +1 -1
- package/build/esm/queries/Aggregations.js +2 -0
- package/build/esm/queries/Aggregations.js.map +1 -0
- package/build/esm/queries/Queries.js +8 -1
- package/build/esm/queries/Queries.js.map +1 -1
- package/build/esm/timeseries/timeseries.js +1 -0
- package/build/esm/timeseries/timeseries.js.map +1 -1
- package/build/esm/util/LinkUtils.js +0 -15
- package/build/esm/util/LinkUtils.js.map +1 -1
- package/build/types/Definitions.d.ts +24 -0
- package/build/types/Definitions.d.ts.map +1 -0
- package/build/{esm → types}/OsdkBase.d.ts +4 -5
- package/build/types/OsdkBase.d.ts.map +1 -0
- package/build/types/OsdkMetadata.d.ts +3 -0
- package/build/types/OsdkMetadata.d.ts.map +1 -0
- package/build/{browser → types}/OsdkObject.d.ts +5 -6
- package/build/types/OsdkObject.d.ts.map +1 -0
- package/build/types/OsdkObjectFrom.d.ts +99 -0
- package/build/types/OsdkObjectFrom.d.ts.map +1 -0
- package/build/types/OsdkObjectFrom.test.d.ts +1 -0
- package/build/types/OsdkObjectFrom.test.d.ts.map +1 -0
- package/build/{browser → types}/OsdkObjectPrimaryKeyType.d.ts +0 -1
- package/build/types/OsdkObjectPrimaryKeyType.d.ts.map +1 -0
- package/build/types/PageResult.d.ts +5 -0
- package/build/types/PageResult.d.ts.map +1 -0
- package/build/types/actions/ActionResults.d.ts +80 -0
- package/build/types/actions/ActionResults.d.ts.map +1 -0
- package/build/{browser → types}/actions/ActionReturnTypeForOptions.d.ts +2 -3
- package/build/types/actions/ActionReturnTypeForOptions.d.ts.map +1 -0
- package/build/types/actions/Actions.d.ts +34 -0
- package/build/types/actions/Actions.d.ts.map +1 -0
- package/build/types/aggregate/AggregatableKeys.d.ts +18 -0
- package/build/types/aggregate/AggregatableKeys.d.ts.map +1 -0
- package/build/{browser → types}/aggregate/AggregateOpts.d.ts +2 -5
- package/build/types/aggregate/AggregateOpts.d.ts.map +1 -0
- package/build/types/aggregate/AggregateOptsThatErrors.d.ts +21 -0
- package/build/types/aggregate/AggregateOptsThatErrors.d.ts.map +1 -0
- package/build/{browser → types}/aggregate/AggregationResultsWithGroups.d.ts +11 -10
- package/build/types/aggregate/AggregationResultsWithGroups.d.ts.map +1 -0
- package/build/types/aggregate/AggregationResultsWithoutGroups.d.ts +14 -0
- package/build/types/aggregate/AggregationResultsWithoutGroups.d.ts.map +1 -0
- package/build/{esm → types}/aggregate/AggregationsClause.d.ts +2 -7
- package/build/types/aggregate/AggregationsClause.d.ts.map +1 -0
- package/build/types/aggregate/AggregationsClause.test.d.ts +46 -0
- package/build/types/aggregate/AggregationsClause.test.d.ts.map +1 -0
- package/build/types/aggregate/AggregationsResults.d.ts +9 -0
- package/build/types/aggregate/AggregationsResults.d.ts.map +1 -0
- package/build/types/aggregate/ArrayFilter.d.ts +11 -0
- package/build/types/aggregate/ArrayFilter.d.ts.map +1 -0
- package/build/types/aggregate/BaseFilter.d.ts +14 -0
- package/build/types/aggregate/BaseFilter.d.ts.map +1 -0
- package/build/types/aggregate/BooleanFilter.d.ts +11 -0
- package/build/types/aggregate/BooleanFilter.d.ts.map +1 -0
- package/build/types/aggregate/DatetimeFilter.d.ts +19 -0
- package/build/types/aggregate/DatetimeFilter.d.ts.map +1 -0
- package/build/types/aggregate/GeoFilter.d.ts +35 -0
- package/build/types/aggregate/GeoFilter.d.ts.map +1 -0
- package/build/types/aggregate/Just.d.ts +5 -0
- package/build/types/aggregate/Just.d.ts.map +1 -0
- package/build/types/aggregate/NumberFilter.d.ts +20 -0
- package/build/types/aggregate/NumberFilter.d.ts.map +1 -0
- package/build/types/aggregate/StringFilter.d.ts +27 -0
- package/build/types/aggregate/StringFilter.d.ts.map +1 -0
- package/build/types/aggregate/WhereClause.d.ts +80 -0
- package/build/types/aggregate/WhereClause.d.ts.map +1 -0
- package/build/types/definitions/LinkDefinitions.d.ts +21 -0
- package/build/types/definitions/LinkDefinitions.d.ts.map +1 -0
- package/build/types/definitions/LinkDefinitions.test.d.ts +1 -0
- package/build/types/definitions/LinkDefinitions.test.d.ts.map +1 -0
- package/build/types/derivedProperties/WithPropertiesAggregationOptions.d.ts +4 -0
- package/build/types/derivedProperties/WithPropertiesAggregationOptions.d.ts.map +1 -0
- package/build/types/experimental/Experiment.d.ts +11 -0
- package/build/types/experimental/Experiment.d.ts.map +1 -0
- package/build/types/experimental/createMediaReference.d.ts +24 -0
- package/build/types/experimental/createMediaReference.d.ts.map +1 -0
- package/build/types/experimental/fetchOneByRid.d.ts +15 -0
- package/build/types/experimental/fetchOneByRid.d.ts.map +1 -0
- package/build/{esm → types}/experimental/getBulkLinks.d.ts +1 -2
- package/build/types/experimental/getBulkLinks.d.ts.map +1 -0
- package/build/types/groupby/GroupByClause.d.ts +71 -0
- package/build/types/groupby/GroupByClause.d.ts.map +1 -0
- package/build/types/groupby/GroupByClause.test.d.ts +23 -0
- package/build/types/groupby/GroupByClause.test.d.ts.map +1 -0
- package/build/types/groupby/GroupByMapper.d.ts +13 -0
- package/build/types/groupby/GroupByMapper.d.ts.map +1 -0
- package/build/types/index.d.ts +44 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/junk.test.d.ts +1 -0
- package/build/types/junk.test.d.ts.map +1 -0
- package/build/types/mapping/DataValueMapping.d.ts +79 -0
- package/build/types/mapping/DataValueMapping.d.ts.map +1 -0
- package/build/types/mapping/DurationMapping.d.ts +22 -0
- package/build/types/mapping/DurationMapping.d.ts.map +1 -0
- package/build/types/mapping/PropertyValueMapping.d.ts +57 -0
- package/build/types/mapping/PropertyValueMapping.d.ts.map +1 -0
- package/build/types/object/Attachment.d.ts +21 -0
- package/build/types/object/Attachment.d.ts.map +1 -0
- package/build/types/object/FetchPageArgs.d.ts +49 -0
- package/build/types/object/FetchPageArgs.d.ts.map +1 -0
- package/build/types/object/FetchPageResult.d.ts +39 -0
- package/build/types/object/FetchPageResult.d.ts.map +1 -0
- package/build/types/object/Media.d.ts +32 -0
- package/build/types/object/Media.d.ts.map +1 -0
- package/build/types/object/ObjectDefinitions.test.d.ts +1 -0
- package/build/types/object/ObjectDefinitions.test.d.ts.map +1 -0
- package/build/types/object/Result.d.ts +21 -0
- package/build/types/object/Result.d.ts.map +1 -0
- package/build/{esm → types}/objectSet/BaseObjectSet.d.ts +3 -4
- package/build/types/objectSet/BaseObjectSet.d.ts.map +1 -0
- package/build/types/objectSet/BulkLinkResult.d.ts +7 -0
- package/build/types/objectSet/BulkLinkResult.d.ts.map +1 -0
- package/build/types/objectSet/ObjectSet.d.ts +210 -0
- package/build/types/objectSet/ObjectSet.d.ts.map +1 -0
- package/build/types/objectSet/ObjectSet.test.d.ts +1 -0
- package/build/types/objectSet/ObjectSet.test.d.ts.map +1 -0
- package/build/types/objectSet/ObjectSetListener.d.ts +43 -0
- package/build/types/objectSet/ObjectSetListener.d.ts.map +1 -0
- package/build/types/ontology/ActionDefinition.d.ts +55 -0
- package/build/types/ontology/ActionDefinition.d.ts.map +1 -0
- package/build/{browser → types}/ontology/InterfaceDefinition.d.ts +6 -6
- package/build/types/ontology/InterfaceDefinition.d.ts.map +1 -0
- package/build/types/ontology/ObjectOrInterface.d.ts +19 -0
- package/build/types/ontology/ObjectOrInterface.d.ts.map +1 -0
- package/build/types/ontology/ObjectTypeDefinition.d.ts +92 -0
- package/build/types/ontology/ObjectTypeDefinition.d.ts.map +1 -0
- package/build/types/ontology/OntologyMetadata.d.ts +6 -0
- package/build/types/ontology/OntologyMetadata.d.ts.map +1 -0
- package/build/{browser → types}/ontology/PrimaryKeyTypes.d.ts +0 -1
- package/build/types/ontology/PrimaryKeyTypes.d.ts.map +1 -0
- package/build/{browser → types}/ontology/QueryDefinition.d.ts +35 -33
- package/build/types/ontology/QueryDefinition.d.ts.map +1 -0
- package/build/types/ontology/SimplePropertyDef.d.ts +18 -0
- package/build/types/ontology/SimplePropertyDef.d.ts.map +1 -0
- package/build/types/ontology/SimplePropertyDef.test.d.ts +1 -0
- package/build/types/ontology/SimplePropertyDef.test.d.ts.map +1 -0
- package/build/types/ontology/VersionString.d.ts +5 -0
- package/build/types/ontology/VersionString.d.ts.map +1 -0
- package/build/types/ontology/WirePropertyTypes.d.ts +2 -0
- package/build/types/ontology/WirePropertyTypes.d.ts.map +1 -0
- package/build/types/public/unstable.d.ts +6 -0
- package/build/types/public/unstable.d.ts.map +1 -0
- package/build/types/queries/Aggregations.d.ts +39 -0
- package/build/types/queries/Aggregations.d.ts.map +1 -0
- package/build/types/queries/Queries.d.ts +43 -0
- package/build/types/queries/Queries.d.ts.map +1 -0
- package/build/types/timeseries/timeseries.d.ts +124 -0
- package/build/types/timeseries/timeseries.d.ts.map +1 -0
- package/build/{browser → types}/util/LinkUtils.d.ts +4 -2
- package/build/types/util/LinkUtils.d.ts.map +1 -0
- package/package.json +32 -10
- package/unstable.d.ts +17 -0
- package/build/browser/Definitions.d.ts +0 -16
- package/build/browser/Definitions.d.ts.map +0 -1
- package/build/browser/OsdkBase.d.ts +0 -13
- package/build/browser/OsdkBase.d.ts.map +0 -1
- package/build/browser/OsdkMetadata.d.ts +0 -4
- package/build/browser/OsdkMetadata.d.ts.map +0 -1
- package/build/browser/OsdkObject.d.ts.map +0 -1
- package/build/browser/OsdkObjectFrom.d.ts +0 -58
- package/build/browser/OsdkObjectFrom.d.ts.map +0 -1
- package/build/browser/OsdkObjectFrom.test.d.ts +0 -2
- package/build/browser/OsdkObjectFrom.test.d.ts.map +0 -1
- package/build/browser/OsdkObjectPrimaryKeyType.d.ts.map +0 -1
- package/build/browser/PageResult.d.ts +0 -6
- package/build/browser/PageResult.d.ts.map +0 -1
- package/build/browser/actions/ActionResults.d.ts +0 -81
- package/build/browser/actions/ActionResults.d.ts.map +0 -1
- package/build/browser/actions/ActionReturnTypeForOptions.d.ts.map +0 -1
- package/build/browser/actions/Actions.d.ts +0 -36
- package/build/browser/actions/Actions.d.ts.map +0 -1
- package/build/browser/aggregate/AggregatableKeys.d.ts +0 -16
- package/build/browser/aggregate/AggregatableKeys.d.ts.map +0 -1
- package/build/browser/aggregate/AggregateOpts.d.ts.map +0 -1
- package/build/browser/aggregate/AggregateOptsThatErrors.d.ts +0 -17
- package/build/browser/aggregate/AggregateOptsThatErrors.d.ts.map +0 -1
- package/build/browser/aggregate/AggregationResultsWithGroups.d.ts.map +0 -1
- package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts +0 -13
- package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts.map +0 -1
- package/build/browser/aggregate/AggregationsClause.d.ts +0 -10
- package/build/browser/aggregate/AggregationsClause.d.ts.map +0 -1
- package/build/browser/aggregate/AggregationsClause.test.d.ts +0 -47
- package/build/browser/aggregate/AggregationsClause.test.d.ts.map +0 -1
- package/build/browser/aggregate/AggregationsResults.d.ts +0 -7
- package/build/browser/aggregate/AggregationsResults.d.ts.map +0 -1
- package/build/browser/aggregate/WhereClause.d.ts +0 -78
- package/build/browser/aggregate/WhereClause.d.ts.map +0 -1
- package/build/browser/definitions/LinkDefinitions.d.ts +0 -21
- package/build/browser/definitions/LinkDefinitions.d.ts.map +0 -1
- package/build/browser/definitions/LinkDefinitions.test.d.ts +0 -2
- package/build/browser/definitions/LinkDefinitions.test.d.ts.map +0 -1
- package/build/browser/experimental/Experiment.d.ts +0 -8
- package/build/browser/experimental/Experiment.d.ts.map +0 -1
- package/build/browser/experimental/getBulkLinks.d.ts +0 -10
- package/build/browser/experimental/getBulkLinks.d.ts.map +0 -1
- package/build/browser/experimental/preexistingObjectSet.d.ts +0 -10
- package/build/browser/experimental/preexistingObjectSet.d.ts.map +0 -1
- package/build/browser/experimental/preexistingObjectSet.js +0 -21
- package/build/browser/experimental/preexistingObjectSet.js.map +0 -1
- package/build/browser/experimental/subscribe.d.ts +0 -12
- package/build/browser/experimental/subscribe.d.ts.map +0 -1
- package/build/browser/experimental/subscribe.js.map +0 -1
- package/build/browser/groupby/GroupByClause.d.ts +0 -73
- package/build/browser/groupby/GroupByClause.d.ts.map +0 -1
- package/build/browser/groupby/GroupByClause.test.d.ts +0 -24
- package/build/browser/groupby/GroupByClause.test.d.ts.map +0 -1
- package/build/browser/groupby/GroupByMapper.d.ts +0 -14
- package/build/browser/groupby/GroupByMapper.d.ts.map +0 -1
- package/build/browser/index.d.ts +0 -42
- package/build/browser/index.d.ts.map +0 -1
- package/build/browser/junk.test.d.ts +0 -2
- package/build/browser/junk.test.d.ts.map +0 -1
- package/build/browser/mapping/DataValueMapping.d.ts +0 -71
- package/build/browser/mapping/DataValueMapping.d.ts.map +0 -1
- package/build/browser/mapping/DurationMapping.d.ts +0 -23
- package/build/browser/mapping/DurationMapping.d.ts.map +0 -1
- package/build/browser/mapping/PropertyValueMapping.d.ts +0 -49
- package/build/browser/mapping/PropertyValueMapping.d.ts.map +0 -1
- package/build/browser/object/Attachment.d.ts +0 -25
- package/build/browser/object/Attachment.d.ts.map +0 -1
- package/build/browser/object/FetchPageArgs.d.ts +0 -27
- package/build/browser/object/FetchPageArgs.d.ts.map +0 -1
- package/build/browser/object/FetchPageResult.d.ts +0 -20
- package/build/browser/object/FetchPageResult.d.ts.map +0 -1
- package/build/browser/object/ObjectDefinitions.test.d.ts +0 -2
- package/build/browser/object/ObjectDefinitions.test.d.ts.map +0 -1
- package/build/browser/object/Result.d.ts +0 -22
- package/build/browser/object/Result.d.ts.map +0 -1
- package/build/browser/objectSet/BaseObjectSet.d.ts +0 -7
- package/build/browser/objectSet/BaseObjectSet.d.ts.map +0 -1
- package/build/browser/objectSet/BulkLinkResult.d.ts +0 -8
- package/build/browser/objectSet/BulkLinkResult.d.ts.map +0 -1
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +0 -27
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +0 -1
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +0 -1
- package/build/browser/objectSet/ObjectSet.d.ts +0 -142
- package/build/browser/objectSet/ObjectSet.d.ts.map +0 -1
- package/build/browser/ontology/ActionDefinition.d.ts +0 -46
- package/build/browser/ontology/ActionDefinition.d.ts.map +0 -1
- package/build/browser/ontology/InterfaceDefinition.d.ts.map +0 -1
- package/build/browser/ontology/ObjectOrInterface.d.ts +0 -5
- package/build/browser/ontology/ObjectOrInterface.d.ts.map +0 -1
- package/build/browser/ontology/ObjectTypeDefinition.d.ts +0 -83
- package/build/browser/ontology/ObjectTypeDefinition.d.ts.map +0 -1
- package/build/browser/ontology/OntologyMetadata.d.ts +0 -7
- package/build/browser/ontology/OntologyMetadata.d.ts.map +0 -1
- package/build/browser/ontology/PrimaryKeyTypes.d.ts.map +0 -1
- package/build/browser/ontology/QueryDefinition.d.ts.map +0 -1
- package/build/browser/ontology/VersionString.d.ts +0 -2
- package/build/browser/ontology/VersionString.d.ts.map +0 -1
- package/build/browser/ontology/WirePropertyTypes.d.ts +0 -2
- package/build/browser/ontology/WirePropertyTypes.d.ts.map +0 -1
- package/build/browser/public/unstable.d.ts +0 -8
- package/build/browser/public/unstable.d.ts.map +0 -1
- package/build/browser/queries/Queries.d.ts +0 -40
- package/build/browser/queries/Queries.d.ts.map +0 -1
- package/build/browser/timeseries/timeseries.d.ts +0 -125
- package/build/browser/timeseries/timeseries.d.ts.map +0 -1
- package/build/browser/util/LinkUtils.d.ts.map +0 -1
- package/build/esm/Definitions.d.ts +0 -16
- package/build/esm/Definitions.d.ts.map +0 -1
- package/build/esm/OsdkBase.d.ts.map +0 -1
- package/build/esm/OsdkMetadata.d.ts +0 -4
- package/build/esm/OsdkMetadata.d.ts.map +0 -1
- package/build/esm/OsdkObject.d.ts +0 -11
- package/build/esm/OsdkObject.d.ts.map +0 -1
- package/build/esm/OsdkObjectFrom.d.ts +0 -58
- package/build/esm/OsdkObjectFrom.d.ts.map +0 -1
- package/build/esm/OsdkObjectFrom.test.d.ts +0 -2
- package/build/esm/OsdkObjectFrom.test.d.ts.map +0 -1
- package/build/esm/OsdkObjectPrimaryKeyType.d.ts +0 -4
- package/build/esm/OsdkObjectPrimaryKeyType.d.ts.map +0 -1
- package/build/esm/PageResult.d.ts +0 -6
- package/build/esm/PageResult.d.ts.map +0 -1
- package/build/esm/actions/ActionResults.d.ts +0 -81
- package/build/esm/actions/ActionResults.d.ts.map +0 -1
- package/build/esm/actions/ActionReturnTypeForOptions.d.ts +0 -7
- package/build/esm/actions/ActionReturnTypeForOptions.d.ts.map +0 -1
- package/build/esm/actions/Actions.d.ts +0 -36
- package/build/esm/actions/Actions.d.ts.map +0 -1
- package/build/esm/aggregate/AggregatableKeys.d.ts +0 -16
- package/build/esm/aggregate/AggregatableKeys.d.ts.map +0 -1
- package/build/esm/aggregate/AggregateOpts.d.ts +0 -10
- package/build/esm/aggregate/AggregateOpts.d.ts.map +0 -1
- package/build/esm/aggregate/AggregateOptsThatErrors.d.ts +0 -17
- package/build/esm/aggregate/AggregateOptsThatErrors.d.ts.map +0 -1
- package/build/esm/aggregate/AggregationResultsWithGroups.d.ts +0 -17
- package/build/esm/aggregate/AggregationResultsWithGroups.d.ts.map +0 -1
- package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts +0 -13
- package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts.map +0 -1
- package/build/esm/aggregate/AggregationsClause.d.ts.map +0 -1
- package/build/esm/aggregate/AggregationsClause.test.d.ts +0 -47
- package/build/esm/aggregate/AggregationsClause.test.d.ts.map +0 -1
- package/build/esm/aggregate/AggregationsResults.d.ts +0 -7
- package/build/esm/aggregate/AggregationsResults.d.ts.map +0 -1
- package/build/esm/aggregate/WhereClause.d.ts +0 -78
- package/build/esm/aggregate/WhereClause.d.ts.map +0 -1
- package/build/esm/definitions/LinkDefinitions.d.ts +0 -21
- package/build/esm/definitions/LinkDefinitions.d.ts.map +0 -1
- package/build/esm/definitions/LinkDefinitions.test.d.ts +0 -2
- package/build/esm/definitions/LinkDefinitions.test.d.ts.map +0 -1
- package/build/esm/experimental/Experiment.d.ts +0 -8
- package/build/esm/experimental/Experiment.d.ts.map +0 -1
- package/build/esm/experimental/getBulkLinks.d.ts.map +0 -1
- package/build/esm/experimental/preexistingObjectSet.d.ts +0 -10
- package/build/esm/experimental/preexistingObjectSet.d.ts.map +0 -1
- package/build/esm/experimental/preexistingObjectSet.js +0 -21
- package/build/esm/experimental/preexistingObjectSet.js.map +0 -1
- package/build/esm/experimental/subscribe.d.ts +0 -12
- package/build/esm/experimental/subscribe.d.ts.map +0 -1
- package/build/esm/experimental/subscribe.js.map +0 -1
- package/build/esm/groupby/GroupByClause.d.ts +0 -73
- package/build/esm/groupby/GroupByClause.d.ts.map +0 -1
- package/build/esm/groupby/GroupByClause.test.d.ts +0 -24
- package/build/esm/groupby/GroupByClause.test.d.ts.map +0 -1
- package/build/esm/groupby/GroupByMapper.d.ts +0 -14
- package/build/esm/groupby/GroupByMapper.d.ts.map +0 -1
- package/build/esm/index.d.ts +0 -42
- package/build/esm/index.d.ts.map +0 -1
- package/build/esm/junk.test.d.ts +0 -2
- package/build/esm/junk.test.d.ts.map +0 -1
- package/build/esm/mapping/DataValueMapping.d.ts +0 -71
- package/build/esm/mapping/DataValueMapping.d.ts.map +0 -1
- package/build/esm/mapping/DurationMapping.d.ts +0 -23
- package/build/esm/mapping/DurationMapping.d.ts.map +0 -1
- package/build/esm/mapping/PropertyValueMapping.d.ts +0 -49
- package/build/esm/mapping/PropertyValueMapping.d.ts.map +0 -1
- package/build/esm/object/Attachment.d.ts +0 -25
- package/build/esm/object/Attachment.d.ts.map +0 -1
- package/build/esm/object/FetchPageArgs.d.ts +0 -27
- package/build/esm/object/FetchPageArgs.d.ts.map +0 -1
- package/build/esm/object/FetchPageResult.d.ts +0 -20
- package/build/esm/object/FetchPageResult.d.ts.map +0 -1
- package/build/esm/object/ObjectDefinitions.test.d.ts +0 -2
- package/build/esm/object/ObjectDefinitions.test.d.ts.map +0 -1
- package/build/esm/object/Result.d.ts +0 -22
- package/build/esm/object/Result.d.ts.map +0 -1
- package/build/esm/objectSet/BaseObjectSet.d.ts.map +0 -1
- package/build/esm/objectSet/BulkLinkResult.d.ts +0 -8
- package/build/esm/objectSet/BulkLinkResult.d.ts.map +0 -1
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +0 -27
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +0 -1
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +0 -1
- package/build/esm/objectSet/ObjectSet.d.ts +0 -142
- package/build/esm/objectSet/ObjectSet.d.ts.map +0 -1
- package/build/esm/ontology/ActionDefinition.d.ts +0 -46
- package/build/esm/ontology/ActionDefinition.d.ts.map +0 -1
- package/build/esm/ontology/InterfaceDefinition.d.ts +0 -12
- package/build/esm/ontology/InterfaceDefinition.d.ts.map +0 -1
- package/build/esm/ontology/ObjectOrInterface.d.ts +0 -5
- package/build/esm/ontology/ObjectOrInterface.d.ts.map +0 -1
- package/build/esm/ontology/ObjectTypeDefinition.d.ts +0 -83
- package/build/esm/ontology/ObjectTypeDefinition.d.ts.map +0 -1
- package/build/esm/ontology/OntologyMetadata.d.ts +0 -7
- package/build/esm/ontology/OntologyMetadata.d.ts.map +0 -1
- package/build/esm/ontology/PrimaryKeyTypes.d.ts +0 -2
- package/build/esm/ontology/PrimaryKeyTypes.d.ts.map +0 -1
- package/build/esm/ontology/QueryDefinition.d.ts +0 -68
- package/build/esm/ontology/QueryDefinition.d.ts.map +0 -1
- package/build/esm/ontology/VersionString.d.ts +0 -2
- package/build/esm/ontology/VersionString.d.ts.map +0 -1
- package/build/esm/ontology/WirePropertyTypes.d.ts +0 -2
- package/build/esm/ontology/WirePropertyTypes.d.ts.map +0 -1
- package/build/esm/public/unstable.d.ts +0 -8
- package/build/esm/public/unstable.d.ts.map +0 -1
- package/build/esm/queries/Queries.d.ts +0 -40
- package/build/esm/queries/Queries.d.ts.map +0 -1
- package/build/esm/timeseries/timeseries.d.ts +0 -125
- package/build/esm/timeseries/timeseries.d.ts.map +0 -1
- package/build/esm/util/LinkUtils.d.ts +0 -5
- package/build/esm/util/LinkUtils.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.
|
|
1
|
+
{"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { ObjectTypeDefinition } from \"./ObjectTypeDefinition.js\";\n\nexport interface QueryMetadata {\n type: \"query\";\n apiName: string;\n description?: string;\n displayName?: string;\n version: string;\n parameters: Record<string, QueryParameterDefinition<any>>;\n output: QueryDataTypeDefinition;\n rid: string;\n}\n\nexport interface QueryCompileTimeMetadata<T> {\n signature: T;\n}\n\nexport interface QueryDefinition<T = any> {\n type: \"query\";\n apiName: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & QueryCompileTimeMetadata<T>\n & QueryMetadata;\n}\n\nexport type QueryParameterDefinition<\n T_Target extends ObjectTypeDefinition = any,\n> = {\n description?: string;\n} & QueryDataTypeDefinition<T_Target>;\n\nexport type QueryDataTypeDefinition<\n T_Target extends ObjectTypeDefinition = any,\n> =\n | PrimitiveDataType\n | ObjectQueryDataType<T_Target>\n | ObjectSetQueryDataType<T_Target>\n | SetQueryDataType\n | UnionQueryDataType\n | StructQueryDataType\n | TwoDimensionalAggregationDataType\n | ThreeDimensionalAggregationDataType;\n\nexport type BaseQueryDataTypeDefinition<T extends string> = {\n multiplicity?: boolean;\n nullable?: boolean;\n type: T;\n};\n\nexport type WireQueryDataTypes =\n | \"double\"\n | \"float\"\n | \"integer\"\n | \"long\"\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"timestamp\"\n | \"attachment\";\n\nexport type PrimitiveDataType<\n Q extends WireQueryDataTypes = WireQueryDataTypes,\n> = BaseQueryDataTypeDefinition<Q>;\n\nexport interface ObjectQueryDataType<\n T_Target extends ObjectTypeDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"object\"> {\n object: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface ObjectSetQueryDataType<\n T_Target extends ObjectTypeDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"objectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface SetQueryDataType extends BaseQueryDataTypeDefinition<\"set\"> {\n set: QueryDataTypeDefinition;\n}\n\nexport interface UnionQueryDataType\n extends BaseQueryDataTypeDefinition<\"union\">\n{\n union: ReadonlyArray<QueryDataTypeDefinition>;\n}\n\nexport interface StructQueryDataType\n extends BaseQueryDataTypeDefinition<\"struct\">\n{\n struct: Record<string, QueryDataTypeDefinition>;\n}\n\nexport interface TwoDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"twoDimensionalAggregation\">\n{\n twoDimensionalAggregation: TwoDimensionalQueryAggregationDefinition;\n}\n\nexport interface ThreeDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"threeDimensionalAggregation\">\n{\n threeDimensionalAggregation: ThreeDimensionalQueryAggregationDefinition;\n}\n\nexport type AggregationKeyDataType<V = any> =\n | SimpleAggregationKeyDataType<V>\n | RangeAggregationKeyDataType<V>;\n\nexport interface SimpleAggregationKeyDataType<V = any> {\n keyType: Exclude<AggregationKeyTypes, \"range\">;\n valueType: V;\n}\nexport interface RangeAggregationKeyDataType<V = any> {\n keyType: \"range\";\n keySubtype: AggregationRangeKeyTypes;\n valueType: V;\n}\n\nexport type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n AggregationValueTypes\n>;\n\nexport type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n TwoDimensionalQueryAggregationDefinition\n>;\n\nexport type AggregationKeyTypes =\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\"\n | \"range\";\n\nexport type AggregationRangeKeyTypes =\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\";\n\nexport type AggregationValueTypes = \"date\" | \"double\" | \"timestamp\";\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2023 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 SimplePropertyDef;
|
|
17
|
+
//# sourceMappingURL=SimplePropertyDef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimplePropertyDef.js","names":["SimplePropertyDef"],"sources":["SimplePropertyDef.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { GetClientPropertyValueFromWire } from \"../mapping/PropertyValueMapping.js\";\nimport type { ObjectMetadata, PropertyDef } from \"./ObjectTypeDefinition.js\";\nimport type { WirePropertyTypes } from \"./WirePropertyTypes.js\";\n\nexport type SimplePropertyDef =\n | WirePropertyTypes\n | undefined\n | Array<WirePropertyTypes>;\n\nexport namespace SimplePropertyDef {\n export type Make<\n T extends WirePropertyTypes,\n N extends boolean | undefined,\n M extends boolean | undefined,\n > =\n // while it is cleaner to just do this as the union of two conditionals, it\n // actually makes it so that it can't be derived inline which we want\n // to keep things simple so instead of :\n // | (P[\"multiplicity\"] extends true ? Array<P[\"type\"]> : P[\"type\"])\n // | (P[\"nullable\"] extends true ? undefined : never);\n // we do:\n M extends true ? N extends true ? Array<T> | undefined\n : Array<T>\n : N extends true ? T | undefined\n : T;\n\n export type FromPropertyMetadata<\n P extends ObjectMetadata.Property,\n > = Make<P[\"type\"], P[\"nullable\"], P[\"multiplicity\"]>;\n\n // exported for testing\n export type ExtractMultiplicity<\n T extends\n | WirePropertyTypes\n | undefined\n | Array<WirePropertyTypes>,\n > = NonNullable<T> extends Array<any> ? \"array\" : \"single\";\n\n // exported for testing\n export type ExtractWirePropertyType<\n T extends SimplePropertyDef,\n > = T extends Array<infer Z> ? NonNullable<Z> : NonNullable<T>;\n\n // exported for testing\n export type ExtractNullable<\n T extends SimplePropertyDef,\n > = [undefined] extends [T] ? \"nullable\"\n : [[undefined]] extends [T] ? \"nullable\"\n : \"non-nullable\";\n\n export type ToPropertyDef<S extends SimplePropertyDef> = PropertyDef<\n SimplePropertyDef.ExtractWirePropertyType<S>,\n SimplePropertyDef.ExtractNullable<S>,\n SimplePropertyDef.ExtractMultiplicity<S>\n >;\n\n export type ExtractRuntimeBaseType<S extends SimplePropertyDef> =\n GetClientPropertyValueFromWire<\n SimplePropertyDef.ExtractWirePropertyType<S>\n >;\n\n export type ToRuntimeProperty<S extends SimplePropertyDef> =\n ExtractMultiplicity<S> extends \"array\"\n ? ExtractNullable<S> extends \"nullable\"\n ? Array<ExtractRuntimeBaseType<S>> | undefined\n : Array<ExtractRuntimeBaseType<S>>\n : ExtractNullable<S> extends \"nullable\"\n ? ExtractRuntimeBaseType<S> | undefined\n : ExtractRuntimeBaseType<S>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyBiBA,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 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
|
+
|
|
17
|
+
import { describe, expectTypeOf, it, test } from "vitest";
|
|
18
|
+
describe("Type conversion", () => {
|
|
19
|
+
test("SimplePropertyDef.ExtractMultiplicity", () => {
|
|
20
|
+
expectTypeOf().toEqualTypeOf();
|
|
21
|
+
expectTypeOf().toEqualTypeOf();
|
|
22
|
+
expectTypeOf().toEqualTypeOf();
|
|
23
|
+
expectTypeOf().toEqualTypeOf();
|
|
24
|
+
});
|
|
25
|
+
test("SimplePropertyDef.ExtractNullable", () => {
|
|
26
|
+
expectTypeOf().toEqualTypeOf();
|
|
27
|
+
expectTypeOf().toEqualTypeOf();
|
|
28
|
+
expectTypeOf().toEqualTypeOf();
|
|
29
|
+
expectTypeOf().toEqualTypeOf();
|
|
30
|
+
});
|
|
31
|
+
test("SimplePropertyDef.ExtractWirePropertyType", () => {
|
|
32
|
+
expectTypeOf().toEqualTypeOf();
|
|
33
|
+
expectTypeOf().toEqualTypeOf();
|
|
34
|
+
expectTypeOf().toEqualTypeOf();
|
|
35
|
+
expectTypeOf().toEqualTypeOf();
|
|
36
|
+
});
|
|
37
|
+
it("SimplePropertyDef.FromPropertyMetadata", () => {
|
|
38
|
+
expectTypeOf().toEqualTypeOf();
|
|
39
|
+
expectTypeOf().toEqualTypeOf();
|
|
40
|
+
expectTypeOf().toEqualTypeOf();
|
|
41
|
+
expectTypeOf().toEqualTypeOf();
|
|
42
|
+
});
|
|
43
|
+
test(".ToRuntimeProperty", () => {
|
|
44
|
+
expectTypeOf().toEqualTypeOf();
|
|
45
|
+
expectTypeOf().toEqualTypeOf();
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=SimplePropertyDef.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimplePropertyDef.test.js","names":["describe","expectTypeOf","it","test","toEqualTypeOf"],"sources":["SimplePropertyDef.test.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 { describe, expectTypeOf, it, test } from \"vitest\";\nimport type { PropertyDef } from \"./ObjectTypeDefinition.js\";\nimport type { SimplePropertyDef } from \"./SimplePropertyDef.js\";\n\ndescribe(\"Type conversion\", () => {\n test(\"SimplePropertyDef.ExtractMultiplicity\", () => {\n expectTypeOf<SimplePropertyDef.ExtractMultiplicity<\"string\"[]>>()\n .toEqualTypeOf<\"array\">();\n expectTypeOf<\n SimplePropertyDef.ExtractMultiplicity<\"string\"[] | undefined>\n >()\n .toEqualTypeOf<\"array\">();\n\n expectTypeOf<SimplePropertyDef.ExtractMultiplicity<\"string\">>()\n .toEqualTypeOf<\"single\">();\n expectTypeOf<SimplePropertyDef.ExtractMultiplicity<\"string\" | undefined>>()\n .toEqualTypeOf<\"single\">();\n });\n\n test(\"SimplePropertyDef.ExtractNullable\", () => {\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\"[]>>()\n .toEqualTypeOf<\"non-nullable\">();\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\"[] | undefined>>()\n .toEqualTypeOf<\"nullable\">();\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\">>()\n .toEqualTypeOf<\"non-nullable\">();\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\" | undefined>>()\n .toEqualTypeOf<\"nullable\">();\n });\n\n test(\"SimplePropertyDef.ExtractWirePropertyType\", () => {\n expectTypeOf<SimplePropertyDef.ExtractWirePropertyType<\"string\"[]>>()\n .toEqualTypeOf<\"string\">();\n expectTypeOf<\n SimplePropertyDef.ExtractWirePropertyType<\"string\"[] | undefined>\n >()\n .toEqualTypeOf<\"string\">();\n expectTypeOf<SimplePropertyDef.ExtractWirePropertyType<\"string\">>()\n .toEqualTypeOf<\"string\">();\n expectTypeOf<\n SimplePropertyDef.ExtractWirePropertyType<\"string\" | undefined>\n >()\n .toEqualTypeOf<\"string\">();\n });\n\n it(\"SimplePropertyDef.FromPropertyMetadata\", () => {\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"nullable\", \"array\">\n >\n >()\n .toEqualTypeOf<\"string\"[] | undefined>();\n\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"non-nullable\", \"array\">\n >\n >()\n .toEqualTypeOf<\"string\"[]>();\n\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"non-nullable\", \"single\">\n >\n >()\n .toEqualTypeOf<\"string\">();\n\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"nullable\", \"single\">\n >\n >()\n .toEqualTypeOf<\"string\" | undefined>();\n });\n\n test(\".ToRuntimeProperty\", () => {\n expectTypeOf<SimplePropertyDef.ToRuntimeProperty<\"string\">>()\n .toEqualTypeOf<string>();\n\n expectTypeOf<SimplePropertyDef.ToRuntimeProperty<\"string\" | undefined>>()\n .toEqualTypeOf<string | undefined>();\n });\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,EAAEC,YAAY,EAAEC,EAAE,EAAEC,IAAI,QAAQ,QAAQ;AAIzDH,QAAQ,CAAC,iBAAiB,EAAE,MAAM;EAChCG,IAAI,CAAC,uCAAuC,EAAE,MAAM;IAClDF,YAAY,CAAoD,CAAC,CAC9DG,aAAa,CAAU,CAAC;IAC3BH,YAAY,CAEV,CAAC,CACAG,aAAa,CAAU,CAAC;IAE3BH,YAAY,CAAkD,CAAC,CAC5DG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAA8D,CAAC,CACxEG,aAAa,CAAW,CAAC;EAC9B,CAAC,CAAC;EAEFD,IAAI,CAAC,mCAAmC,EAAE,MAAM;IAC9CF,YAAY,CAAgD,CAAC,CAC1DG,aAAa,CAAiB,CAAC;IAClCH,YAAY,CAA4D,CAAC,CACtEG,aAAa,CAAa,CAAC;IAC9BH,YAAY,CAA8C,CAAC,CACxDG,aAAa,CAAiB,CAAC;IAClCH,YAAY,CAA0D,CAAC,CACpEG,aAAa,CAAa,CAAC;EAChC,CAAC,CAAC;EAEFD,IAAI,CAAC,2CAA2C,EAAE,MAAM;IACtDF,YAAY,CAAwD,CAAC,CAClEG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAEV,CAAC,CACAG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAAsD,CAAC,CAChEG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAEV,CAAC,CACAG,aAAa,CAAW,CAAC;EAC9B,CAAC,CAAC;EAEFF,EAAE,CAAC,wCAAwC,EAAE,MAAM;IACjDD,YAAY,CAIV,CAAC,CACAG,aAAa,CAAyB,CAAC;IAE1CH,YAAY,CAIV,CAAC,CACAG,aAAa,CAAa,CAAC;IAE9BH,YAAY,CAIV,CAAC,CACAG,aAAa,CAAW,CAAC;IAE5BH,YAAY,CAIV,CAAC,CACAG,aAAa,CAAuB,CAAC;EAC1C,CAAC,CAAC;EAEFD,IAAI,CAAC,oBAAoB,EAAE,MAAM;IAC/BF,YAAY,CAAgD,CAAC,CAC1DG,aAAa,CAAS,CAAC;IAE1BH,YAAY,CAA4D,CAAC,CACtEG,aAAa,CAAqB,CAAC;EACxC,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 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
1
|
export {};
|
|
17
2
|
//# sourceMappingURL=VersionString.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionString.js","names":[],"sources":["VersionString.
|
|
1
|
+
{"version":3,"file":"VersionString.js","names":[],"sources":["VersionString.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 VersionString<\n Major extends number,\n Minor extends number,\n Patch extends number,\n> = `${Major}.${Minor}.${Patch}`;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 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
1
|
export {};
|
|
17
2
|
//# sourceMappingURL=WirePropertyTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WirePropertyTypes.js","names":[],"sources":["WirePropertyTypes.
|
|
1
|
+
{"version":3,"file":"WirePropertyTypes.js","names":[],"sources":["WirePropertyTypes.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type WirePropertyTypes =\n | BaseWirePropertyTypes\n | Record<string, BaseWirePropertyTypes>;\n\nexport type BaseWirePropertyTypes =\n | \"string\"\n | \"datetime\"\n | \"double\"\n | \"boolean\"\n | \"integer\"\n | \"timestamp\"\n | \"short\"\n | \"long\"\n | \"float\"\n | \"decimal\"\n | \"byte\"\n | \"marking\"\n | \"mediaReference\"\n | \"numericTimeseries\"\n | \"stringTimeseries\"\n | \"sensorTimeseries\"\n | \"attachment\"\n | \"geopoint\"\n | \"geoshape\"\n | \"geotimeSeriesReference\";\n"],"mappings":"","ignoreList":[]}
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
|
|
17
|
+
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference } from "../experimental/createMediaReference.js";
|
|
18
|
+
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
|
|
16
19
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
|
|
17
|
-
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from "../experimental/preexistingObjectSet.js";
|
|
18
|
-
export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
|
|
19
20
|
//# sourceMappingURL=unstable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstable.js","names":["
|
|
1
|
+
{"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks"],"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__createMediaReference } from \"../experimental/createMediaReference.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,uDAAuD,QAAQ,yCAAyC;AACjH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SAASC,+CAA+C,QAAQ,iCAAiC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Aggregations.js","names":[],"sources":["Aggregations.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\n\nexport type Range<T extends AllowedBucketTypes> = {\n startValue?: T;\n endValue: T;\n} | {\n startValue: T;\n endValue?: T;\n};\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | Range<AllowedBucketTypes>;\n\nexport type TwoDimensionalAggregation<\n T extends AllowedBucketKeyTypes,\n U extends AllowedBucketTypes,\n> = { key: T; value: U }[];\n\nexport type ThreeDimensionalAggregation<\n T extends AllowedBucketKeyTypes,\n U extends AllowedBucketKeyTypes,\n V extends AllowedBucketTypes,\n> = { key: T; groups: { key: U; value: V }[] }[];\n\nexport type AggKeyWireToClient<\n T extends AggregationKeyTypes,\n S extends AggregationRangeKeyTypes = never,\n> = T extends keyof DataValueWireToClient ? DataValueWireToClient[T]\n : T extends \"range\"\n ? S extends keyof DataValueWireToClient ? Range<DataValueWireToClient[S]>\n : never\n : never;\n\nexport type AggKeyClientToWire<\n T extends AggregationKeyTypes,\n S extends AggregationRangeKeyTypes = never,\n> = T extends keyof DataValueClientToWire ? DataValueClientToWire[T]\n : T extends \"range\"\n ? S extends keyof DataValueClientToWire ? Range<DataValueClientToWire[S]>\n : never\n : never;\n\nexport type AggValueWireToClient<T extends AggregationValueTypes> = T extends\n keyof DataValueWireToClient ? DataValueWireToClient[T] : never;\n\nexport type AggValueClientToWire<T extends AggregationValueTypes> = T extends\n keyof DataValueClientToWire ? DataValueClientToWire[T] : never;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -13,5 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Helper types for converting query definition parameter types to typescript types
|
|
18
|
+
*/
|
|
19
|
+
export let QueryParam;
|
|
20
|
+
/**
|
|
21
|
+
* Helper types for converting query result types to typescript types
|
|
22
|
+
*/
|
|
23
|
+
export let QueryResult;
|
|
17
24
|
//# sourceMappingURL=Queries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Queries.js","names":[],"sources":["Queries.
|
|
1
|
+
{"version":3,"file":"Queries.js","names":["QueryParam","QueryResult"],"sources":["Queries.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { ObjectTypeDefinition } from \"../ontology/ObjectTypeDefinition.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\nimport type { OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type {\n AggKeyClientToWire,\n AggKeyWireToClient,\n AggValueClientToWire,\n AggValueWireToClient,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./Aggregations.js\";\n\n/**\n * Helper types for converting query definition parameter types to typescript types\n */\nexport namespace QueryParam {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueClientToWire[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectTypeDefinition> =\n | OsdkBase<T>\n | OsdkObjectPrimaryKeyType<T>;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectTypeDefinition> = ObjectSet<T>;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyClientToWire<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyClientToWire<T> : T,\n AggValueClientToWire<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyClientToWire<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyClientToWire<IN> : IN,\n AggValueClientToWire<V>\n >;\n}\n\n/**\n * Helper types for converting query result types to typescript types\n */\nexport namespace QueryResult {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueWireToClient[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectTypeDefinition> = OsdkBase<T>;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectTypeDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T,\n AggValueWireToClient<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN,\n AggValueWireToClient<V>\n >;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAwBA;AACA;AACA;AAFA,WAGiBA,UAAU;AA2C3B;AACA;AACA;AAFA,WAGiBC,WAAW","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping"],"sources":["timeseries.
|
|
1
|
+
{"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping"],"sources":["timeseries.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\n\nexport type TimeSeriesQuery =\n | {\n $before: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $after?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $after: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $before?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $startTime: string;\n $endTime?: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n }\n | {\n $startTime?: string;\n $endTime: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n };\n\nexport type TimeseriesDurationUnits =\n | \"YEARS\"\n | \"MONTHS\"\n | \"WEEKS\"\n | \"DAYS\"\n | \"HOURS\"\n | \"MINUTES\"\n | \"SECONDS\"\n | \"MILLISECONDS\";\n\nexport const TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n} = {\n \"ms\": \"MILLISECONDS\",\n \"milliseconds\": \"MILLISECONDS\",\n ...TimeDurationMapping,\n} satisfies Record<string, TimeseriesDurationUnits>;\n\nexport interface TimeSeriesPoint<T extends string | number | GeoJSON.Point> {\n time: string;\n value: T;\n}\n\nexport interface TimeSeriesProperty<T extends number | string> {\n /**\n * Queries the first point of the Timeseries\n */\n readonly getFirstPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Queries the last point of the Timeseries\n */\n readonly getLastPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * const points = await employee.employeeStatus?.getAllPoints({\n $after: 1,\n $unit: \"month\",\n });\n */\n readonly getAllPoints: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * const iterator = employee.employeeStatus?.asyncIter({\n $after: 1,\n $unit: \"month\",\n });\n for await (const point of iterator) {\n // Handle time series point\n }\n */\n readonly asyncIterPoints: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n}\n\nexport interface GeotimeSeriesProperty<T extends GeoJSON.Point> {\n /**\n * Queries the last point of the Geotime series\n */\n readonly getLatestValue: () => Promise<TimeSeriesPoint<T> | undefined>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * const points = await employee.employeeStatus?.getAllPoints({\n $after: 1,\n $unit: \"month\",\n });\n */\n readonly getAllValues: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * const iterator = employee.employeeStatus?.asyncIter({\n $after: 1,\n $unit: \"month\",\n });\n for await (const point of iterator) {\n // Handle time series point\n }\n */\n readonly asyncIterValues: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n\n /**\n * The most recently fetched value for the latest point in the GTSR.\n * This will not be loaded automatically upon object load, but will be refreshed every time\n * getLatestValue() is called\n */\n readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,+BAA+B;AA0CnE,OAAO,MAAMC,yBAuBZ,GAAG;EACF,IAAI,EAAE,cAAc;EACpB,cAAc,EAAE,cAAc;EAC9B,GAAGD;AACL,CAAmD","ignoreList":[]}
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 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
1
|
export {};
|
|
17
2
|
//# sourceMappingURL=LinkUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkUtils.js","names":[],"sources":["LinkUtils.
|
|
1
|
+
{"version":3,"file":"LinkUtils.js","names":[],"sources":["LinkUtils.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\n\nexport type LinkNames<Q extends ObjectOrInterfaceDefinition> =\n & keyof CompileTimeMetadata<Q>[\"links\"]\n & string;\n\nexport type LinkedType<\n Q extends ObjectOrInterfaceDefinition,\n L extends LinkNames<Q>,\n> = NonNullable<CompileTimeMetadata<Q>[\"links\"][L][\"__OsdkLinkTargetType\"]>;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { GetClientPropertyValueFromWire } from "./mapping/PropertyValueMapping.js";
|
|
2
|
+
import type { ObjectMetadata } from "./ontology/ObjectTypeDefinition.js";
|
|
3
|
+
type MaybeArray<
|
|
4
|
+
T extends {
|
|
5
|
+
multiplicity?: boolean | undefined
|
|
6
|
+
},
|
|
7
|
+
U
|
|
8
|
+
> = T["multiplicity"] extends true ? Array<U> : U;
|
|
9
|
+
type MaybeNullable<
|
|
10
|
+
T extends ObjectMetadata.Property,
|
|
11
|
+
U
|
|
12
|
+
> = T["nullable"] extends true ? U | undefined : U;
|
|
13
|
+
type Raw<T> = T extends Array<any> ? T[0] : T;
|
|
14
|
+
type Converted<T> = T extends Array<any> ? T[1] : T;
|
|
15
|
+
/**
|
|
16
|
+
* @param {T} ObjectMetadata.Property in literal form
|
|
17
|
+
* @param {STRICTLY_ENFORCE_NULLABLE} S for strict. If false, always `|undefined`
|
|
18
|
+
*/
|
|
19
|
+
export type OsdkObjectPropertyType<
|
|
20
|
+
T extends ObjectMetadata.Property,
|
|
21
|
+
STRICTLY_ENFORCE_NULLABLE extends boolean = true
|
|
22
|
+
> = STRICTLY_ENFORCE_NULLABLE extends false ? MaybeArray<T, Converted<GetClientPropertyValueFromWire<T["type"]>>> | undefined : MaybeNullable<T, MaybeArray<T, Converted<GetClientPropertyValueFromWire<T["type"]>>>>;
|
|
23
|
+
export type OsdkObjectRawPropertyType<T extends ObjectMetadata.Property> = MaybeNullable<T, MaybeArray<T, Raw<GetClientPropertyValueFromWire<T["type"]>>>>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cACE,sCACK,mCAAoC;AAC3C,cAAc,sBAAsB,oCAAqC;KAEpE;CAAW,UAAU;EAAE;CAAoC;CAAE;IAChE,EAAE,wBAAwB,OAAO,MAAM,KAAK;KAEzC;CAAc,UAAU,eAAe;CAAU;IAAK,EAAE,oBAC3D,OAAO,gBACL;KAEC,IAAI,KAAK,UAAU,aAAa,EAAE,KAAK;KACvC,UAAU,KAAK,UAAU,aAAa,EAAE,KAAK;;;;;AAMlD,YAAY;CACV,UAAU,eAAe;CACzB,4CAA4C;IAC1C,kCAAkC,QAChC,WAAW,GAAG,UAAU,+BAA+B,EAAE,yBAE3D,cACA,GACA,WAAW,GAAG,UAAU,+BAA+B,EAAE;AAG7D,YAAY,0BAA0B,UAAU,eAAe,YAC7D,cACE,GACA,WAAW,GAAG,IAAI,+BAA+B,EAAE","names":[],"sources":["../../src/Definitions.ts"],"version":3,"file":"Definitions.d.ts"}
|
|
@@ -4,10 +4,9 @@ import type { ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
|
|
|
4
4
|
import type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
|
|
5
5
|
import type { OsdkObjectPrimaryKeyType } from "./OsdkObjectPrimaryKeyType.js";
|
|
6
6
|
export type OsdkBase<Q extends ObjectOrInterfaceDefinition> = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
readonly $apiName: Q["apiName"]
|
|
8
|
+
readonly $objectType: string
|
|
9
|
+
readonly $primaryKey: PrimaryKeyType<Q>
|
|
10
|
+
readonly $title: string | undefined
|
|
11
11
|
};
|
|
12
12
|
export type PrimaryKeyType<Q extends ObjectOrInterfaceDefinition> = (Q extends ObjectTypeDefinition ? OsdkObjectPrimaryKeyType<Q> : unknown) & PropertyValueWireToClient[PrimaryKeyTypes];
|
|
13
|
-
//# sourceMappingURL=OsdkBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,iCAAiC,mCAAoC;AACnF,cAAc,mCAAmC,iCAAkC;AACnF,cAAc,4BAA4B,oCAAqC;AAC/E,cAAc,uBAAuB,+BAAgC;AACrE,cAAc,gCAAgC,+BAAgC;AAE9E,YAAY,SACV,UAAU,+BACR;UACO,UAAU,EAAE;UAEZ;UAEA,aAAa,eAAe;UAE5B;AACV;AAED,YAAY,eAAe,UAAU,gCAChC,UAAU,uBAAuB,yBAAyB,gBAI3D,0BAA0B","names":[],"sources":["../../src/OsdkBase.ts"],"version":3,"file":"OsdkBase.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,iBAAiB,aAAa;CAC5B;AACD","names":[],"sources":["../../src/OsdkMetadata.ts"],"version":3,"file":"OsdkMetadata.d.ts"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
|
|
2
2
|
import type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
|
|
3
3
|
/**
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
* @deprecated Use OsdkBase
|
|
5
|
+
*/
|
|
6
6
|
export type OsdkObject<N extends string> = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
readonly $apiName: N
|
|
8
|
+
readonly $objectType: string
|
|
9
|
+
readonly $primaryKey: PropertyValueWireToClient[PrimaryKeyTypes]
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=OsdkObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,iCAAiC,mCAAoC;AACnF,cAAc,uBAAuB,+BAAgC;;;;AAKrE,YAAY,WAAW,oBAAoB;UAChC,UAAU;UACV;UACA,aAAa,0BAA0B;AACjD","names":[],"sources":["../../src/OsdkObject.ts"],"version":3,"file":"OsdkObject.d.ts"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { DefaultToFalse, OsdkObjectLinksObject } from "./definitions/LinkDefinitions.js";
|
|
2
|
+
import type { NullabilityAdherence } from "./object/FetchPageArgs.js";
|
|
3
|
+
import type { UnionIfTrue } from "./object/FetchPageResult.js";
|
|
4
|
+
import type { InterfaceDefinition } from "./ontology/InterfaceDefinition.js";
|
|
5
|
+
import type { ObjectOrInterfaceDefinition, PropertyKeys } from "./ontology/ObjectOrInterface.js";
|
|
6
|
+
import type { CompileTimeMetadata, ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
|
|
7
|
+
import type { SimplePropertyDef } from "./ontology/SimplePropertyDef.js";
|
|
8
|
+
import type { OsdkBase } from "./OsdkBase.js";
|
|
9
|
+
type SpecialOsdkPropParams = "$all" | "$rid" | "$strict" | "$notStrict";
|
|
10
|
+
type ValidOsdkPropParams<Q extends ObjectOrInterfaceDefinition> = SpecialOsdkPropParams | PropertyKeys<Q>;
|
|
11
|
+
export type ApiNameAsString<T extends ObjectOrInterfaceDefinition> = CompileTimeMetadata<T>["apiName"];
|
|
12
|
+
export type JustProps<
|
|
13
|
+
T extends ObjectOrInterfaceDefinition,
|
|
14
|
+
P extends ValidOsdkPropParams<T>
|
|
15
|
+
> = P extends "$all" ? PropertyKeys<T> : Exclude<P, SpecialOsdkPropParams>;
|
|
16
|
+
export type PropMapToObject<
|
|
17
|
+
FROM extends ObjectOrInterfaceDefinition,
|
|
18
|
+
TO extends ObjectTypeDefinition
|
|
19
|
+
> = NonNullable<CompileTimeMetadata<TO>["interfaceMap"]>[ApiNameAsString<FROM>];
|
|
20
|
+
export type MapPropNamesToObjectType<
|
|
21
|
+
FROM extends ObjectOrInterfaceDefinition,
|
|
22
|
+
TO extends ObjectTypeDefinition,
|
|
23
|
+
P extends ValidOsdkPropParams<FROM>
|
|
24
|
+
> = PropMapToObject<FROM, TO>[JustProps<FROM, P> & keyof PropMapToObject<FROM, TO>];
|
|
25
|
+
export type PropMapToInterface<
|
|
26
|
+
FROM extends ObjectTypeDefinition,
|
|
27
|
+
TO extends InterfaceDefinition
|
|
28
|
+
> = NonNullable<CompileTimeMetadata<FROM>["inverseInterfaceMap"]>[ApiNameAsString<TO>];
|
|
29
|
+
export type MapPropNamesToInterface<
|
|
30
|
+
FROM extends ObjectTypeDefinition,
|
|
31
|
+
TO extends InterfaceDefinition,
|
|
32
|
+
P extends ValidOsdkPropParams<FROM>
|
|
33
|
+
> = PropMapToInterface<FROM, TO>[JustProps<FROM, P> & keyof PropMapToInterface<FROM, TO>];
|
|
34
|
+
/**
|
|
35
|
+
* @param FROM - the interface or object type to convert from
|
|
36
|
+
* @param TO - the interface or object type to convert to
|
|
37
|
+
* @param P - the property(s) to convert
|
|
38
|
+
*/
|
|
39
|
+
export type ConvertProps<
|
|
40
|
+
FROM extends ObjectOrInterfaceDefinition,
|
|
41
|
+
TO extends ValidToFrom<FROM>,
|
|
42
|
+
P extends ValidOsdkPropParams<FROM>
|
|
43
|
+
> = TO extends FROM ? P : TO extends ObjectTypeDefinition ? (UnionIfTrue<MapPropNamesToObjectType<FROM, TO, P>, P extends "$rid" ? true : false, "$rid">) : TO extends InterfaceDefinition ? FROM extends ObjectTypeDefinition ? (UnionIfTrue<MapPropNamesToInterface<FROM, TO, P>, P extends "$rid" ? true : false, "$rid">) : never : never;
|
|
44
|
+
/** DO NOT EXPORT FROM PACKAGE */
|
|
45
|
+
export type ValidToFrom<FROM extends ObjectOrInterfaceDefinition> = FROM extends InterfaceDefinition ? ObjectOrInterfaceDefinition : InterfaceDefinition;
|
|
46
|
+
export type IsNever<T> = [T] extends [never] ? true : false;
|
|
47
|
+
type ExtractPropsKeysFromOldPropsStyle<
|
|
48
|
+
Q extends ObjectOrInterfaceDefinition,
|
|
49
|
+
P extends ValidOsdkPropParams<Q>
|
|
50
|
+
> = P extends "$all" ? PropertyKeys<Q> : Exclude<P, "$strict" | "$notStrict" | "$rid">;
|
|
51
|
+
export type IsAny<T> = unknown extends T ? [keyof T] extends [never] ? false : true : false;
|
|
52
|
+
export type GetPropsKeys<
|
|
53
|
+
Q extends ObjectOrInterfaceDefinition,
|
|
54
|
+
P extends PropertyKeys<Q>,
|
|
55
|
+
N extends boolean = false
|
|
56
|
+
> = IsNever<P> extends true ? N extends true ? never : PropertyKeys<Q> : IsAny<P> extends true ? PropertyKeys<Q> : P;
|
|
57
|
+
/**
|
|
58
|
+
* Use `Osdk.Instance` or `YourType.OsdkInstance`
|
|
59
|
+
*/
|
|
60
|
+
export type Osdk<
|
|
61
|
+
Q extends ObjectOrInterfaceDefinition,
|
|
62
|
+
OPTIONS extends string = never,
|
|
63
|
+
P extends PropertyKeys<Q> = PropertyKeys<Q>
|
|
64
|
+
> = IsNever<OPTIONS> extends true ? Osdk.Instance<Q, never, P> : IsAny<OPTIONS> extends true ? Osdk.Instance<Q, never, P> : (IsNever<Exclude<OPTIONS, "$rid">>) extends true ? Osdk.Instance<Q, OPTIONS & "$rid", P> : Osdk.Instance<Q, ("$rid" extends OPTIONS ? "$rid" : never), ExtractPropsKeysFromOldPropsStyle<Q, OPTIONS>>;
|
|
65
|
+
export declare namespace Osdk {
|
|
66
|
+
type Instance<
|
|
67
|
+
Q extends ObjectOrInterfaceDefinition,
|
|
68
|
+
OPTIONS extends never | "$rid" = never,
|
|
69
|
+
P extends PropertyKeys<Q> = PropertyKeys<Q>,
|
|
70
|
+
R extends Record<string, SimplePropertyDef> = {}
|
|
71
|
+
> = OsdkBase<Q> & Pick<CompileTimeMetadata<Q>["props"], GetPropsKeys<Q, P, [R] extends [{}] ? false : true>> & ([R] extends [never] ? {} : { [A in keyof R] : SimplePropertyDef.ToRuntimeProperty<R[A]> }) & {
|
|
72
|
+
readonly $link: Q extends {
|
|
73
|
+
linksType?: any
|
|
74
|
+
} ? Q["linksType"] : Q extends ObjectTypeDefinition ? OsdkObjectLinksObject<Q> : never
|
|
75
|
+
readonly $as: <NEW_Q extends ValidToFrom<Q>>(type: NEW_Q | string) => Osdk.Instance<NEW_Q, OPTIONS, ConvertProps<Q, NEW_Q, P>>
|
|
76
|
+
readonly $clone: <NEW_PROPS extends PropertyKeys<Q>>(updatedObject?: Osdk.Instance<Q, any, NEW_PROPS> | { [K in NEW_PROPS]? : CompileTimeMetadata<Q>["props"][K] }) => Osdk.Instance<Q, OPTIONS, P | NEW_PROPS>
|
|
77
|
+
} & (IsNever<OPTIONS> extends true ? {} : IsAny<OPTIONS> extends true ? {} : "$rid" extends OPTIONS ? {
|
|
78
|
+
readonly $rid: string
|
|
79
|
+
} : {});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* NOT EXPORTED FROM PACKAGE
|
|
83
|
+
*
|
|
84
|
+
* Anything you throw at this that is not `false` should always be `never`.
|
|
85
|
+
*
|
|
86
|
+
* This is structured in a way that it should always short circuit to never early.
|
|
87
|
+
*/
|
|
88
|
+
export type ExtractStrictOption<S extends NullabilityAdherence> = IsNever<S> extends true ? never : "throw" extends S ? never : "drop" extends S ? never : "$notStrict";
|
|
89
|
+
/**
|
|
90
|
+
* NOT EXPORTED FROM PACKAGE
|
|
91
|
+
*
|
|
92
|
+
* Anything you throw at this that is not exactly `true` should always be `never`.
|
|
93
|
+
*/
|
|
94
|
+
export type ExtractRidOption<R extends boolean> = IsNever<R> extends true ? never : DefaultToFalse<R> extends false ? never : "$rid";
|
|
95
|
+
export type ExtractOptions<
|
|
96
|
+
R extends boolean,
|
|
97
|
+
S extends NullabilityAdherence = NullabilityAdherence.Default
|
|
98
|
+
> = ExtractRidOption<R>;
|
|
99
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cACE,gBACA,6BACK,kCAAmC;AAC1C,cAAc,4BAA4B,2BAA4B;AACtE,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,2BAA2B,mCAAoC;AAC7E,cACE,6BACA,oBACK,iCAAkC;AACzC,cACE,qBACA,4BACK,oCAAqC;AAC5C,cAAc,yBAAyB,iCAAkC;AACzE,cAAc,gBAAgB,eAAgB;KAYzC,wBACD,SACA,SACA,YACA;KAEC,oBAAoB,UAAU,+BAC/B,wBACA,aAAa;AAEjB,YAAY,gBACV,UAAU,+BACR,oBAAoB,GAAG;AAE3B,YAAY;CACV,UAAU;CACV,UAAU,oBAAoB;IAC5B,UAAU,SAAS,aAAa,KAChC,QAAQ,GAAG;AAEf,YAAY;CACV,aAAa;CACb,WAAW;IACT,YAAY,oBAAoB,IAAI,iBAAiB,gBAAgB;AAEzE,YAAY;CACV,aAAa;CACb,WAAW;CACX,UAAU,oBAAoB;IAC5B,gBACF,MACA,IACA,UAAU,MAAM,WAAW,gBAAgB,MAAM;AAEnD,YAAY;CACV,aAAa;CACb,WAAW;IACT,YACF,oBAAoB,MAAM,wBAC1B,gBAAgB;AAElB,YAAY;CACV,aAAa;CACb,WAAW;CACX,UAAU,oBAAoB;IAC5B,mBACF,MACA,IACA,UAAU,MAAM,WAAW,mBAAmB,MAAM;;;;;;AAMtD,YAAY;CACV,aAAa;CACb,WAAW,YAAY;CACvB,UAAU,oBAAoB;IAC5B,WAAW,OAAO,IAClB,WAAW,wBACT,YACE,yBAAyB,MAAM,IAAI,IACnC,UAAU,SAAS,OAAO,OAC1B,WAGJ,WAAW,sBAAsB,aAAa,wBAC1C,YACE,wBAAwB,MAAM,IAAI,IAClC,UAAU,SAAS,OAAO,OAC1B;;AAOV,YAAY,YACV,aAAa,+BACX,aAAa,sBAAsB,8BACnC;AAkBJ,YAAY,QAAQ,MAAM,qBAAqB,OAAO;KAEjD;CACH,UAAU;CACV,UAAU,oBAAoB;IAC5B,UAAU,SAAS,aAAa,KAChC,QAAQ,GAAG,YAAY,eAAe;AAE1C,YAAY,MAAM,qBAAqB,WAC5B,qBAAqB,QAAQ,OACpC;AAEJ,YAAY;CACV,UAAU;CACV,UAAU,aAAa;CACvB,oBAAoB;IAClB,QAAQ,WAAW,OAAO,UAAU,eAAe,aAAa,KAChE,MAAM,WAAW,OAAO,aAAa,KACrC;;;;AAKJ,YAAY;CACV,UAAU;CACV;CACA,UAAU,aAAa,KAAK,aAAa;IAGzC,QAAQ,iBAAiB,OAAO,KAAK,SAAS,UAAU,KACpD,MAAM,iBAAiB,OAAO,KAAK,SAAS,UAAU,MAErD,QAAQ,QAAQ,SAAS,kBAAkB,OAC1C,KAAK,SAAS,GAAG,UAAU,QAAQ,KAGrC,KAAK,SACL,IACC,eAAe,UAAU,iBAC1B,kCAAkC,GAAG;AAG3C,yBAAiB;MACH;EACV,UAAU;EACV,wBAAwB;EACxB,UAAU,aAAa,KAAK,aAAa;EACzC,UAAU,eAAe,qBAAqB,CAAE;KAE9C,SAAS,KACT,KACA,oBAAoB,GAAG,UAEvB,aAAa,GAAG,IAAI,YAAY,CAAE,KAAI,QAAQ,WAE5C,qBAAqB,CAAE,OACpB,WAAW,KAAI,kBAAkB,kBAAkB,EAAE,SAC1D;WACS,OAAO,UAAU;GAAE;EAAiB,IAAG,EAAE,eAC9C,UAAU,uBAAuB,sBAAsB;WAGlD,MAAM,cAAc,YAAY,IACvCA,MAAM,mBACH,KAAK,SACR,OACA,SACA,aAAa,GAAG,OAAO;WAGhB,SAAS,kBAAkB,aAAa,IAC/CC,gBACI,KAAK,SAAS,QAAQ,gBAErB,KAAK,cAAa,oBACjB,GACA,SAAS,SAEZ,KAAK,SAAS,GAAG,SAAS,IAAI;CACpC,KAEE,QAAQ,iBAAiB,OAAO,CAAE,IACjC,MAAM,iBAAiB,OAAO,CAAE,IAChC,eAAe,UAAU;WAAW;CAAc,IAClD,CAAE;;;;;;;;;AAUV,YAAY,oBAAoB,UAAU,wBACxC,QAAQ,WAAW,eACf,gBAAgB,YAChB,eAAe,YACf;;;;;;AAON,YAAY,iBAAiB,qBAC3B,QAAQ,WAAW,eACf,eAAe,WAAW,gBAC1B;AAGN,YAAY;CACV;CACA,UAAU,uBAAuB,qBAAqB;IACpD,iBAAiB","names":["type: NEW_Q | string","updatedObject?:\n | Osdk.Instance<Q, any, NEW_PROPS>\n | {\n [K in NEW_PROPS]?: CompileTimeMetadata<\n Q\n >[\"props\"][K];\n }"],"sources":["../../src/OsdkObjectFrom.ts"],"version":3,"file":"OsdkObjectFrom.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"","names":[],"sources":["../../src/OsdkObjectFrom.test.ts"],"version":3,"file":"OsdkObjectFrom.test.d.ts"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
|
|
2
2
|
import type { CompileTimeMetadata, ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
|
|
3
3
|
export type OsdkObjectPrimaryKeyType<Q extends ObjectTypeDefinition> = PropertyValueWireToClient[CompileTimeMetadata<Q>["primaryKeyType"]];
|
|
4
|
-
//# sourceMappingURL=OsdkObjectPrimaryKeyType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,iCAAiC,mCAAoC;AACnF,cACE,qBACA,4BACK,oCAAqC;AAE5C,YAAY,yBACV,UAAU,wBACR,0BAA0B,oBAAoB,GAAG","names":[],"sources":["../../src/OsdkObjectPrimaryKeyType.ts"],"version":3,"file":"OsdkObjectPrimaryKeyType.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,iBAAiB,WAAW,GAAG;CAC7B,MAAM;CACN;CACA;AACD","names":[],"sources":["../../src/PageResult.ts"],"version":3,"file":"PageResult.d.ts"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export type ActionResults = (ObjectEdits | LargeScaleObjectEdits) & {
|
|
2
|
+
editedObjectTypes: Array<String>
|
|
3
|
+
};
|
|
4
|
+
interface ObjectEdits {
|
|
5
|
+
type: "edits";
|
|
6
|
+
addedObjects: Array<ObjectReference>;
|
|
7
|
+
modifiedObjects: Array<ObjectReference>;
|
|
8
|
+
addedLinks: Array<LinkReference>;
|
|
9
|
+
deletedObjectsCount: number;
|
|
10
|
+
deletedLinksCount: number;
|
|
11
|
+
}
|
|
12
|
+
interface LargeScaleObjectEdits {
|
|
13
|
+
type: "largeScaleEdits";
|
|
14
|
+
addedObjects?: never;
|
|
15
|
+
modifiedObjects?: never;
|
|
16
|
+
addedLinks?: never;
|
|
17
|
+
deletedObjectsCount?: never;
|
|
18
|
+
deletedLinksCount?: never;
|
|
19
|
+
}
|
|
20
|
+
type LinkReference = {
|
|
21
|
+
linkTypeApiNameAtoB: string
|
|
22
|
+
linkTypeApiNameBtoA: string
|
|
23
|
+
aSideObject: ObjectReference
|
|
24
|
+
bSideObject: ObjectReference
|
|
25
|
+
};
|
|
26
|
+
interface ObjectReference {
|
|
27
|
+
primaryKey: string | number;
|
|
28
|
+
objectType: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ValidateActionResponseV2 {
|
|
31
|
+
result: "VALID" | "INVALID";
|
|
32
|
+
submissionCriteria: Array<{
|
|
33
|
+
configuredFailureMessage?: string
|
|
34
|
+
result: "VALID" | "INVALID"
|
|
35
|
+
}>;
|
|
36
|
+
parameters: Record<string, {
|
|
37
|
+
result: "VALID" | "INVALID"
|
|
38
|
+
evaluatedConstraints: Array<ParameterEvaluatedConstraint>
|
|
39
|
+
required: boolean
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
type ParameterEvaluatedConstraint = {
|
|
43
|
+
type: "arraySize"
|
|
44
|
+
lt?: any
|
|
45
|
+
lte?: any
|
|
46
|
+
gt?: any
|
|
47
|
+
gte?: any
|
|
48
|
+
} | {
|
|
49
|
+
type: "groupMember"
|
|
50
|
+
} | {
|
|
51
|
+
type: "objectPropertyValue"
|
|
52
|
+
} | {
|
|
53
|
+
type: "objectQueryResult"
|
|
54
|
+
} | {
|
|
55
|
+
type: "oneOf"
|
|
56
|
+
options: Array<{
|
|
57
|
+
displayName?: string
|
|
58
|
+
value?: any
|
|
59
|
+
}>
|
|
60
|
+
otherValuesAllowed: boolean
|
|
61
|
+
} | {
|
|
62
|
+
type: "range"
|
|
63
|
+
lt?: any
|
|
64
|
+
lte?: any
|
|
65
|
+
gt?: any
|
|
66
|
+
gte?: any
|
|
67
|
+
} | {
|
|
68
|
+
type: "stringLength"
|
|
69
|
+
lt?: any
|
|
70
|
+
lte?: any
|
|
71
|
+
gt?: any
|
|
72
|
+
gte?: any
|
|
73
|
+
} | {
|
|
74
|
+
type: "stringRegexMatch"
|
|
75
|
+
regex: string
|
|
76
|
+
configuredFailureMessage?: string
|
|
77
|
+
} | {
|
|
78
|
+
type: "unevaluable"
|
|
79
|
+
};
|
|
80
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,YAAY,iBAEN,cACA,yBAEF;CAAE,mBAAmB,MAAM;AAAS;UAE9B,YAAY;CACpB,MAAM;CACN,cAAc,MAAM;CACpB,iBAAiB,MAAM;CACvB,YAAY,MAAM;CAClB;CACA;AACD;UACS,sBAAsB;CAC9B,MAAM;CACN;CACA;CACA;CACA;CACA;AACD;KAEI,gBAAgB;CACnB;CACA;CACA,aAAa;CACb,aAAa;AACd;UACS,gBAAgB;CACxB;CACA;AACD;AACD,iBAAiB,yBAAyB;CACxC,QAAQ,UAAU;CAClB,oBAAoB,MAAM;EACxB;EACA,QAAQ,UAAU;CACnB;CACD,YAAY,eAAe;EACzB,QAAQ,UAAU;EAClB,sBAAsB,MAAM;EAC5B;CACD;AACF;KACI,+BACD;CAAE,MAAM;CAAa;CAAU;CAAW;CAAU;AAAW,IAC/D;CAAE,MAAM;AAAe,IACvB;CAAE,MAAM;AAAuB,IAC/B;CAAE,MAAM;AAAqB,IAC7B;CACA,MAAM;CACN,SAAS,MAAM;EACb;EACA;CACD;CACD;AACD,IACC;CAAE,MAAM;CAAS;CAAU;CAAW;CAAU;AAAW,IAC3D;CAAE,MAAM;CAAgB;CAAU;CAAW;CAAU;AAAW,IAClE;CACA,MAAM;CACN;CACA;AACD,IACC;CAAE,MAAM;AAAe","names":[],"sources":["../../../src/actions/ActionResults.ts"],"version":3,"file":"ActionResults.d.ts"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ActionEditResponse, ActionValidationResponse, ApplyActionOptions, ApplyBatchActionOptions } from "./Actions.js";
|
|
2
2
|
export type ActionReturnTypeForOptions<Op extends ApplyActionOptions | ApplyBatchActionOptions> = Op extends {
|
|
3
|
-
|
|
3
|
+
$validateOnly: true
|
|
4
4
|
} ? ActionValidationResponse : Op extends {
|
|
5
|
-
|
|
5
|
+
$returnEdits: true
|
|
6
6
|
} ? ActionEditResponse : undefined;
|
|
7
|
-
//# sourceMappingURL=ActionReturnTypeForOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cACE,oBACA,0BACA,oBACA,+BACK,cAAe;AAItB,YAAY,2BACV,WAAW,qBAAqB,2BAC9B,WAAW;CAAE,eAAe;AAAM,IAAG,2BACrC,WAAW;CAAE,cAAc;AAAM,IAAG","names":[],"sources":["../../../src/actions/ActionReturnTypeForOptions.ts"],"version":3,"file":"ActionReturnTypeForOptions.d.ts"}
|