@optolith/database-schema 0.56.0 → 0.57.0
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 +9 -0
- package/gen/types.d.ts +4 -0
- package/lib/types/Locale.d.ts +1 -0
- package/lib/types/Locale.js +1 -0
- package/lib/types/_ActivatableAdvanced.d.ts +1 -0
- package/lib/types/_ActivatableAdvanced.js +4 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +1 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +1 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +1 -0
- package/package.json +1 -1
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.57.0](https://github.com/Optolith/database-schema/compare/v0.56.0...v0.57.0) (2026-09-10)
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* allow any advanced special ability for slot
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* allow any advanced special ability for slot ([dac3a55](https://github.com/Optolith/database-schema/commit/dac3a55200c45c0c1ae0b1b6fd4faeb318907b77)), closes [#104](https://github.com/Optolith/database-schema/issues/104)
|
|
5
14
|
## [0.56.0](https://github.com/Optolith/database-schema/compare/v0.55.0...v0.56.0) (2026-09-08)
|
|
6
15
|
|
|
7
16
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -2406,6 +2406,7 @@ export interface Locale {
|
|
|
2406
2406
|
"one or two of these special abilities can alternatively be replaced by advanced special abilities {$first} and/or {$second}": string & { __params: { "first": StringableTranslationParameter; "second": StringableTranslationParameter } }
|
|
2407
2407
|
".input {$count :number} {{{$count} more by primary patron}}": string & { __params: { "count": number } }
|
|
2408
2408
|
"Patron": string
|
|
2409
|
+
".input {$count :number} {{Here you can select {$count} fitting special abilities.}}": string & { __params: { "count": number } }
|
|
2409
2410
|
"corresponding combat style special ability": string
|
|
2410
2411
|
"corresponding liturgical style special ability": string
|
|
2411
2412
|
"corresponding magic style special ability": string
|
|
@@ -13509,6 +13510,9 @@ export type AdvancedSpecialAbility<Identifier> =
|
|
|
13509
13510
|
kind: "DeriveFromExternalOption"
|
|
13510
13511
|
DeriveFromExternalOption: AdvancedSpecialAbilityDerivedFromExternalOption<Identifier>
|
|
13511
13512
|
}
|
|
13513
|
+
| {
|
|
13514
|
+
kind: "Any"
|
|
13515
|
+
}
|
|
13512
13516
|
|
|
13513
13517
|
export interface RestrictAdvancedSpecialAbilityOptions<Identifier> {
|
|
13514
13518
|
/**
|
package/lib/types/Locale.d.ts
CHANGED
|
@@ -1340,6 +1340,7 @@ export declare const Locale: DB.Entity<"Locale", {
|
|
|
1340
1340
|
"one or two of these special abilities can alternatively be replaced by advanced special abilities {$first} and/or {$second}": null;
|
|
1341
1341
|
".input {$count :number} {{{$count} more by primary patron}}": null;
|
|
1342
1342
|
Patron: null;
|
|
1343
|
+
".input {$count :number} {{Here you can select {$count} fitting special abilities.}}": null;
|
|
1343
1344
|
"corresponding combat style special ability": null;
|
|
1344
1345
|
"corresponding liturgical style special ability": null;
|
|
1345
1346
|
"corresponding magic style special ability": null;
|
package/lib/types/Locale.js
CHANGED
|
@@ -1374,6 +1374,7 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
1374
1374
|
"one or two of these special abilities can alternatively be replaced by advanced special abilities {$first} and/or {$second}": null,
|
|
1375
1375
|
".input {$count :number} {{{$count} more by primary patron}}": null,
|
|
1376
1376
|
"Patron": null,
|
|
1377
|
+
".input {$count :number} {{Here you can select {$count} fitting special abilities.}}": null,
|
|
1377
1378
|
"corresponding combat style special ability": null,
|
|
1378
1379
|
"corresponding liturgical style special ability": null,
|
|
1379
1380
|
"corresponding magic style special ability": null,
|
|
@@ -23,6 +23,10 @@ const AdvancedSpecialAbility = DB.GenEnum(import.meta.url, {
|
|
|
23
23
|
DB.TypeArgument(Identifier),
|
|
24
24
|
]),
|
|
25
25
|
}),
|
|
26
|
+
Any: DB.EnumCase({
|
|
27
|
+
comment: "Any advanced special ability is possible.",
|
|
28
|
+
type: null,
|
|
29
|
+
}),
|
|
26
30
|
}),
|
|
27
31
|
});
|
|
28
32
|
const RestrictAdvancedSpecialAbilityOptions = DB.GenTypeAlias(import.meta.url, {
|
|
@@ -1082,6 +1082,7 @@ export declare const CombatStyleSpecialAbility: DB.Entity<"CombatStyleSpecialAbi
|
|
|
1082
1082
|
}>, []>>>;
|
|
1083
1083
|
}, []>>, false>;
|
|
1084
1084
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>;
|
|
1085
|
+
Any: DB.EnumCase<null>;
|
|
1085
1086
|
}, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, true>;
|
|
1086
1087
|
prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"GeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesForLevels", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteForLevel", DB.Object<{
|
|
1087
1088
|
level: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -1022,6 +1022,7 @@ export declare const LiturgicalStyleSpecialAbility: DB.Entity<"LiturgicalStyleSp
|
|
|
1022
1022
|
}>, []>>>;
|
|
1023
1023
|
}, []>>, false>;
|
|
1024
1024
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>;
|
|
1025
|
+
Any: DB.EnumCase<null>;
|
|
1025
1026
|
}, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, true>;
|
|
1026
1027
|
prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"GeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesForLevels", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteForLevel", DB.Object<{
|
|
1027
1028
|
level: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -1022,6 +1022,7 @@ export declare const MagicStyleSpecialAbility: DB.Entity<"MagicStyleSpecialAbili
|
|
|
1022
1022
|
}>, []>>>;
|
|
1023
1023
|
}, []>>, false>;
|
|
1024
1024
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>;
|
|
1025
|
+
Any: DB.EnumCase<null>;
|
|
1025
1026
|
}, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, true>;
|
|
1026
1027
|
prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"GeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesForLevels", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteForLevel", DB.Object<{
|
|
1027
1028
|
level: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -968,6 +968,7 @@ export declare const SkillStyleSpecialAbility: DB.Entity<"SkillStyleSpecialAbili
|
|
|
968
968
|
}>, []>>>;
|
|
969
969
|
}, []>>, false>;
|
|
970
970
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>;
|
|
971
|
+
Any: DB.EnumCase<null>;
|
|
971
972
|
}, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, true>;
|
|
972
973
|
prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"GeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesForLevels", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteForLevel", DB.Object<{
|
|
973
974
|
level: DB.MemberDecl<DB.Integer, true>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0",
|
|
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",
|