@osdk/api 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @osdk/api
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 25dd12ae: Restore files for legacy to .js instead of .cjs
8
+ - Updated dependencies [25dd12ae]
9
+ - @osdk/shared.net@1.0.2
10
+ - @osdk/gateway@1.0.2
11
+
3
12
  ## 1.0.1
4
13
 
5
14
  ### Patch Changes
@@ -1,4 +1,4 @@
1
1
  'use strict';
2
2
 
3
3
  //# sourceMappingURL=out.js.map
4
- //# sourceMappingURL=index.cjs.map
4
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,6 @@
1
1
  export type { ActionDefinition, ActionModifiedEntity, ActionParameterDefinition, ObjectActionDataType, ObjectSetActionDataType, ValidActionParameterTypes, } from "./ontology/ActionDefinition";
2
2
  export type { InterfaceDefinition, InterfaceDefinitionFrom, InterfaceKeysFrom, InterfacePropertyDefinitionFrom, InterfacePropertyDefinitionsFrom, InterfacePropertyKeysFrom, } from "./ontology/InterfaceDefinition";
3
+ export type { ObjectOrInterfaceDefinition, ObjectOrInterfaceDefinitionFrom, ObjectOrInterfaceKeysFrom, ObjectOrInterfacePropertyKeysFrom, } from "./ontology/ObjectOrInterface";
3
4
  export type { ObjectTypeDefinition, ObjectTypeDefinitionFrom, ObjectTypeKeysFrom, ObjectTypeLinkDefinition, ObjectTypeLinkDefinitionFrom, ObjectTypeLinkKeysFrom, ObjectTypeLinkTargetTypeFrom, ObjectTypePropertyDefinition, ObjectTypePropertyDefinitionFrom, ObjectTypePropertyDefinitionsFrom, ObjectTypePropertyKeysFrom, } from "./ontology/ObjectTypeDefinition";
4
5
  export type { OntologyDefinition } from "./ontology/OntologyDefinition";
5
6
  export type { AggregationKeyDataType, ObjectQueryDataType, ObjectSetQueryDataType, PrimitiveDataType, QueryDataTypeDefinition, QueryDefinition, QueryParameterDefinition, RangeAggregationKeyDataType, SetQueryDataType, SimpleAggregationKeyDataType, StructQueryDataType, ThreeDimensionalAggregationDataType, ThreeDimensionalQueryAggregationDefinition, TwoDimensionalAggregationDataType, TwoDimensionalQueryAggregationDefinition, UnionQueryDataType, WireQueryDataTypes, } from "./ontology/QueryDefinition";
@@ -0,0 +1,7 @@
1
+ import type { InterfaceDefinition, InterfaceDefinitionFrom, InterfaceKeysFrom, InterfacePropertyKeysFrom } from "./InterfaceDefinition";
2
+ import type { ObjectTypeDefinition, ObjectTypeDefinitionFrom, ObjectTypeKeysFrom, ObjectTypePropertyKeysFrom } from "./ObjectTypeDefinition";
3
+ import type { OntologyDefinition } from "./OntologyDefinition";
4
+ export type ObjectOrInterfaceKeysFrom<O extends OntologyDefinition<any, any>> = ObjectTypeKeysFrom<O> | InterfaceKeysFrom<O>;
5
+ export type ObjectOrInterfaceDefinition<K extends string, L extends string> = ObjectTypeDefinition<K, L> | InterfaceDefinition<K, L>;
6
+ export type ObjectOrInterfacePropertyKeysFrom<O extends OntologyDefinition<any, any>, K extends ObjectOrInterfaceKeysFrom<O>> = K extends InterfaceKeysFrom<O> ? InterfacePropertyKeysFrom<O, K> : ObjectTypePropertyKeysFrom<O, K>;
7
+ export type ObjectOrInterfaceDefinitionFrom<O extends OntologyDefinition<any, any>, K extends ObjectOrInterfaceKeysFrom<O>> = K extends InterfaceKeysFrom<O> ? InterfaceDefinitionFrom<O, K> : ObjectTypeDefinitionFrom<O, K>;
@@ -1,5 +1,6 @@
1
1
  export type { ActionDefinition, ActionModifiedEntity, ActionParameterDefinition, ObjectActionDataType, ObjectSetActionDataType, ValidActionParameterTypes, ValidBaseActionParameterTypes, } from "./ActionDefinition";
2
2
  export type { InterfaceDefinition, InterfaceDefinitionFrom, InterfaceKeysFrom, InterfacePropertyDefinitionFrom, InterfacePropertyDefinitionsFrom, InterfacePropertyKeysFrom, } from "./InterfaceDefinition";
3
+ export type { ObjectOrInterfaceDefinition, ObjectOrInterfaceDefinitionFrom, ObjectOrInterfaceKeysFrom, ObjectOrInterfacePropertyKeysFrom, } from "./ObjectOrInterface";
3
4
  export type { ObjectTypeDefinition, ObjectTypeDefinitionFrom, ObjectTypeKeysFrom as ObjectTypeKeysFrom, ObjectTypeLinkDefinition, ObjectTypeLinkDefinitionFrom, ObjectTypeLinkKeysFrom, ObjectTypeLinkTargetTypeFrom, ObjectTypePropertyDefinition, ObjectTypePropertyDefinitionFrom, ObjectTypePropertyDefinitionsFrom, ObjectTypePropertyKeysFrom, } from "./ObjectTypeDefinition";
4
5
  export type { OntologyDefinition } from "./OntologyDefinition";
5
6
  export type { OntologyMetadata } from "./OntologyMetadata";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -8,20 +8,20 @@
8
8
  ".": {
9
9
  "types": "./build/types/index.d.ts",
10
10
  "import": "./build/js/index.mjs",
11
- "require": "./build/js/index.cjs"
11
+ "require": "./build/js/index.js"
12
12
  },
13
13
  "./*": {
14
14
  "types": "./build/types/public/*.d.ts",
15
15
  "import": "./build/js/public/*.mjs",
16
- "require": "./build/js/public/*.cjs"
16
+ "require": "./build/js/public/*.js"
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
20
  "@types/geojson": "^7946.0.13",
21
21
  "fetch-retry": "^5.0.6",
22
22
  "tiny-invariant": "^1.3.1",
23
- "@osdk/gateway": "1.0.1",
24
- "@osdk/shared.net": "1.0.1"
23
+ "@osdk/gateway": "1.0.2",
24
+ "@osdk/shared.net": "1.0.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "ts-expect": "^1.3.0",
File without changes