@hey-api/shared 0.2.0 → 0.2.2

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 CHANGED
@@ -3,8 +3,8 @@ import ts from "typescript";
3
3
  import * as semver from "semver";
4
4
  import { RangeOptions, SemVer } from "semver";
5
5
  import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
6
+ import { IProject, Logger, NameConflictResolver, Node, Project, Ref, RenderContext, StructureLocation, Symbol, SymbolIdentifier, SymbolIn, SymbolMeta } from "@hey-api/codegen-core";
6
7
  import { AnyString, MaybeArray, MaybeFunc, MaybePromise } from "@hey-api/types";
7
- import { IProject, Logger, NameConflictResolver, Node, Project, RenderContext, StructureLocation, Symbol, SymbolIdentifier, SymbolIn, SymbolMeta } from "@hey-api/codegen-core";
8
8
 
9
9
  //#region src/cli.d.ts
10
10
  declare function printCliIntro(initialDir: string, showLogo?: boolean): void;
@@ -2965,7 +2965,7 @@ declare namespace IR {
2965
2965
  type WebhookObject = IRWebhookObject;
2966
2966
  }
2967
2967
  //#endregion
2968
- //#region src/plugins/schema-processor.d.ts
2968
+ //#region src/ir/schema-processor.d.ts
2969
2969
  interface SchemaProcessor {
2970
2970
  /** Current inherited context (set by withContext) */
2971
2971
  readonly context: {
@@ -3706,6 +3706,7 @@ type DefinePlugin<Config extends PluginBaseConfig = PluginBaseConfig, ResolvedCo
3706
3706
  Handler: (args: {
3707
3707
  plugin: PluginInstance<Plugin.Types<Config, ResolvedConfig, Api>>;
3708
3708
  }) => void;
3709
+ /** The plugin instance. */
3709
3710
  Instance: PluginInstance<Plugin.Types<Config, ResolvedConfig, Api>>;
3710
3711
  Types: Plugin.Types<Config, ResolvedConfig, Api>;
3711
3712
  };
@@ -3748,7 +3749,7 @@ interface NamingConfig {
3748
3749
  type NamingRule = NameTransformer | NamingConfig;
3749
3750
  //#endregion
3750
3751
  //#region src/config/output/types.d.ts
3751
- type OutputHeader = MaybeFunc<(ctx: RenderContext) => MaybeArray<string> | null | undefined>;
3752
+ type OutputHeader = MaybeFunc<(ctx: Omit<RenderContext, 'file'> & Pick<Partial<RenderContext>, 'file'>) => MaybeArray<string> | null | undefined>;
3752
3753
  //#endregion
3753
3754
  //#region src/config/parser/filters.d.ts
3754
3755
  type Filters = {
@@ -6890,7 +6891,42 @@ declare namespace OpenApiSchemaObject {
6890
6891
  }
6891
6892
  //#endregion
6892
6893
  //#region src/config/parser/patch.d.ts
6893
- type Patch = {
6894
+ type PatchInputFn = (spec: OpenApi.V2_0_X | OpenApi.V3_0_X | OpenApi.V3_1_X) => void | Promise<void>;
6895
+ type Patch = PatchInputFn | {
6896
+ /**
6897
+ * Patch the raw OpenAPI spec object in place. Called before all other
6898
+ * patch callbacks. Useful for bulk/structural transformations such as
6899
+ * adding new component definitions or modifying many operations at once.
6900
+ *
6901
+ * @param spec The OpenAPI spec object for the current version.
6902
+ *
6903
+ * @example
6904
+ * ```ts
6905
+ * input: (spec) => {
6906
+ * // Create new component parameters
6907
+ * if (!spec.components) spec.components = {};
6908
+ * if (!spec.components.parameters) spec.components.parameters = {};
6909
+ * spec.components.parameters.MyParam = {
6910
+ * in: 'query',
6911
+ * name: 'myParam',
6912
+ * schema: { type: 'string' }
6913
+ * };
6914
+ *
6915
+ * // Inject parameters into operations
6916
+ * for (const [path, pathItem] of Object.entries(spec.paths ?? {})) {
6917
+ * if (pathItem?.get) {
6918
+ * if (!Array.isArray(pathItem.get.parameters)) {
6919
+ * pathItem.get.parameters = [];
6920
+ * }
6921
+ * pathItem.get.parameters.push({
6922
+ * $ref: '#/components/parameters/MyParam'
6923
+ * });
6924
+ * }
6925
+ * }
6926
+ * }
6927
+ * ```
6928
+ */
6929
+ input?: PatchInputFn;
6894
6930
  /**
6895
6931
  * Patch the OpenAPI meta object in place. Useful for modifying general metadata such as title, description, version, or custom fields before further processing.
6896
6932
  *
@@ -6898,16 +6934,51 @@ type Patch = {
6898
6934
  */
6899
6935
  meta?: (meta: OpenApiMetaObject.V2_0_X | OpenApiMetaObject.V3_0_X | OpenApiMetaObject.V3_1_X) => void;
6900
6936
  /**
6901
- * Patch OpenAPI operations in place. The key is the operation method and operation path, and the function receives the operation object to modify directly.
6937
+ * Patch OpenAPI operations in place. Each function receives the operation
6938
+ * object to be modified in place. Common use cases include injecting
6939
+ * `operationId` for specs that don't have them, adding `x-*` extensions,
6940
+ * setting `deprecated` based on path patterns, or injecting `security`
6941
+ * requirements globally.
6942
+ *
6943
+ * Can be:
6944
+ * - `Record<string, fn>`: Patch specific operations by `"METHOD /path"` key
6945
+ * - `function`: Bulk callback receives `(method, path, operation)` for every operation
6946
+ *
6947
+ * Both patterns support async functions for operations like fetching data
6948
+ * from external sources or performing I/O.
6902
6949
  *
6903
6950
  * @example
6951
+ * ```js
6952
+ * // Named operations
6904
6953
  * operations: {
6905
6954
  * 'GET /foo': (operation) => {
6906
- * operation.responses['200'].description = 'foo';
6955
+ * operation.responses['200'].description = 'Success';
6956
+ * },
6957
+ * 'POST /bar': (operation) => {
6958
+ * operation.deprecated = true;
6959
+ * }
6960
+ * }
6961
+ *
6962
+ * // Bulk callback for all operations
6963
+ * operations: (method, path, operation) => {
6964
+ * if (!operation.operationId) {
6965
+ * operation.operationId = method + buildOperationName(path);
6907
6966
  * }
6908
6967
  * }
6968
+ *
6969
+ * // Async example - inject operationId based on path patterns
6970
+ * operations: async (method, path, operation) => {
6971
+ * if (operation.operationId) return;
6972
+ *
6973
+ * const segments = path.split('/').filter(Boolean);
6974
+ * const parts = segments
6975
+ * .map((seg) => seg.startsWith('{') ? 'ById' : seg)
6976
+ * .join('');
6977
+ * operation.operationId = method + parts;
6978
+ * }
6979
+ * ```
6909
6980
  */
6910
- operations?: Record<string, (operation: OpenApiOperationObject.V2_0_X | OpenApiOperationObject.V3_0_X | OpenApiOperationObject.V3_1_X) => void>;
6981
+ operations?: Record<string, (operation: OpenApiOperationObject.V2_0_X | OpenApiOperationObject.V3_0_X | OpenApiOperationObject.V3_1_X) => void | Promise<void>> | ((method: string, path: string, operation: OpenApiOperationObject.V2_0_X | OpenApiOperationObject.V3_0_X | OpenApiOperationObject.V3_1_X) => void | Promise<void>);
6911
6982
  /**
6912
6983
  * Patch OpenAPI parameters in place. The key is the parameter name, and the function receives the parameter object to modify directly.
6913
6984
  *
@@ -6946,8 +7017,16 @@ type Patch = {
6946
7017
  * use cases include fixing incorrect data types, removing unwanted
6947
7018
  * properties, adding missing fields, or standardizing date/time formats.
6948
7019
  *
7020
+ * Can be:
7021
+ * - `Record<string, fn>`: Patch specific named schemas
7022
+ * - `function`: Bulk callback receives `(name, schema)` for every schema
7023
+ *
7024
+ * Both patterns support async functions for operations like fetching data
7025
+ * from external sources or performing I/O.
7026
+ *
6949
7027
  * @example
6950
7028
  * ```js
7029
+ * // Named schemas
6951
7030
  * schemas: {
6952
7031
  * Foo: (schema) => {
6953
7032
  * // convert date-time format to timestamp
@@ -6967,9 +7046,26 @@ type Patch = {
6967
7046
  * delete schema.properties.internalField;
6968
7047
  * }
6969
7048
  * }
7049
+ *
7050
+ * // Bulk callback for all schemas
7051
+ * schemas: (name, schema) => {
7052
+ * const match = name.match(/_v(\d+)_(\d+)_(\d+)_/);
7053
+ * if (match) {
7054
+ * schema.description = (schema.description || '') +
7055
+ * `\n@version ${match[1]}.${match[2]}.${match[3]}`;
7056
+ * }
7057
+ * }
7058
+ *
7059
+ * // Async example - fetch metadata from external source
7060
+ * schemas: async (name, schema) => {
7061
+ * const metadata = await fetchSchemaMetadata(name);
7062
+ * if (metadata) {
7063
+ * schema.description = `${schema.description}\n\n${metadata.notes}`;
7064
+ * }
7065
+ * }
6970
7066
  * ```
6971
7067
  */
6972
- schemas?: Record<string, (schema: OpenApiSchemaObject.V2_0_X | OpenApiSchemaObject.V3_0_X | OpenApiSchemaObject.V3_1_X) => void>;
7068
+ schemas?: Record<string, (schema: OpenApiSchemaObject.V2_0_X | OpenApiSchemaObject.V3_0_X | OpenApiSchemaObject.V3_1_X) => void | Promise<void>> | ((name: string, schema: OpenApiSchemaObject.V2_0_X | OpenApiSchemaObject.V3_0_X | OpenApiSchemaObject.V3_1_X) => void | Promise<void>);
6973
7069
  /**
6974
7070
  * Patch the OpenAPI version string. The function receives the current version and should return the new version string.
6975
7071
  * Useful for normalizing or overriding the version value before further processing.
@@ -7145,6 +7241,21 @@ type UserParser = {
7145
7241
  name?: NameTransformer;
7146
7242
  };
7147
7243
  };
7244
+ /**
7245
+ * Sometimes your schema names are auto-generated or follow a naming convention
7246
+ * that produces verbose or awkward type names. You can rename schema component
7247
+ * keys throughout the specification, automatically updating all `$ref` pointers.
7248
+ *
7249
+ * @example
7250
+ * ```ts
7251
+ * {
7252
+ * schemaName: (name) => name.replace(/_v\d+_\d+_\d+_/, '_')
7253
+ * }
7254
+ * ```
7255
+ *
7256
+ * @default undefined
7257
+ */
7258
+ schemaName?: NameTransformer;
7148
7259
  };
7149
7260
  /**
7150
7261
  * **This is an experimental feature.**
@@ -7248,6 +7359,13 @@ type Parser = {
7248
7359
  */
7249
7360
  responses: NamingOptions;
7250
7361
  };
7362
+ /**
7363
+ * Rename schema component keys and automatically update all `$ref` pointers
7364
+ * throughout the specification.
7365
+ *
7366
+ * @default undefined
7367
+ */
7368
+ schemaName?: NameTransformer;
7251
7369
  };
7252
7370
  /**
7253
7371
  * **This is an experimental feature.**
@@ -7904,6 +8022,88 @@ declare function deduplicateSchema<T extends IR.SchemaObject>({
7904
8022
  schema: T;
7905
8023
  }): T;
7906
8024
  //#endregion
8025
+ //#region src/plugins/shared/types/schema.d.ts
8026
+ type SchemaWithType<T extends Required<IR.SchemaObject>['type'] = Required<IR.SchemaObject>['type']> = Omit<IR.SchemaObject, 'type'> & {
8027
+ type: Extract<Required<IR.SchemaObject>['type'], T>;
8028
+ };
8029
+ //#endregion
8030
+ //#region src/ir/schema-walker.d.ts
8031
+ /**
8032
+ * Context passed to all visitor methods.
8033
+ */
8034
+ interface SchemaVisitorContext<TPlugin = unknown> {
8035
+ /** Current path in the schema tree. */
8036
+ path: Ref<ReadonlyArray<string | number>>;
8037
+ /** The plugin instance. */
8038
+ plugin: TPlugin;
8039
+ }
8040
+ /**
8041
+ * The walk function signature. Fully generic over TResult.
8042
+ */
8043
+ type Walker<TResult, TPlugin = unknown> = (schema: IR.SchemaObject, ctx: SchemaVisitorContext<TPlugin>) => TResult;
8044
+ /**
8045
+ * The visitor interface. Plugins define their own TResult type.
8046
+ *
8047
+ * The walker handles orchestration (dispatch, deduplication, path tracking).
8048
+ * Result shape and semantics are entirely plugin-defined.
8049
+ */
8050
+ interface SchemaVisitor<TResult, TPlugin = unknown> {
8051
+ /**
8052
+ * Apply modifiers to a result.
8053
+ */
8054
+ applyModifiers(result: TResult, ctx: SchemaVisitorContext<TPlugin>, context?: {
8055
+ /** Is this property optional? */
8056
+ optional?: boolean;
8057
+ }): unknown;
8058
+ array(schema: SchemaWithType<'array'>, ctx: SchemaVisitorContext<TPlugin>, walk: Walker<TResult, TPlugin>): TResult;
8059
+ boolean(schema: SchemaWithType<'boolean'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8060
+ enum(schema: SchemaWithType<'enum'>, ctx: SchemaVisitorContext<TPlugin>, walk: Walker<TResult, TPlugin>): TResult;
8061
+ integer(schema: SchemaWithType<'integer'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8062
+ /**
8063
+ * Called before any dispatch logic. Return a result to short-circuit,
8064
+ * or undefined to continue normal dispatch.
8065
+ */
8066
+ intercept?(schema: IR.SchemaObject, ctx: SchemaVisitorContext<TPlugin>, walk: Walker<TResult, TPlugin>): TResult | undefined;
8067
+ /**
8068
+ * Handle intersection types. Receives already-walked child results.
8069
+ */
8070
+ intersection(items: Array<TResult>, schemas: ReadonlyArray<IR.SchemaObject>, parentSchema: IR.SchemaObject, ctx: SchemaVisitorContext<TPlugin>): TResult;
8071
+ never(schema: SchemaWithType<'never'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8072
+ null(schema: SchemaWithType<'null'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8073
+ number(schema: SchemaWithType<'number'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8074
+ object(schema: SchemaWithType<'object'>, ctx: SchemaVisitorContext<TPlugin>, walk: Walker<TResult, TPlugin>): TResult;
8075
+ /**
8076
+ * Called after each typed schema visitor returns.
8077
+ */
8078
+ postProcess?(result: TResult, schema: IR.SchemaObject, ctx: SchemaVisitorContext<TPlugin>): TResult;
8079
+ /**
8080
+ * Handle $ref to another schema.
8081
+ */
8082
+ reference($ref: string, schema: IR.SchemaObject, ctx: SchemaVisitorContext<TPlugin>): TResult;
8083
+ string(schema: SchemaWithType<'string'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8084
+ tuple(schema: SchemaWithType<'tuple'>, ctx: SchemaVisitorContext<TPlugin>, walk: Walker<TResult, TPlugin>): TResult;
8085
+ undefined(schema: SchemaWithType<'undefined'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8086
+ /**
8087
+ * Handle union types. Receives already-walked child results.
8088
+ */
8089
+ union(items: Array<TResult>, schemas: ReadonlyArray<IR.SchemaObject>, parentSchema: IR.SchemaObject, ctx: SchemaVisitorContext<TPlugin>): TResult;
8090
+ unknown(schema: SchemaWithType<'unknown'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8091
+ void(schema: SchemaWithType<'void'>, ctx: SchemaVisitorContext<TPlugin>): TResult;
8092
+ }
8093
+ /**
8094
+ * Create a schema walker from a visitor.
8095
+ *
8096
+ * The walker handles:
8097
+ * - Dispatch order ($ref → type → items → fallback)
8098
+ * - Deduplication of union/intersection schemas
8099
+ * - Path tracking for child schemas
8100
+ */
8101
+ declare function createSchemaWalker<TResult, TPlugin = unknown>(visitor: SchemaVisitor<TResult, TPlugin>): Walker<TResult, TPlugin>;
8102
+ /**
8103
+ * Helper to create a child context with an extended path.
8104
+ */
8105
+ declare function childContext<TPlugin>(ctx: SchemaVisitorContext<TPlugin>, ...segments: ReadonlyArray<string | number>): SchemaVisitorContext<TPlugin>;
8106
+ //#endregion
7907
8107
  //#region src/ir/utils.d.ts
7908
8108
  /**
7909
8109
  * Simply adds `items` to the schema. Also handles setting the logical operator
@@ -8085,12 +8285,7 @@ declare function patchOpenApiSpec({
8085
8285
  }: {
8086
8286
  patchOptions: Patch | undefined;
8087
8287
  spec: unknown;
8088
- }): void;
8089
- //#endregion
8090
- //#region src/plugins/shared/types/schema.d.ts
8091
- type SchemaWithType<T extends Required<IR.SchemaObject>['type'] = Required<IR.SchemaObject>['type']> = Omit<IR.SchemaObject, 'type'> & {
8092
- type: Extract<Required<IR.SchemaObject>['type'], T>;
8093
- };
8288
+ }): Promise<void>;
8094
8289
  //#endregion
8095
8290
  //#region src/plugins/shared/utils/config.d.ts
8096
8291
  declare const definePluginConfig: <T extends Plugin.Types>(defaultConfig: Plugin.Config<T>) => (userConfig?: Omit<T["config"], "name">) => Omit<Plugin.Config<T>, "name"> & {
@@ -8187,6 +8382,12 @@ declare const utils: {
8187
8382
  toCase: typeof toCase;
8188
8383
  };
8189
8384
  //#endregion
8385
+ //#region src/utils/header.d.ts
8386
+ /**
8387
+ * Converts an {@link OutputHeader} value to a string prefix for file content.
8388
+ */
8389
+ declare function outputHeaderToPrefix(header: OutputHeader, project: IProject): string;
8390
+ //#endregion
8190
8391
  //#region src/utils/input/index.d.ts
8191
8392
  declare function inputToApiRegistry(input: Input & {
8192
8393
  path: string;
@@ -8313,5 +8514,5 @@ interface Url {
8313
8514
  }
8314
8515
  declare function parseUrl(value: string): Url;
8315
8516
  //#endregion
8316
- export { type AnyConfig, type AnyPluginName, type BaseConfig, type BaseOutput, type BaseUserConfig, type BaseUserOutput, type Casing, type CodeSampleObject, type CommentsOption, ConfigError, ConfigValidationError, Context, type DefinePlugin, type Dependency, type EnumExtensions, type FeatureToggle, type Filters, HeyApiError, type Hooks, type IR, type IndexExportOption, type Input, IntentContext, JobError, type LinguistLanguages, type Logs, MinHeap, type NameTransformer, type NamingConfig, type NamingOptions, type NamingRule, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type OpenApiV2_0_X, type OpenApiV2_0_XTypes, type OpenApiV3_0_X, type OpenApiV3_0_XTypes, type OpenApiV3_1_X, type OpenApiV3_1_XTypes, OperationPath, type OperationPathStrategy, OperationStrategy, type OperationStructureStrategy, type OperationsStrategy, type OutputHeader, type Parser, type Patch, type Plugin, type PluginConfigMap, type PluginContext, PluginInstance, type PluginInstanceTypes, type PluginNames, type PostProcessor, type SchemaExtractor, type SchemaProcessor, type SchemaProcessorContext, type SchemaProcessorResult, type SchemaWithType, type SourceConfig, type UserCommentsOption, type UserIndexExportOption, type UserInput, type UserParser, type UserPostProcessor, type UserSourceConfig, type UserWatch, type ValueToObject, type Watch, type WatchValues, addItemsToSchema, applyNaming, buildGraph, checkNodeVersion, compileInputPath, createOperationKey, createSchemaProcessor, debugTools, deduplicateSchema, defaultPaginationKeywords, definePluginConfig, dependencyFactory, encodeJsonPointerSegment, ensureDirSync, escapeComment, findPackageJson, findTsConfigPath, getInput, getLogs, getParser, getSpec, hasOperationDataRequired, hasParameterGroupObjectRequired, hasParametersObjectRequired, heyApiRegistryBaseUrl, inputToApiRegistry, isTopLevelComponent, jsonPointerToPath, loadPackageJson, loadTsConfig, logCrashReport, logInputPaths, mappers, normalizeJsonPointer, openGitHubIssueWithCrashReport, operationPagination, operationResponsesMap, parameterWithPagination, parseOpenApiSpec, parseUrl, parseV2_0_X, parseV3_0_X, parseV3_1_X, patchOpenApiSpec, pathToJsonPointer, pathToName, postprocessOutput, printCliIntro, printCrashReport, refToName, resolveNaming, resolveRef, resolveSource, satisfies, shouldReportCrash, statusCodeToGroup, toCase, utils, valueToObject };
8517
+ export { type AnyConfig, type AnyPluginName, type BaseConfig, type BaseOutput, type BaseUserConfig, type BaseUserOutput, type Casing, type CodeSampleObject, type CommentsOption, ConfigError, ConfigValidationError, Context, type DefinePlugin, type Dependency, type EnumExtensions, type FeatureToggle, type Filters, HeyApiError, type Hooks, type IR, type IndexExportOption, type Input, IntentContext, JobError, type LinguistLanguages, type Logs, MinHeap, type NameTransformer, type NamingConfig, type NamingOptions, type NamingRule, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type OpenApiV2_0_X, type OpenApiV2_0_XTypes, type OpenApiV3_0_X, type OpenApiV3_0_XTypes, type OpenApiV3_1_X, type OpenApiV3_1_XTypes, OperationPath, type OperationPathStrategy, OperationStrategy, type OperationStructureStrategy, type OperationsStrategy, type OutputHeader, type Parser, type Patch, type Plugin, type PluginConfigMap, type PluginContext, PluginInstance, type PluginInstanceTypes, type PluginNames, type PostProcessor, type SchemaExtractor, type SchemaProcessor, type SchemaProcessorContext, type SchemaProcessorResult, type SchemaVisitor, type SchemaVisitorContext, type SchemaWithType, type SourceConfig, type UserCommentsOption, type UserIndexExportOption, type UserInput, type UserParser, type UserPostProcessor, type UserSourceConfig, type UserWatch, type ValueToObject, type Walker, type Watch, type WatchValues, addItemsToSchema, applyNaming, buildGraph, checkNodeVersion, childContext, compileInputPath, createOperationKey, createSchemaProcessor, createSchemaWalker, debugTools, deduplicateSchema, defaultPaginationKeywords, definePluginConfig, dependencyFactory, encodeJsonPointerSegment, ensureDirSync, escapeComment, findPackageJson, findTsConfigPath, getInput, getLogs, getParser, getSpec, hasOperationDataRequired, hasParameterGroupObjectRequired, hasParametersObjectRequired, heyApiRegistryBaseUrl, inputToApiRegistry, isTopLevelComponent, jsonPointerToPath, loadPackageJson, loadTsConfig, logCrashReport, logInputPaths, mappers, normalizeJsonPointer, openGitHubIssueWithCrashReport, operationPagination, operationResponsesMap, outputHeaderToPrefix, parameterWithPagination, parseOpenApiSpec, parseUrl, parseV2_0_X, parseV3_0_X, parseV3_1_X, patchOpenApiSpec, pathToJsonPointer, pathToName, postprocessOutput, printCliIntro, printCrashReport, refToName, resolveNaming, resolveRef, resolveSource, satisfies, shouldReportCrash, statusCodeToGroup, toCase, utils, valueToObject };
8317
8518
  //# sourceMappingURL=index.d.mts.map