@osdk/generator 1.2.0 → 1.3.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/build/js/index.cjs +9 -9
- package/build/js/index.cjs.map +1 -1
- package/build/js/index.mjs +9 -9
- package/build/js/index.mjs.map +1 -1
- package/build/types/v1.1/generateClientSdkVersionOneDotOne.d.ts +1 -1
- package/build/types/v1.1/generateMetadataFile.d.ts +1 -1
- package/build/types/v2.0/generateClientSdkVersionTwoPointZero.d.ts +1 -1
- package/build/types/v2.0/generateMetadata.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MinimalFs } from "../MinimalFs";
|
|
2
2
|
import type { WireOntologyDefinition } from "../WireOntologyDefinition";
|
|
3
|
-
export declare function generateClientSdkVersionOneDotOne(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string, packageType?: "commonjs" | "module"): Promise<void>;
|
|
3
|
+
export declare function generateClientSdkVersionOneDotOne(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string, packageType?: "commonjs" | "module"): Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MinimalFs } from "../MinimalFs";
|
|
2
2
|
import type { WireOntologyDefinition } from "../WireOntologyDefinition";
|
|
3
|
-
export declare function generateMetadataFile(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string, importExt?: string): Promise<void>;
|
|
3
|
+
export declare function generateMetadataFile(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string, importExt?: string): Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MinimalFs } from "../MinimalFs";
|
|
2
2
|
import type { WireOntologyDefinition } from "../WireOntologyDefinition";
|
|
3
|
-
export declare function generateClientSdkVersionTwoPointZero(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string, packageType?: "module" | "commonjs"): Promise<void>;
|
|
3
|
+
export declare function generateClientSdkVersionTwoPointZero(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string, packageType?: "module" | "commonjs"): Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MinimalFs } from "../MinimalFs";
|
|
2
2
|
import type { WireOntologyDefinition } from "../WireOntologyDefinition";
|
|
3
|
-
export declare function generateOntologyMetadataFile(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string): Promise<void>;
|
|
3
|
+
export declare function generateOntologyMetadataFile(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/generator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"access": "public",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/node": "^18.0.0",
|
|
29
29
|
"ts-expect": "^1.3.0",
|
|
30
30
|
"typescript": "^5.2.2",
|
|
31
|
-
"vitest": "^1.2.
|
|
31
|
+
"vitest": "^1.2.2"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"build/js",
|
|
40
40
|
"CHANGELOG.md",
|
|
41
41
|
"package.json",
|
|
42
|
+
"templates",
|
|
42
43
|
"*.d.ts"
|
|
43
44
|
],
|
|
44
45
|
"main": "./build/js/index.cjs",
|