@arrirpc/schema 0.73.0 → 0.74.0
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/README.md +42 -22
- package/dist/adapters.cjs +9 -0
- package/dist/adapters.d.cts +11 -0
- package/dist/adapters.d.mts +11 -0
- package/dist/adapters.d.ts +11 -0
- package/dist/adapters.mjs +2 -0
- package/dist/index.cjs +2610 -500
- package/dist/index.d.cts +100 -63
- package/dist/index.d.mts +100 -63
- package/dist/index.d.ts +100 -63
- package/dist/index.mjs +2512 -402
- package/dist/shared/{schema.DLX0nTwB.d.cts → schema.BYXPajpl.d.cts} +54 -51
- package/dist/shared/{schema.DLX0nTwB.d.mts → schema.BYXPajpl.d.mts} +54 -51
- package/dist/shared/{schema.DLX0nTwB.d.ts → schema.BYXPajpl.d.ts} +54 -51
- package/dist/shared/schema.CZrExOkx.mjs +96 -0
- package/dist/shared/schema.Cwqn0t9l.cjs +111 -0
- package/package.json +3 -3
- package/dist/shared/schema.COiEWm_0.cjs +0 -1935
- package/dist/shared/schema.PNAcAdz3.mjs +0 -1860
- package/dist/testSuites.cjs +0 -1310
- package/dist/testSuites.d.cts +0 -39
- package/dist/testSuites.d.mts +0 -39
- package/dist/testSuites.d.ts +0 -39
- package/dist/testSuites.mjs +0 -1305
package/dist/testSuites.d.cts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { d as AObjectSchema, e as ADiscriminatorSchema, A as ASchema } from './shared/schema.DLX0nTwB.cjs';
|
|
2
|
-
import '@arrirpc/type-defs';
|
|
3
|
-
import '@standard-schema/spec';
|
|
4
|
-
|
|
5
|
-
type RecursiveUnion = {
|
|
6
|
-
type: 'CHILD';
|
|
7
|
-
data: RecursiveUnion;
|
|
8
|
-
} | {
|
|
9
|
-
type: 'CHILDREN';
|
|
10
|
-
data: RecursiveUnion[];
|
|
11
|
-
} | {
|
|
12
|
-
type: 'TEXT';
|
|
13
|
-
data: string;
|
|
14
|
-
} | {
|
|
15
|
-
type: 'SHAPE';
|
|
16
|
-
data: {
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
declare const RecursiveUnion: AObjectSchema<RecursiveUnion, false> | ADiscriminatorSchema<RecursiveUnion>;
|
|
22
|
-
declare const validationTestSuites: Record<string, {
|
|
23
|
-
schema: ASchema;
|
|
24
|
-
goodInputs: any[];
|
|
25
|
-
badInputs: any[];
|
|
26
|
-
onlyTestSerialization?: boolean;
|
|
27
|
-
}>;
|
|
28
|
-
declare const parsingTestSuites: Record<string, {
|
|
29
|
-
schema: ASchema;
|
|
30
|
-
goodInputs: any[];
|
|
31
|
-
expectedResults: any[];
|
|
32
|
-
badInputs: any[];
|
|
33
|
-
}>;
|
|
34
|
-
declare const serializationTestSuites: Record<string, {
|
|
35
|
-
schema: ASchema;
|
|
36
|
-
inputs: any[];
|
|
37
|
-
}>;
|
|
38
|
-
|
|
39
|
-
export { RecursiveUnion, parsingTestSuites, serializationTestSuites, validationTestSuites };
|
package/dist/testSuites.d.mts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { d as AObjectSchema, e as ADiscriminatorSchema, A as ASchema } from './shared/schema.DLX0nTwB.mjs';
|
|
2
|
-
import '@arrirpc/type-defs';
|
|
3
|
-
import '@standard-schema/spec';
|
|
4
|
-
|
|
5
|
-
type RecursiveUnion = {
|
|
6
|
-
type: 'CHILD';
|
|
7
|
-
data: RecursiveUnion;
|
|
8
|
-
} | {
|
|
9
|
-
type: 'CHILDREN';
|
|
10
|
-
data: RecursiveUnion[];
|
|
11
|
-
} | {
|
|
12
|
-
type: 'TEXT';
|
|
13
|
-
data: string;
|
|
14
|
-
} | {
|
|
15
|
-
type: 'SHAPE';
|
|
16
|
-
data: {
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
declare const RecursiveUnion: AObjectSchema<RecursiveUnion, false> | ADiscriminatorSchema<RecursiveUnion>;
|
|
22
|
-
declare const validationTestSuites: Record<string, {
|
|
23
|
-
schema: ASchema;
|
|
24
|
-
goodInputs: any[];
|
|
25
|
-
badInputs: any[];
|
|
26
|
-
onlyTestSerialization?: boolean;
|
|
27
|
-
}>;
|
|
28
|
-
declare const parsingTestSuites: Record<string, {
|
|
29
|
-
schema: ASchema;
|
|
30
|
-
goodInputs: any[];
|
|
31
|
-
expectedResults: any[];
|
|
32
|
-
badInputs: any[];
|
|
33
|
-
}>;
|
|
34
|
-
declare const serializationTestSuites: Record<string, {
|
|
35
|
-
schema: ASchema;
|
|
36
|
-
inputs: any[];
|
|
37
|
-
}>;
|
|
38
|
-
|
|
39
|
-
export { RecursiveUnion, parsingTestSuites, serializationTestSuites, validationTestSuites };
|
package/dist/testSuites.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { d as AObjectSchema, e as ADiscriminatorSchema, A as ASchema } from './shared/schema.DLX0nTwB.js';
|
|
2
|
-
import '@arrirpc/type-defs';
|
|
3
|
-
import '@standard-schema/spec';
|
|
4
|
-
|
|
5
|
-
type RecursiveUnion = {
|
|
6
|
-
type: 'CHILD';
|
|
7
|
-
data: RecursiveUnion;
|
|
8
|
-
} | {
|
|
9
|
-
type: 'CHILDREN';
|
|
10
|
-
data: RecursiveUnion[];
|
|
11
|
-
} | {
|
|
12
|
-
type: 'TEXT';
|
|
13
|
-
data: string;
|
|
14
|
-
} | {
|
|
15
|
-
type: 'SHAPE';
|
|
16
|
-
data: {
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
declare const RecursiveUnion: AObjectSchema<RecursiveUnion, false> | ADiscriminatorSchema<RecursiveUnion>;
|
|
22
|
-
declare const validationTestSuites: Record<string, {
|
|
23
|
-
schema: ASchema;
|
|
24
|
-
goodInputs: any[];
|
|
25
|
-
badInputs: any[];
|
|
26
|
-
onlyTestSerialization?: boolean;
|
|
27
|
-
}>;
|
|
28
|
-
declare const parsingTestSuites: Record<string, {
|
|
29
|
-
schema: ASchema;
|
|
30
|
-
goodInputs: any[];
|
|
31
|
-
expectedResults: any[];
|
|
32
|
-
badInputs: any[];
|
|
33
|
-
}>;
|
|
34
|
-
declare const serializationTestSuites: Record<string, {
|
|
35
|
-
schema: ASchema;
|
|
36
|
-
inputs: any[];
|
|
37
|
-
}>;
|
|
38
|
-
|
|
39
|
-
export { RecursiveUnion, parsingTestSuites, serializationTestSuites, validationTestSuites };
|