@hey-api/openapi-ts 0.86.2 → 0.86.3
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/getSpec-DhkA7wWv.cjs +24 -0
- package/dist/getSpec-DhkA7wWv.cjs.map +1 -0
- package/dist/getSpec-DzntayfV.js +24 -0
- package/dist/getSpec-DzntayfV.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/{types-BT1ededZ.d.cts → types-CBGf9bNY.d.cts} +414 -302
- package/dist/{types-DGAzCzMG.d.ts → types-TTJZ61ck.d.ts} +413 -301
- package/package.json +4 -4
- package/dist/getSpec-54k1Qp12.js +0 -24
- package/dist/getSpec-54k1Qp12.js.map +0 -1
- package/dist/getSpec-BFMqYPd3.cjs +0 -24
- package/dist/getSpec-BFMqYPd3.cjs.map +0 -1
|
@@ -2945,52 +2945,7 @@ type Package = {
|
|
|
2945
2945
|
satisfies: (nameOrVersion: string | SemVer, range: string, optionsOrLoose?: boolean | RangeOptions) => boolean;
|
|
2946
2946
|
};
|
|
2947
2947
|
//#endregion
|
|
2948
|
-
//#region src/
|
|
2949
|
-
declare class Logger {
|
|
2950
|
-
private events;
|
|
2951
|
-
private end;
|
|
2952
|
-
report(print?: boolean): PerformanceMeasure | undefined;
|
|
2953
|
-
private reportEvent;
|
|
2954
|
-
private start;
|
|
2955
|
-
private storeEvent;
|
|
2956
|
-
timeEvent(name: string): {
|
|
2957
|
-
mark: PerformanceMark;
|
|
2958
|
-
timeEnd: () => void;
|
|
2959
|
-
};
|
|
2960
|
-
}
|
|
2961
|
-
//#endregion
|
|
2962
|
-
//#region src/openApi/shared/utils/graph.d.ts
|
|
2963
|
-
/**
|
|
2964
|
-
* Represents the possible access scopes for OpenAPI nodes.
|
|
2965
|
-
* - 'normal': Default scope for regular nodes.
|
|
2966
|
-
* - 'read': Node is read-only (e.g., readOnly: true).
|
|
2967
|
-
* - 'write': Node is write-only (e.g., writeOnly: true).
|
|
2968
|
-
*/
|
|
2969
|
-
type Scope = 'normal' | 'read' | 'write';
|
|
2970
|
-
/**
|
|
2971
|
-
* Information about a node in the OpenAPI graph.
|
|
2972
|
-
*
|
|
2973
|
-
* @property deprecated - Whether the node is deprecated. Optional.
|
|
2974
|
-
* @property key - The property name or array index in the parent, or null for root.
|
|
2975
|
-
* @property node - The actual object at this pointer in the spec.
|
|
2976
|
-
* @property parentPointer - The JSON Pointer of the parent node, or null for root.
|
|
2977
|
-
* @property scopes - The set of access scopes for this node, if any. Optional.
|
|
2978
|
-
* @property tags - The set of tags for this node, if any. Optional.
|
|
2979
|
-
*/
|
|
2980
|
-
type NodeInfo = {
|
|
2981
|
-
/** Whether the node is deprecated. Optional. */
|
|
2982
|
-
deprecated?: boolean;
|
|
2983
|
-
/** The property name or array index in the parent, or null for root. */
|
|
2984
|
-
key: string | number | null;
|
|
2985
|
-
/** The actual object at this pointer in the spec. */
|
|
2986
|
-
node: unknown;
|
|
2987
|
-
/** The JSON Pointer of the parent node, or null for root. */
|
|
2988
|
-
parentPointer: string | null;
|
|
2989
|
-
/** The set of access scopes for this node, if any. Optional. */
|
|
2990
|
-
scopes?: Set<Scope>;
|
|
2991
|
-
/** The set of tags for this node, if any. Optional. */
|
|
2992
|
-
tags?: Set<string>;
|
|
2993
|
-
};
|
|
2948
|
+
//#region src/graph/types/graph.d.ts
|
|
2994
2949
|
/**
|
|
2995
2950
|
* The main graph structure for OpenAPI node analysis.
|
|
2996
2951
|
*
|
|
@@ -3026,6 +2981,79 @@ type Graph = {
|
|
|
3026
2981
|
*/
|
|
3027
2982
|
transitiveDependencies: Map<string, Set<string>>;
|
|
3028
2983
|
};
|
|
2984
|
+
/**
|
|
2985
|
+
* Information about a node in the OpenAPI graph.
|
|
2986
|
+
*
|
|
2987
|
+
* @property deprecated - Whether the node is deprecated. Optional.
|
|
2988
|
+
* @property key - The property name or array index in the parent, or null for root.
|
|
2989
|
+
* @property node - The actual object at this pointer in the spec.
|
|
2990
|
+
* @property parentPointer - The JSON Pointer of the parent node, or null for root.
|
|
2991
|
+
* @property scopes - The set of access scopes for this node, if any. Optional.
|
|
2992
|
+
* @property tags - The set of tags for this node, if any. Optional.
|
|
2993
|
+
*/
|
|
2994
|
+
type NodeInfo = {
|
|
2995
|
+
/** Whether the node is deprecated. Optional. */
|
|
2996
|
+
deprecated?: boolean;
|
|
2997
|
+
/** The property name or array index in the parent, or null for root. */
|
|
2998
|
+
key: string | number | null;
|
|
2999
|
+
/** The actual object at this pointer in the spec. */
|
|
3000
|
+
node: unknown;
|
|
3001
|
+
/** The JSON Pointer of the parent node, or null for root. */
|
|
3002
|
+
parentPointer: string | null;
|
|
3003
|
+
/** The set of access scopes for this node, if any. Optional. */
|
|
3004
|
+
scopes?: Set<Scope>;
|
|
3005
|
+
/** The set of tags for this node, if any. Optional. */
|
|
3006
|
+
tags?: Set<string>;
|
|
3007
|
+
};
|
|
3008
|
+
//#endregion
|
|
3009
|
+
//#region src/graph/types/walk.d.ts
|
|
3010
|
+
type GetPointerPriorityFn = (pointer: string) => number;
|
|
3011
|
+
type MatchPointerToGroupFn<T$1 extends string = string> = (pointer: string, kind?: T$1) => PointerGroupMatch<T$1>;
|
|
3012
|
+
type PointerGroupMatch<T$1 extends string = string> = {
|
|
3013
|
+
kind: T$1;
|
|
3014
|
+
matched: true;
|
|
3015
|
+
} | {
|
|
3016
|
+
kind?: undefined;
|
|
3017
|
+
matched: false;
|
|
3018
|
+
};
|
|
3019
|
+
type WalkOptions<T$1 extends string = string> = {
|
|
3020
|
+
/**
|
|
3021
|
+
* Optional priority function used to compute a numeric priority for each
|
|
3022
|
+
* pointer. Lower values are emitted earlier. Useful to customize ordering
|
|
3023
|
+
* beyond the built-in group preferences.
|
|
3024
|
+
*/
|
|
3025
|
+
getPointerPriority?: GetPointerPriorityFn;
|
|
3026
|
+
/**
|
|
3027
|
+
* Optional function to match a pointer to a group name.
|
|
3028
|
+
*
|
|
3029
|
+
* @param pointer The pointer string
|
|
3030
|
+
* @returns The group name, or undefined if no match
|
|
3031
|
+
*/
|
|
3032
|
+
matchPointerToGroup?: MatchPointerToGroupFn<T$1>;
|
|
3033
|
+
/**
|
|
3034
|
+
* Order of walking schemas.
|
|
3035
|
+
*
|
|
3036
|
+
* The "declarations" option ensures that schemas are walked in the order
|
|
3037
|
+
* they are declared in the input document. This is useful for scenarios where
|
|
3038
|
+
* the order of declaration matters, such as when generating code that relies
|
|
3039
|
+
* on the sequence of schema definitions.
|
|
3040
|
+
*
|
|
3041
|
+
* The "topological" option ensures that schemas are walked in an order
|
|
3042
|
+
* where dependencies are visited before the schemas that depend on them.
|
|
3043
|
+
* This is useful for scenarios where you need to process or generate
|
|
3044
|
+
* schemas in a way that respects their interdependencies.
|
|
3045
|
+
*
|
|
3046
|
+
* @default 'topological'
|
|
3047
|
+
*/
|
|
3048
|
+
order?: 'declarations' | 'topological';
|
|
3049
|
+
/**
|
|
3050
|
+
* Optional grouping preference for walking. When provided, walk function
|
|
3051
|
+
* will prefer emitting kinds listed earlier in this array when it is safe
|
|
3052
|
+
* to do so (it will only apply the preference when doing so does not
|
|
3053
|
+
* violate dependency ordering).
|
|
3054
|
+
*/
|
|
3055
|
+
preferGroups?: ReadonlyArray<T$1>;
|
|
3056
|
+
};
|
|
3029
3057
|
//#endregion
|
|
3030
3058
|
//#region src/config/utils/config.d.ts
|
|
3031
3059
|
type ObjectType<T$1> = Extract<T$1, Record<string, any>> extends never ? Record<string, any> : Extract<T$1, Record<string, any>>;
|
|
@@ -6556,7 +6584,7 @@ interface OpenApiV3_1_XTypes {
|
|
|
6556
6584
|
}
|
|
6557
6585
|
//#endregion
|
|
6558
6586
|
//#region src/openApi/types.d.ts
|
|
6559
|
-
declare namespace OpenApi$
|
|
6587
|
+
declare namespace OpenApi$3 {
|
|
6560
6588
|
export type V2_0_X = OpenApiV2_0_X;
|
|
6561
6589
|
export type V3_0_X = OpenApiV3_0_X;
|
|
6562
6590
|
export type V3_1_X = OpenApiV3_1_X;
|
|
@@ -6589,6 +6617,322 @@ declare namespace OpenApiSchemaObject {
|
|
|
6589
6617
|
export type V3_1_X = OpenApiV3_1_XTypes['SchemaObject'];
|
|
6590
6618
|
}
|
|
6591
6619
|
//#endregion
|
|
6620
|
+
//#region src/ir/graph.d.ts
|
|
6621
|
+
declare const irTopLevelKinds: readonly ["operation", "parameter", "requestBody", "schema", "server", "webhook"];
|
|
6622
|
+
type IrTopLevelKind = (typeof irTopLevelKinds)[number];
|
|
6623
|
+
//#endregion
|
|
6624
|
+
//#region src/plugins/shared/types/instance.d.ts
|
|
6625
|
+
type WalkEvents = {
|
|
6626
|
+
_path: ReadonlyArray<string | number>;
|
|
6627
|
+
method: keyof IR$1.PathItemObject;
|
|
6628
|
+
operation: IR$1.OperationObject;
|
|
6629
|
+
path: string;
|
|
6630
|
+
type: Extract<IrTopLevelKind, 'operation'>;
|
|
6631
|
+
} | {
|
|
6632
|
+
$ref: string;
|
|
6633
|
+
_path: ReadonlyArray<string | number>;
|
|
6634
|
+
name: string;
|
|
6635
|
+
parameter: IR$1.ParameterObject;
|
|
6636
|
+
type: Extract<IrTopLevelKind, 'parameter'>;
|
|
6637
|
+
} | {
|
|
6638
|
+
$ref: string;
|
|
6639
|
+
_path: ReadonlyArray<string | number>;
|
|
6640
|
+
name: string;
|
|
6641
|
+
requestBody: IR$1.RequestBodyObject;
|
|
6642
|
+
type: Extract<IrTopLevelKind, 'requestBody'>;
|
|
6643
|
+
} | {
|
|
6644
|
+
$ref: string;
|
|
6645
|
+
_path: ReadonlyArray<string | number>;
|
|
6646
|
+
name: string;
|
|
6647
|
+
schema: IR$1.SchemaObject;
|
|
6648
|
+
type: Extract<IrTopLevelKind, 'schema'>;
|
|
6649
|
+
} | {
|
|
6650
|
+
_path: ReadonlyArray<string | number>;
|
|
6651
|
+
server: IR$1.ServerObject;
|
|
6652
|
+
type: Extract<IrTopLevelKind, 'server'>;
|
|
6653
|
+
} | {
|
|
6654
|
+
_path: ReadonlyArray<string | number>;
|
|
6655
|
+
key: string;
|
|
6656
|
+
method: keyof IR$1.PathItemObject;
|
|
6657
|
+
operation: IR$1.OperationObject;
|
|
6658
|
+
type: Extract<IrTopLevelKind, 'webhook'>;
|
|
6659
|
+
};
|
|
6660
|
+
type WalkEvent<T$1 extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents, {
|
|
6661
|
+
type: T$1;
|
|
6662
|
+
}>;
|
|
6663
|
+
//#endregion
|
|
6664
|
+
//#region src/plugins/shared/utils/instance.d.ts
|
|
6665
|
+
declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
|
|
6666
|
+
api: T$1['api'];
|
|
6667
|
+
config: Omit<T$1['resolvedConfig'], 'name' | 'output'>;
|
|
6668
|
+
context: IR$1.Context;
|
|
6669
|
+
dependencies: Required<Plugin.Config<T$1>>['dependencies'];
|
|
6670
|
+
private eventHooks;
|
|
6671
|
+
gen: IProject;
|
|
6672
|
+
private handler;
|
|
6673
|
+
name: T$1['resolvedConfig']['name'];
|
|
6674
|
+
output: string;
|
|
6675
|
+
/**
|
|
6676
|
+
* The package metadata and utilities for the current context, constructed
|
|
6677
|
+
* from the provided dependencies. Used for managing package-related
|
|
6678
|
+
* information such as name, version, and dependency resolution during
|
|
6679
|
+
* code generation.
|
|
6680
|
+
*/
|
|
6681
|
+
package: IR$1.Context['package'];
|
|
6682
|
+
constructor(props: Pick<Required<Plugin.Config<T$1>>, 'config' | 'dependencies' | 'handler'> & {
|
|
6683
|
+
api?: T$1['api'];
|
|
6684
|
+
context: IR$1.Context<OpenApi$3.V2_0_X | OpenApi$3.V3_0_X | OpenApi$3.V3_1_X>;
|
|
6685
|
+
gen: IProject;
|
|
6686
|
+
name: string;
|
|
6687
|
+
output: string;
|
|
6688
|
+
});
|
|
6689
|
+
/**
|
|
6690
|
+
* Iterates over various input elements as specified by the event types, in
|
|
6691
|
+
* a specific order: servers, schemas, parameters, request bodies, then
|
|
6692
|
+
* operations.
|
|
6693
|
+
*
|
|
6694
|
+
* This ensures, for example, that schemas are always processed before
|
|
6695
|
+
* operations, which may reference them.
|
|
6696
|
+
*
|
|
6697
|
+
* @template T - The event type(s) to yield. Defaults to all event types.
|
|
6698
|
+
* @param events - The event types to walk over. If none are provided, all event types are included.
|
|
6699
|
+
* @param callback - Function to execute for each event.
|
|
6700
|
+
*
|
|
6701
|
+
* @example
|
|
6702
|
+
* // Iterate over all operations and schemas
|
|
6703
|
+
* plugin.forEach('operation', 'schema', (event) => {
|
|
6704
|
+
* if (event.type === 'operation') {
|
|
6705
|
+
* // handle operation
|
|
6706
|
+
* } else if (event.type === 'schema') {
|
|
6707
|
+
* // handle schema
|
|
6708
|
+
* }
|
|
6709
|
+
* });
|
|
6710
|
+
*/
|
|
6711
|
+
forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
|
|
6712
|
+
forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions<T$1>]): void;
|
|
6713
|
+
/**
|
|
6714
|
+
* Retrieves a registered plugin instance by its name from the context. This
|
|
6715
|
+
* allows plugins to access other plugins that have been registered in the
|
|
6716
|
+
* same context, enabling cross-plugin communication and dependencies.
|
|
6717
|
+
*
|
|
6718
|
+
* @param name Plugin name as defined in the configuration.
|
|
6719
|
+
* @returns The plugin instance if found, undefined otherwise.
|
|
6720
|
+
*/
|
|
6721
|
+
getPlugin<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> | undefined : never;
|
|
6722
|
+
/**
|
|
6723
|
+
* Retrieves a registered plugin instance by its name from the context. This
|
|
6724
|
+
* allows plugins to access other plugins that have been registered in the
|
|
6725
|
+
* same context, enabling cross-plugin communication and dependencies.
|
|
6726
|
+
*
|
|
6727
|
+
* @param name Plugin name as defined in the configuration.
|
|
6728
|
+
* @returns The plugin instance if found, throw otherwise.
|
|
6729
|
+
*/
|
|
6730
|
+
getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
|
|
6731
|
+
getSymbol(symbolIdOrSelector: number | Selector): Symbol | undefined;
|
|
6732
|
+
hooks: {
|
|
6733
|
+
operation: {
|
|
6734
|
+
isMutation: (operation: IR$1.OperationObject) => boolean;
|
|
6735
|
+
isQuery: (operation: IR$1.OperationObject) => boolean;
|
|
6736
|
+
};
|
|
6737
|
+
};
|
|
6738
|
+
isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
|
|
6739
|
+
referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
|
|
6740
|
+
registerSymbol(symbol: SymbolIn): Symbol;
|
|
6741
|
+
/**
|
|
6742
|
+
* Executes plugin's handler function.
|
|
6743
|
+
*/
|
|
6744
|
+
run(): Promise<void>;
|
|
6745
|
+
setSymbolValue(symbol: Symbol, value: unknown): void;
|
|
6746
|
+
private buildEventHooks;
|
|
6747
|
+
private forEachError;
|
|
6748
|
+
private getSymbolFilePath;
|
|
6749
|
+
private isOperationKind;
|
|
6750
|
+
}
|
|
6751
|
+
//#endregion
|
|
6752
|
+
//#region src/parser/types/hooks.d.ts
|
|
6753
|
+
type Hooks = {
|
|
6754
|
+
/**
|
|
6755
|
+
* Event hooks.
|
|
6756
|
+
*/
|
|
6757
|
+
events?: {
|
|
6758
|
+
/**
|
|
6759
|
+
* Triggered after executing a plugin handler.
|
|
6760
|
+
*
|
|
6761
|
+
* @param args Arguments object.
|
|
6762
|
+
* @returns void
|
|
6763
|
+
*/
|
|
6764
|
+
'plugin:handler:after'?: (args: {
|
|
6765
|
+
/** Plugin that just executed. */
|
|
6766
|
+
plugin: PluginInstance;
|
|
6767
|
+
}) => void;
|
|
6768
|
+
/**
|
|
6769
|
+
* Triggered before executing a plugin handler.
|
|
6770
|
+
*
|
|
6771
|
+
* @param args Arguments object.
|
|
6772
|
+
* @returns void
|
|
6773
|
+
*/
|
|
6774
|
+
'plugin:handler:before'?: (args: {
|
|
6775
|
+
/** Plugin about to execute. */
|
|
6776
|
+
plugin: PluginInstance;
|
|
6777
|
+
}) => void;
|
|
6778
|
+
/**
|
|
6779
|
+
* Triggered after registering a symbol.
|
|
6780
|
+
*
|
|
6781
|
+
* You can use this to perform actions after a symbol is registered.
|
|
6782
|
+
*
|
|
6783
|
+
* @param args Arguments object.
|
|
6784
|
+
* @returns void
|
|
6785
|
+
*/
|
|
6786
|
+
'symbol:register:after'?: (args: {
|
|
6787
|
+
/** Plugin that registered the symbol. */
|
|
6788
|
+
plugin: PluginInstance;
|
|
6789
|
+
/** The registered symbol. */
|
|
6790
|
+
symbol: Symbol;
|
|
6791
|
+
}) => void;
|
|
6792
|
+
/**
|
|
6793
|
+
* Triggered before registering a symbol.
|
|
6794
|
+
*
|
|
6795
|
+
* You can use this to modify the symbol before it's registered.
|
|
6796
|
+
*
|
|
6797
|
+
* @param args Arguments object.
|
|
6798
|
+
* @returns void
|
|
6799
|
+
*/
|
|
6800
|
+
'symbol:register:before'?: (args: {
|
|
6801
|
+
/** Plugin registering the symbol. */
|
|
6802
|
+
plugin: PluginInstance;
|
|
6803
|
+
/** Symbol to register. */
|
|
6804
|
+
symbol: SymbolIn;
|
|
6805
|
+
}) => void;
|
|
6806
|
+
/**
|
|
6807
|
+
* Triggered after setting a symbol value.
|
|
6808
|
+
*
|
|
6809
|
+
* You can use this to perform actions after a symbol's value is set.
|
|
6810
|
+
*
|
|
6811
|
+
* @param args Arguments object.
|
|
6812
|
+
* @returns void
|
|
6813
|
+
*/
|
|
6814
|
+
'symbol:setValue:after'?: (args: {
|
|
6815
|
+
/** Plugin that set the symbol value. */
|
|
6816
|
+
plugin: PluginInstance;
|
|
6817
|
+
/** The symbol. */
|
|
6818
|
+
symbol: Symbol;
|
|
6819
|
+
/** The value that was set. */
|
|
6820
|
+
value: unknown;
|
|
6821
|
+
}) => void;
|
|
6822
|
+
/**
|
|
6823
|
+
* Triggered before setting a symbol value.
|
|
6824
|
+
*
|
|
6825
|
+
* You can use this to modify the value before it's set.
|
|
6826
|
+
*
|
|
6827
|
+
* @param args Arguments object.
|
|
6828
|
+
* @returns void
|
|
6829
|
+
*/
|
|
6830
|
+
'symbol:setValue:before'?: (args: {
|
|
6831
|
+
/** Plugin setting the symbol value. */
|
|
6832
|
+
plugin: PluginInstance;
|
|
6833
|
+
/** The symbol. */
|
|
6834
|
+
symbol: Symbol;
|
|
6835
|
+
/** The value to set. */
|
|
6836
|
+
value: unknown;
|
|
6837
|
+
}) => void;
|
|
6838
|
+
};
|
|
6839
|
+
/**
|
|
6840
|
+
* Hooks specifically for overriding operations behavior.
|
|
6841
|
+
*
|
|
6842
|
+
* Use these to classify operations, decide which outputs to generate,
|
|
6843
|
+
* or apply custom behavior to individual operations.
|
|
6844
|
+
*/
|
|
6845
|
+
operations?: {
|
|
6846
|
+
/**
|
|
6847
|
+
* Classify the given operation into one or more kinds.
|
|
6848
|
+
*
|
|
6849
|
+
* Each kind determines how we treat the operation (e.g., generating queries or mutations).
|
|
6850
|
+
*
|
|
6851
|
+
* **Default behavior:**
|
|
6852
|
+
* - GET → 'query'
|
|
6853
|
+
* - DELETE, PATCH, POST, PUT → 'mutation'
|
|
6854
|
+
*
|
|
6855
|
+
* **Resolution order:**
|
|
6856
|
+
* 1. If `isQuery` or `isMutation` returns `true` or `false`, that overrides `getKind`.
|
|
6857
|
+
* 2. If `isQuery` or `isMutation` returns `undefined`, the result of `getKind` is used.
|
|
6858
|
+
*
|
|
6859
|
+
* @param operation - The operation object to classify.
|
|
6860
|
+
* @returns An array containing one or more of 'query' or 'mutation', or undefined to fallback to default behavior.
|
|
6861
|
+
* @example
|
|
6862
|
+
* ```ts
|
|
6863
|
+
* getKind: (operation) => {
|
|
6864
|
+
* if (operation.method === 'get' && operation.path === '/search') {
|
|
6865
|
+
* return ['query', 'mutation'];
|
|
6866
|
+
* }
|
|
6867
|
+
* return; // fallback to default behavior
|
|
6868
|
+
* }
|
|
6869
|
+
* ```
|
|
6870
|
+
*/
|
|
6871
|
+
getKind?: (operation: IROperationObject) => ReadonlyArray<'mutation' | 'query'> | undefined;
|
|
6872
|
+
/**
|
|
6873
|
+
* Check if the given operation should be treated as a mutation.
|
|
6874
|
+
*
|
|
6875
|
+
* This affects which outputs are generated for the operation.
|
|
6876
|
+
*
|
|
6877
|
+
* **Default behavior:** DELETE, PATCH, POST, and PUT operations are treated as mutations.
|
|
6878
|
+
*
|
|
6879
|
+
* **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
|
|
6880
|
+
* If it returns `undefined`, `getKind` is used instead.
|
|
6881
|
+
*
|
|
6882
|
+
* @param operation - The operation object to check.
|
|
6883
|
+
* @returns true if the operation is a mutation, false otherwise, or undefined to fallback to `getKind`.
|
|
6884
|
+
* @example
|
|
6885
|
+
* ```ts
|
|
6886
|
+
* isMutation: (operation) => {
|
|
6887
|
+
* if (operation.method === 'post' && operation.path === '/search') {
|
|
6888
|
+
* return true;
|
|
6889
|
+
* }
|
|
6890
|
+
* return; // fallback to default behavior
|
|
6891
|
+
* }
|
|
6892
|
+
* ```
|
|
6893
|
+
*/
|
|
6894
|
+
isMutation?: (operation: IROperationObject) => boolean | undefined;
|
|
6895
|
+
/**
|
|
6896
|
+
* Check if the given operation should be treated as a query.
|
|
6897
|
+
*
|
|
6898
|
+
* This affects which outputs are generated for the operation.
|
|
6899
|
+
*
|
|
6900
|
+
* **Default behavior:** GET operations are treated as queries.
|
|
6901
|
+
*
|
|
6902
|
+
* **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
|
|
6903
|
+
* If it returns `undefined`, `getKind` is used instead.
|
|
6904
|
+
*
|
|
6905
|
+
* @param operation - The operation object to check.
|
|
6906
|
+
* @returns true if the operation is a query, false otherwise, or undefined to fallback to `getKind`.
|
|
6907
|
+
* @example
|
|
6908
|
+
* ```ts
|
|
6909
|
+
* isQuery: (operation) => {
|
|
6910
|
+
* if (operation.method === 'post' && operation.path === '/search') {
|
|
6911
|
+
* return true;
|
|
6912
|
+
* }
|
|
6913
|
+
* return; // fallback to default behavior
|
|
6914
|
+
* }
|
|
6915
|
+
* ```
|
|
6916
|
+
*/
|
|
6917
|
+
isQuery?: (operation: IROperationObject) => boolean | undefined;
|
|
6918
|
+
};
|
|
6919
|
+
/**
|
|
6920
|
+
* Hooks specifically for overriding symbols behavior.
|
|
6921
|
+
*
|
|
6922
|
+
* Use these to customize file placement.
|
|
6923
|
+
*/
|
|
6924
|
+
symbols?: {
|
|
6925
|
+
/**
|
|
6926
|
+
* Optional output strategy to override default plugin behavior.
|
|
6927
|
+
*
|
|
6928
|
+
* Use this to route generated symbols to specific files.
|
|
6929
|
+
*
|
|
6930
|
+
* @returns The file path to output the symbol to, or undefined to fallback to default behavior.
|
|
6931
|
+
*/
|
|
6932
|
+
getFilePath?: (symbol: Symbol) => string | undefined;
|
|
6933
|
+
};
|
|
6934
|
+
};
|
|
6935
|
+
//#endregion
|
|
6592
6936
|
//#region src/types/parser.d.ts
|
|
6593
6937
|
type EnumsMode = 'inline' | 'root';
|
|
6594
6938
|
type UserParser = {
|
|
@@ -6603,7 +6947,7 @@ type UserParser = {
|
|
|
6603
6947
|
* Use these to classify resources, control which outputs are generated,
|
|
6604
6948
|
* or provide custom behavior for specific resources.
|
|
6605
6949
|
*/
|
|
6606
|
-
hooks?:
|
|
6950
|
+
hooks?: Hooks;
|
|
6607
6951
|
/**
|
|
6608
6952
|
* Pagination configuration.
|
|
6609
6953
|
*/
|
|
@@ -6775,7 +7119,7 @@ type Parser = {
|
|
|
6775
7119
|
* Use these to classify resources, control which outputs are generated,
|
|
6776
7120
|
* or provide custom behavior for specific resources.
|
|
6777
7121
|
*/
|
|
6778
|
-
hooks:
|
|
7122
|
+
hooks: Hooks;
|
|
6779
7123
|
/**
|
|
6780
7124
|
* Pagination configuration.
|
|
6781
7125
|
*/
|
|
@@ -7400,6 +7744,20 @@ interface Client$2 {
|
|
|
7400
7744
|
version: string;
|
|
7401
7745
|
}
|
|
7402
7746
|
//#endregion
|
|
7747
|
+
//#region src/utils/logger.d.ts
|
|
7748
|
+
declare class Logger {
|
|
7749
|
+
private events;
|
|
7750
|
+
private end;
|
|
7751
|
+
report(print?: boolean): PerformanceMeasure | undefined;
|
|
7752
|
+
private reportEvent;
|
|
7753
|
+
private start;
|
|
7754
|
+
private storeEvent;
|
|
7755
|
+
timeEvent(name: string): {
|
|
7756
|
+
mark: PerformanceMark;
|
|
7757
|
+
timeEnd: () => void;
|
|
7758
|
+
};
|
|
7759
|
+
}
|
|
7760
|
+
//#endregion
|
|
7403
7761
|
//#region src/openApi/v2/interfaces/OpenApiExternalDocs.d.ts
|
|
7404
7762
|
/**
|
|
7405
7763
|
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#external-documentation-object
|
|
@@ -7684,7 +8042,7 @@ interface OpenApiTag$1 {
|
|
|
7684
8042
|
/**
|
|
7685
8043
|
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md
|
|
7686
8044
|
*/
|
|
7687
|
-
interface OpenApi$
|
|
8045
|
+
interface OpenApi$1 {
|
|
7688
8046
|
basePath?: string;
|
|
7689
8047
|
consumes?: string[];
|
|
7690
8048
|
definitions?: Dictionary<OpenApiSchema>;
|
|
@@ -7972,7 +8330,7 @@ interface OpenApiTag {
|
|
|
7972
8330
|
/**
|
|
7973
8331
|
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md
|
|
7974
8332
|
*/
|
|
7975
|
-
interface OpenApi$
|
|
8333
|
+
interface OpenApi$2 {
|
|
7976
8334
|
components?: OpenApiComponents;
|
|
7977
8335
|
externalDocs?: OpenApiExternalDocs;
|
|
7978
8336
|
info: OpenApiInfo;
|
|
@@ -7984,7 +8342,7 @@ interface OpenApi$3 {
|
|
|
7984
8342
|
}
|
|
7985
8343
|
//#endregion
|
|
7986
8344
|
//#region src/openApi/common/interfaces/OpenApi.d.ts
|
|
7987
|
-
type OpenApi = OpenApi$
|
|
8345
|
+
type OpenApi = OpenApi$1 | OpenApi$2;
|
|
7988
8346
|
//#endregion
|
|
7989
8347
|
//#region src/openApi/index.d.ts
|
|
7990
8348
|
/**
|
|
@@ -8004,160 +8362,6 @@ declare const parseOpenApiSpec: ({
|
|
|
8004
8362
|
spec: unknown;
|
|
8005
8363
|
}) => IR$1.Context | undefined;
|
|
8006
8364
|
//#endregion
|
|
8007
|
-
//#region src/ir/graph.d.ts
|
|
8008
|
-
declare const irTopLevelKinds: readonly ["operation", "parameter", "requestBody", "schema", "server", "webhook"];
|
|
8009
|
-
type IrTopLevelKind = (typeof irTopLevelKinds)[number];
|
|
8010
|
-
//#endregion
|
|
8011
|
-
//#region src/plugins/shared/types/instance.d.ts
|
|
8012
|
-
type WalkEvents = {
|
|
8013
|
-
_path: ReadonlyArray<string | number>;
|
|
8014
|
-
method: keyof IR$1.PathItemObject;
|
|
8015
|
-
operation: IR$1.OperationObject;
|
|
8016
|
-
path: string;
|
|
8017
|
-
type: Extract<IrTopLevelKind, 'operation'>;
|
|
8018
|
-
} | {
|
|
8019
|
-
$ref: string;
|
|
8020
|
-
_path: ReadonlyArray<string | number>;
|
|
8021
|
-
name: string;
|
|
8022
|
-
parameter: IR$1.ParameterObject;
|
|
8023
|
-
type: Extract<IrTopLevelKind, 'parameter'>;
|
|
8024
|
-
} | {
|
|
8025
|
-
$ref: string;
|
|
8026
|
-
_path: ReadonlyArray<string | number>;
|
|
8027
|
-
name: string;
|
|
8028
|
-
requestBody: IR$1.RequestBodyObject;
|
|
8029
|
-
type: Extract<IrTopLevelKind, 'requestBody'>;
|
|
8030
|
-
} | {
|
|
8031
|
-
$ref: string;
|
|
8032
|
-
_path: ReadonlyArray<string | number>;
|
|
8033
|
-
name: string;
|
|
8034
|
-
schema: IR$1.SchemaObject;
|
|
8035
|
-
type: Extract<IrTopLevelKind, 'schema'>;
|
|
8036
|
-
} | {
|
|
8037
|
-
_path: ReadonlyArray<string | number>;
|
|
8038
|
-
server: IR$1.ServerObject;
|
|
8039
|
-
type: Extract<IrTopLevelKind, 'server'>;
|
|
8040
|
-
} | {
|
|
8041
|
-
_path: ReadonlyArray<string | number>;
|
|
8042
|
-
key: string;
|
|
8043
|
-
method: keyof IR$1.PathItemObject;
|
|
8044
|
-
operation: IR$1.OperationObject;
|
|
8045
|
-
type: Extract<IrTopLevelKind, 'webhook'>;
|
|
8046
|
-
};
|
|
8047
|
-
type WalkEvent<T$1 extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents, {
|
|
8048
|
-
type: T$1;
|
|
8049
|
-
}>;
|
|
8050
|
-
type WalkOptions = {
|
|
8051
|
-
/**
|
|
8052
|
-
* Order of walking schemas.
|
|
8053
|
-
*
|
|
8054
|
-
* The "declarations" option ensures that schemas are walked in the order
|
|
8055
|
-
* they are declared in the input document. This is useful for scenarios where
|
|
8056
|
-
* the order of declaration matters, such as when generating code that relies
|
|
8057
|
-
* on the sequence of schema definitions.
|
|
8058
|
-
*
|
|
8059
|
-
* The "topological" option ensures that schemas are walked in an order
|
|
8060
|
-
* where dependencies are visited before the schemas that depend on them.
|
|
8061
|
-
* This is useful for scenarios where you need to process or generate
|
|
8062
|
-
* schemas in a way that respects their interdependencies.
|
|
8063
|
-
*
|
|
8064
|
-
* @default 'topological'
|
|
8065
|
-
*/
|
|
8066
|
-
order?: 'declarations' | 'topological';
|
|
8067
|
-
};
|
|
8068
|
-
//#endregion
|
|
8069
|
-
//#region src/plugins/shared/utils/instance.d.ts
|
|
8070
|
-
declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
|
|
8071
|
-
api: T$1['api'];
|
|
8072
|
-
config: Omit<T$1['resolvedConfig'], 'name' | 'output'>;
|
|
8073
|
-
context: IR$1.Context;
|
|
8074
|
-
dependencies: Required<Plugin.Config<T$1>>['dependencies'];
|
|
8075
|
-
gen: IProject;
|
|
8076
|
-
private handler;
|
|
8077
|
-
name: T$1['resolvedConfig']['name'];
|
|
8078
|
-
output: string;
|
|
8079
|
-
/**
|
|
8080
|
-
* The package metadata and utilities for the current context, constructed
|
|
8081
|
-
* from the provided dependencies. Used for managing package-related
|
|
8082
|
-
* information such as name, version, and dependency resolution during
|
|
8083
|
-
* code generation.
|
|
8084
|
-
*/
|
|
8085
|
-
package: IR$1.Context['package'];
|
|
8086
|
-
constructor(props: Pick<Required<Plugin.Config<T$1>>, 'config' | 'dependencies' | 'handler'> & {
|
|
8087
|
-
api?: T$1['api'];
|
|
8088
|
-
context: IR$1.Context<OpenApi$1.V2_0_X | OpenApi$1.V3_0_X | OpenApi$1.V3_1_X>;
|
|
8089
|
-
gen: IProject;
|
|
8090
|
-
name: string;
|
|
8091
|
-
output: string;
|
|
8092
|
-
});
|
|
8093
|
-
/**
|
|
8094
|
-
* Iterates over various input elements as specified by the event types, in
|
|
8095
|
-
* a specific order: servers, schemas, parameters, request bodies, then
|
|
8096
|
-
* operations.
|
|
8097
|
-
*
|
|
8098
|
-
* This ensures, for example, that schemas are always processed before
|
|
8099
|
-
* operations, which may reference them.
|
|
8100
|
-
*
|
|
8101
|
-
* @template T - The event type(s) to yield. Defaults to all event types.
|
|
8102
|
-
* @param events - The event types to walk over. If none are provided, all event types are included.
|
|
8103
|
-
* @param callback - Function to execute for each event.
|
|
8104
|
-
*
|
|
8105
|
-
* @example
|
|
8106
|
-
* // Iterate over all operations and schemas
|
|
8107
|
-
* plugin.forEach('operation', 'schema', (event) => {
|
|
8108
|
-
* if (event.type === 'operation') {
|
|
8109
|
-
* // handle operation
|
|
8110
|
-
* } else if (event.type === 'schema') {
|
|
8111
|
-
* // handle schema
|
|
8112
|
-
* }
|
|
8113
|
-
* });
|
|
8114
|
-
*/
|
|
8115
|
-
forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
|
|
8116
|
-
forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions]): void;
|
|
8117
|
-
private forEachError;
|
|
8118
|
-
/**
|
|
8119
|
-
* Retrieves a registered plugin instance by its name from the context. This
|
|
8120
|
-
* allows plugins to access other plugins that have been registered in the
|
|
8121
|
-
* same context, enabling cross-plugin communication and dependencies.
|
|
8122
|
-
*
|
|
8123
|
-
* @param name Plugin name as defined in the configuration.
|
|
8124
|
-
* @returns The plugin instance if found, undefined otherwise.
|
|
8125
|
-
*/
|
|
8126
|
-
getPlugin<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> | undefined : never;
|
|
8127
|
-
/**
|
|
8128
|
-
* Retrieves a registered plugin instance by its name from the context. This
|
|
8129
|
-
* allows plugins to access other plugins that have been registered in the
|
|
8130
|
-
* same context, enabling cross-plugin communication and dependencies.
|
|
8131
|
-
*
|
|
8132
|
-
* @param name Plugin name as defined in the configuration.
|
|
8133
|
-
* @returns The plugin instance if found, throw otherwise.
|
|
8134
|
-
*/
|
|
8135
|
-
getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
|
|
8136
|
-
getSymbol(symbolIdOrSelector: number | Selector): Symbol | undefined;
|
|
8137
|
-
private getSymbolFilePath;
|
|
8138
|
-
getSymbolValue(idOrSymbol: number | Symbol): unknown;
|
|
8139
|
-
hasSymbolValue(idOrSymbol: number | Symbol): boolean;
|
|
8140
|
-
hooks: {
|
|
8141
|
-
operation: {
|
|
8142
|
-
isMutation: (operation: IR$1.OperationObject) => boolean;
|
|
8143
|
-
isQuery: (operation: IR$1.OperationObject) => boolean;
|
|
8144
|
-
};
|
|
8145
|
-
symbol: {
|
|
8146
|
-
getFilePath: (symbol: Symbol) => string | undefined;
|
|
8147
|
-
};
|
|
8148
|
-
};
|
|
8149
|
-
private isOperationKind;
|
|
8150
|
-
isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
|
|
8151
|
-
referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
|
|
8152
|
-
registerSymbol(symbol: SymbolIn): Symbol;
|
|
8153
|
-
/**
|
|
8154
|
-
* Executes plugin's handler function.
|
|
8155
|
-
*/
|
|
8156
|
-
run(): Promise<void>;
|
|
8157
|
-
setSymbolValue(idOrSymbol: number | Symbol, value: unknown): Map<number, unknown>;
|
|
8158
|
-
private symbolToId;
|
|
8159
|
-
}
|
|
8160
|
-
//#endregion
|
|
8161
8365
|
//#region src/types/client.d.ts
|
|
8162
8366
|
interface Operation extends Omit<Operation$1, 'tags'> {
|
|
8163
8367
|
service: string;
|
|
@@ -8197,7 +8401,7 @@ type BaseConfig = {
|
|
|
8197
8401
|
* Use these to classify resources, control which outputs are generated,
|
|
8198
8402
|
* or provide custom behavior for specific resources.
|
|
8199
8403
|
*/
|
|
8200
|
-
'~hooks'?:
|
|
8404
|
+
'~hooks'?: Hooks;
|
|
8201
8405
|
};
|
|
8202
8406
|
|
|
8203
8407
|
/**
|
|
@@ -15847,97 +16051,6 @@ interface IRComponentsObject {
|
|
|
15847
16051
|
requestBodies?: Record<string, IRRequestBodyObject>;
|
|
15848
16052
|
schemas?: Record<string, IRSchemaObject>;
|
|
15849
16053
|
}
|
|
15850
|
-
interface IRHooks {
|
|
15851
|
-
/**
|
|
15852
|
-
* Hooks specifically for overriding operations behavior.
|
|
15853
|
-
*
|
|
15854
|
-
* Use these to classify operations, decide which outputs to generate,
|
|
15855
|
-
* or apply custom behavior to individual operations.
|
|
15856
|
-
*/
|
|
15857
|
-
operations?: {
|
|
15858
|
-
/**
|
|
15859
|
-
* Classify the given operation into one or more kinds.
|
|
15860
|
-
*
|
|
15861
|
-
* Each kind determines how we treat the operation (e.g., generating queries or mutations).
|
|
15862
|
-
*
|
|
15863
|
-
* **Default behavior:**
|
|
15864
|
-
* - GET → 'query'
|
|
15865
|
-
* - DELETE, PATCH, POST, PUT → 'mutation'
|
|
15866
|
-
*
|
|
15867
|
-
* **Resolution order:**
|
|
15868
|
-
* 1. If `isQuery` or `isMutation` returns `true` or `false`, that overrides `getKind`.
|
|
15869
|
-
* 2. If `isQuery` or `isMutation` returns `undefined`, the result of `getKind` is used.
|
|
15870
|
-
*
|
|
15871
|
-
* @param operation - The operation object to classify.
|
|
15872
|
-
* @returns An array containing one or more of 'query' or 'mutation', or undefined to fallback to default behavior.
|
|
15873
|
-
* @example
|
|
15874
|
-
* getKind: (operation) => {
|
|
15875
|
-
* if (operation.method === 'get' && operation.path === '/search') {
|
|
15876
|
-
* return ['query', 'mutation'];
|
|
15877
|
-
* }
|
|
15878
|
-
* return; // fallback to default behavior
|
|
15879
|
-
* }
|
|
15880
|
-
*/
|
|
15881
|
-
getKind?: (operation: IROperationObject) => ReadonlyArray<'mutation' | 'query'> | undefined;
|
|
15882
|
-
/**
|
|
15883
|
-
* Check if the given operation should be treated as a mutation.
|
|
15884
|
-
*
|
|
15885
|
-
* This affects which outputs are generated for the operation.
|
|
15886
|
-
*
|
|
15887
|
-
* **Default behavior:** DELETE, PATCH, POST, and PUT operations are treated as mutations.
|
|
15888
|
-
*
|
|
15889
|
-
* **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
|
|
15890
|
-
* If it returns `undefined`, `getKind` is used instead.
|
|
15891
|
-
*
|
|
15892
|
-
* @param operation - The operation object to check.
|
|
15893
|
-
* @returns true if the operation is a mutation, false otherwise, or undefined to fallback to `getKind`.
|
|
15894
|
-
* @example
|
|
15895
|
-
* isMutation: (operation) => {
|
|
15896
|
-
* if (operation.method === 'post' && operation.path === '/search') {
|
|
15897
|
-
* return true;
|
|
15898
|
-
* }
|
|
15899
|
-
* return; // fallback to default behavior
|
|
15900
|
-
}
|
|
15901
|
-
*/
|
|
15902
|
-
isMutation?: (operation: IROperationObject) => boolean | undefined;
|
|
15903
|
-
/**
|
|
15904
|
-
* Check if the given operation should be treated as a query.
|
|
15905
|
-
*
|
|
15906
|
-
* This affects which outputs are generated for the operation.
|
|
15907
|
-
*
|
|
15908
|
-
* **Default behavior:** GET operations are treated as queries.
|
|
15909
|
-
*
|
|
15910
|
-
* **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
|
|
15911
|
-
* If it returns `undefined`, `getKind` is used instead.
|
|
15912
|
-
*
|
|
15913
|
-
* @param operation - The operation object to check.
|
|
15914
|
-
* @returns true if the operation is a query, false otherwise, or undefined to fallback to `getKind`.
|
|
15915
|
-
* @example
|
|
15916
|
-
* isQuery: (operation) => {
|
|
15917
|
-
* if (operation.method === 'post' && operation.path === '/search') {
|
|
15918
|
-
* return true;
|
|
15919
|
-
* }
|
|
15920
|
-
* return; // fallback to default behavior
|
|
15921
|
-
}
|
|
15922
|
-
*/
|
|
15923
|
-
isQuery?: (operation: IROperationObject) => boolean | undefined;
|
|
15924
|
-
};
|
|
15925
|
-
/**
|
|
15926
|
-
* Hooks specifically for overriding symbols behavior.
|
|
15927
|
-
*
|
|
15928
|
-
* Use these to customize file placement.
|
|
15929
|
-
*/
|
|
15930
|
-
symbols?: {
|
|
15931
|
-
/**
|
|
15932
|
-
* Optional output strategy to override default plugin behavior.
|
|
15933
|
-
*
|
|
15934
|
-
* Use this to route generated symbols to specific files.
|
|
15935
|
-
*
|
|
15936
|
-
* @returns The file path to output the symbol to, or undefined to fallback to default behavior.
|
|
15937
|
-
*/
|
|
15938
|
-
getFilePath?: (symbol: Symbol) => string | undefined;
|
|
15939
|
-
};
|
|
15940
|
-
}
|
|
15941
16054
|
interface IROperationObject {
|
|
15942
16055
|
body?: IRBodyObject;
|
|
15943
16056
|
deprecated?: boolean;
|
|
@@ -16080,7 +16193,6 @@ declare namespace IR$1 {
|
|
|
16080
16193
|
export type BodyObject = IRBodyObject;
|
|
16081
16194
|
export type ComponentsObject = IRComponentsObject;
|
|
16082
16195
|
export type Context<Spec extends Record<string, any> = any> = IRContext<Spec>;
|
|
16083
|
-
export type Hooks = IRHooks;
|
|
16084
16196
|
export type Model = IRModel;
|
|
16085
16197
|
export type OperationObject = IROperationObject;
|
|
16086
16198
|
export type ParameterObject = IRParameterObject;
|
|
@@ -16119,5 +16231,5 @@ interface WatchValues {
|
|
|
16119
16231
|
lastValue?: string;
|
|
16120
16232
|
}
|
|
16121
16233
|
//#endregion
|
|
16122
|
-
export {
|
|
16123
|
-
//# sourceMappingURL=types-
|
|
16234
|
+
export { OpenApiSchemaObject as C, MaybeArray as D, LazyOrAsync as E, OpenApiResponseObject as S, Input as T, OpenApi$3 as _, ExpressionTransformer as a, OpenApiParameterObject as b, Client as c, Plugin as d, Client$1 as f, UserConfig$27 as g, Config$1 as h, TypeTransformer as i, PluginHandler as l, Logger as m, WatchValues as n, compiler as o, parseOpenApiSpec as p, IR$1 as r, tsc as s, LegacyIR as t, DefinePlugin as u, OpenApiMetaObject as v, StringCase as w, OpenApiRequestBodyObject as x, OpenApiOperationObject as y };
|
|
16235
|
+
//# sourceMappingURL=types-TTJZ61ck.d.ts.map
|