@aeriajs/common 0.0.30 → 0.0.32
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/schema.d.ts +10 -10
- package/package.json +3 -3
package/dist/schema.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { type Property, type ObjectToSchema } from '@aeriajs/types';
|
|
2
2
|
export declare const fromLiteral: <const TObject, TRequired extends (keyof TObject & string)[]>(object: TObject, required?: TRequired) => ObjectToSchema<TObject, TRequired>;
|
|
3
3
|
export declare const leftSchema: <const TObject extends Property>(object: TObject) => {
|
|
4
|
-
type: "object";
|
|
5
|
-
properties: {
|
|
6
|
-
_tag: {
|
|
7
|
-
const:
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly properties: {
|
|
6
|
+
readonly _tag: {
|
|
7
|
+
readonly const: "Left";
|
|
8
8
|
};
|
|
9
|
-
value: Property;
|
|
9
|
+
readonly value: Property;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
export declare const rightSchema: <const TObject extends Property>(object: TObject) => {
|
|
13
|
-
type: "object";
|
|
14
|
-
properties: {
|
|
15
|
-
_tag: {
|
|
16
|
-
const:
|
|
13
|
+
readonly type: "object";
|
|
14
|
+
readonly properties: {
|
|
15
|
+
readonly _tag: {
|
|
16
|
+
readonly const: "Right";
|
|
17
17
|
};
|
|
18
|
-
value: Property;
|
|
18
|
+
readonly value: Property;
|
|
19
19
|
};
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aeriajs/types": "^0.0.
|
|
30
|
+
"@aeriajs/types": "^0.0.29",
|
|
31
31
|
"bson": "^6.5.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@aeriajs/types": "^0.0.
|
|
34
|
+
"@aeriajs/types": "^0.0.29",
|
|
35
35
|
"bson": "^6.5.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|