@beff/client 0.0.114 → 0.0.116
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/CHANGELOG.md +16 -0
- package/dist/cjs/b.d.ts.map +1 -1
- package/dist/cjs/b.js +24 -204
- package/dist/cjs/codegen-v2.d.ts +221 -0
- package/dist/cjs/codegen-v2.d.ts.map +1 -0
- package/dist/cjs/codegen-v2.js +1257 -0
- package/dist/cjs/hash.d.ts +20 -0
- package/dist/cjs/hash.d.ts.map +1 -0
- package/dist/cjs/hash.js +47 -0
- package/dist/cjs/types.d.ts +3 -0
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/esm/b.d.ts.map +1 -1
- package/dist/esm/b.js +24 -204
- package/dist/esm/codegen-v2.d.ts +221 -0
- package/dist/esm/codegen-v2.d.ts.map +1 -0
- package/dist/esm/codegen-v2.js +1231 -0
- package/dist/esm/hash.d.ts +20 -0
- package/dist/esm/hash.d.ts.map +1 -0
- package/dist/esm/hash.js +42 -0
- package/dist/esm/types.d.ts +3 -0
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/b.d.ts.map +1 -1
- package/dist/types/codegen-v2.d.ts +221 -0
- package/dist/types/codegen-v2.d.ts.map +1 -0
- package/dist/types/hash.d.ts +20 -0
- package/dist/types/hash.d.ts.map +1 -0
- package/dist/types/types.d.ts +3 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +8 -2
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @beff/client
|
|
2
2
|
|
|
3
|
+
## 0.0.116
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix hash bug
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @beff/cli@0.0.116
|
|
10
|
+
|
|
11
|
+
## 0.0.115
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- bundle code with lib
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @beff/cli@0.0.115
|
|
18
|
+
|
|
3
19
|
## 0.0.114
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/b.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["../../src/b.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["../../src/b.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA2CrC,eAAO,MAAM,CAAC;aAzCG,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,UAChD,CAAC,KACR,UAAU,CAAC,GACX,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,GAC7D,CAAC;kBAQkB,UAAU,CAAC,MAAM,CAAC;kBAGlB,UAAU,CAAC,MAAM,CAAC;mBAGjB,UAAU,CAAC,OAAO,CAAC;YAiBxB,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,KAAG,UAAU,CAAC,CAAC,EAAE,CAAC;qBAdnC,UAAU,CAAC,SAAS,CAAC;gBAM1B,UAAU,CAAC,SAAS,CAAC;eAGtB,UAAU,CAAC,GAAG,CAAC;mBAGX,UAAU,CAAC,OAAO,CAAC;gBATtB,UAAU,CAAC,IAAI,CAAC;oBAcV,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,KAAG,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;CAe1E,CAAC"}
|
package/dist/cjs/b.js
CHANGED
|
@@ -1,211 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.b = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return safe.data;
|
|
10
|
-
}
|
|
11
|
-
const error = new Error(`Failed to parse`);
|
|
12
|
-
//@ts-ignore
|
|
13
|
-
error.errors = safe.errors;
|
|
14
|
-
throw error;
|
|
15
|
-
};
|
|
16
|
-
const zod = () => {
|
|
17
|
-
//@ts-ignore
|
|
18
|
-
return zod_1.z.custom((data) => safeParse(data).success,
|
|
19
|
-
//@ts-ignore
|
|
20
|
-
(val) => {
|
|
21
|
-
const errors = safeParse(val).errors;
|
|
22
|
-
//@ts-ignore
|
|
23
|
-
return printErrors(errors, []);
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
return {
|
|
27
|
-
safeParse,
|
|
28
|
-
parse,
|
|
29
|
-
//@ts-ignore
|
|
30
|
-
zod,
|
|
31
|
-
name,
|
|
32
|
-
validate,
|
|
33
|
-
schema: jsonSchema,
|
|
34
|
-
describe,
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
const Object_ = (fields) => buildParserFromSafeParser("b.Object", (input, options) => {
|
|
38
|
-
const disallowExtraProperties = options?.disallowExtraProperties ?? false;
|
|
39
|
-
if (typeof input !== "object" || input == null || Array.isArray(input)) {
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
for (const key in fields) {
|
|
43
|
-
if (!fields[key].validate(input[key])) {
|
|
44
|
-
return false;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
if (disallowExtraProperties) {
|
|
48
|
-
for (const key in input) {
|
|
49
|
-
if (!fields[key]) {
|
|
50
|
-
return false;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return true;
|
|
55
|
-
}, (input, options) => {
|
|
56
|
-
if (typeof input !== "object" || input == null || Array.isArray(input)) {
|
|
57
|
-
return {
|
|
58
|
-
success: false,
|
|
59
|
-
errors: [{ message: "Expected object", path: [], received: input }],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
const disallowExtraProperties = options?.disallowExtraProperties ?? false;
|
|
63
|
-
const errors = [];
|
|
64
|
-
const result = {};
|
|
65
|
-
for (const key in fields) {
|
|
66
|
-
const field = fields[key];
|
|
67
|
-
const res = field.safeParse(input[key]);
|
|
68
|
-
if (res.success) {
|
|
69
|
-
result[key] = res.data;
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
errors.push(...res.errors.map((it) => ({ ...it, path: [key, ...it.path] })));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
if (disallowExtraProperties) {
|
|
76
|
-
for (const key in input) {
|
|
77
|
-
if (!fields[key]) {
|
|
78
|
-
errors.push({
|
|
79
|
-
message: "Extra property",
|
|
80
|
-
path: [key],
|
|
81
|
-
received: input[key],
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
if (errors.length > 0) {
|
|
87
|
-
return { success: false, errors };
|
|
88
|
-
}
|
|
89
|
-
return { success: true, data: result };
|
|
90
|
-
}, () => ({
|
|
91
|
-
type: "object",
|
|
92
|
-
properties:
|
|
93
|
-
//@ts-ignore
|
|
94
|
-
Object.fromEntries(
|
|
95
|
-
//@ts-ignore
|
|
96
|
-
Object.entries(fields).map(([key, parser]) => [key, parser.schema()])),
|
|
97
|
-
}), () => {
|
|
98
|
-
const sortedKeys = Object.keys(fields).sort();
|
|
99
|
-
const props = sortedKeys
|
|
100
|
-
.map((key) => {
|
|
101
|
-
const parser = fields[key];
|
|
102
|
-
return `"${key}": ${parser.describe()}`;
|
|
103
|
-
})
|
|
104
|
-
.join(", ");
|
|
105
|
-
return `{ ${props} }`;
|
|
106
|
-
});
|
|
107
|
-
const String_ = () => buildParserFromSafeParser("String",
|
|
108
|
-
//@ts-ignore
|
|
109
|
-
(input) => typeof input === "string", (input) => {
|
|
110
|
-
if (typeof input === "string") {
|
|
111
|
-
return { success: true, data: input };
|
|
112
|
-
}
|
|
113
|
-
return { success: false, errors: [{ message: "Expected string", path: [], received: input }] };
|
|
114
|
-
}, () => ({
|
|
115
|
-
type: "string",
|
|
116
|
-
}), () => `string`);
|
|
117
|
-
const Number_ = () => buildParserFromSafeParser("Number",
|
|
118
|
-
//@ts-ignore
|
|
119
|
-
(input) => typeof input === "number", (input) => {
|
|
120
|
-
if (typeof input === "number") {
|
|
121
|
-
return { success: true, data: input };
|
|
122
|
-
}
|
|
123
|
-
return { success: false, errors: [{ message: "Expected number", path: [], received: input }] };
|
|
124
|
-
}, () => ({
|
|
125
|
-
type: "number",
|
|
126
|
-
}), () => `number`);
|
|
127
|
-
const Boolean_ = () => buildParserFromSafeParser("Boolean",
|
|
128
|
-
//@ts-ignore
|
|
129
|
-
(input) => typeof input === "boolean", (input) => {
|
|
130
|
-
if (typeof input === "boolean") {
|
|
131
|
-
return { success: true, data: input };
|
|
4
|
+
const codegen_v2_1 = require("./codegen-v2");
|
|
5
|
+
const Object_ = (fields) => {
|
|
6
|
+
const props = {};
|
|
7
|
+
for (const key of Object.keys(fields)) {
|
|
8
|
+
props[key] = fields[key]._runtype;
|
|
132
9
|
}
|
|
133
|
-
return
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}, () => ({
|
|
153
|
-
type: "null",
|
|
154
|
-
}), () => `null`);
|
|
155
|
-
const Null_ = () => buildParserFromSafeParser("Null", (input) => input == null, (input) => {
|
|
156
|
-
if (input == null) {
|
|
157
|
-
return { success: true, data: input };
|
|
158
|
-
}
|
|
159
|
-
return { success: false, errors: [{ message: "Expected null", path: [], received: input }] };
|
|
160
|
-
}, () => ({
|
|
161
|
-
type: "null",
|
|
162
|
-
}), () => `null`);
|
|
163
|
-
const Any_ = () => buildParserFromSafeParser("Any",
|
|
164
|
-
//@ts-ignore
|
|
165
|
-
(_input) => true, (input) => {
|
|
166
|
-
return { success: true, data: input };
|
|
167
|
-
}, () => ({}), () => `any`);
|
|
168
|
-
const Unknown_ = () => buildParserFromSafeParser("Unknown", (_input) => true, (input) => {
|
|
169
|
-
return { success: true, data: input };
|
|
170
|
-
}, () => ({}), () => `unknown`);
|
|
171
|
-
const Array_ = (parser) => buildParserFromSafeParser("b.Array",
|
|
172
|
-
//@ts-ignore
|
|
173
|
-
(input) => {
|
|
174
|
-
if (!Array.isArray(input)) {
|
|
175
|
-
return false;
|
|
176
|
-
}
|
|
177
|
-
for (let i = 0; i < input.length; i++) {
|
|
178
|
-
if (!parser.validate(input[i])) {
|
|
179
|
-
return false;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
return true;
|
|
183
|
-
}, (input) => {
|
|
184
|
-
if (!Array.isArray(input)) {
|
|
185
|
-
return {
|
|
186
|
-
success: false,
|
|
187
|
-
errors: [{ message: "Expected array", path: [], received: input }],
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
const errors = [];
|
|
191
|
-
const results = [];
|
|
192
|
-
for (let i = 0; i < input.length; i++) {
|
|
193
|
-
const res = parser.safeParse(input[i]);
|
|
194
|
-
if (res.success) {
|
|
195
|
-
results.push(res.data);
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
errors.push(...res.errors.map((it) => ({ ...it, path: [i.toString(), ...it.path] })));
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
if (errors.length > 0) {
|
|
202
|
-
return { success: false, errors };
|
|
203
|
-
}
|
|
204
|
-
return { success: true, data: results };
|
|
205
|
-
}, () => ({
|
|
206
|
-
type: "array",
|
|
207
|
-
items: parser.schema(),
|
|
208
|
-
}), () => `Array<${parser.describe()}>`);
|
|
10
|
+
return (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.ObjectRuntype(props, []), "b.Object", true);
|
|
11
|
+
};
|
|
12
|
+
const stringParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.TypeofRuntype("string"), "String", true);
|
|
13
|
+
const String_ = () => stringParser;
|
|
14
|
+
const numberParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.TypeofRuntype("number"), "Number", true);
|
|
15
|
+
const Number_ = () => numberParser;
|
|
16
|
+
const booleanParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.TypeofRuntype("boolean"), "Boolean", true);
|
|
17
|
+
const Boolean_ = () => booleanParser;
|
|
18
|
+
const undefinedParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.NullishRuntype("undefined"), "Undefined", true);
|
|
19
|
+
const Undefined_ = () => undefinedParser;
|
|
20
|
+
const voidParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.NullishRuntype("void"), "Void", true);
|
|
21
|
+
const Void_ = () => voidParser;
|
|
22
|
+
const nullParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.NullishRuntype("null"), "Null", true);
|
|
23
|
+
const Null_ = () => nullParser;
|
|
24
|
+
const anyParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.AnyRuntype(), "Any", true);
|
|
25
|
+
const Any_ = () => anyParser;
|
|
26
|
+
const unknwonParser = (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.AnyRuntype(), "Unknown", true);
|
|
27
|
+
const Unknown_ = () => unknwonParser;
|
|
28
|
+
const Array_ = (parser) => (0, codegen_v2_1.buildParserFromRuntype)(new codegen_v2_1.ArrayRuntype(parser._runtype), "b.Array", true);
|
|
209
29
|
const ReadOnlyArray_ = (parser) => Array_(parser);
|
|
210
30
|
exports.b = {
|
|
211
31
|
Object: Object_,
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { type BeffParser, type DecodeError } from "./types";
|
|
2
|
+
import { JSONSchema7 } from "./json-schema";
|
|
3
|
+
export { generateHashFromString, generateHashFromNumbers } from "./hash";
|
|
4
|
+
type UserProvidedStringValidatorFn = (input: string) => boolean;
|
|
5
|
+
export declare function registerStringFormatter(name: string, validator: UserProvidedStringValidatorFn): void;
|
|
6
|
+
type UserProvidedNumberValidatorFn = (input: number) => boolean;
|
|
7
|
+
export declare function registerNumberFormatter(name: string, validator: UserProvidedNumberValidatorFn): void;
|
|
8
|
+
type DescribeContext = {
|
|
9
|
+
measure: boolean;
|
|
10
|
+
deps: Record<string, boolean | string>;
|
|
11
|
+
deps_counter: Record<string, number>;
|
|
12
|
+
};
|
|
13
|
+
type SchemaContext = {
|
|
14
|
+
path: string[];
|
|
15
|
+
seen: Record<string, boolean>;
|
|
16
|
+
};
|
|
17
|
+
type ValidateContext = {
|
|
18
|
+
disallowExtraProperties: boolean;
|
|
19
|
+
};
|
|
20
|
+
type ParseContext = {
|
|
21
|
+
disallowExtraProperties: boolean;
|
|
22
|
+
};
|
|
23
|
+
type ReportContext = {
|
|
24
|
+
disallowExtraProperties: boolean;
|
|
25
|
+
path: string[];
|
|
26
|
+
};
|
|
27
|
+
type HashContext = {
|
|
28
|
+
seen: Record<string, boolean>;
|
|
29
|
+
};
|
|
30
|
+
export interface Runtype {
|
|
31
|
+
describe(ctx: DescribeContext): string;
|
|
32
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
33
|
+
hash(ctx: HashContext): number;
|
|
34
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
35
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
36
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
37
|
+
}
|
|
38
|
+
type TypeOfSupported = "string" | "number" | "boolean";
|
|
39
|
+
export declare class TypeofRuntype implements Runtype {
|
|
40
|
+
private typeName;
|
|
41
|
+
constructor(typeName: TypeOfSupported);
|
|
42
|
+
describe(_ctx: DescribeContext): string;
|
|
43
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
44
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
45
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
46
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
47
|
+
hash(_ctx: HashContext): number;
|
|
48
|
+
}
|
|
49
|
+
export declare class AnyRuntype implements Runtype {
|
|
50
|
+
describe(_ctx: DescribeContext): string;
|
|
51
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
52
|
+
validate(_ctx: ValidateContext, _input: unknown): boolean;
|
|
53
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
54
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
55
|
+
hash(_ctx: HashContext): number;
|
|
56
|
+
}
|
|
57
|
+
export declare class NullishRuntype implements Runtype {
|
|
58
|
+
description: string;
|
|
59
|
+
constructor(description: "undefined" | "null" | "void");
|
|
60
|
+
describe(_ctx: DescribeContext): string;
|
|
61
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
62
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
63
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
64
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
65
|
+
hash(_ctx: HashContext): number;
|
|
66
|
+
}
|
|
67
|
+
export declare class NeverRuntype implements Runtype {
|
|
68
|
+
describe(_ctx: DescribeContext): string;
|
|
69
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
70
|
+
validate(_ctx: ValidateContext, _input: unknown): boolean;
|
|
71
|
+
parseAfterValidation(_ctx: ParseContext, _input: unknown): unknown;
|
|
72
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
73
|
+
hash(_ctx: HashContext): number;
|
|
74
|
+
}
|
|
75
|
+
type Const = string | number | boolean | null;
|
|
76
|
+
export declare class ConstRuntype implements Runtype {
|
|
77
|
+
private value;
|
|
78
|
+
constructor(value: Const);
|
|
79
|
+
describe(_ctx: DescribeContext): string;
|
|
80
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
81
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
82
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
83
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
84
|
+
hash(_ctx: HashContext): number;
|
|
85
|
+
}
|
|
86
|
+
export declare class RegexRuntype implements Runtype {
|
|
87
|
+
private regex;
|
|
88
|
+
private description;
|
|
89
|
+
constructor(regex: RegExp, description: string);
|
|
90
|
+
describe(_ctx: DescribeContext): string;
|
|
91
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
92
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
93
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
94
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
95
|
+
hash(_ctx: HashContext): number;
|
|
96
|
+
}
|
|
97
|
+
export declare class DateRuntype implements Runtype {
|
|
98
|
+
describe(_ctx: DescribeContext): string;
|
|
99
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
100
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
101
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
102
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
103
|
+
hash(_ctx: HashContext): number;
|
|
104
|
+
}
|
|
105
|
+
export declare class BigIntRuntype implements Runtype {
|
|
106
|
+
describe(_ctx: DescribeContext): string;
|
|
107
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
108
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
109
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
110
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
111
|
+
hash(_ctx: HashContext): number;
|
|
112
|
+
}
|
|
113
|
+
export declare class StringWithFormatRuntype implements Runtype {
|
|
114
|
+
private formats;
|
|
115
|
+
constructor(formats: string[]);
|
|
116
|
+
describe(_ctx: DescribeContext): string;
|
|
117
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
118
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
119
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
120
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
121
|
+
hash(_ctx: HashContext): number;
|
|
122
|
+
}
|
|
123
|
+
export declare class NumberWithFormatRuntype implements Runtype {
|
|
124
|
+
private formats;
|
|
125
|
+
constructor(formats: string[]);
|
|
126
|
+
describe(_ctx: DescribeContext): string;
|
|
127
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
128
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
129
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
130
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
131
|
+
hash(_ctx: HashContext): number;
|
|
132
|
+
}
|
|
133
|
+
export declare class AnyOfConstsRuntype implements Runtype {
|
|
134
|
+
private values;
|
|
135
|
+
constructor(values: Const[]);
|
|
136
|
+
describe(_ctx: DescribeContext): string;
|
|
137
|
+
schema(_ctx: SchemaContext): JSONSchema7;
|
|
138
|
+
validate(_ctx: ValidateContext, input: unknown): boolean;
|
|
139
|
+
parseAfterValidation(_ctx: ParseContext, input: unknown): unknown;
|
|
140
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
141
|
+
hash(_ctx: HashContext): number;
|
|
142
|
+
}
|
|
143
|
+
export declare class TupleRuntype implements Runtype {
|
|
144
|
+
private prefix;
|
|
145
|
+
private rest;
|
|
146
|
+
constructor(prefix: Runtype[], rest: Runtype | null);
|
|
147
|
+
describe(ctx: DescribeContext): string;
|
|
148
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
149
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
150
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
151
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
152
|
+
hash(ctx: HashContext): number;
|
|
153
|
+
}
|
|
154
|
+
export declare class AllOfRuntype implements Runtype {
|
|
155
|
+
private schemas;
|
|
156
|
+
constructor(schemas: Runtype[]);
|
|
157
|
+
describe(ctx: DescribeContext): string;
|
|
158
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
159
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
160
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
161
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
162
|
+
hash(ctx: HashContext): number;
|
|
163
|
+
}
|
|
164
|
+
export declare class AnyOfRuntype implements Runtype {
|
|
165
|
+
private schemas;
|
|
166
|
+
constructor(schemas: Runtype[]);
|
|
167
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
168
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
169
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
170
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
171
|
+
describe(ctx: DescribeContext): string;
|
|
172
|
+
hash(ctx: HashContext): number;
|
|
173
|
+
}
|
|
174
|
+
export declare class ArrayRuntype implements Runtype {
|
|
175
|
+
private itemParser;
|
|
176
|
+
constructor(itemParser: Runtype);
|
|
177
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
178
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
179
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
180
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
181
|
+
describe(ctx: DescribeContext): string;
|
|
182
|
+
hash(ctx: HashContext): number;
|
|
183
|
+
}
|
|
184
|
+
export declare class AnyOfDiscriminatedRuntype implements Runtype {
|
|
185
|
+
private schemas;
|
|
186
|
+
private discriminator;
|
|
187
|
+
private mapping;
|
|
188
|
+
constructor(schemas: Runtype[], discriminator: string, mapping: Record<string, Runtype>);
|
|
189
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
190
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
191
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
192
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
193
|
+
describe(ctx: DescribeContext): string;
|
|
194
|
+
hash(ctx: HashContext): number;
|
|
195
|
+
}
|
|
196
|
+
export declare class OptionalFieldRuntype implements Runtype {
|
|
197
|
+
private t;
|
|
198
|
+
constructor(t: Runtype);
|
|
199
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
200
|
+
validate(ctx: ValidateContext, input: unknown): boolean;
|
|
201
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
202
|
+
reportDecodeError(ctx: ReportContext, input: unknown): DecodeError[];
|
|
203
|
+
describe(ctx: DescribeContext): string;
|
|
204
|
+
hash(ctx: HashContext): number;
|
|
205
|
+
}
|
|
206
|
+
export declare class ObjectRuntype implements Runtype {
|
|
207
|
+
private properties;
|
|
208
|
+
private indexedPropertiesParser;
|
|
209
|
+
constructor(properties: Record<string, Runtype>, indexedPropertiesParser: Array<{
|
|
210
|
+
key: Runtype;
|
|
211
|
+
value: Runtype;
|
|
212
|
+
}>);
|
|
213
|
+
describe(ctx: DescribeContext): string;
|
|
214
|
+
schema(ctx: SchemaContext): JSONSchema7;
|
|
215
|
+
validate(ctx: ValidateContext, input: any): boolean;
|
|
216
|
+
parseAfterValidation(ctx: ParseContext, input: any): unknown;
|
|
217
|
+
reportDecodeError(ctx: ReportContext, input: any): DecodeError[];
|
|
218
|
+
hash(ctx: HashContext): number;
|
|
219
|
+
}
|
|
220
|
+
export declare const buildParserFromRuntype: (runtype: Runtype, name: string, isB: boolean) => BeffParser<any>;
|
|
221
|
+
//# sourceMappingURL=codegen-v2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codegen-v2.d.ts","sourceRoot":"","sources":["../../src/codegen-v2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,WAAW,EAIjB,MAAM,SAAS,CAAC;AAuBjB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAiPzE,KAAK,6BAA6B,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;AAEhE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,6BAA6B,QAE7F;AAED,KAAK,6BAA6B,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;AAEhE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,6BAA6B,QAE7F;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,uBAAuB,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,uBAAuB,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,uB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