@optolith/database-schema 0.95.0 → 0.96.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.96.0](https://github.com/Optolith/database-schema/compare/v0.95.0...v0.96.0) (2026-10-12)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ * book rules must be optional
10
+
11
+ ### Bug Fixes
12
+
13
+ * book rules must be optional ([8acaf1e](https://github.com/Optolith/database-schema/commit/8acaf1ed911a5326e00cc494b66162d24a02707d))
14
+
5
15
  ## [0.95.0](https://github.com/Optolith/database-schema/compare/v0.94.0...v0.95.0) (2026-10-12)
6
16
 
7
17
  ### ⚠ BREAKING CHANGES
package/gen/types.d.ts CHANGED
@@ -24237,7 +24237,7 @@ export interface Book {
24237
24237
  /**
24238
24238
  * Skills and abilities you can learn by reading the book, as well as any other rules and effects concerning the book.
24239
24239
  */
24240
- rules: BookRules
24240
+ rules?: BookRules
24241
24241
 
24242
24242
  /**
24243
24243
  * References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
@@ -238,7 +238,7 @@ export declare const Book: DB.Entity<"Book", {
238
238
  textAfter: DB.MemberDecl<DB.String, false>;
239
239
  }>, false>;
240
240
  }>, []>>>;
241
- }, []>>, true>;
241
+ }, []>>, false>;
242
242
  src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
243
243
  id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
244
244
  occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
@@ -37,7 +37,7 @@ export const Book = DB.Entity(import.meta.url, {
37
37
  comment: "The quality of the book’s content.",
38
38
  type: DB.IncludeIdentifier(BookContentQuality),
39
39
  }),
40
- rules: DB.Required({
40
+ rules: DB.Optional({
41
41
  comment: "Skills and abilities you can learn by reading the book, as well as any other rules and effects concerning the book.",
42
42
  type: DB.IncludeIdentifier(BookRules),
43
43
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
5
5
  "keywords": [
6
6
  "tde",