@osdk/api 2.0.0-beta.12 → 2.0.0-beta.14
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 +30 -0
- package/build/browser/Definitions.d.ts +16 -0
- package/build/browser/Definitions.d.ts.map +1 -0
- package/build/browser/Definitions.js +17 -0
- package/build/browser/Definitions.js.map +1 -0
- package/build/browser/OsdkBase.d.ts +13 -0
- package/build/browser/OsdkBase.d.ts.map +1 -0
- package/build/browser/OsdkBase.js +17 -0
- package/build/browser/OsdkBase.js.map +1 -0
- package/build/browser/OsdkMetadata.d.ts +4 -0
- package/build/browser/OsdkMetadata.d.ts.map +1 -0
- package/build/browser/OsdkMetadata.js +17 -0
- package/build/browser/OsdkMetadata.js.map +1 -0
- package/build/browser/OsdkObject.d.ts +8 -0
- package/build/browser/OsdkObject.d.ts.map +1 -0
- package/build/browser/OsdkObject.js +17 -0
- package/build/browser/OsdkObject.js.map +1 -0
- package/build/browser/OsdkObjectFrom.d.ts +36 -0
- package/build/browser/OsdkObjectFrom.d.ts.map +1 -0
- package/build/browser/OsdkObjectFrom.js +17 -0
- package/build/browser/OsdkObjectFrom.js.map +1 -0
- package/build/browser/OsdkObjectPrimaryKeyType.d.ts +4 -0
- package/build/browser/OsdkObjectPrimaryKeyType.d.ts.map +1 -0
- package/build/browser/OsdkObjectPrimaryKeyType.js +17 -0
- package/build/browser/OsdkObjectPrimaryKeyType.js.map +1 -0
- package/build/browser/PageResult.d.ts +6 -0
- package/build/browser/PageResult.d.ts.map +1 -0
- package/build/browser/PageResult.js +17 -0
- package/build/browser/PageResult.js.map +1 -0
- package/build/browser/actions/ActionResults.d.ts +81 -0
- package/build/browser/actions/ActionResults.d.ts.map +1 -0
- package/build/browser/actions/ActionResults.js +17 -0
- package/build/browser/actions/ActionResults.js.map +1 -0
- package/build/browser/actions/ActionReturnTypeForOptions.d.ts +7 -0
- package/build/browser/actions/ActionReturnTypeForOptions.d.ts.map +1 -0
- package/build/browser/actions/ActionReturnTypeForOptions.js +17 -0
- package/build/browser/actions/ActionReturnTypeForOptions.js.map +1 -0
- package/build/browser/actions/Actions.d.ts +36 -0
- package/build/browser/actions/Actions.d.ts.map +1 -0
- package/build/browser/actions/Actions.js +17 -0
- package/build/browser/actions/Actions.js.map +1 -0
- package/build/browser/aggregate/AggregatableKeys.d.ts +16 -0
- package/build/browser/aggregate/AggregatableKeys.d.ts.map +1 -0
- package/build/browser/aggregate/AggregatableKeys.js +17 -0
- package/build/browser/aggregate/AggregatableKeys.js.map +1 -0
- package/build/browser/aggregate/AggregateOpts.d.ts +10 -0
- package/build/browser/aggregate/AggregateOpts.d.ts.map +1 -0
- package/build/browser/aggregate/AggregateOpts.js +17 -0
- package/build/browser/aggregate/AggregateOpts.js.map +1 -0
- package/build/browser/aggregate/AggregateOptsThatErrors.d.ts +17 -0
- package/build/browser/aggregate/AggregateOptsThatErrors.d.ts.map +1 -0
- package/build/browser/aggregate/AggregateOptsThatErrors.js +17 -0
- package/build/browser/aggregate/AggregateOptsThatErrors.js.map +1 -0
- package/build/browser/aggregate/AggregationResultsWithGroups.d.ts +17 -0
- package/build/browser/aggregate/AggregationResultsWithGroups.d.ts.map +1 -0
- package/build/browser/aggregate/AggregationResultsWithGroups.js +17 -0
- package/build/browser/aggregate/AggregationResultsWithGroups.js.map +1 -0
- package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts +13 -0
- package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts.map +1 -0
- package/build/browser/aggregate/AggregationResultsWithoutGroups.js +17 -0
- package/build/browser/aggregate/AggregationResultsWithoutGroups.js.map +1 -0
- package/build/browser/aggregate/AggregationsClause.d.ts +10 -0
- package/build/browser/aggregate/AggregationsClause.d.ts.map +1 -0
- package/build/browser/aggregate/AggregationsClause.js +17 -0
- package/build/browser/aggregate/AggregationsClause.js.map +1 -0
- package/build/browser/aggregate/AggregationsClause.test.d.ts +47 -0
- package/build/browser/aggregate/AggregationsClause.test.d.ts.map +1 -0
- package/build/browser/aggregate/AggregationsClause.test.js +20 -0
- package/build/browser/aggregate/AggregationsClause.test.js.map +1 -0
- package/build/browser/aggregate/AggregationsResults.d.ts +7 -0
- package/build/browser/aggregate/AggregationsResults.d.ts.map +1 -0
- package/build/browser/aggregate/AggregationsResults.js +17 -0
- package/build/browser/aggregate/AggregationsResults.js.map +1 -0
- package/build/browser/aggregate/WhereClause.d.ts +78 -0
- package/build/browser/aggregate/WhereClause.d.ts.map +1 -0
- package/build/browser/aggregate/WhereClause.js +40 -0
- package/build/browser/aggregate/WhereClause.js.map +1 -0
- package/build/browser/definitions/LinkDefinitions.d.ts +21 -0
- package/build/browser/definitions/LinkDefinitions.d.ts.map +1 -0
- package/build/browser/definitions/LinkDefinitions.js +17 -0
- package/build/browser/definitions/LinkDefinitions.js.map +1 -0
- package/build/browser/definitions/LinkDefinitions.test.d.ts +2 -0
- package/build/browser/definitions/LinkDefinitions.test.d.ts.map +1 -0
- package/build/browser/definitions/LinkDefinitions.test.js +25 -0
- package/build/browser/definitions/LinkDefinitions.test.js.map +1 -0
- package/build/browser/groupby/GroupByClause.d.ts +73 -0
- package/build/browser/groupby/GroupByClause.d.ts.map +1 -0
- package/build/browser/groupby/GroupByClause.js +22 -0
- package/build/browser/groupby/GroupByClause.js.map +1 -0
- package/build/browser/groupby/GroupByClause.test.d.ts +24 -0
- package/build/browser/groupby/GroupByClause.test.d.ts.map +1 -0
- package/build/browser/groupby/GroupByClause.test.js +20 -0
- package/build/browser/groupby/GroupByClause.test.js.map +1 -0
- package/build/browser/groupby/GroupByMapper.d.ts +14 -0
- package/build/browser/groupby/GroupByMapper.d.ts.map +1 -0
- package/build/browser/groupby/GroupByMapper.js +17 -0
- package/build/browser/groupby/GroupByMapper.js.map +1 -0
- package/build/browser/index.d.ts +43 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +19 -2
- package/build/browser/index.js.map +1 -1
- package/build/browser/junk.test.d.ts +2 -0
- package/build/browser/junk.test.d.ts.map +1 -0
- package/build/browser/junk.test.js +22 -0
- package/build/browser/junk.test.js.map +1 -0
- package/build/browser/mapping/DataValueMapping.d.ts +71 -0
- package/build/browser/mapping/DataValueMapping.d.ts.map +1 -0
- package/build/browser/mapping/DataValueMapping.js +17 -0
- package/build/browser/mapping/DataValueMapping.js.map +1 -0
- package/build/browser/mapping/DurationMapping.d.ts +23 -0
- package/build/browser/mapping/DurationMapping.d.ts.map +1 -0
- package/build/browser/mapping/DurationMapping.js +38 -0
- package/build/browser/mapping/DurationMapping.js.map +1 -0
- package/build/browser/mapping/PropertyValueMapping.d.ts +47 -0
- package/build/browser/mapping/PropertyValueMapping.d.ts.map +1 -0
- package/build/browser/mapping/PropertyValueMapping.js +17 -0
- package/build/browser/mapping/PropertyValueMapping.js.map +1 -0
- package/build/browser/object/Attachment.d.ts +25 -0
- package/build/browser/object/Attachment.d.ts.map +1 -0
- package/build/browser/object/Attachment.js +17 -0
- package/build/browser/object/Attachment.js.map +1 -0
- package/build/browser/object/FetchPageArgs.d.ts +34 -0
- package/build/browser/object/FetchPageArgs.d.ts.map +1 -0
- package/build/browser/object/FetchPageArgs.js +17 -0
- package/build/browser/object/FetchPageArgs.js.map +1 -0
- package/build/browser/object/FetchPageResult.d.ts +15 -0
- package/build/browser/object/FetchPageResult.d.ts.map +1 -0
- package/build/browser/object/FetchPageResult.js +17 -0
- package/build/browser/object/FetchPageResult.js.map +1 -0
- package/build/browser/object/ObjectDefinitions.test.d.ts +2 -0
- package/build/browser/object/ObjectDefinitions.test.d.ts.map +1 -0
- package/build/browser/object/ObjectDefinitions.test.js +23 -0
- package/build/browser/object/ObjectDefinitions.test.js.map +1 -0
- package/build/browser/object/Result.d.ts +22 -0
- package/build/browser/object/Result.d.ts.map +1 -0
- package/build/browser/object/Result.js +32 -0
- package/build/browser/object/Result.js.map +1 -0
- package/build/browser/objectSet/BaseObjectSet.d.ts +7 -0
- package/build/browser/objectSet/BaseObjectSet.d.ts.map +1 -0
- package/build/browser/objectSet/BaseObjectSet.js +17 -0
- package/build/browser/objectSet/BaseObjectSet.js.map +1 -0
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +18 -0
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +1 -0
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js +17 -0
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +1 -0
- package/build/browser/objectSet/ObjectSet.d.ts +145 -0
- package/build/browser/objectSet/ObjectSet.d.ts.map +1 -0
- package/build/browser/objectSet/ObjectSet.js +17 -0
- package/build/browser/objectSet/ObjectSet.js.map +1 -0
- package/build/browser/ontology/ActionDefinition.d.ts +46 -0
- package/build/browser/ontology/ActionDefinition.d.ts.map +1 -0
- package/build/browser/ontology/ActionDefinition.js +17 -0
- package/build/browser/ontology/ActionDefinition.js.map +1 -0
- package/build/browser/ontology/InterfaceDefinition.d.ts +12 -0
- package/build/browser/ontology/InterfaceDefinition.d.ts.map +1 -0
- package/build/browser/ontology/InterfaceDefinition.js +17 -0
- package/build/browser/ontology/InterfaceDefinition.js.map +1 -0
- package/build/browser/ontology/ObjectOrInterface.d.ts +5 -0
- package/build/browser/ontology/ObjectOrInterface.d.ts.map +1 -0
- package/build/browser/ontology/ObjectOrInterface.js +17 -0
- package/build/browser/ontology/ObjectOrInterface.js.map +1 -0
- package/build/browser/ontology/ObjectTypeDefinition.d.ts +85 -0
- package/build/browser/ontology/ObjectTypeDefinition.d.ts.map +1 -0
- package/build/browser/ontology/ObjectTypeDefinition.js +17 -0
- package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -0
- package/build/browser/ontology/OntologyMetadata.d.ts +7 -0
- package/build/browser/ontology/OntologyMetadata.d.ts.map +1 -0
- package/build/browser/ontology/OntologyMetadata.js +17 -0
- package/build/browser/ontology/OntologyMetadata.js.map +1 -0
- package/build/browser/ontology/PrimaryKeyTypes.d.ts +2 -0
- package/build/browser/ontology/PrimaryKeyTypes.d.ts.map +1 -0
- package/build/browser/ontology/PrimaryKeyTypes.js +17 -0
- package/build/browser/ontology/PrimaryKeyTypes.js.map +1 -0
- package/build/browser/ontology/QueryDefinition.d.ts +68 -0
- package/build/browser/ontology/QueryDefinition.d.ts.map +1 -0
- package/build/browser/ontology/QueryDefinition.js +17 -0
- package/build/browser/ontology/QueryDefinition.js.map +1 -0
- package/build/browser/ontology/VersionString.d.ts +2 -0
- package/build/browser/ontology/VersionString.d.ts.map +1 -0
- package/build/browser/ontology/VersionString.js +17 -0
- package/build/browser/ontology/VersionString.js.map +1 -0
- package/build/browser/ontology/WirePropertyTypes.d.ts +2 -0
- package/build/browser/ontology/WirePropertyTypes.d.ts.map +1 -0
- package/build/browser/ontology/WirePropertyTypes.js +17 -0
- package/build/browser/ontology/WirePropertyTypes.js.map +1 -0
- package/build/browser/public/unstable.d.ts +6 -0
- package/build/browser/public/unstable.d.ts.map +1 -0
- package/build/browser/public/unstable.js +19 -0
- package/build/browser/public/unstable.js.map +1 -0
- package/build/browser/queries/Queries.d.ts +41 -0
- package/build/browser/queries/Queries.d.ts.map +1 -0
- package/build/browser/queries/Queries.js +17 -0
- package/build/browser/queries/Queries.js.map +1 -0
- package/build/browser/timeseries/timeseries.d.ts +89 -0
- package/build/browser/timeseries/timeseries.d.ts.map +1 -0
- package/build/browser/timeseries/timeseries.js +22 -0
- package/build/browser/timeseries/timeseries.js.map +1 -0
- package/build/browser/util/LinkUtils.d.ts +5 -0
- package/build/browser/util/LinkUtils.d.ts.map +1 -0
- package/build/browser/util/LinkUtils.js +17 -0
- package/build/browser/util/LinkUtils.js.map +1 -0
- package/build/esm/Definitions.d.ts +16 -0
- package/build/esm/Definitions.d.ts.map +1 -0
- package/build/esm/Definitions.js +17 -0
- package/build/esm/Definitions.js.map +1 -0
- package/build/esm/OsdkBase.d.ts +13 -0
- package/build/esm/OsdkBase.d.ts.map +1 -0
- package/build/esm/OsdkBase.js +17 -0
- package/build/esm/OsdkBase.js.map +1 -0
- package/build/esm/OsdkMetadata.js +17 -0
- package/build/esm/OsdkMetadata.js.map +1 -0
- package/build/esm/OsdkObject.d.ts +8 -0
- package/build/esm/OsdkObject.d.ts.map +1 -0
- package/build/esm/OsdkObject.js +17 -0
- package/build/esm/OsdkObject.js.map +1 -0
- package/build/esm/OsdkObjectFrom.d.ts +36 -0
- package/build/esm/OsdkObjectFrom.d.ts.map +1 -0
- package/build/esm/OsdkObjectFrom.js +17 -0
- package/build/esm/OsdkObjectFrom.js.map +1 -0
- package/build/esm/OsdkObjectPrimaryKeyType.d.ts +4 -0
- package/build/esm/OsdkObjectPrimaryKeyType.d.ts.map +1 -0
- package/build/esm/OsdkObjectPrimaryKeyType.js +17 -0
- package/build/esm/OsdkObjectPrimaryKeyType.js.map +1 -0
- package/build/esm/PageResult.d.ts +6 -0
- package/build/esm/PageResult.d.ts.map +1 -0
- package/build/esm/PageResult.js +17 -0
- package/build/esm/PageResult.js.map +1 -0
- package/build/esm/actions/ActionResults.d.ts +81 -0
- package/build/esm/actions/ActionResults.d.ts.map +1 -0
- package/build/esm/actions/ActionResults.js +17 -0
- package/build/esm/actions/ActionResults.js.map +1 -0
- package/build/esm/actions/ActionReturnTypeForOptions.d.ts +7 -0
- package/build/esm/actions/ActionReturnTypeForOptions.d.ts.map +1 -0
- package/build/esm/actions/ActionReturnTypeForOptions.js +17 -0
- package/build/esm/actions/ActionReturnTypeForOptions.js.map +1 -0
- package/build/esm/actions/Actions.d.ts +36 -0
- package/build/esm/actions/Actions.d.ts.map +1 -0
- package/build/esm/actions/Actions.js +17 -0
- package/build/esm/actions/Actions.js.map +1 -0
- package/build/esm/aggregate/AggregatableKeys.d.ts +16 -0
- package/build/esm/aggregate/AggregatableKeys.d.ts.map +1 -0
- package/build/esm/aggregate/AggregatableKeys.js +17 -0
- package/build/esm/aggregate/AggregatableKeys.js.map +1 -0
- package/build/esm/aggregate/AggregateOpts.d.ts +10 -0
- package/build/esm/aggregate/AggregateOpts.d.ts.map +1 -0
- package/build/esm/aggregate/AggregateOpts.js +17 -0
- package/build/esm/aggregate/AggregateOpts.js.map +1 -0
- package/build/esm/aggregate/AggregateOptsThatErrors.d.ts +17 -0
- package/build/esm/aggregate/AggregateOptsThatErrors.d.ts.map +1 -0
- package/build/esm/aggregate/AggregateOptsThatErrors.js +17 -0
- package/build/esm/aggregate/AggregateOptsThatErrors.js.map +1 -0
- package/build/esm/aggregate/AggregationResultsWithGroups.d.ts +17 -0
- package/build/esm/aggregate/AggregationResultsWithGroups.d.ts.map +1 -0
- package/build/esm/aggregate/AggregationResultsWithGroups.js +17 -0
- package/build/esm/aggregate/AggregationResultsWithGroups.js.map +1 -0
- package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts +13 -0
- package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts.map +1 -0
- package/build/esm/aggregate/AggregationResultsWithoutGroups.js +17 -0
- package/build/esm/aggregate/AggregationResultsWithoutGroups.js.map +1 -0
- package/build/esm/aggregate/AggregationsClause.d.ts +10 -0
- package/build/esm/aggregate/AggregationsClause.d.ts.map +1 -0
- package/build/esm/aggregate/AggregationsClause.js +17 -0
- package/build/esm/aggregate/AggregationsClause.js.map +1 -0
- package/build/esm/aggregate/AggregationsClause.test.d.ts +47 -0
- package/build/esm/aggregate/AggregationsClause.test.d.ts.map +1 -0
- package/build/esm/aggregate/AggregationsClause.test.js +20 -0
- package/build/esm/aggregate/AggregationsClause.test.js.map +1 -0
- package/build/esm/aggregate/AggregationsResults.d.ts +7 -0
- package/build/esm/aggregate/AggregationsResults.d.ts.map +1 -0
- package/build/esm/aggregate/AggregationsResults.js +17 -0
- package/build/esm/aggregate/AggregationsResults.js.map +1 -0
- package/build/esm/aggregate/WhereClause.d.ts +78 -0
- package/build/esm/aggregate/WhereClause.d.ts.map +1 -0
- package/build/esm/aggregate/WhereClause.js +40 -0
- package/build/esm/aggregate/WhereClause.js.map +1 -0
- package/build/esm/definitions/LinkDefinitions.d.ts +21 -0
- package/build/esm/definitions/LinkDefinitions.d.ts.map +1 -0
- package/build/esm/definitions/LinkDefinitions.js +17 -0
- package/build/esm/definitions/LinkDefinitions.js.map +1 -0
- package/build/esm/definitions/LinkDefinitions.test.d.ts +2 -0
- package/build/esm/definitions/LinkDefinitions.test.d.ts.map +1 -0
- package/build/esm/definitions/LinkDefinitions.test.js +25 -0
- package/build/esm/definitions/LinkDefinitions.test.js.map +1 -0
- package/build/esm/groupby/GroupByClause.d.ts +73 -0
- package/build/esm/groupby/GroupByClause.d.ts.map +1 -0
- package/build/esm/groupby/GroupByClause.js +22 -0
- package/build/esm/groupby/GroupByClause.js.map +1 -0
- package/build/esm/groupby/GroupByClause.test.d.ts +24 -0
- package/build/esm/groupby/GroupByClause.test.d.ts.map +1 -0
- package/build/esm/groupby/GroupByClause.test.js +20 -0
- package/build/esm/groupby/GroupByClause.test.js.map +1 -0
- package/build/esm/groupby/GroupByMapper.d.ts +14 -0
- package/build/esm/groupby/GroupByMapper.d.ts.map +1 -0
- package/build/esm/groupby/GroupByMapper.js +17 -0
- package/build/esm/groupby/GroupByMapper.js.map +1 -0
- package/build/esm/index.d.ts +38 -6
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +19 -2
- package/build/esm/index.js.map +1 -1
- package/build/esm/junk.test.js +22 -0
- package/build/esm/junk.test.js.map +1 -0
- package/build/esm/mapping/DataValueMapping.d.ts +71 -0
- package/build/esm/mapping/DataValueMapping.d.ts.map +1 -0
- package/build/esm/mapping/DataValueMapping.js +17 -0
- package/build/esm/mapping/DataValueMapping.js.map +1 -0
- package/build/esm/mapping/DurationMapping.d.ts +23 -0
- package/build/esm/mapping/DurationMapping.d.ts.map +1 -0
- package/build/esm/mapping/DurationMapping.js +38 -0
- package/build/esm/mapping/DurationMapping.js.map +1 -0
- package/build/esm/mapping/PropertyValueMapping.d.ts +47 -0
- package/build/esm/mapping/PropertyValueMapping.d.ts.map +1 -0
- package/build/esm/mapping/PropertyValueMapping.js +17 -0
- package/build/esm/mapping/PropertyValueMapping.js.map +1 -0
- package/build/esm/object/Attachment.d.ts +25 -0
- package/build/esm/object/Attachment.d.ts.map +1 -0
- package/build/esm/object/Attachment.js +17 -0
- package/build/esm/object/Attachment.js.map +1 -0
- package/build/esm/object/FetchPageArgs.d.ts +34 -0
- package/build/esm/object/FetchPageArgs.d.ts.map +1 -0
- package/build/esm/object/FetchPageArgs.js +17 -0
- package/build/esm/object/FetchPageArgs.js.map +1 -0
- package/build/esm/object/FetchPageResult.d.ts +15 -0
- package/build/esm/object/FetchPageResult.d.ts.map +1 -0
- package/build/esm/object/FetchPageResult.js +17 -0
- package/build/esm/object/FetchPageResult.js.map +1 -0
- package/build/esm/object/ObjectDefinitions.test.d.ts +2 -0
- package/build/esm/object/ObjectDefinitions.test.d.ts.map +1 -0
- package/build/esm/object/ObjectDefinitions.test.js +23 -0
- package/build/esm/object/ObjectDefinitions.test.js.map +1 -0
- package/build/esm/object/Result.d.ts +22 -0
- package/build/esm/object/Result.d.ts.map +1 -0
- package/build/esm/object/Result.js +32 -0
- package/build/esm/object/Result.js.map +1 -0
- package/build/esm/objectSet/BaseObjectSet.d.ts +7 -0
- package/build/esm/objectSet/BaseObjectSet.d.ts.map +1 -0
- package/build/esm/objectSet/BaseObjectSet.js +17 -0
- package/build/esm/objectSet/BaseObjectSet.js.map +1 -0
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +18 -0
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +1 -0
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js +17 -0
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +1 -0
- package/build/esm/objectSet/ObjectSet.d.ts +145 -0
- package/build/esm/objectSet/ObjectSet.d.ts.map +1 -0
- package/build/esm/objectSet/ObjectSet.js +17 -0
- package/build/esm/objectSet/ObjectSet.js.map +1 -0
- package/build/esm/ontology/ActionDefinition.d.ts +34 -30
- package/build/esm/ontology/ActionDefinition.d.ts.map +1 -1
- package/build/esm/ontology/ActionDefinition.js +17 -0
- package/build/esm/ontology/ActionDefinition.js.map +1 -0
- package/build/esm/ontology/InterfaceDefinition.d.ts +4 -4
- package/build/esm/ontology/InterfaceDefinition.d.ts.map +1 -1
- package/build/esm/ontology/InterfaceDefinition.js +17 -0
- package/build/esm/ontology/InterfaceDefinition.js.map +1 -0
- package/build/esm/ontology/ObjectOrInterface.d.ts +3 -5
- package/build/esm/ontology/ObjectOrInterface.d.ts.map +1 -1
- package/build/esm/ontology/ObjectOrInterface.js +17 -0
- package/build/esm/ontology/ObjectOrInterface.js.map +1 -0
- package/build/esm/ontology/ObjectTypeDefinition.d.ts +30 -21
- package/build/esm/ontology/ObjectTypeDefinition.d.ts.map +1 -1
- package/build/esm/ontology/ObjectTypeDefinition.js +17 -0
- package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -0
- package/build/esm/ontology/OntologyMetadata.js +17 -0
- package/build/esm/ontology/OntologyMetadata.js.map +1 -0
- package/build/esm/ontology/PrimaryKeyTypes.js +17 -0
- package/build/esm/ontology/PrimaryKeyTypes.js.map +1 -0
- package/build/esm/ontology/QueryDefinition.d.ts +10 -9
- package/build/esm/ontology/QueryDefinition.d.ts.map +1 -1
- package/build/esm/ontology/QueryDefinition.js +17 -0
- package/build/esm/ontology/QueryDefinition.js.map +1 -0
- package/build/esm/ontology/VersionString.js +17 -0
- package/build/esm/ontology/VersionString.js.map +1 -0
- package/build/esm/ontology/WirePropertyTypes.js +17 -0
- package/build/esm/ontology/WirePropertyTypes.js.map +1 -0
- package/build/esm/public/unstable.d.ts +6 -0
- package/build/esm/public/unstable.d.ts.map +1 -0
- package/build/esm/public/unstable.js +19 -0
- package/build/esm/public/unstable.js.map +1 -0
- package/build/esm/queries/Queries.d.ts +41 -0
- package/build/esm/queries/Queries.d.ts.map +1 -0
- package/build/esm/queries/Queries.js +17 -0
- package/build/esm/queries/Queries.js.map +1 -0
- package/build/esm/timeseries/timeseries.d.ts +89 -0
- package/build/esm/timeseries/timeseries.d.ts.map +1 -0
- package/build/esm/timeseries/timeseries.js +22 -0
- package/build/esm/timeseries/timeseries.js.map +1 -0
- package/build/esm/util/LinkUtils.d.ts +5 -0
- package/build/esm/util/LinkUtils.d.ts.map +1 -0
- package/build/esm/util/LinkUtils.js +17 -0
- package/build/esm/util/LinkUtils.js.map +1 -0
- package/package.json +9 -7
- package/build/esm/ontology/index.d.ts +0 -7
- package/build/esm/ontology/index.d.ts.map +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { TimeDurationMapping } from "../mapping/DurationMapping.js";
|
|
17
|
+
export const DurationMapping = {
|
|
18
|
+
...TimeDurationMapping,
|
|
19
|
+
"quarter": "QUARTERS",
|
|
20
|
+
"quarters": "QUARTERS"
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=GroupByClause.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupByClause.js","names":["TimeDurationMapping","DurationMapping"],"sources":["GroupByClause.js"],"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 */\nimport { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\nexport const DurationMapping = {\n ...TimeDurationMapping,\n \"quarter\": \"QUARTERS\",\n \"quarters\": \"QUARTERS\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,mBAAmB,QAAQ,+BAA+B;AACnE,OAAO,MAAMC,eAAe,GAAG;EAC3B,GAAGD,mBAAmB;EACtB,SAAS,EAAE,UAAU;EACrB,UAAU,EAAE;AAChB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { GroupByClause } from "./GroupByClause.js";
|
|
2
|
+
export type F = GroupByClause<{
|
|
3
|
+
metadata: any;
|
|
4
|
+
objects: {
|
|
5
|
+
Todo: {
|
|
6
|
+
type: "object";
|
|
7
|
+
apiName: "Todo";
|
|
8
|
+
primaryKeyApiName: "id";
|
|
9
|
+
primaryKeyType: "double";
|
|
10
|
+
links: {};
|
|
11
|
+
properties: {
|
|
12
|
+
text: {
|
|
13
|
+
type: "string";
|
|
14
|
+
};
|
|
15
|
+
id: {
|
|
16
|
+
type: "double";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
actions: {};
|
|
22
|
+
queries: {};
|
|
23
|
+
}["objects"]["Todo"]>;
|
|
24
|
+
//# sourceMappingURL=GroupByClause.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupByClause.test.d.ts","sourceRoot":"","sources":["../../../src/groupby/GroupByClause.test.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,CAAC,GAAG,aAAa,CAC3B;IACE,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ,CAAC;YACf,OAAO,EAAE,MAAM,CAAC;YAChB,iBAAiB,EAAE,IAAI,CAAC;YACxB,cAAc,EAAE,QAAQ,CAAC;YACzB,KAAK,EAAE,EAAE,CAAC;YACV,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ,CAAC;iBAChB,CAAC;gBACF,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ,CAAC;iBAChB,CAAC;aACH,CAAC;SACH,CAAC;KACH,CAAC;IACF,OAAO,EAAE,EAAE,CAAC;IACZ,OAAO,EAAE,EAAE,CAAC;CACb,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CACrB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
import { describe, it } from "vitest";
|
|
17
|
+
describe("GroupByClause", () => {
|
|
18
|
+
it("works", () => {});
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=GroupByClause.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupByClause.test.js","names":["describe","it"],"sources":["GroupByClause.test.js"],"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 */\nimport { describe, it } from \"vitest\";\ndescribe(\"GroupByClause\", () => {\n it(\"works\", () => { });\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQ,EAAEC,EAAE,QAAQ,QAAQ;AACrCD,QAAQ,CAAC,eAAe,EAAE,MAAM;EAC5BC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC,CAAC;AAC1B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { BooleanGroupByValue, DateGroupByValue, NumericGroupByValue, StringGroupByValue, TimestampGroupByValue } from "./GroupByClause.js";
|
|
2
|
+
export interface GroupByMapper {
|
|
3
|
+
string: StringGroupByValue;
|
|
4
|
+
short: NumericGroupByValue;
|
|
5
|
+
float: NumericGroupByValue;
|
|
6
|
+
decimal: NumericGroupByValue;
|
|
7
|
+
byte: NumericGroupByValue;
|
|
8
|
+
double: NumericGroupByValue;
|
|
9
|
+
integer: NumericGroupByValue;
|
|
10
|
+
timestamp: TimestampGroupByValue;
|
|
11
|
+
datetime: DateGroupByValue;
|
|
12
|
+
boolean: BooleanGroupByValue;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=GroupByMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupByMapper.d.ts","sourceRoot":"","sources":["../../../src/groupby/GroupByMapper.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,SAAS,EAAE,qBAAqB,CAAC;IACjC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,OAAO,EAAE,mBAAmB,CAAC;CAC9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2023 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=GroupByMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupByMapper.js","names":[],"sources":["GroupByMapper.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,11 +1,43 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
1
|
+
export type { ActionReturnTypeForOptions } from "./actions/ActionReturnTypeForOptions.js";
|
|
2
|
+
export type { ActionEditResponse, ActionParam, ActionValidationResponse, ApplyActionOptions, ApplyBatchActionOptions, } from "./actions/Actions.js";
|
|
3
|
+
export type { ValidAggregationKeys } from "./aggregate/AggregatableKeys.js";
|
|
4
|
+
export type { AggregateOpts } from "./aggregate/AggregateOpts.js";
|
|
5
|
+
export type { AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy } from "./aggregate/AggregateOptsThatErrors.js";
|
|
6
|
+
export type { AggregationResultsWithGroups } from "./aggregate/AggregationResultsWithGroups.js";
|
|
7
|
+
export type { AggregationResultsWithoutGroups } from "./aggregate/AggregationResultsWithoutGroups.js";
|
|
8
|
+
export type { AggregationClause } from "./aggregate/AggregationsClause.js";
|
|
9
|
+
export type { AggregationsResults } from "./aggregate/AggregationsResults.js";
|
|
10
|
+
export { DistanceUnitMapping } from "./aggregate/WhereClause.js";
|
|
11
|
+
export type { GeoFilter_Intersects, GeoFilter_Within, PossibleWhereClauseFilters, WhereClause, } from "./aggregate/WhereClause.js";
|
|
12
|
+
export type { OsdkObjectPropertyType } from "./Definitions.js";
|
|
13
|
+
export type { OsdkObjectLinksObject, SingleLinkAccessor, } from "./definitions/LinkDefinitions.js";
|
|
14
|
+
export { DurationMapping } from "./groupby/GroupByClause.js";
|
|
15
|
+
export type { AllGroupByValues, GroupByClause, GroupByRange, } from "./groupby/GroupByClause.js";
|
|
16
|
+
export type { AllowedBucketKeyTypes, AllowedBucketTypes, DataValueClientToWire, DataValueWireToClient, } from "./mapping/DataValueMapping.js";
|
|
17
|
+
export type { PropertyValueWireToClient, } from "./mapping/PropertyValueMapping.js";
|
|
18
|
+
export type { Attachment, AttachmentUpload } from "./object/Attachment.js";
|
|
19
|
+
export type { AsyncIterArgs, Augment, Augments, FetchPageArgs, NullabilityAdherence, NullabilityAdherenceDefault, SelectArg, SelectArgToKeys, } from "./object/FetchPageArgs.js";
|
|
20
|
+
export type { FetchPageResult, SingleOsdkResult, } from "./object/FetchPageResult.js";
|
|
21
|
+
export { isOk } from "./object/Result.js";
|
|
22
|
+
export type { Result } from "./object/Result.js";
|
|
23
|
+
export type { BaseObjectSet } from "./objectSet/BaseObjectSet.js";
|
|
24
|
+
export type { ObjectSet } from "./objectSet/ObjectSet.js";
|
|
25
|
+
export type { ActionDefinition, ActionMetadata, } from "./ontology/ActionDefinition.js";
|
|
26
|
+
export type { InterfaceDefinition, InterfaceMetadata, } from "./ontology/InterfaceDefinition.js";
|
|
27
|
+
export type { ObjectOrInterfaceDefinition, PropertyKeys, } from "./ontology/ObjectOrInterface.js";
|
|
28
|
+
export type { CompileTimeMetadata, ObjectMetadata, ObjectTypeDefinition, ObjectTypeLinkDefinition, ObjectTypePropertyDefinition, PropertyDef, VersionBound, } from "./ontology/ObjectTypeDefinition.js";
|
|
5
29
|
export type { OntologyMetadata } from "./ontology/OntologyMetadata.js";
|
|
6
30
|
export type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
|
|
7
|
-
export type {
|
|
31
|
+
export type { ObjectQueryDataType, ObjectSetQueryDataType, QueryDataTypeDefinition, QueryDefinition, QueryMetadata, QueryParameterDefinition, ThreeDimensionalQueryAggregationDefinition, TwoDimensionalQueryAggregationDefinition, } from "./ontology/QueryDefinition.js";
|
|
8
32
|
export type { WirePropertyTypes } from "./ontology/WirePropertyTypes.js";
|
|
9
|
-
export type {
|
|
33
|
+
export type { OsdkBase, PrimaryKeyType } from "./OsdkBase.js";
|
|
34
|
+
export type { OsdkObject } from "./OsdkObject.js";
|
|
35
|
+
export type { ConvertProps, Osdk } from "./OsdkObjectFrom.js";
|
|
36
|
+
export type { PageResult } from "./PageResult.js";
|
|
37
|
+
export type { QueryParam, QueryResult } from "./queries/Queries.js";
|
|
38
|
+
export { TimeseriesDurationMapping } from "./timeseries/timeseries.js";
|
|
39
|
+
export type { TimeSeriesProperty } from "./timeseries/timeseries.js";
|
|
40
|
+
export type { TimeSeriesPoint, TimeSeriesQuery, } from "./timeseries/timeseries.js";
|
|
41
|
+
export type { LinkedType, LinkNames } from "./util/LinkUtils.js";
|
|
10
42
|
export {};
|
|
11
43
|
//# sourceMappingURL=index.d.ts.map
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,YAAY,EAAE,8DAA8D,EAAE,MAAM,wCAAwC,CAAC;AAC7H,YAAY,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;A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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 { DistanceUnitMapping } from "./aggregate/WhereClause.js";
|
|
17
|
+
export { DurationMapping } from "./groupby/GroupByClause.js";
|
|
18
|
+
export { isOk } from "./object/Result.js";
|
|
19
|
+
export { TimeseriesDurationMapping } from "./timeseries/timeseries.js";
|
|
3
20
|
//# sourceMappingURL=index.js.map
|
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["DistanceUnitMapping","DurationMapping","isOk","TimeseriesDurationMapping"],"sources":["index.js"],"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 */\nexport { DistanceUnitMapping } from \"./aggregate/WhereClause.js\";\nexport { DurationMapping } from \"./groupby/GroupByClause.js\";\nexport { isOk } from \"./object/Result.js\";\nexport { TimeseriesDurationMapping } from \"./timeseries/timeseries.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,mBAAmB,QAAQ,4BAA4B;AAChE,SAASC,eAAe,QAAQ,4BAA4B;AAC5D,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,yBAAyB,QAAQ,4BAA4B","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { describe, expect, it } from "vitest";
|
|
17
|
+
describe("anything", () => {
|
|
18
|
+
it("does", async () => {
|
|
19
|
+
expect(1).toBe(1);
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=junk.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"junk.test.js","names":["describe","expect","it","toBe"],"sources":["junk.test.js"],"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 */\nimport { describe, expect, it } from \"vitest\";\ndescribe(\"anything\", () => {\n it(\"does\", async () => {\n expect(1).toBe(1);\n });\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,QAAQ;AAC7CF,QAAQ,CAAC,UAAU,EAAE,MAAM;EACvBE,EAAE,CAAC,MAAM,EAAE,YAAY;IACnBD,MAAM,CAAC,CAAC,CAAC,CAACE,IAAI,CAAC,CAAC,CAAC;EACrB,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { Attachment, AttachmentUpload } from "../object/Attachment.js";
|
|
2
|
+
/**
|
|
3
|
+
* Map from the DataValue type to the typescript type that we return
|
|
4
|
+
*/
|
|
5
|
+
export interface DataValueWireToClient {
|
|
6
|
+
attachment: Attachment;
|
|
7
|
+
boolean: boolean;
|
|
8
|
+
byte: number;
|
|
9
|
+
datetime: string;
|
|
10
|
+
decimal: string;
|
|
11
|
+
float: number;
|
|
12
|
+
double: number;
|
|
13
|
+
integer: number;
|
|
14
|
+
long: string;
|
|
15
|
+
marking: string;
|
|
16
|
+
null: null;
|
|
17
|
+
short: number;
|
|
18
|
+
string: string;
|
|
19
|
+
timestamp: string;
|
|
20
|
+
twoDimensionalAggregation: {
|
|
21
|
+
key: AllowedBucketKeyTypes;
|
|
22
|
+
value: AllowedBucketTypes;
|
|
23
|
+
}[];
|
|
24
|
+
threeDimensionalAggregation: {
|
|
25
|
+
key: AllowedBucketKeyTypes;
|
|
26
|
+
groups: {
|
|
27
|
+
key: AllowedBucketKeyTypes;
|
|
28
|
+
value: AllowedBucketTypes;
|
|
29
|
+
}[];
|
|
30
|
+
}[];
|
|
31
|
+
struct: Record<string, any>;
|
|
32
|
+
set: Set<any>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Map from the DataValue type to the typescript type that we accept
|
|
36
|
+
*/
|
|
37
|
+
export interface DataValueClientToWire {
|
|
38
|
+
attachment: string | AttachmentUpload;
|
|
39
|
+
boolean: boolean;
|
|
40
|
+
byte: number;
|
|
41
|
+
datetime: string;
|
|
42
|
+
decimal: string | number;
|
|
43
|
+
float: number;
|
|
44
|
+
double: number;
|
|
45
|
+
integer: number;
|
|
46
|
+
long: string | number;
|
|
47
|
+
marking: string;
|
|
48
|
+
null: null;
|
|
49
|
+
short: number;
|
|
50
|
+
string: string;
|
|
51
|
+
timestamp: string;
|
|
52
|
+
set: Set<any>;
|
|
53
|
+
twoDimensionalAggregation: {
|
|
54
|
+
key: AllowedBucketKeyTypes;
|
|
55
|
+
value: AllowedBucketTypes;
|
|
56
|
+
}[];
|
|
57
|
+
threeDimensionalAggregation: {
|
|
58
|
+
key: AllowedBucketKeyTypes;
|
|
59
|
+
groups: {
|
|
60
|
+
key: AllowedBucketKeyTypes;
|
|
61
|
+
value: AllowedBucketTypes;
|
|
62
|
+
}[];
|
|
63
|
+
}[];
|
|
64
|
+
struct: Record<string, any>;
|
|
65
|
+
}
|
|
66
|
+
export type AllowedBucketTypes = string | number | boolean;
|
|
67
|
+
export type AllowedBucketKeyTypes = AllowedBucketTypes | {
|
|
68
|
+
startValue: AllowedBucketTypes;
|
|
69
|
+
endValue: AllowedBucketTypes;
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=DataValueMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataValueMapping.d.ts","sourceRoot":"","sources":["../../../src/mapping/DataValueMapping.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,OAA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ACf,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IACd,yBAAyB,EAAE;QACzB,GAAG,EAAE,qBAAqB,CAAC;QAC3B,KAAK,EAAE,kBAAkB,CAAC;KAC3B,EAAE,CAAC;IACJ,2BAA2B,EAAE;QAC3B,GAAG,EAAE,qBAAqB,CAAC;QAC3B,MAAM,EAAE;YAAE,GAAG,EAAE,qBAAqB,CAAC;YAAC,KAAK,EAAE,kBAAkB,CAAA;SAAE,EAAE,CAAC;KACrE,EAAE,CAAC;IACJ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7B;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAC3D,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB;IACA,UAAU,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 {};
|
|
17
|
+
//# sourceMappingURL=DataValueMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const TimeDurationMapping: {
|
|
2
|
+
sec: "SECONDS";
|
|
3
|
+
seconds: "SECONDS";
|
|
4
|
+
min: "MINUTES";
|
|
5
|
+
minute: "MINUTES";
|
|
6
|
+
minutes: "MINUTES";
|
|
7
|
+
hr: "HOURS";
|
|
8
|
+
hrs: "HOURS";
|
|
9
|
+
hour: "HOURS";
|
|
10
|
+
hours: "HOURS";
|
|
11
|
+
day: "DAYS";
|
|
12
|
+
days: "DAYS";
|
|
13
|
+
wk: "WEEKS";
|
|
14
|
+
week: "WEEKS";
|
|
15
|
+
weeks: "WEEKS";
|
|
16
|
+
mos: "MONTHS";
|
|
17
|
+
month: "MONTHS";
|
|
18
|
+
months: "MONTHS";
|
|
19
|
+
yr: "YEARS";
|
|
20
|
+
year: "YEARS";
|
|
21
|
+
years: "YEARS";
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=DurationMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DurationMapping.d.ts","sourceRoot":"","sources":["../../../src/mapping/DurationMapping.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CA8B/B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 const TimeDurationMapping = {
|
|
17
|
+
"sec": "SECONDS",
|
|
18
|
+
"seconds": "SECONDS",
|
|
19
|
+
"min": "MINUTES",
|
|
20
|
+
"minute": "MINUTES",
|
|
21
|
+
"minutes": "MINUTES",
|
|
22
|
+
"hr": "HOURS",
|
|
23
|
+
"hrs": "HOURS",
|
|
24
|
+
"hour": "HOURS",
|
|
25
|
+
"hours": "HOURS",
|
|
26
|
+
"day": "DAYS",
|
|
27
|
+
"days": "DAYS",
|
|
28
|
+
"wk": "WEEKS",
|
|
29
|
+
"week": "WEEKS",
|
|
30
|
+
"weeks": "WEEKS",
|
|
31
|
+
"mos": "MONTHS",
|
|
32
|
+
"month": "MONTHS",
|
|
33
|
+
"months": "MONTHS",
|
|
34
|
+
"yr": "YEARS",
|
|
35
|
+
"year": "YEARS",
|
|
36
|
+
"years": "YEARS"
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=DurationMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DurationMapping.js","names":["TimeDurationMapping"],"sources":["DurationMapping.js"],"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 */\nexport const TimeDurationMapping = {\n \"sec\": \"SECONDS\",\n \"seconds\": \"SECONDS\",\n \"min\": \"MINUTES\",\n \"minute\": \"MINUTES\",\n \"minutes\": \"MINUTES\",\n \"hr\": \"HOURS\",\n \"hrs\": \"HOURS\",\n \"hour\": \"HOURS\",\n \"hours\": \"HOURS\",\n \"day\": \"DAYS\",\n \"days\": \"DAYS\",\n \"wk\": \"WEEKS\",\n \"week\": \"WEEKS\",\n \"weeks\": \"WEEKS\",\n \"mos\": \"MONTHS\",\n \"month\": \"MONTHS\",\n \"months\": \"MONTHS\",\n \"yr\": \"YEARS\",\n \"year\": \"YEARS\",\n \"years\": \"YEARS\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,mBAAmB,GAAG;EAC/B,KAAK,EAAE,SAAS;EAChB,SAAS,EAAE,SAAS;EACpB,KAAK,EAAE,SAAS;EAChB,QAAQ,EAAE,SAAS;EACnB,SAAS,EAAE,SAAS;EACpB,IAAI,EAAE,OAAO;EACb,KAAK,EAAE,OAAO;EACd,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,MAAM;EACb,MAAM,EAAE,MAAM;EACd,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,QAAQ;EACf,OAAO,EAAE,QAAQ;EACjB,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO;EACf,OAAO,EAAE;AACb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { Attachment, AttachmentUpload } from "../object/Attachment.js";
|
|
2
|
+
import type { TimeSeriesProperty } from "../timeseries/timeseries.js";
|
|
3
|
+
/**
|
|
4
|
+
* Map from the PropertyDefinition type to the typescript type that we return
|
|
5
|
+
*/
|
|
6
|
+
export interface PropertyValueWireToClient {
|
|
7
|
+
attachment: Attachment;
|
|
8
|
+
boolean: boolean;
|
|
9
|
+
byte: number;
|
|
10
|
+
datetime: string;
|
|
11
|
+
decimal: string;
|
|
12
|
+
double: number;
|
|
13
|
+
float: number;
|
|
14
|
+
geopoint: GeoJSON.Point;
|
|
15
|
+
geoshape: GeoJSON.GeoJSON;
|
|
16
|
+
integer: number;
|
|
17
|
+
long: string;
|
|
18
|
+
marking: string;
|
|
19
|
+
short: number;
|
|
20
|
+
string: string;
|
|
21
|
+
timestamp: string;
|
|
22
|
+
numericTimeseries: TimeSeriesProperty<number>;
|
|
23
|
+
stringTimeseries: TimeSeriesProperty<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Map from the PropertyDefinition type to the typescript type that we accept
|
|
27
|
+
*/
|
|
28
|
+
export interface PropertyValueClientToWire {
|
|
29
|
+
attachment: string | AttachmentUpload;
|
|
30
|
+
boolean: boolean;
|
|
31
|
+
byte: number;
|
|
32
|
+
datetime: string;
|
|
33
|
+
decimal: string | number;
|
|
34
|
+
double: number;
|
|
35
|
+
float: number;
|
|
36
|
+
geopoint: GeoJSON.Point;
|
|
37
|
+
geoshape: GeoJSON.GeoJSON;
|
|
38
|
+
integer: number;
|
|
39
|
+
long: string | number;
|
|
40
|
+
marking: string;
|
|
41
|
+
short: number;
|
|
42
|
+
string: string;
|
|
43
|
+
timestamp: string;
|
|
44
|
+
numericTimeseries: TimeSeriesProperty<number>;
|
|
45
|
+
stringTimeseries: TimeSeriesProperty<string>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=PropertyValueMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyValueMapping.d.ts","sourceRoot":"","sources":["../../../src/mapping/PropertyValueMapping.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC9C,gBAAgB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC9C,gBAAgB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC9C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 {};
|
|
17
|
+
//# sourceMappingURL=PropertyValueMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyValueMapping.js","names":[],"sources":["PropertyValueMapping.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface Attachment {
|
|
2
|
+
rid: string;
|
|
3
|
+
/**
|
|
4
|
+
* Fetches metadata for an attachment
|
|
5
|
+
*/
|
|
6
|
+
fetchMetadata(): Promise<AttachmentMetadata>;
|
|
7
|
+
/**
|
|
8
|
+
* Fetches actual content of attachment in Blob form
|
|
9
|
+
*/
|
|
10
|
+
fetchContents(): Promise<Blob>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* This interface should also accept the File object from
|
|
14
|
+
* the W3C FileApi https://www.w3.org/TR/FileAPI/#file-section
|
|
15
|
+
*/
|
|
16
|
+
export interface AttachmentUpload extends Blob {
|
|
17
|
+
readonly name: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AttachmentMetadata {
|
|
20
|
+
rid: string;
|
|
21
|
+
filename: string;
|
|
22
|
+
sizeBytes: number;
|
|
23
|
+
mediaType: string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=Attachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/object/Attachment.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC7C;;OAEG;IACH,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,IAAI;IAC5C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2023 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Attachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.js","names":[],"sources":["Attachment.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { InterfaceDefinition } from "../ontology/InterfaceDefinition.js";
|
|
2
|
+
import type { ObjectOrInterfaceDefinition, PropertyKeys } from "../ontology/ObjectOrInterface.js";
|
|
3
|
+
import type { BrandedApiName } from "../ontology/ObjectTypeDefinition.js";
|
|
4
|
+
export type NullabilityAdherence = false | "throw" | "drop";
|
|
5
|
+
export type NullabilityAdherenceDefault = "throw";
|
|
6
|
+
export interface SelectArg<Q extends ObjectOrInterfaceDefinition<any, any>, L extends PropertyKeys<Q> = PropertyKeys<Q>, R extends boolean = false, S extends NullabilityAdherence = NullabilityAdherenceDefault> {
|
|
7
|
+
$select?: readonly L[];
|
|
8
|
+
$includeRid?: R;
|
|
9
|
+
$__EXPERIMENTAL_strictNonNull?: S;
|
|
10
|
+
}
|
|
11
|
+
export interface OrderByArg<Q extends ObjectOrInterfaceDefinition<any, any>, L extends PropertyKeys<Q> = PropertyKeys<Q>> {
|
|
12
|
+
$orderBy?: {
|
|
13
|
+
[K in L]?: "asc" | "desc";
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export type SelectArgToKeys<Q extends ObjectOrInterfaceDefinition, A extends SelectArg<Q, any, any>> = A extends SelectArg<Q, never> ? PropertyKeys<Q> : A["$select"] extends readonly string[] ? A["$select"][number] : PropertyKeys<Q>;
|
|
17
|
+
export interface FetchPageArgs<Q extends ObjectOrInterfaceDefinition, K extends PropertyKeys<Q> = PropertyKeys<Q>, R extends boolean = false, A extends Augments = {}, S extends NullabilityAdherence = NullabilityAdherenceDefault> extends AsyncIterArgs<Q, K, R, A, S> {
|
|
18
|
+
$nextPageToken?: string;
|
|
19
|
+
$pageSize?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface AsyncIterArgs<Q extends ObjectOrInterfaceDefinition, K extends PropertyKeys<Q> = PropertyKeys<Q>, R extends boolean = false, A extends Augments = {}, S extends NullabilityAdherence = NullabilityAdherenceDefault> extends SelectArg<Q, K, R, S>, OrderByArg<Q, PropertyKeys<Q>> {
|
|
22
|
+
$augment?: A;
|
|
23
|
+
$__EXPERIMENTAL_selectedObjectTypes?: string[];
|
|
24
|
+
}
|
|
25
|
+
export type Augment<X extends ObjectOrInterfaceDefinition, T extends string> = X extends ObjectOrInterfaceDefinition<infer Z> ? Z extends BrandedApiName<infer ZZ, any> ? {
|
|
26
|
+
[K in Z]: T[];
|
|
27
|
+
} : never : never;
|
|
28
|
+
export type Augments = Record<string, string[]>;
|
|
29
|
+
export interface FetchInterfacePageArgs<Q extends InterfaceDefinition<any, any>, K extends PropertyKeys<Q> = PropertyKeys<Q>, R extends boolean = false> extends SelectArg<Q, K, R>, OrderByArg<Q, PropertyKeys<Q>> {
|
|
30
|
+
$nextPageToken?: string;
|
|
31
|
+
$pageSize?: number;
|
|
32
|
+
$augment?: Augments;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=FetchPageArgs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchPageArgs.d.ts","sourceRoot":"","sources":["../../../src/object/FetchPageArgs.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EACV,2BAA2B,EAC3B,YAAY,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAC5D,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAElD,MAAM,WAAW,SAAS,CACxB,CAAC,SAAS,2BAA2B,CAAC,GAAG,EAAE,GAAG,CAAC,EAC/C,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,EAC3C,CAAC,SAAS,OAAO,GAAG,KAAK,EACzB,CAAC,SAAS,oBAAoB,GAAG,2BAA2B;IAE5D,OAAO,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC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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 {};
|
|
17
|
+
//# sourceMappingURL=FetchPageArgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchPageArgs.js","names":[],"sources":["FetchPageArgs.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|