@kubb/plugin-oas 3.0.0-alpha.1 → 3.0.0-alpha.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.
Files changed (51) hide show
  1. package/dist/OperationGenerator-D7rSlflc.d.cts +158 -0
  2. package/dist/OperationGenerator-vw0Zf-Mi.d.ts +158 -0
  3. package/dist/{Schema-an5hOrjZ.d.cts → Schema-DxyOIX7q.d.cts} +1 -1
  4. package/dist/{Schema-DefwBJMc.d.ts → Schema-gHgN14i2.d.ts} +1 -1
  5. package/dist/{SchemaMapper-CsBQ6eEx.d.cts → SchemaMapper-BM1IGWqD.d.cts} +1 -1
  6. package/dist/{SchemaMapper-CsBQ6eEx.d.ts → SchemaMapper-BM1IGWqD.d.ts} +1 -1
  7. package/dist/{chunk-DRLYORTT.cjs → chunk-264TCCJF.cjs} +715 -7
  8. package/dist/chunk-264TCCJF.cjs.map +1 -0
  9. package/dist/chunk-7KIEQOVZ.cjs +7 -0
  10. package/dist/chunk-7KIEQOVZ.cjs.map +1 -0
  11. package/dist/{chunk-LEACSHKT.js → chunk-FZN3PBEK.js} +713 -5
  12. package/dist/chunk-FZN3PBEK.js.map +1 -0
  13. package/dist/chunk-TWKZEVSM.js +7 -0
  14. package/dist/chunk-TWKZEVSM.js.map +1 -0
  15. package/dist/components.cjs +4 -9
  16. package/dist/components.cjs.map +1 -1
  17. package/dist/components.d.cts +12 -6
  18. package/dist/components.d.ts +12 -6
  19. package/dist/components.js +3 -8
  20. package/dist/components.js.map +1 -1
  21. package/dist/hooks.cjs +6 -7
  22. package/dist/hooks.cjs.map +1 -1
  23. package/dist/hooks.d.cts +3 -3
  24. package/dist/hooks.d.ts +3 -3
  25. package/dist/hooks.js +1 -2
  26. package/dist/hooks.js.map +1 -1
  27. package/dist/index.cjs +225 -159
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +8 -77
  30. package/dist/index.d.ts +8 -77
  31. package/dist/index.js +207 -141
  32. package/dist/index.js.map +1 -1
  33. package/dist/{types-Dte3MA6H.d.cts → types-C2RXaY0_.d.cts} +1 -1
  34. package/dist/{types-Dte3MA6H.d.ts → types-C2RXaY0_.d.ts} +1 -1
  35. package/dist/utils.d.cts +2 -2
  36. package/dist/utils.d.ts +2 -2
  37. package/package.json +9 -9
  38. package/src/OperationGenerator.ts +62 -31
  39. package/src/SchemaGenerator.ts +23 -4
  40. package/src/components/Oas.tsx +8 -2
  41. package/src/index.ts +3 -9
  42. package/src/parser.tsx +120 -0
  43. package/src/plugin.ts +1 -9
  44. package/dist/OperationGenerator-CeM_9pxW.d.cts +0 -60
  45. package/dist/OperationGenerator-DhUhvRJE.d.ts +0 -60
  46. package/dist/chunk-CJXRFYEF.cjs +0 -698
  47. package/dist/chunk-CJXRFYEF.cjs.map +0 -1
  48. package/dist/chunk-DRLYORTT.cjs.map +0 -1
  49. package/dist/chunk-K6KUETAI.js +0 -698
  50. package/dist/chunk-K6KUETAI.js.map +0 -1
  51. package/dist/chunk-LEACSHKT.js.map +0 -1
@@ -0,0 +1,158 @@
1
+ import { FileMetaBase, ResolveNameParams, PluginFactoryOptions, Generator, PluginManager, Plugin } from '@kubb/core';
2
+ import * as KubbFile from '@kubb/fs/types';
3
+ import { SchemaObject, Oas, contentType, Operation } from '@kubb/oas';
4
+ import { d as OperationSchema, b as Refs, g as Override, f as OperationsByMethod, e as OperationSchemas, E as Exclude, I as Include } from './types-C2RXaY0_.cjs';
5
+ import { KubbNode } from '@kubb/react';
6
+ import { S as Schema, c as SchemaKeywordMapper } from './SchemaMapper-BM1IGWqD.cjs';
7
+
8
+ type GetSchemaGeneratorOptions<T extends SchemaGenerator<any, any, any>> = T extends SchemaGenerator<infer Options, any, any> ? Options : never;
9
+ type SchemaMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
10
+ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
11
+ oas: Oas;
12
+ pluginManager: PluginManager;
13
+ /**
14
+ * Current plugin
15
+ */
16
+ plugin: Plugin<TPluginOptions>;
17
+ mode: KubbFile.Mode;
18
+ include?: Array<'schemas' | 'responses' | 'requestBodies'>;
19
+ override: Array<Override<TOptions>> | undefined;
20
+ contentType?: contentType;
21
+ output?: string;
22
+ };
23
+ type SchemaGeneratorOptions = {
24
+ dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
25
+ unknownType: 'any' | 'unknown';
26
+ enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
27
+ enumSuffix?: string;
28
+ usedEnumNames?: Record<string, number>;
29
+ mapper?: Record<string, string>;
30
+ typed?: boolean;
31
+ transformers: {
32
+ /**
33
+ * Customize the names based on the type that is provided by the plugin.
34
+ */
35
+ name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
36
+ /**
37
+ * Receive schema and name(propertName) and return FakerMeta array
38
+ * TODO TODO add docs
39
+ * @beta
40
+ */
41
+ schema?: (schemaProps: SchemaProps$1, defaultSchemas: Schema[]) => Schema[] | undefined;
42
+ };
43
+ };
44
+ type SchemaGeneratorBuildOptions = Omit<OperationSchema, 'name' | 'schema'>;
45
+ type SchemaProps$1 = {
46
+ schema?: SchemaObject;
47
+ name?: string;
48
+ parentName?: string;
49
+ };
50
+ declare class SchemaGenerator<TOptions extends SchemaGeneratorOptions = SchemaGeneratorOptions, TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends Generator<TOptions, Context$1<TOptions, TPluginOptions>> {
51
+ #private;
52
+ refs: Refs;
53
+ /**
54
+ * Creates a type node from a given schema.
55
+ * Delegates to getBaseTypeFromSchema internally and
56
+ * optionally adds a union with null.
57
+ */
58
+ parse(props: SchemaProps$1): Schema[];
59
+ deepSearch<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T][];
60
+ find<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
61
+ static deepSearch<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T][];
62
+ static findInObject<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
63
+ static find<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
64
+ build(...parsers: Array<Parser<Extract<TOptions, PluginFactoryOptions>>>): Promise<Array<KubbFile.File<TFileMeta>>>;
65
+ /**
66
+ * Schema
67
+ */
68
+ schema(name: string, object: SchemaObject, options: TOptions): SchemaMethodResult<TFileMeta>;
69
+ }
70
+
71
+ type OperationsProps<TOptions extends PluginFactoryOptions> = {
72
+ instance: Omit<OperationGenerator<TOptions>, 'build'>;
73
+ options: TOptions['resolvedOptions'];
74
+ operations: Array<Operation>;
75
+ operationsByMethod: OperationsByMethod;
76
+ };
77
+ type OperationProps<TOptions extends PluginFactoryOptions> = {
78
+ instance: Omit<OperationGenerator<TOptions>, 'build'>;
79
+ options: TOptions['resolvedOptions'];
80
+ operation: Operation;
81
+ };
82
+ type SchemaProps<TOptions extends PluginFactoryOptions> = {
83
+ instance: Omit<SchemaGenerator<SchemaGeneratorOptions, TOptions>, 'build'>;
84
+ name: string;
85
+ schema: SchemaObject;
86
+ options: TOptions['resolvedOptions'];
87
+ };
88
+ type ParserOptions<TOptions extends PluginFactoryOptions> = {
89
+ name: string;
90
+ operations?: (props: OperationsProps<TOptions>) => Promise<KubbFile.File[]>;
91
+ operation?: (props: OperationProps<TOptions>) => Promise<KubbFile.File[]>;
92
+ schema?: (props: SchemaProps<TOptions>) => Promise<KubbFile.File[]>;
93
+ };
94
+ type Parser<TOptions extends PluginFactoryOptions> = ParserOptions<TOptions>;
95
+ declare function createParser<TOptions extends PluginFactoryOptions>(parseOptions: ParserOptions<TOptions>): Parser<TOptions>;
96
+ type ParserReactOptions<TOptions extends PluginFactoryOptions> = {
97
+ name: string;
98
+ Operations?: (props: OperationsProps<TOptions>) => KubbNode;
99
+ Operation?: (props: OperationProps<TOptions>) => KubbNode;
100
+ Schema?: (props: SchemaProps<TOptions>) => KubbNode;
101
+ };
102
+ declare function createReactParser<TOptions extends PluginFactoryOptions>(parseOptions: ParserReactOptions<TOptions>): Parser<TOptions>;
103
+
104
+ type GetOperationGeneratorOptions<T extends OperationGenerator<any, any, any>> = T extends OperationGenerator<infer Options, any, any> ? Options : never;
105
+ type OperationMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
106
+ type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
107
+ oas: Oas;
108
+ exclude: Array<Exclude> | undefined;
109
+ include: Array<Include> | undefined;
110
+ override: Array<Override<TOptions>> | undefined;
111
+ contentType: contentType | undefined;
112
+ pluginManager: PluginManager;
113
+ /**
114
+ * Current plugin
115
+ */
116
+ plugin: Plugin<TPluginOptions>;
117
+ mode: KubbFile.Mode;
118
+ };
119
+ declare class OperationGenerator<TOptions = unknown, TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends Generator<TOptions, Context<TOptions, TPluginOptions>> {
120
+ #private;
121
+ get operationsByMethod(): OperationsByMethod;
122
+ set operationsByMethod(paths: OperationsByMethod);
123
+ getSchemas(operation: Operation, { forStatusCode, resolveName, }?: {
124
+ forStatusCode?: string | number;
125
+ resolveName?: (name: string) => string;
126
+ }): OperationSchemas;
127
+ build(...parsers: Array<Parser<Extract<TOptions, PluginFactoryOptions>>>): Promise<Array<KubbFile.File<TFileMeta>>>;
128
+ /**
129
+ * Operation
130
+ */
131
+ operation(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
132
+ /**
133
+ * GET
134
+ */
135
+ get(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
136
+ /**
137
+ * POST
138
+ */
139
+ post(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
140
+ /**
141
+ * PATCH
142
+ */
143
+ patch(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
144
+ /**
145
+ * PUT
146
+ */
147
+ put(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
148
+ /**
149
+ * DELETE
150
+ */
151
+ delete(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
152
+ /**
153
+ * Combination of GET, POST, PATCH, PUT, DELETE
154
+ */
155
+ all(operations: Operation[], paths: OperationsByMethod): OperationMethodResult<TFileMeta>;
156
+ }
157
+
158
+ export { type GetOperationGeneratorOptions as G, type OperationMethodResult as O, type ParserReactOptions as P, type SchemaGeneratorBuildOptions as S, OperationGenerator as a, type GetSchemaGeneratorOptions as b, type SchemaGeneratorOptions as c, type SchemaMethodResult as d, SchemaGenerator as e, createParser as f, createReactParser as g, type Parser as h, type ParserOptions as i };
@@ -0,0 +1,158 @@
1
+ import { FileMetaBase, ResolveNameParams, PluginFactoryOptions, Generator, PluginManager, Plugin } from '@kubb/core';
2
+ import * as KubbFile from '@kubb/fs/types';
3
+ import { SchemaObject, Oas, contentType, Operation } from '@kubb/oas';
4
+ import { d as OperationSchema, b as Refs, g as Override, f as OperationsByMethod, e as OperationSchemas, E as Exclude, I as Include } from './types-C2RXaY0_.js';
5
+ import { KubbNode } from '@kubb/react';
6
+ import { S as Schema, c as SchemaKeywordMapper } from './SchemaMapper-BM1IGWqD.js';
7
+
8
+ type GetSchemaGeneratorOptions<T extends SchemaGenerator<any, any, any>> = T extends SchemaGenerator<infer Options, any, any> ? Options : never;
9
+ type SchemaMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
10
+ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
11
+ oas: Oas;
12
+ pluginManager: PluginManager;
13
+ /**
14
+ * Current plugin
15
+ */
16
+ plugin: Plugin<TPluginOptions>;
17
+ mode: KubbFile.Mode;
18
+ include?: Array<'schemas' | 'responses' | 'requestBodies'>;
19
+ override: Array<Override<TOptions>> | undefined;
20
+ contentType?: contentType;
21
+ output?: string;
22
+ };
23
+ type SchemaGeneratorOptions = {
24
+ dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
25
+ unknownType: 'any' | 'unknown';
26
+ enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
27
+ enumSuffix?: string;
28
+ usedEnumNames?: Record<string, number>;
29
+ mapper?: Record<string, string>;
30
+ typed?: boolean;
31
+ transformers: {
32
+ /**
33
+ * Customize the names based on the type that is provided by the plugin.
34
+ */
35
+ name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
36
+ /**
37
+ * Receive schema and name(propertName) and return FakerMeta array
38
+ * TODO TODO add docs
39
+ * @beta
40
+ */
41
+ schema?: (schemaProps: SchemaProps$1, defaultSchemas: Schema[]) => Schema[] | undefined;
42
+ };
43
+ };
44
+ type SchemaGeneratorBuildOptions = Omit<OperationSchema, 'name' | 'schema'>;
45
+ type SchemaProps$1 = {
46
+ schema?: SchemaObject;
47
+ name?: string;
48
+ parentName?: string;
49
+ };
50
+ declare class SchemaGenerator<TOptions extends SchemaGeneratorOptions = SchemaGeneratorOptions, TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends Generator<TOptions, Context$1<TOptions, TPluginOptions>> {
51
+ #private;
52
+ refs: Refs;
53
+ /**
54
+ * Creates a type node from a given schema.
55
+ * Delegates to getBaseTypeFromSchema internally and
56
+ * optionally adds a union with null.
57
+ */
58
+ parse(props: SchemaProps$1): Schema[];
59
+ deepSearch<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T][];
60
+ find<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
61
+ static deepSearch<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T][];
62
+ static findInObject<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
63
+ static find<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
64
+ build(...parsers: Array<Parser<Extract<TOptions, PluginFactoryOptions>>>): Promise<Array<KubbFile.File<TFileMeta>>>;
65
+ /**
66
+ * Schema
67
+ */
68
+ schema(name: string, object: SchemaObject, options: TOptions): SchemaMethodResult<TFileMeta>;
69
+ }
70
+
71
+ type OperationsProps<TOptions extends PluginFactoryOptions> = {
72
+ instance: Omit<OperationGenerator<TOptions>, 'build'>;
73
+ options: TOptions['resolvedOptions'];
74
+ operations: Array<Operation>;
75
+ operationsByMethod: OperationsByMethod;
76
+ };
77
+ type OperationProps<TOptions extends PluginFactoryOptions> = {
78
+ instance: Omit<OperationGenerator<TOptions>, 'build'>;
79
+ options: TOptions['resolvedOptions'];
80
+ operation: Operation;
81
+ };
82
+ type SchemaProps<TOptions extends PluginFactoryOptions> = {
83
+ instance: Omit<SchemaGenerator<SchemaGeneratorOptions, TOptions>, 'build'>;
84
+ name: string;
85
+ schema: SchemaObject;
86
+ options: TOptions['resolvedOptions'];
87
+ };
88
+ type ParserOptions<TOptions extends PluginFactoryOptions> = {
89
+ name: string;
90
+ operations?: (props: OperationsProps<TOptions>) => Promise<KubbFile.File[]>;
91
+ operation?: (props: OperationProps<TOptions>) => Promise<KubbFile.File[]>;
92
+ schema?: (props: SchemaProps<TOptions>) => Promise<KubbFile.File[]>;
93
+ };
94
+ type Parser<TOptions extends PluginFactoryOptions> = ParserOptions<TOptions>;
95
+ declare function createParser<TOptions extends PluginFactoryOptions>(parseOptions: ParserOptions<TOptions>): Parser<TOptions>;
96
+ type ParserReactOptions<TOptions extends PluginFactoryOptions> = {
97
+ name: string;
98
+ Operations?: (props: OperationsProps<TOptions>) => KubbNode;
99
+ Operation?: (props: OperationProps<TOptions>) => KubbNode;
100
+ Schema?: (props: SchemaProps<TOptions>) => KubbNode;
101
+ };
102
+ declare function createReactParser<TOptions extends PluginFactoryOptions>(parseOptions: ParserReactOptions<TOptions>): Parser<TOptions>;
103
+
104
+ type GetOperationGeneratorOptions<T extends OperationGenerator<any, any, any>> = T extends OperationGenerator<infer Options, any, any> ? Options : never;
105
+ type OperationMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
106
+ type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
107
+ oas: Oas;
108
+ exclude: Array<Exclude> | undefined;
109
+ include: Array<Include> | undefined;
110
+ override: Array<Override<TOptions>> | undefined;
111
+ contentType: contentType | undefined;
112
+ pluginManager: PluginManager;
113
+ /**
114
+ * Current plugin
115
+ */
116
+ plugin: Plugin<TPluginOptions>;
117
+ mode: KubbFile.Mode;
118
+ };
119
+ declare class OperationGenerator<TOptions = unknown, TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends Generator<TOptions, Context<TOptions, TPluginOptions>> {
120
+ #private;
121
+ get operationsByMethod(): OperationsByMethod;
122
+ set operationsByMethod(paths: OperationsByMethod);
123
+ getSchemas(operation: Operation, { forStatusCode, resolveName, }?: {
124
+ forStatusCode?: string | number;
125
+ resolveName?: (name: string) => string;
126
+ }): OperationSchemas;
127
+ build(...parsers: Array<Parser<Extract<TOptions, PluginFactoryOptions>>>): Promise<Array<KubbFile.File<TFileMeta>>>;
128
+ /**
129
+ * Operation
130
+ */
131
+ operation(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
132
+ /**
133
+ * GET
134
+ */
135
+ get(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
136
+ /**
137
+ * POST
138
+ */
139
+ post(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
140
+ /**
141
+ * PATCH
142
+ */
143
+ patch(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
144
+ /**
145
+ * PUT
146
+ */
147
+ put(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
148
+ /**
149
+ * DELETE
150
+ */
151
+ delete(operation: Operation, options: TOptions): OperationMethodResult<TFileMeta>;
152
+ /**
153
+ * Combination of GET, POST, PATCH, PUT, DELETE
154
+ */
155
+ all(operations: Operation[], paths: OperationsByMethod): OperationMethodResult<TFileMeta>;
156
+ }
157
+
158
+ export { type GetOperationGeneratorOptions as G, type OperationMethodResult as O, type ParserReactOptions as P, type SchemaGeneratorBuildOptions as S, OperationGenerator as a, type GetSchemaGeneratorOptions as b, type SchemaGeneratorOptions as c, type SchemaMethodResult as d, SchemaGenerator as e, createParser as f, createReactParser as g, type Parser as h, type ParserOptions as i };
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  import * as KubbFile from '@kubb/fs/types';
4
4
  import { SchemaObject } from '@kubb/oas';
5
5
  import { KubbNode } from '@kubb/react';
6
- import { S as Schema$1 } from './SchemaMapper-CsBQ6eEx.cjs';
6
+ import { S as Schema$1 } from './SchemaMapper-BM1IGWqD.cjs';
7
7
 
8
8
  type SchemaContextProps = {
9
9
  name: string;
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  import * as KubbFile from '@kubb/fs/types';
4
4
  import { SchemaObject } from '@kubb/oas';
5
5
  import { KubbNode } from '@kubb/react';
6
- import { S as Schema$1 } from './SchemaMapper-CsBQ6eEx.js';
6
+ import { S as Schema$1 } from './SchemaMapper-BM1IGWqD.js';
7
7
 
8
8
  type SchemaContextProps = {
9
9
  name: string;
@@ -245,4 +245,4 @@ type Schema = {
245
245
  } | SchemaKeywordMapper[keyof SchemaKeywordMapper];
246
246
  declare function isKeyword<T extends Schema, K extends keyof SchemaKeywordMapper>(meta: T, keyword: K): meta is Extract<T, SchemaKeywordMapper[K]>;
247
247
 
248
- export { type Schema as S, type SchemaKeywordMapper as a, type SchemaKeyword as b, type SchemaKeywordBase as c, type SchemaMapper as d, isKeyword as i, schemaKeywords as s };
248
+ export { type Schema as S, type SchemaKeyword as a, type SchemaKeywordBase as b, type SchemaKeywordMapper as c, type SchemaMapper as d, isKeyword as i, schemaKeywords as s };
@@ -245,4 +245,4 @@ type Schema = {
245
245
  } | SchemaKeywordMapper[keyof SchemaKeywordMapper];
246
246
  declare function isKeyword<T extends Schema, K extends keyof SchemaKeywordMapper>(meta: T, keyword: K): meta is Extract<T, SchemaKeywordMapper[K]>;
247
247
 
248
- export { type Schema as S, type SchemaKeywordMapper as a, type SchemaKeyword as b, type SchemaKeywordBase as c, type SchemaMapper as d, isKeyword as i, schemaKeywords as s };
248
+ export { type Schema as S, type SchemaKeyword as a, type SchemaKeywordBase as b, type SchemaKeywordMapper as c, type SchemaMapper as d, isKeyword as i, schemaKeywords as s };