@orval/core 7.0.1 → 7.1.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.
- package/dist/index.d.ts +4 -3
- package/dist/index.js +69 -1280
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -664,7 +664,7 @@ type ClientFooterBuilder = (params: {
|
|
|
664
664
|
hasMutator: boolean;
|
|
665
665
|
}) => string;
|
|
666
666
|
type ClientTitleBuilder = (title: string) => string;
|
|
667
|
-
type ClientDependenciesBuilder = (hasGlobalMutator: boolean, hasParamsSerializerOptions: boolean, packageJson?: PackageJson, httpClient?: OutputHttpClient) => GeneratorDependency[];
|
|
667
|
+
type ClientDependenciesBuilder = (hasGlobalMutator: boolean, hasParamsSerializerOptions: boolean, packageJson?: PackageJson, httpClient?: OutputHttpClient, hasTagsMutator?: boolean) => GeneratorDependency[];
|
|
668
668
|
type ClientMockGeneratorImplementation = {
|
|
669
669
|
function: string;
|
|
670
670
|
handlerName: string;
|
|
@@ -865,6 +865,7 @@ type GeneratorClientImports = (data: {
|
|
|
865
865
|
hasSchemaDir: boolean;
|
|
866
866
|
isAllowSyntheticDefaultImports: boolean;
|
|
867
867
|
hasGlobalMutator: boolean;
|
|
868
|
+
hasTagsMutator: boolean;
|
|
868
869
|
hasParamsSerializerOptions: boolean;
|
|
869
870
|
packageJson?: PackageJson;
|
|
870
871
|
output: NormalizedOutputOptions;
|
|
@@ -1241,11 +1242,11 @@ declare const logError: (err: unknown, tag?: string) => void;
|
|
|
1241
1242
|
declare const mismatchArgsMessage: (mismatchArgs: string[]) => void;
|
|
1242
1243
|
declare const createSuccessMessage: (backend?: string) => void;
|
|
1243
1244
|
declare const ibmOpenapiValidatorWarnings: (warnings: {
|
|
1244
|
-
path: string;
|
|
1245
|
+
path: string[];
|
|
1245
1246
|
message: string;
|
|
1246
1247
|
}[]) => void;
|
|
1247
1248
|
declare const ibmOpenapiValidatorErrors: (errors: {
|
|
1248
|
-
path: string;
|
|
1249
|
+
path: string[];
|
|
1249
1250
|
message: string;
|
|
1250
1251
|
}[]) => void;
|
|
1251
1252
|
type LogType = 'error' | 'warn' | 'info';
|