shelving 1.129.0 → 1.129.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 +1 -1
- package/schema/KeySchema.d.ts +2 -2
- package/schema/KeySchema.js +2 -2
package/package.json
CHANGED
package/schema/KeySchema.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { StringSchema, type StringSchemaOptions } from "./StringSchema.js";
|
|
|
8
8
|
export declare class KeySchema extends StringSchema {
|
|
9
9
|
constructor({ min, max, ...options }: StringSchemaOptions);
|
|
10
10
|
}
|
|
11
|
-
/** Valid
|
|
11
|
+
/** Valid database key. */
|
|
12
12
|
export declare const KEY: KeySchema;
|
|
13
|
-
/** Valid
|
|
13
|
+
/** Valid optional database key. */
|
|
14
14
|
export declare const OPTIONAL_KEY: import("./OptionalSchema.js").OptionalSchema<string>;
|
package/schema/KeySchema.js
CHANGED
|
@@ -11,7 +11,7 @@ export class KeySchema extends StringSchema {
|
|
|
11
11
|
super({ min, max, ...options });
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
/** Valid
|
|
14
|
+
/** Valid database key. */
|
|
15
15
|
export const KEY = new KeySchema({});
|
|
16
|
-
/** Valid
|
|
16
|
+
/** Valid optional database key. */
|
|
17
17
|
export const OPTIONAL_KEY = OPTIONAL(KEY);
|