optolith-database-schema 0.34.5 → 0.34.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 +7 -0
- package/gen/types.d.ts +5 -0
- package/lib/types/Influence.d.ts +1 -0
- package/lib/types/Influence.js +4 -0
- package/package.json +1 -1
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.34.6](https://github.com/elyukai/optolith-database-schema/compare/v0.34.5...v0.34.6) (2026-03-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* general rules for influences ([f97e9dc](https://github.com/elyukai/optolith-database-schema/commit/f97e9dce22dcbb11a5f4ca593cbc751475fa8eef))
|
|
11
|
+
|
|
5
12
|
## [0.34.5](https://github.com/elyukai/optolith-database-schema/compare/v0.34.4...v0.34.5) (2026-03-09)
|
|
6
13
|
|
|
7
14
|
|
package/gen/types.d.ts
CHANGED
|
@@ -7598,6 +7598,11 @@ export interface InfluenceTranslation {
|
|
|
7598
7598
|
*/
|
|
7599
7599
|
name: string
|
|
7600
7600
|
|
|
7601
|
+
/**
|
|
7602
|
+
* Some general rules for the influence. They will be prepended to the effects. This can be used for influences that do not have any effects and should contain the text mentioning this fact.
|
|
7603
|
+
*/
|
|
7604
|
+
rules?: string
|
|
7605
|
+
|
|
7601
7606
|
/**
|
|
7602
7607
|
* The effects of the influence. They should be sorted like they are in the book.
|
|
7603
7608
|
*/
|
package/lib/types/Influence.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare const Influence: DB.Entity<"Influence", {
|
|
|
67
67
|
}>, []>>>, []>>, true>;
|
|
68
68
|
translations: DB.MemberDecl<DB.NestedEntityMap<"InfluenceTranslation", {
|
|
69
69
|
name: DB.MemberDecl<DB.String, true>;
|
|
70
|
+
rules: DB.MemberDecl<DB.String, false>;
|
|
70
71
|
effects: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"InfluenceEffect", DB.Object<{
|
|
71
72
|
label: DB.MemberDecl<DB.String, true>;
|
|
72
73
|
text: DB.MemberDecl<DB.String, true>;
|
package/lib/types/Influence.js
CHANGED
|
@@ -16,6 +16,10 @@ export const Influence = DB.Entity(import.meta.url, {
|
|
|
16
16
|
comment: "The influence’s name.",
|
|
17
17
|
type: DB.String({ minLength: 1 }),
|
|
18
18
|
}),
|
|
19
|
+
rules: DB.Optional({
|
|
20
|
+
comment: "Some general rules for the influence. They will be prepended to the effects. This can be used for influences that do not have any effects and should contain the text mentioning this fact.",
|
|
21
|
+
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
22
|
+
}),
|
|
19
23
|
effects: DB.Optional({
|
|
20
24
|
comment: "The effects of the influence. They should be sorted like they are in the book.",
|
|
21
25
|
type: DB.Array(DB.IncludeIdentifier(InfluenceEffect), { minItems: 1 }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.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",
|