| 123456789101112131415161718192021 |
- import type { ZodTypeDef } from 'zod';
- import { Options, Targets } from "./Options.js";
- import { JsonSchema7Type } from "./parseDef.js";
- export type Refs = {
- seen: Map<ZodTypeDef, Seen>;
- /**
- * Set of all the `$ref`s we created, e.g. `Set(['#/$defs/ui'])`
- * this notable does not include any `definitions` that were
- * explicitly given as an option.
- */
- seenRefs: Set<string>;
- currentPath: string[];
- propertyPath: string[] | undefined;
- } & Options<Targets>;
- export type Seen = {
- def: ZodTypeDef;
- path: string[];
- jsonSchema: JsonSchema7Type | undefined;
- };
- export declare const getRefs: (options?: string | Partial<Options<Targets>>) => Refs;
- //# sourceMappingURL=Refs.d.ts.map
|