@valbuild/core 0.89.0 → 0.91.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.
@@ -124,7 +124,8 @@ export type InitSchema = {
124
124
  * Define a key of.
125
125
  *
126
126
  * @example
127
- * const schema = s.keyOf(s.string());
127
+ * import otherVal from "./other.val"; // this must be a record
128
+ * const schema = s.keyOf(otherVal);
128
129
  * export default c.define("/example.val.ts", schema, "test");
129
130
  *
130
131
  */
@@ -165,7 +166,7 @@ export type InitSchema = {
165
166
  *
166
167
  * @example
167
168
  * ```typescript
168
- * const schema = s.route();
169
+ * const schema = s.route(); // use .include() and .exclude() to constrain the route paths
169
170
  * export default c.define("/example.val.ts", schema, "/a-page-slug");
170
171
  * ```
171
172
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/core",
3
- "version": "0.89.0",
3
+ "version": "0.91.0",
4
4
  "private": false,
5
5
  "description": "Val - supercharged hard-coded content",
6
6
  "repository": {