shelving 1.130.0 → 1.130.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 CHANGED
@@ -11,7 +11,7 @@
11
11
  "state-management",
12
12
  "query-builder"
13
13
  ],
14
- "version": "1.130.0",
14
+ "version": "1.130.1",
15
15
  "repository": "https://github.com/dhoulb/shelving",
16
16
  "author": "Dave Houlbrooke <dave@shax.com>",
17
17
  "license": "0BSD",
@@ -65,11 +65,11 @@ export const STRING = new StringSchema({});
65
65
  /** Valid string, `Hello there!`, with more than one character. */
66
66
  export const REQUIRED_STRING = new StringSchema({ min: 1 });
67
67
  /** Title string, e.g. `Title of something` */
68
- export const TITLE = new StringSchema({});
68
+ export const TITLE = new StringSchema({ title: "Title", min: 1, max: 100 });
69
69
  /** Optional name string, e.g. `Title of something` or `null` */
70
70
  export const OPTIONAL_TITLE = OPTIONAL(TITLE);
71
71
  /** Name string, e.g. `Name of Something` */
72
- export const NAME = new StringSchema({ title: "Name" });
72
+ export const NAME = new StringSchema({ title: "Name", min: 1, max: 100 });
73
73
  /** Optional name string, e.g. `Name of Something` or `null` */
74
74
  export const OPTIONAL_NAME = OPTIONAL(NAME);
75
75
  /** Password string. */