optolith-database-schema 0.34.0 → 0.34.2
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.34.2](https://github.com/elyukai/optolith-database-schema/compare/v0.34.1...v0.34.2) (2026-03-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* make optional rule complexity influence optional ([fa4c6f8](https://github.com/elyukai/optolith-database-schema/commit/fa4c6f820bc5c48ddbceacee325c2d29b839069f))
|
|
11
|
+
|
|
12
|
+
## [0.34.1](https://github.com/elyukai/optolith-database-schema/compare/v0.34.0...v0.34.1) (2026-03-08)
|
|
13
|
+
|
|
5
14
|
## [0.34.0](https://github.com/elyukai/optolith-database-schema/compare/v0.33.0...v0.34.0) (2026-03-08)
|
|
6
15
|
|
|
7
16
|
|
package/gen/types.d.ts
CHANGED
|
@@ -7131,9 +7131,9 @@ export interface OptionalRule {
|
|
|
7131
7131
|
isMissingImplementation: boolean
|
|
7132
7132
|
|
|
7133
7133
|
/**
|
|
7134
|
-
* How this optional rule influences the complexity of the game.
|
|
7134
|
+
* How this optional rule influences the complexity of the game, if specified.
|
|
7135
7135
|
*/
|
|
7136
|
-
complexityInfluence
|
|
7136
|
+
complexityInfluence?: ComplexityInfluence
|
|
7137
7137
|
|
|
7138
7138
|
prerequisites?: RulePrerequisites
|
|
7139
7139
|
|
|
@@ -5,7 +5,7 @@ export declare const OptionalRule: DB.Entity<"OptionalRule", {
|
|
|
5
5
|
Less: DB.EnumCase<null>;
|
|
6
6
|
Unchanged: DB.EnumCase<null>;
|
|
7
7
|
More: DB.EnumCase<null>;
|
|
8
|
-
}, []>>,
|
|
8
|
+
}, []>>, false>;
|
|
9
9
|
prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"RulePrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PlainPrerequisites", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"PrerequisitesElement", {
|
|
10
10
|
Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
11
11
|
Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
|
|
@@ -11,8 +11,8 @@ export const OptionalRule = DB.Entity(import.meta.url, {
|
|
|
11
11
|
comment: "Has the optional rule not been implemented in Optolith yet? This is also true if the optional rule does not (currently) apply to any Optolith feature.",
|
|
12
12
|
type: DB.Boolean(),
|
|
13
13
|
}),
|
|
14
|
-
complexityInfluence: DB.
|
|
15
|
-
comment: "How this optional rule influences the complexity of the game.",
|
|
14
|
+
complexityInfluence: DB.Optional({
|
|
15
|
+
comment: "How this optional rule influences the complexity of the game, if specified.",
|
|
16
16
|
type: DB.IncludeIdentifier(ComplexityInfluence),
|
|
17
17
|
}),
|
|
18
18
|
prerequisites: DB.Optional({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.2",
|
|
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",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"author": "Lukas Obermann",
|
|
39
39
|
"license": "MPL-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@elyukai/utils": "^0.
|
|
42
|
-
"tsondb": "^0.19.
|
|
41
|
+
"@elyukai/utils": "^0.3.0",
|
|
42
|
+
"tsondb": "^0.19.13",
|
|
43
43
|
"yaml": "^2.8.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@eslint/js": "^10.0.1",
|
|
47
|
-
"@types/node": "^25.3.
|
|
47
|
+
"@types/node": "^25.3.5",
|
|
48
48
|
"commit-and-tag-version": "^12.6.1",
|
|
49
|
-
"eslint": "^10.0.
|
|
50
|
-
"globals": "^17.
|
|
49
|
+
"eslint": "^10.0.3",
|
|
50
|
+
"globals": "^17.4.0",
|
|
51
51
|
"nodemon": "^3.1.14",
|
|
52
52
|
"prettier": "^3.8.1",
|
|
53
53
|
"typescript": "^5.9.3",
|