@osdk/generator 1.1.1 → 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 +139 -139
- package/build/js/index.cjs.map +1 -1
- package/build/js/index.mjs +139 -139
- package/build/js/index.mjs.map +1 -1
- package/build/types/v1.1/backcompat/generateOAuthDistDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/generateOntologyRuntimeDistDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-oauth-dist/generateConfidentialClientDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-oauth-dist/generatePublicClientDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-oauth-dist/generateUserTokenDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/aggregations/generateGroupBy.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/aggregations/generateMetrics.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/baseTypes/generateAttachmentsDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/baseTypes/generateGeoshapesDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/baseTypes/generateObjectSetDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/baseTypes/generateSharedObjectCode.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/baseTypes/generateTimeSeriesDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateAggregationsDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateBaseTypesDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateClientDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateFiltersDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateOntologyProviderDir.d.ts +1 -1
- package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generatePagingDir.d.ts +1 -1
- package/build/types/v1.1/generateBackCompatDeprecatedExports.d.ts +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/v1.1/wireObjectTypeV2ToV1ObjectInterfaceString.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,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../MinimalFs";
|
|
2
|
-
export declare function generateOAuthClientDistDir(outDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateOAuthClientDistDir(outDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../MinimalFs";
|
|
2
|
-
export declare function generateOntologyRuntimeDistDir(outDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateOntologyRuntimeDistDir(outDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
package/build/types/v1.1/backcompat/internal-foundry-oauth-dist/generateConfidentialClientDir.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateConfidentialClientDir(fs: MinimalFs, oauthDistDir: string): Promise<void>;
|
|
2
|
+
export declare function generateConfidentialClientDir(fs: MinimalFs, oauthDistDir: string, importExt?: string): Promise<void>;
|
package/build/types/v1.1/backcompat/internal-foundry-oauth-dist/generatePublicClientDir.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generatePublicClientDir(fs: MinimalFs, oauthDistDir: string): Promise<void>;
|
|
2
|
+
export declare function generatePublicClientDir(fs: MinimalFs, oauthDistDir: string, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateUserTokenDir(fs: MinimalFs, oauthDistDir: string): Promise<void>;
|
|
2
|
+
export declare function generateUserTokenDir(fs: MinimalFs, oauthDistDir: string, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateGroupBy(fs: MinimalFs, aggregationsDir: string): Promise<void>;
|
|
2
|
+
export declare function generateGroupBy(fs: MinimalFs, aggregationsDir: string, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateMetrics(fs: MinimalFs, aggregationsDir: string): Promise<void>;
|
|
2
|
+
export declare function generateMetrics(fs: MinimalFs, aggregationsDir: string, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateAttachmentsDir(attachmentsDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateAttachmentsDir(attachmentsDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateGeoshapesDir(runtimeDistDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateGeoshapesDir(runtimeDistDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateObjectSetDir(objectSetDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateObjectSetDir(objectSetDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateSharedObjectCodeDir(sharedObjectCodeDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateSharedObjectCodeDir(sharedObjectCodeDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../../MinimalFs";
|
|
2
|
-
export declare function generateTimeSeriesDir(timeseriesDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateTimeSeriesDir(timeseriesDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateAggregationsDir(fs: MinimalFs, runtimeDistDir: string): Promise<void>;
|
|
2
|
+
export declare function generateAggregationsDir(fs: MinimalFs, runtimeDistDir: string, importExt?: string): Promise<void>;
|
package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateBaseTypesDir.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateBaseTypesDir(runtimeDistDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateBaseTypesDir(runtimeDistDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateClientDir.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateClientDir(runtimeDistDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateClientDir(runtimeDistDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generateFiltersDir.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateFiltersDir(runtimeDistDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generateFiltersDir(runtimeDistDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generateOntologyProviderDir(fs: MinimalFs, runtimeDistDir: string): Promise<void>;
|
|
2
|
+
export declare function generateOntologyProviderDir(fs: MinimalFs, runtimeDistDir: string, importExt?: string): Promise<void>;
|
package/build/types/v1.1/backcompat/internal-foundry-ontology-runtime-dist/generatePagingDir.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../../../MinimalFs";
|
|
2
|
-
export declare function generatePagingDir(runtimeDistDir: string, fs: MinimalFs): Promise<void>;
|
|
2
|
+
export declare function generatePagingDir(runtimeDistDir: string, fs: MinimalFs, importExt?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MinimalFs } from "../MinimalFs";
|
|
2
|
-
export declare function generateBackCompatDeprecatedExports(fs: MinimalFs, outDir: string): Promise<void>;
|
|
2
|
+
export declare function generateBackCompatDeprecatedExports(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 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,2 +1,2 @@
|
|
|
1
1
|
import type { ObjectTypeWithLink } from "@osdk/gateway/types";
|
|
2
|
-
export declare function wireObjectTypeV2ToObjectInterfaceStringV1(objectTypeWithLinks: ObjectTypeWithLink): string;
|
|
2
|
+
export declare function wireObjectTypeV2ToObjectInterfaceStringV1(objectTypeWithLinks: ObjectTypeWithLink, importExt?: string): string;
|
|
@@ -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",
|