optolith-database-schema 0.18.6 → 0.18.8

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,15 @@
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.18.8](https://github.com/elyukai/optolith-database-schema/compare/v0.18.7...v0.18.8) (2025-10-14)
6
+
7
+ ## [0.18.7](https://github.com/elyukai/optolith-database-schema/compare/v0.18.6...v0.18.7) (2025-10-14)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * additionalRules have to be optional ([1b42e26](https://github.com/elyukai/optolith-database-schema/commit/1b42e26383567195fc328fecedb760990b3ca6aa))
13
+
5
14
  ## [0.18.6](https://github.com/elyukai/optolith-database-schema/compare/v0.18.5...v0.18.6) (2025-10-14)
6
15
 
7
16
 
@@ -44,7 +44,7 @@ export declare const OptionalRule: Entity<"OptionalRule", {
44
44
  translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"OptionalRuleTranslation", {
45
45
  name: import("tsondb/schema/def").MemberDecl<String, true>;
46
46
  description: import("tsondb/schema/def").MemberDecl<String, true>;
47
- additionalRules: import("tsondb/schema/def").MemberDecl<String, true>;
47
+ additionalRules: import("tsondb/schema/def").MemberDecl<String, false>;
48
48
  errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Errata", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Erratum", Object<{
49
49
  date: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").DateType, true>;
50
50
  description: import("tsondb/schema/def").MemberDecl<String, true>;
@@ -20,7 +20,7 @@ export const OptionalRule = Entity(import.meta.url, {
20
20
  comment: "The description of the optional rule, as stated in the optional rule box.",
21
21
  type: String({ minLength: 1, isMarkdown: true }),
22
22
  }),
23
- additionalRules: Required({
23
+ additionalRules: Optional({
24
24
  comment: "Sometimes, an optional rule does not only contain all the rules belonging to it in its rule box, but also in the main text.",
25
25
  type: String({ minLength: 1, isMarkdown: true }),
26
26
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.18.6",
3
+ "version": "0.18.8",
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",
@@ -35,7 +35,7 @@
35
35
  "license": "MPL-2.0",
36
36
  "dependencies": {
37
37
  "@optolith/helpers": "^0.2.2",
38
- "tsondb": "^0.8.0",
38
+ "tsondb": "^0.10.0",
39
39
  "yaml": "^2.8.1"
40
40
  },
41
41
  "devDependencies": {