shelving 1.59.0 → 1.59.1
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/package.json +8 -8
- package/schema/AllowSchema.d.ts +1 -1
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"state-management",
|
|
12
12
|
"query-builder"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.59.
|
|
14
|
+
"version": "1.59.1",
|
|
15
15
|
"repository": "https://github.com/dhoulb/shelving",
|
|
16
16
|
"author": "Dave Houlbrooke <dave@shax.com>",
|
|
17
17
|
"license": "0BSD",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@google-cloud/firestore": "^5.0.2",
|
|
63
|
-
"@types/jest": "^27.
|
|
64
|
-
"@types/react": "^17.0.
|
|
65
|
-
"@types/react-dom": "^17.0.
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
67
|
-
"@typescript-eslint/parser": "^5.
|
|
68
|
-
"eslint": "^8.
|
|
63
|
+
"@types/jest": "^27.5.1",
|
|
64
|
+
"@types/react": "^17.0.45",
|
|
65
|
+
"@types/react-dom": "^17.0.17",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
67
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
68
|
+
"eslint": "^8.15.0",
|
|
69
69
|
"eslint-config-prettier": "^8.5.0",
|
|
70
70
|
"eslint-plugin-import": "^2.26.0",
|
|
71
71
|
"eslint-plugin-prettier": "^4.0.0",
|
|
72
|
-
"firebase": "^9.
|
|
72
|
+
"firebase": "^9.8.1",
|
|
73
73
|
"jest": "^27.5.1",
|
|
74
74
|
"jest-ts-webcompat-resolver": "^1.0.0",
|
|
75
75
|
"prettier": "^2.6.2",
|
package/schema/AllowSchema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema } from "./Schema.js";
|
|
2
2
|
/** Specify a specific list of allowed values. */
|
|
3
3
|
export declare type Allowed<T extends string | number> = ReadonlyArray<T> | {
|
|
4
|
-
readonly [K in T]:
|
|
4
|
+
readonly [K in T]: unknown;
|
|
5
5
|
};
|
|
6
6
|
/** Validate a value against a specific set of allowed values. */
|
|
7
7
|
export declare function validateAllowed<T extends string | number>(value: unknown, allowed: Allowed<T>): T;
|