@orval/core 8.14.0 → 8.16.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/dist/index.d.mts +143 -4
- package/dist/index.mjs +318 -141
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -31
- /package/dist/{chunk-BpYLSNr0.mjs → chunk-8H4AJuhK.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -266,10 +266,12 @@ interface NormalizedFactoryMethodsOptions {
|
|
|
266
266
|
interface SchemaOptions {
|
|
267
267
|
path: string;
|
|
268
268
|
type: SchemaGenerationType;
|
|
269
|
+
importPath?: string;
|
|
269
270
|
}
|
|
270
271
|
interface NormalizedSchemaOptions {
|
|
271
272
|
path: string;
|
|
272
273
|
type: SchemaGenerationType;
|
|
274
|
+
importPath?: string;
|
|
273
275
|
}
|
|
274
276
|
interface OutputOptions {
|
|
275
277
|
workspace?: string;
|
|
@@ -315,6 +317,17 @@ interface InputFiltersOptions {
|
|
|
315
317
|
mode?: 'include' | 'exclude';
|
|
316
318
|
tags?: (string | RegExp)[];
|
|
317
319
|
schemas?: (string | RegExp)[];
|
|
320
|
+
/**
|
|
321
|
+
* When `tags` is set, orval limits the output to only the schemas referenced
|
|
322
|
+
* by the matching operations. Set this to `true` to keep every
|
|
323
|
+
* `#/components/schemas` entry (including unreferenced ones) while still
|
|
324
|
+
* filtering endpoints by `tags`. The other component sections (`responses`,
|
|
325
|
+
* `parameters`, `requestBodies`) remain pruned to what the matching
|
|
326
|
+
* operations use. Ignored when `schemas` is set.
|
|
327
|
+
*
|
|
328
|
+
* @default false
|
|
329
|
+
*/
|
|
330
|
+
includeUnreferencedSchemas?: boolean;
|
|
318
331
|
}
|
|
319
332
|
interface InputOptions {
|
|
320
333
|
target: string | string[] | Record<string, unknown> | OpenApiDocument;
|
|
@@ -393,6 +406,7 @@ interface FakerMockOptions extends CommonMockOptions {
|
|
|
393
406
|
type: typeof OutputMockType.FAKER;
|
|
394
407
|
schemas?: boolean;
|
|
395
408
|
operationResponses?: boolean;
|
|
409
|
+
arrayItems?: boolean;
|
|
396
410
|
}
|
|
397
411
|
type GlobalMockOptions = MswMockOptions | FakerMockOptions;
|
|
398
412
|
interface OutputMocksConfig {
|
|
@@ -560,8 +574,21 @@ interface OverrideOutputContentType {
|
|
|
560
574
|
include?: string[];
|
|
561
575
|
exclude?: string[];
|
|
562
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* Strategy controlling how an existing hono handler file is treated on
|
|
579
|
+
* regeneration.
|
|
580
|
+
*
|
|
581
|
+
* - `smart` (default): non-destructively reconcile orval-owned imports and
|
|
582
|
+
* `zValidator` arguments and append handlers for new operations, preserving
|
|
583
|
+
* all user-authored imports, middleware, bodies, and top-level code.
|
|
584
|
+
* - `skip`: leave an existing handler file byte-for-byte unchanged.
|
|
585
|
+
* - `full`: rebuild the preamble and validator chain from the spec, splicing
|
|
586
|
+
* back only the handler body. Drops custom imports/middleware/helpers.
|
|
587
|
+
*/
|
|
588
|
+
type HonoHandlerStrategy = 'smart' | 'skip' | 'full';
|
|
563
589
|
interface NormalizedHonoOptions {
|
|
564
590
|
handlers?: string;
|
|
591
|
+
handlerGenerationStrategy: HonoHandlerStrategy;
|
|
565
592
|
compositeRoute: string;
|
|
566
593
|
validator: boolean | 'hono';
|
|
567
594
|
validatorOutputPath: string;
|
|
@@ -706,6 +733,7 @@ interface MutationInvalidatesRule {
|
|
|
706
733
|
type MutationInvalidatesConfig = MutationInvalidatesRule[];
|
|
707
734
|
interface HonoOptions {
|
|
708
735
|
handlers?: string;
|
|
736
|
+
handlerGenerationStrategy?: HonoHandlerStrategy;
|
|
709
737
|
compositeRoute?: string;
|
|
710
738
|
validator?: boolean | 'hono';
|
|
711
739
|
validatorOutputPath?: string;
|
|
@@ -745,6 +773,7 @@ interface NormalizedQueryOptions {
|
|
|
745
773
|
shouldExportHttpClient?: boolean;
|
|
746
774
|
shouldExportQueryKey?: boolean;
|
|
747
775
|
shouldFilterQueryKey?: boolean;
|
|
776
|
+
queryKeyFilter?: string;
|
|
748
777
|
shouldSplitQueryKey?: boolean;
|
|
749
778
|
useOperationIdAsQueryKey?: boolean;
|
|
750
779
|
signal?: boolean;
|
|
@@ -771,6 +800,7 @@ interface QueryOptions {
|
|
|
771
800
|
shouldExportHttpClient?: boolean;
|
|
772
801
|
shouldExportQueryKey?: boolean;
|
|
773
802
|
shouldFilterQueryKey?: boolean;
|
|
803
|
+
queryKeyFilter?: string;
|
|
774
804
|
shouldSplitQueryKey?: boolean;
|
|
775
805
|
useOperationIdAsQueryKey?: boolean;
|
|
776
806
|
signal?: boolean;
|
|
@@ -919,6 +949,13 @@ interface ContextSpec {
|
|
|
919
949
|
* entries or generic parameter placeholders. Populated by `buildDynamicScope`.
|
|
920
950
|
*/
|
|
921
951
|
dynamicScope?: Partial<Record<string, DynamicScopeEntry>>;
|
|
952
|
+
/**
|
|
953
|
+
* Tracks array-item mock factory names already emitted per output file scope.
|
|
954
|
+
* Populated by `@orval/mock` when `arrayItems: true` so shared `$ref` item
|
|
955
|
+
* factories are not re-declared within the same file (single/split) or tag
|
|
956
|
+
* bucket (tags/tags-split).
|
|
957
|
+
*/
|
|
958
|
+
arrayItemMockFactories?: Map<string, Set<string>>;
|
|
922
959
|
}
|
|
923
960
|
/**
|
|
924
961
|
* Maps a `$dynamicAnchor` name to its resolution target.
|
|
@@ -1030,6 +1067,7 @@ interface GeneratorMockOutput {
|
|
|
1030
1067
|
type: OutputMockType;
|
|
1031
1068
|
implementation: string;
|
|
1032
1069
|
imports: GeneratorImport[];
|
|
1070
|
+
strictMockSchemaTypeNames?: string[];
|
|
1033
1071
|
}
|
|
1034
1072
|
interface GeneratorMockOutputFull {
|
|
1035
1073
|
type: OutputMockType;
|
|
@@ -1039,6 +1077,7 @@ interface GeneratorMockOutputFull {
|
|
|
1039
1077
|
handlerName: string;
|
|
1040
1078
|
};
|
|
1041
1079
|
imports: GeneratorImport[];
|
|
1080
|
+
strictMockSchemaTypeNames?: string[];
|
|
1042
1081
|
}
|
|
1043
1082
|
interface GeneratorTarget {
|
|
1044
1083
|
imports: GeneratorImport[];
|
|
@@ -1174,6 +1213,7 @@ interface ClientMockGeneratorImplementation {
|
|
|
1174
1213
|
interface ClientMockGeneratorBuilder {
|
|
1175
1214
|
imports: GeneratorImport[];
|
|
1176
1215
|
implementation: ClientMockGeneratorImplementation;
|
|
1216
|
+
strictMockSchemaTypeNames?: string[];
|
|
1177
1217
|
}
|
|
1178
1218
|
type ClientMockBuilder = (verbOptions: GeneratorVerbOptions, generatorOptions: GeneratorOptions) => ClientMockGeneratorBuilder;
|
|
1179
1219
|
interface ClientGeneratorsBuilder {
|
|
@@ -1310,6 +1350,10 @@ type ResReqTypesValue = ScalarValue & {
|
|
|
1310
1350
|
contentType: string;
|
|
1311
1351
|
originalSchema?: OpenApiSchemaObject;
|
|
1312
1352
|
};
|
|
1353
|
+
interface FinalizeMockImplementationOptions {
|
|
1354
|
+
mockOptions?: Pick<MockOptions, 'required' | 'nonNullable'>;
|
|
1355
|
+
strictSchemaTypeNames?: readonly string[];
|
|
1356
|
+
}
|
|
1313
1357
|
interface WriteSpecBuilder {
|
|
1314
1358
|
operations: GeneratorOperations;
|
|
1315
1359
|
verbOptions: Record<string, GeneratorVerbOptions>;
|
|
@@ -1319,6 +1363,8 @@ interface WriteSpecBuilder {
|
|
|
1319
1363
|
footer: GeneratorClientFooter;
|
|
1320
1364
|
imports: GeneratorClientImports;
|
|
1321
1365
|
importsMock: GenerateMockImports;
|
|
1366
|
+
/** Hoists shared strict-mock type aliases once per aggregated mock file. */
|
|
1367
|
+
finalizeMockImplementation?: (implementation: string, options: FinalizeMockImplementationOptions) => string;
|
|
1322
1368
|
extraFiles: ClientFileBuilder[];
|
|
1323
1369
|
info: OpenApiInfoObject;
|
|
1324
1370
|
target: string;
|
|
@@ -1396,7 +1442,8 @@ type GeneratorApiBuilder = GeneratorApiOperations & {
|
|
|
1396
1442
|
header: GeneratorClientHeader;
|
|
1397
1443
|
footer: GeneratorClientFooter;
|
|
1398
1444
|
imports: GeneratorClientImports;
|
|
1399
|
-
importsMock: GenerateMockImports;
|
|
1445
|
+
importsMock: GenerateMockImports; /** Hoists shared strict-mock type aliases once per aggregated mock file. */
|
|
1446
|
+
finalizeMockImplementation?: (implementation: string, options: FinalizeMockImplementationOptions) => string;
|
|
1400
1447
|
extraFiles: ClientFileBuilder[];
|
|
1401
1448
|
};
|
|
1402
1449
|
declare class ErrorWithTag extends Error {
|
|
@@ -2168,6 +2215,7 @@ declare function resolveDynamicRef(anchorName: string, context: ContextSpec, imp
|
|
|
2168
2215
|
schema: OpenApiSchemaObject;
|
|
2169
2216
|
imports: GeneratorImport[];
|
|
2170
2217
|
resolvedTypeName: string;
|
|
2218
|
+
schemaName: string | undefined;
|
|
2171
2219
|
};
|
|
2172
2220
|
/** Recursively resolves `$ref` entries in an examples array or record. */
|
|
2173
2221
|
declare function resolveExampleRefs(examples: Examples, context: ContextSpec): ResolvedExample[] | Record<string, ResolvedExample> | undefined;
|
|
@@ -2204,9 +2252,12 @@ declare function resolveValue({
|
|
|
2204
2252
|
//#endregion
|
|
2205
2253
|
//#region src/utils/assertion.d.ts
|
|
2206
2254
|
/**
|
|
2207
|
-
*
|
|
2255
|
+
* Type guard for an OpenAPI {@link OpenApiReferenceObject}.
|
|
2208
2256
|
*
|
|
2209
|
-
*
|
|
2257
|
+
* Returns `true` when `obj` has a `$ref` property, indicating a static
|
|
2258
|
+
* JSON Pointer reference rather than an inline schema.
|
|
2259
|
+
*
|
|
2260
|
+
* @param obj - Value to test.
|
|
2210
2261
|
*/
|
|
2211
2262
|
declare function isReference(obj: object): obj is OpenApiReferenceObject;
|
|
2212
2263
|
/**
|
|
@@ -2225,24 +2276,85 @@ interface OpenApiDynamicReferenceObject {
|
|
|
2225
2276
|
* Returns `true` when `obj` has a `$dynamicRef` string property,
|
|
2226
2277
|
* indicating it is an OpenAPI 3.1 dynamic reference rather than a
|
|
2227
2278
|
* static `$ref`.
|
|
2279
|
+
*
|
|
2280
|
+
* @param obj - Value to test.
|
|
2281
|
+
*
|
|
2282
|
+
* @see https://json-schema.org/draft/2020-12/json-schema-core#section-8.2.4
|
|
2228
2283
|
*/
|
|
2229
2284
|
declare function isDynamicReference(obj: object): obj is OpenApiDynamicReferenceObject;
|
|
2285
|
+
/**
|
|
2286
|
+
* Returns `true` when `pathValue` has no file extension and is treated as a
|
|
2287
|
+
* directory path.
|
|
2288
|
+
*
|
|
2289
|
+
* @param pathValue - Path string to inspect.
|
|
2290
|
+
*/
|
|
2230
2291
|
declare function isDirectory(pathValue: string): boolean;
|
|
2292
|
+
/**
|
|
2293
|
+
* Type guard for plain objects created with `{}` or `new Object()`.
|
|
2294
|
+
*
|
|
2295
|
+
* Excludes `null`, arrays, dates, and other non-plain object values.
|
|
2296
|
+
*
|
|
2297
|
+
* @param x - Value to test.
|
|
2298
|
+
*/
|
|
2231
2299
|
declare function isObject(x: unknown): x is Record<string, unknown>;
|
|
2300
|
+
/**
|
|
2301
|
+
* Type guard for string primitives and `String` wrapper objects.
|
|
2302
|
+
*
|
|
2303
|
+
* @param val - Value to test.
|
|
2304
|
+
*/
|
|
2232
2305
|
declare function isStringLike(val: unknown): val is string;
|
|
2306
|
+
/**
|
|
2307
|
+
* Type guard for ES module namespace objects.
|
|
2308
|
+
*
|
|
2309
|
+
* @param x - Value to test.
|
|
2310
|
+
*/
|
|
2233
2311
|
declare function isModule(x: unknown): x is Record<string, unknown>;
|
|
2312
|
+
/**
|
|
2313
|
+
* Type guard for integer numbers and numeric strings.
|
|
2314
|
+
*
|
|
2315
|
+
* Accepts finite integers (`42`) and strings that match `/^-?\d+$/`
|
|
2316
|
+
* (`"-1"`, `"0"`). Rejects floats, empty strings, and non-numeric values.
|
|
2317
|
+
*
|
|
2318
|
+
* @param x - Value to test.
|
|
2319
|
+
*/
|
|
2234
2320
|
declare function isNumeric(x: unknown): x is number;
|
|
2321
|
+
/**
|
|
2322
|
+
* Type guard for an inline OpenAPI {@link OpenApiSchemaObject}.
|
|
2323
|
+
*
|
|
2324
|
+
* Returns `true` when `x` looks like a schema definition: it has a known
|
|
2325
|
+
* `type`, composition keywords (`allOf`, `anyOf`, `oneOf`), or `properties`.
|
|
2326
|
+
* Does not match reference objects; use {@link isReference} for those.
|
|
2327
|
+
*
|
|
2328
|
+
* @param x - Value to test.
|
|
2329
|
+
*/
|
|
2235
2330
|
declare function isSchema(x: unknown): x is OpenApiSchemaObject;
|
|
2331
|
+
/**
|
|
2332
|
+
* Type guard for HTTP methods defined in {@link Verbs}.
|
|
2333
|
+
*
|
|
2334
|
+
* @param verb - Method name to test (for example, `"get"`, `"post"`).
|
|
2335
|
+
*/
|
|
2236
2336
|
declare function isVerb(verb: string): verb is Verbs;
|
|
2337
|
+
/**
|
|
2338
|
+
* Returns `true` when `str` is a valid absolute URL with an `http:` or
|
|
2339
|
+
* `https:` protocol.
|
|
2340
|
+
*
|
|
2341
|
+
* Empty or whitespace-only strings are rejected.
|
|
2342
|
+
*
|
|
2343
|
+
* @param str - URL string to validate.
|
|
2344
|
+
*/
|
|
2237
2345
|
declare function isUrl(str: string): boolean;
|
|
2238
2346
|
/**
|
|
2239
2347
|
* Type guard for the MSW mock generator. Use to narrow a
|
|
2240
2348
|
* `GlobalMockOptions | ClientMockBuilder` value to `MswMockOptions`.
|
|
2349
|
+
*
|
|
2350
|
+
* @param mock - Mock configuration or builder to test.
|
|
2241
2351
|
*/
|
|
2242
2352
|
declare function isMswMock(mock: GlobalMockOptions | ClientMockBuilder): mock is MswMockOptions;
|
|
2243
2353
|
/**
|
|
2244
2354
|
* Type guard for the Faker mock generator. Use to narrow a
|
|
2245
2355
|
* `GlobalMockOptions | ClientMockBuilder` value to `FakerMockOptions`.
|
|
2356
|
+
*
|
|
2357
|
+
* @param mock - Mock configuration or builder to test.
|
|
2246
2358
|
*/
|
|
2247
2359
|
declare function isFakerMock(mock: GlobalMockOptions | ClientMockBuilder): mock is FakerMockOptions;
|
|
2248
2360
|
//#endregion
|
|
@@ -2486,6 +2598,17 @@ declare function getRelativeImportPath(importerFilePath: string, exporterFilePat
|
|
|
2486
2598
|
declare function resolveInstalledVersion(packageName: string, fromDir: string): string | undefined;
|
|
2487
2599
|
declare function resolveInstalledVersions(packageJson: PackageJson, fromDir: string): Record<string, string>;
|
|
2488
2600
|
//#endregion
|
|
2601
|
+
//#region src/utils/schemas-options.d.ts
|
|
2602
|
+
interface SchemaOptionLike {
|
|
2603
|
+
importPath?: string;
|
|
2604
|
+
}
|
|
2605
|
+
/**
|
|
2606
|
+
* Extracts the custom package import specifier from a normalized `schemas`
|
|
2607
|
+
* config. Returns `undefined` when `schemas` is a plain string, `false`,
|
|
2608
|
+
* `undefined`, or when `importPath` is not set.
|
|
2609
|
+
*/
|
|
2610
|
+
declare function getSchemasImportPath(schemas?: string | NormalizedSchemaOptions | SchemaOptionLike | false | null): string | undefined;
|
|
2611
|
+
//#endregion
|
|
2489
2612
|
//#region src/utils/sort.d.ts
|
|
2490
2613
|
declare const sortByPriority: <T>(arr: (T & {
|
|
2491
2614
|
default?: unknown;
|
|
@@ -2594,6 +2717,22 @@ declare function escapeRegExp(value: string): string;
|
|
|
2594
2717
|
* @param input String to escape
|
|
2595
2718
|
*/
|
|
2596
2719
|
declare function jsStringEscape(input: string): string;
|
|
2720
|
+
/**
|
|
2721
|
+
* Escape a string for embedding inside a single-quoted JS string literal.
|
|
2722
|
+
*
|
|
2723
|
+
* Unlike {@link jsStringEscape}, this escapes only what a string literal
|
|
2724
|
+
* actually needs: backslashes, single quotes, and line terminators. It
|
|
2725
|
+
* deliberately does NOT escape `/` or `*`, which are meaningless inside a
|
|
2726
|
+
* string literal, so escaping them produces "useless escapes" that round-trip
|
|
2727
|
+
* to the same value but trip ESLint's `no-useless-escape` in generated code
|
|
2728
|
+
* (e.g. RegExp pattern literals, see #3337).
|
|
2729
|
+
*
|
|
2730
|
+
* Use {@link jsStringEscape} instead when the value is embedded in a JS comment,
|
|
2731
|
+
* where the comment delimiters must be neutralized.
|
|
2732
|
+
*
|
|
2733
|
+
* @param input String to escape
|
|
2734
|
+
*/
|
|
2735
|
+
declare function jsStringLiteralEscape(input: string): string;
|
|
2597
2736
|
/**
|
|
2598
2737
|
* Deduplicates a TypeScript union type string.
|
|
2599
2738
|
* Handles types like "A | B | B" → "A | B" and "null | null" → "null".
|
|
@@ -2724,5 +2863,5 @@ declare function generateTargetForTags(builder: WriteSpecBuilder, options: Norma
|
|
|
2724
2863
|
declare function getOrvalGeneratedTypes(): string;
|
|
2725
2864
|
declare function getTypedResponse(): string;
|
|
2726
2865
|
//#endregion
|
|
2727
|
-
export { AngularHttpResourceOptions, AngularOptions, BODY_TYPE_NAME, BaseUrlFromConstant, BaseUrlFromSpec, BaseUrlRuntime, BoundAliasInfo, ClientBuilder, ClientDependenciesBuilder, ClientExtraFilesBuilder, ClientFileBuilder, ClientFooterBuilder, ClientGeneratorsBuilder, ClientHeaderBuilder, ClientMockBuilder, ClientMockGeneratorBuilder, ClientMockGeneratorImplementation, ClientTitleBuilder, CommonMockOptions, Config, ConfigExternal, ConfigFn, ContentTypeFilter, ContextSpec, DeepNonNullable, DefaultTag, DynamicScopeEntry, EffectOptions, EnumGeneration, ErrorWithTag, FactoryMethodsMode, FactoryMethodsOptions, FakerMockOptions, FetchOptions, FormDataArrayHandling, FormDataContext, FormDataType, GenerateMockImports, GenerateVerbOptionsParams, GenerateVerbsOptionsParams, GeneratorApiBuilder, GeneratorApiOperations, GeneratorApiResponse, GeneratorClient, GeneratorClientExtra, GeneratorClientFooter, GeneratorClientHeader, GeneratorClientImports, GeneratorClientTitle, GeneratorClients, GeneratorDependency, GeneratorImport, GeneratorMockOutput, GeneratorMockOutputFull, GeneratorMutator, GeneratorMutatorParsingInfo, GeneratorOperation, GeneratorOperations, GeneratorOptions, GeneratorSchema, GeneratorTarget, GeneratorTargetFull, GeneratorVerbOptions, GeneratorVerbsOptions, GetterBody, GetterParam, GetterParameters, GetterParams, GetterProp, GetterPropType, GetterProps, GetterQueryParam, GetterResponse, GlobalMockOptions, GlobalOptions, HonoOptions, Hook, HookCommand, HookFunction, HookOption, HooksOptions, ImportOpenApi, InputFiltersOptions, InputOptions, InputTransformerFn, InvalidateTarget, InvalidateTargetParam, JsDocOptions, LogLevel, LogLevels, LogOptions, LogType, Logger, LoggerOptions, McpOptions, McpServerOptions, MockData, MockDataArray, MockDataArrayFn, MockDataObject, MockDataObjectFn, MockOptions, MockProperties, MockPropertiesObject, MockPropertiesObjectFn, MswMockOptions, MutationInvalidatesConfig, MutationInvalidatesRule, Mutator, MutatorObject, NAMED_COMPONENT_SECTIONS, NamingConvention, NormalizedAngularOptions, NormalizedConfig, NormalizedEffectOptions, NormalizedFactoryMethodsOptions, NormalizedFetchOptions, NormalizedFormDataType, NormalizedHonoOptions, NormalizedHookCommand, NormalizedHookOptions, NormalizedInputOptions, NormalizedJsDocOptions, NormalizedMcpOptions, NormalizedMcpServerOptions, NormalizedMocksConfig, NormalizedMutator, NormalizedOperationOptions, NormalizedOptions, NormalizedOutputOptions, NormalizedOverrideOutput, NormalizedParamsSerializerOptions, NormalizedQueryOptions, NormalizedSchemaOptions, NormalizedZodOptions, OpenApiComponentsObject, OpenApiDocument, OpenApiDynamicReferenceObject, OpenApiEncodingObject, OpenApiExampleObject, OpenApiInfoObject, OpenApiMediaTypeObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiPathItemObject, OpenApiPathsObject, OpenApiReferenceObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiResponsesObject, OpenApiSchemaObject, OpenApiSchemaObjectType, OpenApiSchemasObject, OpenApiServerObject, OperationOptions, Options, OptionsExport, OptionsFn, OutputClient, OutputClientFunc, OutputDocsOptions, OutputHttpClient, OutputMockType, OutputMocksConfig, OutputMocksOption, OutputMode, OutputOptions, OverrideInput, OverrideMockOptions, OverrideOutput, OverrideOutputContentType, PackageJson, ParamsSerializerOptions, PreferredContentType, PropertySortOrder, QueryOptions, ReadonlyRequestBodiesMode, RefComponentSuffix, RefInfo, ResReqTypesValue, ResolverValue, ResponseTypeCategory, ScalarValue, SchemaGenerationType, SchemaOptions, SchemaType, SupportedFormatter, SwrOptions, TEMPLATE_TAG_REGEX, TsConfigModule, TsConfigModuleResolution, TsConfigTarget, Tsconfig, URL_REGEX, VERBS_WITH_BODY, Verbs, WriteModeProps, WriteSpecBuilder, ZodCoerceType, ZodDateTimeOptions, ZodOptions, ZodTimeOptions, addDependency, asyncReduce, buildAngularParamsFilterExpression, buildDynamicScope, camel, collectReferencedComponents, combineSchemas, compareVersions, conventionName, count, createDebugger, createLogger, createSuccessMessage, createTypeAliasIfNeeded, dedupeUnionType, dynamicAnchorToParamName, dynamicAnchorsToUniqueParamNames, dynamicImport, escape, escapeRegExp, extractBoundAliasInfo, filterByContentType, filteredVerbs, fixCrossDirectoryImports, fixRegularSchemaImports, generalJSTypes, generalJSTypesWithArray, generateAxiosOptions, generateBodyMutatorConfig, generateBodyOptions, generateComponentDefinition, generateDependencyImports, generateFactory, generateFormDataAndUrlEncodedFunction, generateImports, generateModelInline, generateModelsInline, generateMutator, generateMutatorConfig, generateMutatorImports, generateMutatorRequestOptions, generateOptions, generateParameterDefinition, generateQueryParamsAxiosConfig, generateSchemasDefinition, generateTarget, generateTargetForTags, generateVerbImports, generateVerbOptions, generateVerbsOptions, getAngularFilteredParamsCallExpression, getAngularFilteredParamsExpression, getAngularFilteredParamsHelperBody, getArray, getBaseUrlRuntimeImports, getBodiesByContentType, getBody, getCombinedEnumValue, getDefaultContentType, getDynamicAnchorName, getEnum, getEnumDescriptions, getEnumImplementation, getEnumNames, getEnumUnionFromSchema, getExtension, getFileInfo, getFormDataFieldFileType, getFullRoute, getImportExtension, getIsBodyVerb, getKey, getMockFileExtensionByTypeName, getNumberWord, getObject, getOperationId, getOrvalGeneratedTypes, getParameters, getParams, getParamsInPath, getPropertySafe, getProps, getQueryParams, getRefInfo, getResReqTypes, getResponse, getResponseTypeCategory, getRoute, getRouteAsArray, getScalar, getSuccessResponseType, getTypedResponse, getWarningCount, isBinaryContentType, isBinaryScalarSchema, isBoolean, isComponentRef, isDirectory, isDynamicReference, isFakerMock, isFunction, isModule, isMswMock, isNullish, isNumber, isNumeric, isObject, isReference, isSchema, isString, isStringLike, isSyntheticDefaultImportsAllow, isUrl, isVerb, isVerbose, jsDoc, jsStringEscape, kebab, keyValuePairsToJsDoc, log, logError, logVerbose, logWarning, makeRouteSafe, mergeDeep, mismatchArgsMessage, pascal, removeFilesAndEmptyFolders, resetWarnings, resolveDiscriminators, resolveDynamicRef, resolveExampleRefs, resolveInstalledVersion, resolveInstalledVersions, resolveObject, resolveRef, resolveValue, sanitize, setVerbose, snake, sortByPriority, splitSchemasByType, startMessage, stringify, toObjectString, path_d_exports as upath, upper, wrapRouteParameters, writeGeneratedFile, writeModelInline, writeModelsInline, writeSchema, writeSchemas, writeSingleMode, writeSplitMode, writeSplitTagsMode, writeTagsMode };
|
|
2866
|
+
export { AngularHttpResourceOptions, AngularOptions, BODY_TYPE_NAME, BaseUrlFromConstant, BaseUrlFromSpec, BaseUrlRuntime, BoundAliasInfo, ClientBuilder, ClientDependenciesBuilder, ClientExtraFilesBuilder, ClientFileBuilder, ClientFooterBuilder, ClientGeneratorsBuilder, ClientHeaderBuilder, ClientMockBuilder, ClientMockGeneratorBuilder, ClientMockGeneratorImplementation, ClientTitleBuilder, CommonMockOptions, Config, ConfigExternal, ConfigFn, ContentTypeFilter, ContextSpec, DeepNonNullable, DefaultTag, DynamicScopeEntry, EffectOptions, EnumGeneration, ErrorWithTag, FactoryMethodsMode, FactoryMethodsOptions, FakerMockOptions, FetchOptions, FinalizeMockImplementationOptions, FormDataArrayHandling, FormDataContext, FormDataType, GenerateMockImports, GenerateVerbOptionsParams, GenerateVerbsOptionsParams, GeneratorApiBuilder, GeneratorApiOperations, GeneratorApiResponse, GeneratorClient, GeneratorClientExtra, GeneratorClientFooter, GeneratorClientHeader, GeneratorClientImports, GeneratorClientTitle, GeneratorClients, GeneratorDependency, GeneratorImport, GeneratorMockOutput, GeneratorMockOutputFull, GeneratorMutator, GeneratorMutatorParsingInfo, GeneratorOperation, GeneratorOperations, GeneratorOptions, GeneratorSchema, GeneratorTarget, GeneratorTargetFull, GeneratorVerbOptions, GeneratorVerbsOptions, GetterBody, GetterParam, GetterParameters, GetterParams, GetterProp, GetterPropType, GetterProps, GetterQueryParam, GetterResponse, GlobalMockOptions, GlobalOptions, HonoHandlerStrategy, HonoOptions, Hook, HookCommand, HookFunction, HookOption, HooksOptions, ImportOpenApi, InputFiltersOptions, InputOptions, InputTransformerFn, InvalidateTarget, InvalidateTargetParam, JsDocOptions, LogLevel, LogLevels, LogOptions, LogType, Logger, LoggerOptions, McpOptions, McpServerOptions, MockData, MockDataArray, MockDataArrayFn, MockDataObject, MockDataObjectFn, MockOptions, MockProperties, MockPropertiesObject, MockPropertiesObjectFn, MswMockOptions, MutationInvalidatesConfig, MutationInvalidatesRule, Mutator, MutatorObject, NAMED_COMPONENT_SECTIONS, NamingConvention, NormalizedAngularOptions, NormalizedConfig, NormalizedEffectOptions, NormalizedFactoryMethodsOptions, NormalizedFetchOptions, NormalizedFormDataType, NormalizedHonoOptions, NormalizedHookCommand, NormalizedHookOptions, NormalizedInputOptions, NormalizedJsDocOptions, NormalizedMcpOptions, NormalizedMcpServerOptions, NormalizedMocksConfig, NormalizedMutator, NormalizedOperationOptions, NormalizedOptions, NormalizedOutputOptions, NormalizedOverrideOutput, NormalizedParamsSerializerOptions, NormalizedQueryOptions, NormalizedSchemaOptions, NormalizedZodOptions, OpenApiComponentsObject, OpenApiDocument, OpenApiDynamicReferenceObject, OpenApiEncodingObject, OpenApiExampleObject, OpenApiInfoObject, OpenApiMediaTypeObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiPathItemObject, OpenApiPathsObject, OpenApiReferenceObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiResponsesObject, OpenApiSchemaObject, OpenApiSchemaObjectType, OpenApiSchemasObject, OpenApiServerObject, OperationOptions, Options, OptionsExport, OptionsFn, OutputClient, OutputClientFunc, OutputDocsOptions, OutputHttpClient, OutputMockType, OutputMocksConfig, OutputMocksOption, OutputMode, OutputOptions, OverrideInput, OverrideMockOptions, OverrideOutput, OverrideOutputContentType, PackageJson, ParamsSerializerOptions, PreferredContentType, PropertySortOrder, QueryOptions, ReadonlyRequestBodiesMode, RefComponentSuffix, RefInfo, ResReqTypesValue, ResolverValue, ResponseTypeCategory, ScalarValue, SchemaGenerationType, SchemaOptionLike, SchemaOptions, SchemaType, SupportedFormatter, SwrOptions, TEMPLATE_TAG_REGEX, TsConfigModule, TsConfigModuleResolution, TsConfigTarget, Tsconfig, URL_REGEX, VERBS_WITH_BODY, Verbs, WriteModeProps, WriteSpecBuilder, ZodCoerceType, ZodDateTimeOptions, ZodOptions, ZodTimeOptions, addDependency, asyncReduce, buildAngularParamsFilterExpression, buildDynamicScope, camel, collectReferencedComponents, combineSchemas, compareVersions, conventionName, count, createDebugger, createLogger, createSuccessMessage, createTypeAliasIfNeeded, dedupeUnionType, dynamicAnchorToParamName, dynamicAnchorsToUniqueParamNames, dynamicImport, escape, escapeRegExp, extractBoundAliasInfo, filterByContentType, filteredVerbs, fixCrossDirectoryImports, fixRegularSchemaImports, generalJSTypes, generalJSTypesWithArray, generateAxiosOptions, generateBodyMutatorConfig, generateBodyOptions, generateComponentDefinition, generateDependencyImports, generateFactory, generateFormDataAndUrlEncodedFunction, generateImports, generateModelInline, generateModelsInline, generateMutator, generateMutatorConfig, generateMutatorImports, generateMutatorRequestOptions, generateOptions, generateParameterDefinition, generateQueryParamsAxiosConfig, generateSchemasDefinition, generateTarget, generateTargetForTags, generateVerbImports, generateVerbOptions, generateVerbsOptions, getAngularFilteredParamsCallExpression, getAngularFilteredParamsExpression, getAngularFilteredParamsHelperBody, getArray, getBaseUrlRuntimeImports, getBodiesByContentType, getBody, getCombinedEnumValue, getDefaultContentType, getDynamicAnchorName, getEnum, getEnumDescriptions, getEnumImplementation, getEnumNames, getEnumUnionFromSchema, getExtension, getFileInfo, getFormDataFieldFileType, getFullRoute, getImportExtension, getIsBodyVerb, getKey, getMockFileExtensionByTypeName, getNumberWord, getObject, getOperationId, getOrvalGeneratedTypes, getParameters, getParams, getParamsInPath, getPropertySafe, getProps, getQueryParams, getRefInfo, getResReqTypes, getResponse, getResponseTypeCategory, getRoute, getRouteAsArray, getScalar, getSchemasImportPath, getSuccessResponseType, getTypedResponse, getWarningCount, isBinaryContentType, isBinaryScalarSchema, isBoolean, isComponentRef, isDirectory, isDynamicReference, isFakerMock, isFunction, isModule, isMswMock, isNullish, isNumber, isNumeric, isObject, isReference, isSchema, isString, isStringLike, isSyntheticDefaultImportsAllow, isUrl, isVerb, isVerbose, jsDoc, jsStringEscape, jsStringLiteralEscape, kebab, keyValuePairsToJsDoc, log, logError, logVerbose, logWarning, makeRouteSafe, mergeDeep, mismatchArgsMessage, pascal, removeFilesAndEmptyFolders, resetWarnings, resolveDiscriminators, resolveDynamicRef, resolveExampleRefs, resolveInstalledVersion, resolveInstalledVersions, resolveObject, resolveRef, resolveValue, sanitize, setVerbose, snake, sortByPriority, splitSchemasByType, startMessage, stringify, toObjectString, path_d_exports as upath, upper, wrapRouteParameters, writeGeneratedFile, writeModelInline, writeModelsInline, writeSchema, writeSchemas, writeSingleMode, writeSplitMode, writeSplitTagsMode, writeTagsMode };
|
|
2728
2867
|
//# sourceMappingURL=index.d.mts.map
|