@optolith/database-schema 0.70.0 → 0.70.1
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 +5 -0
- package/gen/types.d.ts +17 -0
- package/lib/types/FamiliarsTrick.d.ts +3 -0
- package/lib/types/FamiliarsTrick.js +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
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.70.1](https://github.com/Optolith/database-schema/compare/v0.70.0...v0.70.1) (2026-09-28)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* different names for familiar's tricks based on tradition ([189a86d](https://github.com/Optolith/database-schema/commit/189a86da529c1b220030c746f8bdb0b94a29a3d9))
|
|
5
10
|
## [0.70.0](https://github.com/Optolith/database-schema/compare/v0.69.0...v0.70.0) (2026-09-27)
|
|
6
11
|
|
|
7
12
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -634,6 +634,7 @@ export type TypeAliasMap = {
|
|
|
634
634
|
ExpressionBasedRange: ExpressionBasedRange
|
|
635
635
|
FamiliarsTrickAllOneTimeCost: FamiliarsTrickAllOneTimeCost
|
|
636
636
|
FamiliarsTrickFixedOneTimeCost: FamiliarsTrickFixedOneTimeCost
|
|
637
|
+
FamiliarsTrickNameByTradition: FamiliarsTrickNameByTradition
|
|
637
638
|
FamiliarsTrickOneTimeIntervalCost: FamiliarsTrickOneTimeIntervalCost
|
|
638
639
|
FamiliarsTrickOneTimeIntervalPerformanceParameters: FamiliarsTrickOneTimeIntervalPerformanceParameters
|
|
639
640
|
FamiliarsTrickOneTimePerformanceParameters: FamiliarsTrickOneTimePerformanceParameters
|
|
@@ -25599,6 +25600,11 @@ export interface FamiliarsTrickTranslation {
|
|
|
25599
25600
|
*/
|
|
25600
25601
|
name: string
|
|
25601
25602
|
|
|
25603
|
+
/**
|
|
25604
|
+
* For some traditions, the name of the familiar’s trick is different.
|
|
25605
|
+
*/
|
|
25606
|
+
nameByTradition?: FamiliarsTrickNameByTradition
|
|
25607
|
+
|
|
25602
25608
|
/**
|
|
25603
25609
|
* The effect description.
|
|
25604
25610
|
*/
|
|
@@ -25747,6 +25753,17 @@ export interface IndefiniteFamiliarsTrickPropertyTranslation {
|
|
|
25747
25753
|
description: ResponsiveText
|
|
25748
25754
|
}
|
|
25749
25755
|
|
|
25756
|
+
export type FamiliarsTrickNameByTradition = {
|
|
25757
|
+
[magicalTraditionId: string]: FamiliarsTrickNameForTradition
|
|
25758
|
+
}
|
|
25759
|
+
|
|
25760
|
+
export interface FamiliarsTrickNameForTradition {
|
|
25761
|
+
/**
|
|
25762
|
+
* The familiar’s trick’s name for this tradition.
|
|
25763
|
+
*/
|
|
25764
|
+
name: string
|
|
25765
|
+
}
|
|
25766
|
+
|
|
25750
25767
|
export interface HerbalAid {
|
|
25751
25768
|
/**
|
|
25752
25769
|
* The plant types this aid belongs to.
|
|
@@ -219,6 +219,9 @@ export declare const FamiliarsTrick: DB.Entity<"FamiliarsTrick", {
|
|
|
219
219
|
}>, []>>>, []>>, true>;
|
|
220
220
|
translations: DB.MemberDecl<DB.NestedEntityMap<"FamiliarsTrickTranslation", {
|
|
221
221
|
name: DB.MemberDecl<DB.String, true>;
|
|
222
|
+
nameByTradition: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"FamiliarsTrickNameByTradition", DB.NestedEntityMap<string, {
|
|
223
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
224
|
+
}>, []>>, false>;
|
|
222
225
|
effect: DB.MemberDecl<DB.String, true>;
|
|
223
226
|
cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"OldParameter", DB.Object<{
|
|
224
227
|
full: DB.MemberDecl<DB.String, true>;
|
|
@@ -7,6 +7,7 @@ import { ResponsiveText } from "./_ResponsiveText.js";
|
|
|
7
7
|
import { NestedTranslationMap } from "./Locale.js";
|
|
8
8
|
import { Errata } from "./source/_Erratum.js";
|
|
9
9
|
import { src } from "./source/_PublicationRef.js";
|
|
10
|
+
import { MagicalTradition } from "./specialAbility/MagicalTradition.js";
|
|
10
11
|
export const FamiliarsTrick = DB.Entity(import.meta.url, {
|
|
11
12
|
name: "FamiliarsTrick",
|
|
12
13
|
namePlural: "FamiliarsTricks",
|
|
@@ -43,6 +44,10 @@ If no traditions are given, the familiars trick is not restricted by the magical
|
|
|
43
44
|
comment: "The familiar’s trick’s name.",
|
|
44
45
|
type: DB.String({ minLength: 1 }),
|
|
45
46
|
}),
|
|
47
|
+
nameByTradition: DB.Optional({
|
|
48
|
+
comment: "For some traditions, the name of the familiar’s trick is different.",
|
|
49
|
+
type: DB.IncludeIdentifier(FamiliarsTrickNameByTradition),
|
|
50
|
+
}),
|
|
46
51
|
effect: DB.Required({
|
|
47
52
|
comment: "The effect description.",
|
|
48
53
|
type: DB.String({ minLength: 1, markdown: "block" }),
|
|
@@ -68,6 +73,21 @@ If no traditions are given, the familiars trick is not restricted by the magical
|
|
|
68
73
|
},
|
|
69
74
|
],
|
|
70
75
|
});
|
|
76
|
+
const FamiliarsTrickNameByTradition = DB.TypeAlias(import.meta.url, {
|
|
77
|
+
name: "FamiliarsTrickNameByTradition",
|
|
78
|
+
type: () => DB.NestedEntityMap({
|
|
79
|
+
secondaryEntity: MagicalTradition,
|
|
80
|
+
name: "FamiliarsTrickNameForTradition",
|
|
81
|
+
namePlural: "FamiliarsTrickNameForTraditions",
|
|
82
|
+
type: DB.Object({
|
|
83
|
+
name: DB.Required({
|
|
84
|
+
comment: "The familiar’s trick’s name for this tradition.",
|
|
85
|
+
type: DB.String({ minLength: 1 }),
|
|
86
|
+
}),
|
|
87
|
+
}),
|
|
88
|
+
minProperties: 1,
|
|
89
|
+
}),
|
|
90
|
+
});
|
|
71
91
|
const FamiliarsTrickProperty = DB.Enum(import.meta.url, {
|
|
72
92
|
name: "FamiliarsTrickProperty",
|
|
73
93
|
values: () => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.1",
|
|
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",
|