optolith-database-schema 0.18.5 → 0.18.6
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,13 @@
|
|
|
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.6](https://github.com/elyukai/optolith-database-schema/compare/v0.18.5...v0.18.6) (2025-10-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add additionalRules to optional rules to separate box text from associated main text ([a7b1bed](https://github.com/elyukai/optolith-database-schema/commit/a7b1bed0fadc3d346b4962e1ba808eb2ac05e670))
|
|
11
|
+
|
|
5
12
|
## [0.18.5](https://github.com/elyukai/optolith-database-schema/compare/v0.18.4...v0.18.5) (2025-10-09)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -44,6 +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
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<{
|
|
48
49
|
date: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").DateType, true>;
|
|
49
50
|
description: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
@@ -17,7 +17,11 @@ export const OptionalRule = Entity(import.meta.url, {
|
|
|
17
17
|
type: String({ minLength: 1 }),
|
|
18
18
|
}),
|
|
19
19
|
description: Required({
|
|
20
|
-
comment: "The description of the optional rule.",
|
|
20
|
+
comment: "The description of the optional rule, as stated in the optional rule box.",
|
|
21
|
+
type: String({ minLength: 1, isMarkdown: true }),
|
|
22
|
+
}),
|
|
23
|
+
additionalRules: Required({
|
|
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.",
|
|
21
25
|
type: String({ minLength: 1, isMarkdown: true }),
|
|
22
26
|
}),
|
|
23
27
|
errata: Optional({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.6",
|
|
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.
|
|
38
|
+
"tsondb": "^0.8.0",
|
|
39
39
|
"yaml": "^2.8.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|