@osdk/generator 1.0.0 → 1.0.1

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.
@@ -1,3 +1,9 @@
1
1
  import type * as gateway from "@osdk/gateway";
2
+ import type { ObjectTypeV2 } from "@osdk/gateway/types";
2
3
  export interface WireOntologyDefinition extends gateway.components.OntologyFullMetadata {
3
4
  }
5
+ export interface __UNSTABLE_InterfaceType extends Omit<ObjectTypeV2, "primaryKey"> {
6
+ }
7
+ export interface __UNSTABLE_WireOntologyDefinitionV2 extends WireOntologyDefinition {
8
+ __UNSTABLE_interfaceTypes?: Record<string, __UNSTABLE_InterfaceType>;
9
+ }
@@ -0,0 +1,3 @@
1
+ import type { __UNSTABLE_InterfaceType } from "../WireOntologyDefinition";
2
+ /** @internal */
3
+ export declare function __UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst(interfaceType: __UNSTABLE_InterfaceType, v2?: boolean): string;
@@ -1,2 +1,9 @@
1
- import type { WireOntologyDefinition } from "../WireOntologyDefinition";
1
+ import type { __UNSTABLE_WireOntologyDefinitionV2, WireOntologyDefinition } from "../WireOntologyDefinition";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function sanitizeMetadata(ontology: __UNSTABLE_WireOntologyDefinitionV2): __UNSTABLE_WireOntologyDefinitionV2;
6
+ /**
7
+ * @internal
8
+ */
2
9
  export declare function sanitizeMetadata(ontology: WireOntologyDefinition): WireOntologyDefinition;
@@ -1,2 +1,3 @@
1
1
  import type { ObjectTypeWithLink } from "@osdk/gateway/types";
2
+ /** @internal */
2
3
  export declare function wireObjectTypeV2ToSdkObjectConst(object: ObjectTypeWithLink, v2?: boolean): string;
@@ -109,4 +109,5 @@ export declare const TodoWireOntology: {
109
109
  version: string;
110
110
  };
111
111
  };
112
+ __UNSTABLE_interfaceTypes: {};
112
113
  };
@@ -1,3 +1,3 @@
1
1
  import type { MinimalFs } from "../MinimalFs";
2
- import type { WireOntologyDefinition } from "../WireOntologyDefinition";
3
- export declare function generateClientSdkVersionTwoPointZero(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string, packageType?: "module" | "commonjs"): Promise<void>;
2
+ import type { __UNSTABLE_WireOntologyDefinitionV2 } from "../WireOntologyDefinition";
3
+ export declare function generateClientSdkVersionTwoPointZero(ontology: __UNSTABLE_WireOntologyDefinitionV2, fs: MinimalFs, outDir: string, packageType?: "module" | "commonjs"): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/generator",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -21,8 +21,8 @@
21
21
  "prettier": "^3.0.3",
22
22
  "prettier-plugin-organize-imports": "^3.2.3",
23
23
  "tiny-invariant": "^1.3.1",
24
- "@osdk/api": "1.0.0",
25
- "@osdk/gateway": "1.0.0"
24
+ "@osdk/api": "1.0.1",
25
+ "@osdk/gateway": "1.0.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^16.11.11",