@osdk/api 2.1.0-beta.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +191 -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 -79
- 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 -79
- 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,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=ActionReturnTypeForOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionReturnTypeForOptions.js","names":[],"sources":["ActionReturnTypeForOptions.
|
|
1
|
+
{"version":3,"file":"ActionReturnTypeForOptions.js","names":[],"sources":["ActionReturnTypeForOptions.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 ActionEditResponse,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n} from \"./Actions.js\";\n\n// cannot specify both validateOnly and returnEdits as true\n\nexport type ActionReturnTypeForOptions<\n Op extends ApplyActionOptions | ApplyBatchActionOptions,\n> = Op extends { $validateOnly: true } ? ActionValidationResponse\n : Op extends { $returnEdits: true } ? ActionEditResponse\n : undefined;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -13,5 +13,8 @@
|
|
|
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 action definition parameter types to typescript types
|
|
18
|
+
*/
|
|
19
|
+
export let ActionParam;
|
|
17
20
|
//# sourceMappingURL=Actions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actions.js","names":[],"sources":["Actions.
|
|
1
|
+
{"version":3,"file":"Actions.js","names":["ActionParam"],"sources":["Actions.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 { DataValueClientToWire } from \"../mapping/DataValueMapping.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { InterfaceDefinition } from \"../ontology/InterfaceDefinition.js\";\nimport type { ObjectTypeDefinition } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\n\nimport type {\n ActionResults,\n ValidateActionResponseV2,\n} from \"./ActionResults.js\";\n\nexport type ApplyActionOptions =\n | { $returnEdits?: true; $validateOnly?: false }\n | {\n $validateOnly?: true;\n $returnEdits?: false;\n };\n\nexport type ApplyBatchActionOptions = { $returnEdits?: boolean };\n\n/**\n * Helper types for converting action definition parameter types to typescript types\n */\nexport namespace ActionParam {\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 /**\n * Helper type to convert action definition parameter interface types to typescript types\n */\n export type InterfaceType<T extends InterfaceDefinition> = {\n $objectType: NonNullable<T[\"__DefinitionMetadata\"]> extends\n { implementedBy: infer U }\n ? (U extends ReadonlyArray<string> ? U[number] : string)\n : string;\n $primaryKey: string | number;\n };\n\n export type StructType<\n T extends Record<string, keyof DataValueClientToWire>,\n > = { [K in keyof T]: DataValueClientToWire[T[K]] };\n}\n\nexport type ActionEditResponse = ActionResults;\nexport type ActionValidationResponse = ValidateActionResponseV2;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAuBA;AACA;AACA;AAFA,WAGiBA,WAAW","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=AggregatableKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregatableKeys.js","names":[],"sources":["AggregatableKeys.
|
|
1
|
+
{"version":3,"file":"AggregatableKeys.js","names":[],"sources":["AggregatableKeys.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n NumericWithPropAggregateOption,\n StringWithPropAggregateOption,\n} from \"../derivedProperties/WithPropertiesAggregationOptions.js\";\nimport type {\n GetWirePropertyValueFromClient,\n} from \"../mapping/PropertyValueMapping.js\";\nimport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\n\nexport type StringAggregateOption = \"approximateDistinct\" | \"exactDistinct\";\nexport type NumericAggregateOption =\n | \"min\"\n | \"max\"\n | \"sum\"\n | \"avg\"\n | \"approximateDistinct\"\n | \"exactDistinct\";\n\ntype AGG_FOR_TYPE<T, U extends boolean> = number extends T\n ? U extends true ? NumericAggregateOption : NumericWithPropAggregateOption\n : string extends T\n ? U extends true ? StringAggregateOption : StringWithPropAggregateOption\n : never;\n\nexport type ValidAggregationKeys<\n Q extends ObjectOrInterfaceDefinition,\n R extends \"aggregate\" | \"withPropertiesAggregate\" = \"aggregate\",\n> = keyof (\n & {\n [\n KK in AggregatableKeys<Q> as `${KK & string}:${AGG_FOR_TYPE<\n GetWirePropertyValueFromClient<\n CompileTimeMetadata<Q>[\"properties\"][KK][\"type\"]\n >,\n R extends \"aggregate\" ? true : false\n >}`\n ]?: any;\n }\n & { $count?: any }\n);\n\nexport type AggregatableKeys<\n Q extends ObjectOrInterfaceDefinition,\n> = keyof {\n [P in PropertyKeys<Q>]: any;\n};\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=AggregateOpts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregateOpts.js","names":[],"sources":["AggregateOpts.
|
|
1
|
+
{"version":3,"file":"AggregateOpts.js","names":[],"sources":["AggregateOpts.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 { GroupByClause } from \"../groupby/GroupByClause.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type {\n OrderedAggregationClause,\n UnorderedAggregationClause,\n} from \"./AggregationsClause.js\";\n\nexport type AggregateOpts<Q extends ObjectOrInterfaceDefinition> = {\n $select:\n | UnorderedAggregationClause<Q>\n | OrderedAggregationClause<Q>;\n $groupBy?: GroupByClause<Q>;\n};\n"],"mappings":"","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=AggregateOptsThatErrors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregateOptsThatErrors.js","names":[],"sources":["AggregateOptsThatErrors.
|
|
1
|
+
{"version":3,"file":"AggregateOptsThatErrors.js","names":[],"sources":["AggregateOptsThatErrors.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 { SingleKeyObject } from \"type-fest\";\nimport type { GroupByClause } from \"../groupby/GroupByClause.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { AggregateOpts } from \"./AggregateOpts.js\";\nimport type { UnorderedAggregationClause } from \"./AggregationsClause.js\";\n\nexport type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy<\n Q extends ObjectOrInterfaceDefinition,\n AO extends AggregateOpts<Q>,\n> = SingleKeyObject<AO[\"$groupBy\"]> extends never ? (\n AO[\"$select\"] extends UnorderedAggregationClause<Q>\n ? AggregateOptsThatErrors<Q, AO>\n : {} extends AO[\"$groupBy\"] ? AggregateOptsThatErrors<Q, AO>\n : {\n $groupBy: AO[\"$groupBy\"];\n $select: UnorderedAggregationClause<Q>;\n }\n )\n : AggregateOptsThatErrors<Q, AO>;\n\ntype AggregateOptsThatErrors<\n Q extends ObjectOrInterfaceDefinition,\n AO extends AggregateOpts<Q>,\n> =\n & AO\n & {\n $select:\n & Pick<\n AO[\"$select\"],\n keyof AggregateOpts<Q>[\"$select\"] & keyof AO[\"$select\"]\n >\n & Record<\n Exclude<keyof AO[\"$select\"], keyof AggregateOpts<Q>[\"$select\"]>,\n never\n >;\n }\n & (unknown extends AO[\"$groupBy\"] ? {}\n : Exclude<AO[\"$groupBy\"], undefined> extends never ? {}\n : {\n $groupBy:\n & Pick<\n AO[\"$groupBy\"],\n keyof GroupByClause<Q> & keyof AO[\"$groupBy\"]\n >\n & Record<\n Exclude<keyof AO[\"$groupBy\"], keyof GroupByClause<Q>>,\n never\n >;\n });\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=AggregationResultsWithGroups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationResultsWithGroups.js","names":[],"sources":["AggregationResultsWithGroups.
|
|
1
|
+
{"version":3,"file":"AggregationResultsWithGroups.js","names":[],"sources":["AggregationResultsWithGroups.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 { OsdkObjectPropertyType } from \"../Definitions.js\";\nimport type { GroupByClause, GroupByRange } from \"../groupby/GroupByClause.js\";\nimport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { AggregationResultsWithoutGroups } from \"./AggregationResultsWithoutGroups.js\";\nimport type {\n OrderedAggregationClause,\n UnorderedAggregationClause,\n} from \"./AggregationsClause.js\";\n\nexport type AggregationResultsWithGroups<\n Q extends ObjectOrInterfaceDefinition,\n A extends UnorderedAggregationClause<Q> | OrderedAggregationClause<Q>,\n G extends GroupByClause<Q> | undefined,\n> = (\n & {\n $group: {\n [P in keyof G & PropertyKeys<Q>]: G[P] extends\n { $ranges: GroupByRange<infer T>[] } ? { startValue: T; endValue: T }\n : OsdkObjectPropertyType<CompileTimeMetadata<Q>[\"properties\"][P], true>;\n };\n }\n & AggregationResultsWithoutGroups<Q, A>\n)[];\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=AggregationResultsWithoutGroups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationResultsWithoutGroups.js","names":[],"sources":["AggregationResultsWithoutGroups.
|
|
1
|
+
{"version":3,"file":"AggregationResultsWithoutGroups.js","names":[],"sources":["AggregationResultsWithoutGroups.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 { OsdkObjectPropertyType } from \"../Definitions.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type {\n OrderedAggregationClause,\n UnorderedAggregationClause,\n} from \"./AggregationsClause.js\";\n\ntype ExtractPropName<T extends string> = T extends `${infer PropName}:${string}`\n ? PropName\n : T extends \"$count\" ? T\n : never;\n\ntype ExtractMetricNameForPropName<T, PropName extends string> = T extends\n `${PropName}:${infer MetricName}` ? MetricName : never;\n\nexport type AggregationResultsWithoutGroups<\n Q extends ObjectOrInterfaceDefinition,\n AC extends UnorderedAggregationClause<Q> | OrderedAggregationClause<Q>,\n> = {\n [PropName in ExtractPropName<keyof AC & string>]: PropName extends \"$count\"\n ? number\n : {\n [MetricName in ExtractMetricNameForPropName<keyof AC & string, PropName>]:\n MetricName extends \"approximateDistinct\" | \"exactDistinct\" ? number\n : OsdkObjectPropertyType<\n CompileTimeMetadata<Q>[\"properties\"][PropName]\n >;\n };\n};\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=AggregationsClause.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsClause.js","names":[],"sources":["AggregationsClause.
|
|
1
|
+
{"version":3,"file":"AggregationsClause.js","names":[],"sources":["AggregationsClause.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 { ValidAggregationKeys } from \"./AggregatableKeys.js\";\n\nexport type UnorderedAggregationClause<Q extends ObjectOrInterfaceDefinition> =\n { [AK in ValidAggregationKeys<Q>]?: \"unordered\" };\n\nexport type OrderedAggregationClause<Q extends ObjectOrInterfaceDefinition> = {\n [AK in ValidAggregationKeys<Q>]?: \"unordered\" | \"asc\" | \"desc\";\n};\n\nexport type AggregationClause<Q extends ObjectOrInterfaceDefinition> =\n | UnorderedAggregationClause<Q>\n | OrderedAggregationClause<Q>;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsClause.test.js","names":["describe","it"],"sources":["AggregationsClause.test.
|
|
1
|
+
{"version":3,"file":"AggregationsClause.test.js","names":["describe","it"],"sources":["AggregationsClause.test.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 { describe, it } from \"vitest\";\nimport type { AggregatableKeys } from \"./AggregatableKeys.js\";\nimport type { UnorderedAggregationClause } from \"./AggregationsClause.js\";\n\nexport type huh = AggregatableKeys<\n {\n metadata: any;\n objects: {\n Todo: {\n type: \"object\";\n apiName: \"Todo\";\n primaryKeyApiName: \"id\";\n primaryKeyType: \"double\";\n links: {};\n properties: {\n text: {\n type: \"string\";\n };\n id: {\n type: \"double\";\n };\n };\n };\n };\n actions: {};\n queries: {};\n }[\"objects\"][\"Todo\"]\n>;\n\nexport type Q = UnorderedAggregationClause<\n {\n metadata: any;\n objects: {\n Todo: {\n type: \"object\";\n apiName: \"Todo\";\n primaryKeyApiName: \"id\";\n primaryKeyType: \"double\";\n links: {};\n properties: {\n text: {\n type: \"string\";\n };\n id: {\n type: \"double\";\n };\n };\n };\n };\n actions: {};\n queries: {};\n }[\"objects\"][\"Todo\"]\n>;\n\ndescribe(\"AggregationClause\", () => {\n it(\"works\", () => {});\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,EAAEC,EAAE,QAAQ,QAAQ;AAsDrCD,QAAQ,CAAC,mBAAmB,EAAE,MAAM;EAClCC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AACvB,CAAC,CAAC","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=AggregationsResults.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsResults.js","names":[],"sources":["AggregationsResults.
|
|
1
|
+
{"version":3,"file":"AggregationsResults.js","names":[],"sources":["AggregationsResults.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 {\n AggregatableKeys,\n ValidAggregationKeys,\n} from \"./AggregatableKeys.js\";\nimport type { AggregateOpts } from \"./AggregateOpts.js\";\nimport type { AggregationResultsWithGroups } from \"./AggregationResultsWithGroups.js\";\nimport type { AggregationResultsWithoutGroups } from \"./AggregationResultsWithoutGroups.js\";\n\nexport type AggregationsResults<\n Q extends ObjectOrInterfaceDefinition,\n AO extends AggregateOpts<Q>,\n> = Exclude<keyof AO[\"$select\"], ValidAggregationKeys<Q>> extends never\n ? unknown extends AO[\"$groupBy\"] // groupBy is missing\n ? AggregationResultsWithoutGroups<Q, AO[\"$select\"]>\n : Exclude<AO[\"$groupBy\"], undefined> extends never // groupBy is explicitly undefined\n ? AggregationResultsWithoutGroups<Q, AO[\"$select\"]>\n : Exclude<keyof AO[\"$groupBy\"], AggregatableKeys<Q>> extends never\n ? AggregationResultsWithGroups<Q, AO[\"$select\"], AO[\"$groupBy\"]>\n : `Sorry, the following are not valid groups for an aggregation: ${Exclude<\n keyof AO[\"$groupBy\"] & string,\n AggregatableKeys<Q>\n >}`\n : `Sorry, the following are not valid selectors for an aggregation: ${Exclude<\n keyof AO[\"$select\"] & string,\n ValidAggregationKeys<Q>\n >}`;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayFilter.js","names":[],"sources":["ArrayFilter.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 { Just } from \"./Just.js\";\n\ninterface ArrayFilterOptions<T> {\n \"$contains\": T;\n \"$isNull\": boolean;\n}\nnamespace ArrayFilter {\n export interface $contains<T>\n extends Just<\"$contains\", ArrayFilterOptions<T>>\n {}\n export interface $isNull<T> extends Just<\"$isNull\", ArrayFilterOptions<T>> {}\n}\n\nexport type ArrayFilter<T> =\n | ArrayFilter.$contains<T>\n | ArrayFilter.$isNull<T>;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
export let BaseFilter;
|
|
17
|
+
/** @internal */
|
|
18
|
+
// extends for union distribution
|
|
19
|
+
/** @internal */
|
|
20
|
+
//# sourceMappingURL=BaseFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseFilter.js","names":["BaseFilter"],"sources":["BaseFilter.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 { Just } from \"./Just.js\";\n\nexport type BaseFilterOptions<T> = {\n \"$eq\": T;\n \"$ne\": T;\n \"$isNull\": boolean;\n \"$in\": ReadonlyArray<T>;\n};\n\nexport namespace BaseFilter {\n export interface $eq<T> extends Just<\"$eq\", BaseFilterOptions<T>> {}\n export interface $ne<T> extends Just<\"$ne\", BaseFilterOptions<T>> {}\n export interface $in<T> extends Just<\"$in\", BaseFilterOptions<T>> {}\n export interface $isNull<T> extends Just<\"$isNull\", BaseFilterOptions<T>> {}\n}\n\nexport type BaseFilter<T> =\n | BaseFilter.$eq<T>\n | BaseFilter.$ne<T>\n | BaseFilter.$in<T>\n | BaseFilter.$isNull<T>;\n\n/** @internal */\nexport type CatchThemAll<T> = CatchThemAllInternal<T, keyof T>;\n\n// extends for union distribution\n/** @internal */\ntype CatchThemAllInternal<T, K extends keyof T> = K extends keyof T\n ? { [k in K]: T[k] }\n : never;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyBiBA,UAAU;AAa3B;AAGA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export let BooleanFilter;
|
|
17
|
+
/** @internal */
|
|
18
|
+
function _typeCheck() {}
|
|
19
|
+
//# sourceMappingURL=BooleanFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanFilter.js","names":["BooleanFilter","_typeCheck"],"sources":["BooleanFilter.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 { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface BooleanFilterOptions extends BaseFilterOptions<boolean> {}\n\nexport namespace BooleanFilter {\n export interface $eq extends Just<\"$eq\", BooleanFilterOptions> {}\n export interface $ne extends Just<\"$ne\", BooleanFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", BooleanFilterOptions> {}\n export interface $in extends Just<\"$in\", BooleanFilterOptions> {}\n}\nexport type BooleanFilter =\n | boolean\n | BooleanFilter.$eq\n | BooleanFilter.$ne\n | BooleanFilter.$in\n | BooleanFilter.$isNull;\n\n/** @internal */\nfunction _typeCheck() {\n const b: BooleanFilter = {} as CatchThemAll<BooleanFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAqBiBA,aAAa;AAa9B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export let DatetimeFilter;
|
|
17
|
+
/** @internal */
|
|
18
|
+
function _typeCheck() {}
|
|
19
|
+
//# sourceMappingURL=DatetimeFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatetimeFilter.js","names":["DatetimeFilter","_typeCheck"],"sources":["DatetimeFilter.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 { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\nexport interface DatetimeFilterOptions extends BaseFilterOptions<string> {\n \"$gt\": string;\n \"$gte\": string;\n \"$lt\": string;\n \"$lte\": string;\n}\n\nexport namespace DatetimeFilter {\n export interface $eq extends Just<\"$eq\", DatetimeFilterOptions> {}\n export interface $ne extends Just<\"$ne\", DatetimeFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", DatetimeFilterOptions> {}\n export interface $gt extends Just<\"$gt\", DatetimeFilterOptions> {}\n export interface $gte extends Just<\"$gte\", DatetimeFilterOptions> {}\n export interface $lt extends Just<\"$lt\", DatetimeFilterOptions> {}\n export interface $lte extends Just<\"$lte\", DatetimeFilterOptions> {}\n export interface $in extends Just<\"$in\", DatetimeFilterOptions> {}\n}\nexport type DatetimeFilter =\n | string\n | DatetimeFilter.$eq\n | DatetimeFilter.$ne\n | DatetimeFilter.$isNull\n | DatetimeFilter.$in\n | DatetimeFilter.$gt\n | DatetimeFilter.$gte\n | DatetimeFilter.$lt\n | DatetimeFilter.$lte;\n\n/** @internal */\nfunction _typeCheck() {\n const b: DatetimeFilter = {} as CatchThemAll<DatetimeFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA0BiBA,cAAc;AAqB/B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoFilter.js","names":["GeoFilter"],"sources":["GeoFilter.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 { BBox, Point, Polygon } from \"geojson\";\nimport type { Just } from \"./Just.js\";\nimport type { DistanceUnitMapping } from \"./WhereClause.js\";\n\nexport interface GeoFilterOptions {\n \"$within\":\n | {\n $distance: [number, keyof typeof DistanceUnitMapping];\n $of: [number, number] | Readonly<Point>;\n $bbox?: never;\n $polygon?: never;\n }\n | {\n $bbox: BBox;\n $distance?: never;\n $of?: never;\n $polygon?: never;\n }\n | BBox\n | {\n $polygon: Polygon[\"coordinates\"];\n $bbox?: never;\n $distance?: never;\n $of?: never;\n }\n | Polygon;\n \"$intersects\":\n | {\n $bbox: BBox;\n $polygon?: never;\n }\n | BBox\n | {\n $polygon: Polygon[\"coordinates\"];\n $bbox?: never;\n }\n | Polygon;\n \"$isNull\": boolean;\n}\n\nexport namespace GeoFilter {\n export interface $within extends Just<\"$within\", GeoFilterOptions> {}\n export interface $intersects extends Just<\"$intersects\", GeoFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", GeoFilterOptions> {}\n}\n\nexport type GeoFilter =\n | GeoFilter.$within\n | GeoFilter.$intersects\n | GeoFilter.$isNull;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAwDiBA,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Just.js","names":[],"sources":["Just.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 Just<Z extends keyof V, V> =\n & {\n [k in Z]: V[k];\n }\n & {\n [k in keyof V as k extends Z ? never : k]?: never;\n };\n\nexport type NeverThese<V extends string | symbol | number> = {\n [k in V]?: never;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export let NumberFilter;
|
|
17
|
+
/** @internal */
|
|
18
|
+
function _typeCheck() {}
|
|
19
|
+
//# sourceMappingURL=NumberFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFilter.js","names":["NumberFilter","_typeCheck"],"sources":["NumberFilter.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 { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface NumberFilterOptions extends BaseFilterOptions<number> {\n \"$gt\": number;\n \"$gte\": number;\n \"$lt\": number;\n \"$lte\": number;\n}\n\nexport namespace NumberFilter {\n export interface $eq extends Just<\"$eq\", NumberFilterOptions> {}\n export interface $ne extends Just<\"$ne\", NumberFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", NumberFilterOptions> {}\n export interface $gt extends Just<\"$gt\", NumberFilterOptions> {}\n export interface $gte extends Just<\"$gte\", NumberFilterOptions> {}\n export interface $lt extends Just<\"$lt\", NumberFilterOptions> {}\n export interface $lte extends Just<\"$lte\", NumberFilterOptions> {}\n export interface $in extends Just<\"$in\", NumberFilterOptions> {}\n}\nexport type NumberFilter =\n | number\n | NumberFilter.$eq\n | NumberFilter.$ne\n | NumberFilter.$isNull\n | NumberFilter.$in\n | NumberFilter.$gt\n | NumberFilter.$gte\n | NumberFilter.$lt\n | NumberFilter.$lte;\n\n/** @internal */\nfunction _typeCheck() {\n const b: NumberFilter = {} as CatchThemAll<NumberFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA0BiBA,YAAY;AAqB7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export let StringFilter;
|
|
17
|
+
/** @internal */
|
|
18
|
+
function _typeCheck() {}
|
|
19
|
+
//# sourceMappingURL=StringFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.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 { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n \"$startsWith\": string;\n \"$containsAllTermsInOrder\": string;\n \"$containsAnyTerm\": string | { term: string; fuzzySearch?: boolean };\n \"$containsAllTerms\": string | { term: string; fuzzySearch?: boolean };\n \"$in\": ReadonlyArray<string>;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith\n extends Just<\"$startsWith\", StringFilterOptions>\n {\n }\n export interface $containsAllTermsInOrder\n extends Just<\"$containsAllTermsInOrder\", StringFilterOptions>\n {\n }\n export interface $containsAnyTerm\n extends Just<\"$containsAnyTerm\", StringFilterOptions>\n {\n }\n export interface $containsAllTerms\n extends Just<\"$containsAllTerms\", StringFilterOptions>\n {\n }\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA2BiBA,YAAY;AAkC7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","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
|
-
|
|
16
|
+
|
|
17
|
+
// the value side of this needs to match DistanceUnit from @osdk/foundry but we don't
|
|
17
18
|
// want the dependency
|
|
18
19
|
export const DistanceUnitMapping = {
|
|
19
20
|
"centimeter": "CENTIMETERS",
|
|
@@ -37,4 +38,6 @@ export const DistanceUnitMapping = {
|
|
|
37
38
|
"nauticalMile": "NAUTICAL_MILES",
|
|
38
39
|
"nautical miles": "NAUTICAL_MILES"
|
|
39
40
|
};
|
|
41
|
+
|
|
42
|
+
// FIXME we need to represent all types
|
|
40
43
|
//# sourceMappingURL=WhereClause.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WhereClause.js","names":["DistanceUnitMapping"],"sources":["WhereClause.
|
|
1
|
+
{"version":3,"file":"WhereClause.js","names":["DistanceUnitMapping"],"sources":["WhereClause.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 { BBox, Point, Polygon } from \"geojson\";\nimport type {\n ObjectOrInterfaceDefinition,\n} from \"../ontology/ObjectOrInterface.js\";\nimport type {\n CompileTimeMetadata,\n ObjectMetadata,\n} from \"../ontology/ObjectTypeDefinition.js\";\nimport type { BaseWirePropertyTypes } from \"../ontology/WirePropertyTypes.js\";\nimport type { IsNever } from \"../OsdkObjectFrom.js\";\nimport type { ArrayFilter } from \"./ArrayFilter.js\";\nimport type { BaseFilter } from \"./BaseFilter.js\";\nimport type { BooleanFilter } from \"./BooleanFilter.js\";\nimport type { DatetimeFilter } from \"./DatetimeFilter.js\";\nimport type { GeoFilter } from \"./GeoFilter.js\";\nimport type { Just } from \"./Just.js\";\nimport type { NumberFilter } from \"./NumberFilter.js\";\nimport type { StringFilter } from \"./StringFilter.js\";\n\nexport type PossibleWhereClauseFilters =\n | \"$gt\"\n | \"$eq\"\n | \"$ne\"\n | \"$isNull\"\n | \"$contains\"\n | \"$gte\"\n | \"$lt\"\n | \"$lte\"\n | \"$within\"\n | \"$in\"\n | \"$intersects\"\n | \"$startsWith\"\n | \"$containsAllTermsInOrder\"\n | \"$containsAnyTerm\"\n | \"$containsAllTerms\";\n\n// the value side of this needs to match DistanceUnit from @osdk/foundry but we don't\n// want the dependency\nexport const DistanceUnitMapping: {\n centimeter: \"CENTIMETERS\";\n centimeters: \"CENTIMETERS\";\n cm: \"CENTIMETERS\";\n meter: \"METERS\";\n meters: \"METERS\";\n m: \"METERS\";\n kilometer: \"KILOMETERS\";\n kilometers: \"KILOMETERS\";\n km: \"KILOMETERS\";\n inch: \"INCHES\";\n inches: \"INCHES\";\n foot: \"FEET\";\n feet: \"FEET\";\n yard: \"YARDS\";\n yards: \"YARDS\";\n mile: \"MILES\";\n miles: \"MILES\";\n nautical_mile: \"NAUTICAL_MILES\";\n nauticalMile: \"NAUTICAL_MILES\";\n \"nautical miles\": \"NAUTICAL_MILES\";\n} = {\n \"centimeter\": \"CENTIMETERS\",\n \"centimeters\": \"CENTIMETERS\",\n \"cm\": \"CENTIMETERS\",\n \"meter\": \"METERS\",\n \"meters\": \"METERS\",\n \"m\": \"METERS\",\n \"kilometer\": \"KILOMETERS\",\n \"kilometers\": \"KILOMETERS\",\n \"km\": \"KILOMETERS\",\n \"inch\": \"INCHES\",\n \"inches\": \"INCHES\",\n \"foot\": \"FEET\",\n \"feet\": \"FEET\",\n \"yard\": \"YARDS\",\n \"yards\": \"YARDS\",\n \"mile\": \"MILES\",\n \"miles\": \"MILES\",\n \"nautical_mile\": \"NAUTICAL_MILES\",\n \"nauticalMile\": \"NAUTICAL_MILES\",\n \"nautical miles\": \"NAUTICAL_MILES\",\n} satisfies Record<\n string,\n | \"CENTIMETERS\"\n | \"METERS\"\n | \"KILOMETERS\"\n | \"INCHES\"\n | \"FEET\"\n | \"YARDS\"\n | \"MILES\"\n | \"NAUTICAL_MILES\"\n>;\n\nexport type GeoFilter_Within = {\n \"$within\":\n | {\n $distance: [number, keyof typeof DistanceUnitMapping];\n $of: [number, number] | Readonly<Point>;\n $bbox?: never;\n $polygon?: never;\n }\n | {\n $bbox: BBox;\n $distance?: never;\n $of?: never;\n $polygon?: never;\n }\n | BBox\n | {\n $polygon: Polygon[\"coordinates\"];\n $bbox?: never;\n $distance?: never;\n $of?: never;\n }\n | Polygon;\n};\n\nexport type GeoFilter_Intersects = {\n \"$intersects\":\n | {\n $bbox: BBox;\n $polygon?: never;\n }\n | BBox\n | {\n $polygon: Polygon[\"coordinates\"];\n $bbox?: never;\n }\n | Polygon;\n};\n\ntype FilterFor<PD extends ObjectMetadata.Property> = PD[\"multiplicity\"] extends\n true\n ? (PD[\"type\"] extends\n \"string\" | \"geopoint\" | \"geoshape\" | \"datetime\" | \"timestamp\"\n ? ArrayFilter<string>\n : (PD[\"type\"] extends boolean ? ArrayFilter<boolean>\n : ArrayFilter<number>))\n : PD[\"type\"] extends Record<string, BaseWirePropertyTypes> ?\n | StructFilter<PD[\"type\"]>\n | BaseFilter.$isNull<string>\n : (PD[\"type\"] extends \"string\" ? StringFilter\n : PD[\"type\"] extends \"geopoint\" | \"geoshape\" ? GeoFilter\n : PD[\"type\"] extends \"datetime\" | \"timestamp\" ? DatetimeFilter\n : PD[\"type\"] extends \"boolean\" ? BooleanFilter\n : PD[\"type\"] extends\n \"double\" | \"integer\" | \"long\" | \"float\" | \"decimal\" | \"byte\"\n ? NumberFilter\n : BaseFilter<string>); // FIXME we need to represent all types\n\ntype StructFilterOpts<ST extends Record<string, BaseWirePropertyTypes>> = {\n [K in keyof ST]?: FilterFor<{ \"type\": ST[K] }>;\n};\ntype StructFilter<ST extends Record<string, BaseWirePropertyTypes>> = {\n [K in keyof ST]: Just<K, StructFilterOpts<ST>>;\n}[keyof ST];\n\nexport interface AndWhereClause<\n T extends ObjectOrInterfaceDefinition,\n> {\n $and: WhereClause<T>[];\n}\n\nexport interface OrWhereClause<\n T extends ObjectOrInterfaceDefinition,\n> {\n $or: WhereClause<T>[];\n}\n\nexport interface NotWhereClause<\n T extends ObjectOrInterfaceDefinition,\n> {\n $not: WhereClause<T>;\n}\n\nexport type PropertyWhereClause<T extends ObjectOrInterfaceDefinition> = {\n [P in keyof CompileTimeMetadata<T>[\"properties\"]]?: FilterFor<\n CompileTimeMetadata<T>[\"properties\"][P]\n >;\n};\n\nexport type WhereClause<\n T extends ObjectOrInterfaceDefinition,\n> =\n | OrWhereClause<T>\n | AndWhereClause<T>\n | NotWhereClause<T>\n | (IsNever<keyof CompileTimeMetadata<T>[\"properties\"]> extends true\n ? Record<string, never>\n : PropertyWhereClause<T>);\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsCA;AACA;AACA,OAAO,MAAMA,mBAqBZ,GAAG;EACF,YAAY,EAAE,aAAa;EAC3B,aAAa,EAAE,aAAa;EAC5B,IAAI,EAAE,aAAa;EACnB,OAAO,EAAE,QAAQ;EACjB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,QAAQ;EACb,WAAW,EAAE,YAAY;EACzB,YAAY,EAAE,YAAY;EAC1B,IAAI,EAAE,YAAY;EAClB,MAAM,EAAE,QAAQ;EAChB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,MAAM;EACd,MAAM,EAAE,MAAM;EACd,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;EAChB,eAAe,EAAE,gBAAgB;EACjC,cAAc,EAAE,gBAAgB;EAChC,gBAAgB,EAAE;AACpB,CAUC;;AAyD0B","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=LinkDefinitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDefinitions.js","names":[],"sources":["LinkDefinitions.
|
|
1
|
+
{"version":3,"file":"LinkDefinitions.js","names":[],"sources":["LinkDefinitions.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 { FetchPageArgs, SelectArg } from \"../object/FetchPageArgs.js\";\nimport type { Result } from \"../object/Result.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { PropertyKeys } from \"../ontology/ObjectOrInterface.js\";\nimport type {\n CompileTimeMetadata,\n ObjectMetadata,\n ObjectTypeDefinition,\n ObjectTypeLinkKeysFrom2,\n} from \"../ontology/ObjectTypeDefinition.js\";\nimport type { ExtractOptions, Osdk } from \"../OsdkObjectFrom.js\";\n\n/** The $link container to get from one object type to its linked objects */\nexport type OsdkObjectLinksObject<\n O extends ObjectTypeDefinition,\n> = ObjectTypeLinkKeysFrom2<O> extends never ? never : {\n readonly [L in ObjectTypeLinkKeysFrom2<O>]: OsdkObjectLinksEntry<O, L>;\n};\n\nexport type OsdkObjectLinksEntry<\n Q extends ObjectTypeDefinition,\n L extends ObjectTypeLinkKeysFrom2<Q>,\n> = CompileTimeMetadata<Q>[\"links\"][L] extends\n ObjectMetadata.Link<infer T, infer M> ? (\n M extends false ? SingleLinkAccessor<T> : ObjectSet<T>\n )\n : never;\n\nexport type DefaultToFalse<B extends boolean | undefined> = false extends B\n ? false\n : undefined extends B ? false\n : true;\n\nexport interface SingleLinkAccessor<\n T extends ObjectTypeDefinition,\n> {\n /** Load the linked object\n */\n fetchOne: <\n const A extends SelectArg<\n T,\n PropertyKeys<T>,\n boolean\n >,\n >(\n options?: A,\n ) => Promise<\n A extends FetchPageArgs<T, infer L, infer R, any, infer S>\n ? Osdk.Instance<T, ExtractOptions<R, S>, L>\n : Osdk.Instance<T>\n >;\n\n /** Load the linked object, with a result wrapper\n */\n fetchOneWithErrors: <\n const A extends SelectArg<\n T,\n PropertyKeys<T>,\n boolean\n >,\n >(\n options?: A,\n ) => Promise<\n Result<\n A extends FetchPageArgs<T, infer L, infer R, any, infer S>\n ? Osdk.Instance<T, ExtractOptions<R, S>, L>\n : Osdk.Instance<T>\n >\n >;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDefinitions.test.js","names":["describe","expectTypeOf","it","toEqualTypeOf"],"sources":["LinkDefinitions.test.
|
|
1
|
+
{"version":3,"file":"LinkDefinitions.test.js","names":["describe","expectTypeOf","it","toEqualTypeOf"],"sources":["LinkDefinitions.test.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 { describe, expectTypeOf, it } from \"vitest\";\nimport type { DefaultToFalse } from \"./LinkDefinitions.js\";\n\ndescribe(\"DefaultToFalse\", () => {\n it(\"infers properly\", () => {\n expectTypeOf<DefaultToFalse<true>>().toEqualTypeOf<true>();\n expectTypeOf<DefaultToFalse<false>>().toEqualTypeOf<false>();\n expectTypeOf<DefaultToFalse<undefined>>().toEqualTypeOf<false>();\n expectTypeOf<DefaultToFalse<boolean>>().toEqualTypeOf<false>();\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,QAAQ,QAAQ;AAGnDF,QAAQ,CAAC,gBAAgB,EAAE,MAAM;EAC/BE,EAAE,CAAC,iBAAiB,EAAE,MAAM;IAC1BD,YAAY,CAAuB,CAAC,CAACE,aAAa,CAAO,CAAC;IAC1DF,YAAY,CAAwB,CAAC,CAACE,aAAa,CAAQ,CAAC;IAC5DF,YAAY,CAA4B,CAAC,CAACE,aAAa,CAAQ,CAAC;IAChEF,YAAY,CAA0B,CAAC,CAACE,aAAa,CAAQ,CAAC;EAChE,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithPropertiesAggregationOptions.js","names":[],"sources":["WithPropertiesAggregationOptions.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\nexport type CollectWithPropAggregations = \"collectSet\" | \"collectList\";\n\nexport type BaseWithPropAggregations =\n | \"approximateDistinct\"\n | \"exactDistinct\"\n | \"approximatePercentile\";\n\nexport type StringWithPropAggregateOption =\n | BaseWithPropAggregations\n | CollectWithPropAggregations;\n\nexport type NumericWithPropAggregateOption =\n | \"min\"\n | \"max\"\n | \"sum\"\n | \"avg\"\n | BaseWithPropAggregations\n | CollectWithPropAggregations;\n"],"mappings":"","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=Experiment.js.map
|