@optolith/database-schema 0.100.0 → 0.101.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 +18 -0
- package/gen/types.d.ts +87 -10
- package/lib/types/Culture.d.ts +312 -152
- package/lib/types/Locale.d.ts +5 -1
- package/lib/types/Locale.js +2 -0
- package/lib/types/Profession.d.ts +675 -355
- package/lib/types/Race.d.ts +624 -304
- package/lib/types/_ActivatableCombat.d.ts +2 -2
- package/lib/types/_ActivatableCombat.js +5 -5
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +80 -2
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +58 -3
- package/lib/types/equipment/item/ItemComponent.d.ts +1 -0
- package/lib/types/equipment/item/ItemComponent.js +16 -13
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +19 -0
- package/lib/types/prerequisites/PrerequisiteGroups.js +1 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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.101.0](https://github.com/Optolith/database-schema/compare/v0.100.0...v0.101.0) (2026-10-14)
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* add rule prerequisite to professions
|
|
10
|
+
* grouped commonness-rated entries
|
|
11
|
+
* improve advanced special abilities and item components for rendering
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add rule prerequisite to professions ([9e2f929](https://github.com/Optolith/database-schema/commit/9e2f929f8bff22478200ba7dfcff76c5a26a0b89)), closes [#206](https://github.com/Optolith/database-schema/issues/206)
|
|
16
|
+
* grouped commonness-rated entries ([29fe163](https://github.com/Optolith/database-schema/commit/29fe16309babd830c1215dcb6afa50635bc9c98d)), closes [#207](https://github.com/Optolith/database-schema/issues/207)
|
|
17
|
+
* improve advanced special abilities and item components for rendering ([d3a96f1](https://github.com/Optolith/database-schema/commit/d3a96f17971f78fd72ee008bc36d74f14087a8a7))
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* item component can have a weight ([ebd8fce](https://github.com/Optolith/database-schema/commit/ebd8fce3697fc471c5bd7ae1634f5137ef2ae2db))
|
|
22
|
+
|
|
5
23
|
## [0.100.0](https://github.com/Optolith/database-schema/compare/v0.99.0...v0.100.0) (2026-10-14)
|
|
6
24
|
|
|
7
25
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ export type EnumMap = {
|
|
|
298
298
|
CombatTechniquesSelectOptionCategoryCategory: CombatTechniquesSelectOptionCategoryCategory
|
|
299
299
|
CombatUse: CombatUse
|
|
300
300
|
CommonCantripNote: CommonCantripNote
|
|
301
|
+
CommonnessRatedAdvantageDisadvantage: CommonnessRatedAdvantageDisadvantage<unknown>
|
|
301
302
|
CommonnessRatedAdvantageDisadvantageLevel: CommonnessRatedAdvantageDisadvantageLevel
|
|
302
303
|
CommonnessSelectOptionIdentifier: CommonnessSelectOptionIdentifier
|
|
303
304
|
CommonnessWeight: CommonnessWeight
|
|
@@ -616,7 +617,7 @@ export type TypeAliasMap = {
|
|
|
616
617
|
CommonName: CommonName
|
|
617
618
|
CommonNameGroup: CommonNameGroup
|
|
618
619
|
CommonNames: CommonNames
|
|
619
|
-
|
|
620
|
+
CommonnessRatedAdvantageDisadvantageGroup: CommonnessRatedAdvantageDisadvantageGroup<unknown>
|
|
620
621
|
CommonnessRatedSkill: CommonnessRatedSkill
|
|
621
622
|
CommonProfessionConstraints: CommonProfessionConstraints<unknown>
|
|
622
623
|
ComplexComplexity: ComplexComplexity
|
|
@@ -768,6 +769,7 @@ export type TypeAliasMap = {
|
|
|
768
769
|
InvaluableCost: InvaluableCost
|
|
769
770
|
ItemComponentBaseItemModifications: ItemComponentBaseItemModifications
|
|
770
771
|
ItemComponentCostByCombatTechnique: ItemComponentCostByCombatTechnique
|
|
772
|
+
ItemComponentCostByCombatTechniqueTranslation: ItemComponentCostByCombatTechniqueTranslation
|
|
771
773
|
ItemComponentRules: ItemComponentRules
|
|
772
774
|
JesterTrickCastingTime: JesterTrickCastingTime
|
|
773
775
|
JesterTrickCost: JesterTrickCost
|
|
@@ -951,6 +953,8 @@ export type TypeAliasMap = {
|
|
|
951
953
|
ShamanisticBlessedTradition: ShamanisticBlessedTradition
|
|
952
954
|
Since: Since
|
|
953
955
|
SingleBannzeichenCost: SingleBannzeichenCost
|
|
956
|
+
SingleCommonnessRatedAdvantageDisadvantage: SingleCommonnessRatedAdvantageDisadvantage<unknown>
|
|
957
|
+
SingleCommonnessRatedAdvantageDisadvantageInGroup: SingleCommonnessRatedAdvantageDisadvantageInGroup<unknown>
|
|
954
958
|
SingleDerivedCharacteristicSkillCheckPenalty: SingleDerivedCharacteristicSkillCheckPenalty
|
|
955
959
|
SingleMagicalRuneCost: SingleMagicalRuneCost
|
|
956
960
|
SinglePenalty: SinglePenalty
|
|
@@ -2263,6 +2267,7 @@ export interface Locale {
|
|
|
2263
2267
|
"the SR for {$skill} combined must add up to at least {$minRating}": string & { __params: { "skill": string; "minRating": string } }
|
|
2264
2268
|
".input {$minRating :number} {{{$count} on at least SR {$minRating}: {$list}}}": string & { __params: { "minRating": number; "count": string; "list": string } }
|
|
2265
2269
|
".input {$count :number} .input {$minRating :number} {{{$count} arcane works with the property {$property} at SR {$minRating} or higher}}": string & { __params: { "count": number; "minRating": number; "property": string } }
|
|
2270
|
+
".input {$count :number} {{at least {$count} arcane works with properties for {$specialAbility}}}": string & { __params: { "count": number; "specialAbility": string } }
|
|
2266
2271
|
".input {$count :number} .input {$minRating :number} {{{$count} liturgical chants and ceremonies with the aspect {$aspect} at SR {$minRating} or higher}}": string & { __params: { "count": number; "minRating": number; "aspect": string } }
|
|
2267
2272
|
".input {$count :number} {{{$count} of the following skills}}": string & { __params: { "count": number } }
|
|
2268
2273
|
".input {$count :number} {{{$count} combat techniques}}": string & { __params: { "count": number } }
|
|
@@ -2704,6 +2709,7 @@ export interface Locale {
|
|
|
2704
2709
|
"Pieces of Armor": string
|
|
2705
2710
|
"Weapon Accessories": string
|
|
2706
2711
|
"Armor Accessories": string
|
|
2712
|
+
"Item Components": string
|
|
2707
2713
|
"Clothes": string
|
|
2708
2714
|
"Clothing Packages for Social Status": string
|
|
2709
2715
|
"Travel Gear and Tools": string
|
|
@@ -9821,6 +9827,10 @@ export type ProfessionPrerequisiteGroup =
|
|
|
9821
9827
|
kind: "Culture"
|
|
9822
9828
|
Culture: CulturePrerequisite
|
|
9823
9829
|
}
|
|
9830
|
+
| {
|
|
9831
|
+
kind: "Rule"
|
|
9832
|
+
Rule: RulePrerequisite
|
|
9833
|
+
}
|
|
9824
9834
|
| {
|
|
9825
9835
|
kind: "Activatable"
|
|
9826
9836
|
Activatable: ActivatablePrerequisite
|
|
@@ -12511,14 +12521,9 @@ export interface SpecificApplicableCombatTechnique {
|
|
|
12511
12521
|
/**
|
|
12512
12522
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
12513
12523
|
*/
|
|
12514
|
-
|
|
12524
|
+
translations?: {
|
|
12515
12525
|
[localeId: string]: SpecificApplicableCombatTechniqueTranslation
|
|
12516
12526
|
}
|
|
12517
|
-
|
|
12518
|
-
/**
|
|
12519
|
-
* The specific weapons this combat special ability is only applicable to.
|
|
12520
|
-
*/
|
|
12521
|
-
weapons?: Weapon_ID[]
|
|
12522
12527
|
}
|
|
12523
12528
|
|
|
12524
12529
|
export interface SpecificApplicableCombatTechniqueTranslation {
|
|
@@ -12543,6 +12548,11 @@ export interface ApplicableSpecificCombatTechniquesRestrictions {
|
|
|
12543
12548
|
level?: number
|
|
12544
12549
|
|
|
12545
12550
|
hasOneBluntSide?: boolean
|
|
12551
|
+
|
|
12552
|
+
/**
|
|
12553
|
+
* The specific weapons this combat special ability is only applicable to.
|
|
12554
|
+
*/
|
|
12555
|
+
weapons?: Weapon_ID[]
|
|
12546
12556
|
}
|
|
12547
12557
|
|
|
12548
12558
|
export interface Weapon {
|
|
@@ -21477,10 +21487,20 @@ export interface BlessedTraditionGroupConstraint {
|
|
|
21477
21487
|
rarity?: Rarity
|
|
21478
21488
|
}
|
|
21479
21489
|
|
|
21490
|
+
export type CommonnessRatedAdvantageDisadvantage<Identifier> =
|
|
21491
|
+
| {
|
|
21492
|
+
kind: "Single"
|
|
21493
|
+
Single: SingleCommonnessRatedAdvantageDisadvantage<Identifier>
|
|
21494
|
+
}
|
|
21495
|
+
| {
|
|
21496
|
+
kind: "Group"
|
|
21497
|
+
Group: CommonnessRatedAdvantageDisadvantageGroup<Identifier>
|
|
21498
|
+
}
|
|
21499
|
+
|
|
21480
21500
|
/**
|
|
21481
21501
|
* Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.
|
|
21482
21502
|
*/
|
|
21483
|
-
export interface
|
|
21503
|
+
export interface SingleCommonnessRatedAdvantageDisadvantage<Identifier> {
|
|
21484
21504
|
/**
|
|
21485
21505
|
* The advantage’s or disadvantage’s identifier.
|
|
21486
21506
|
*/
|
|
@@ -21500,11 +21520,11 @@ export interface CommonnessRatedAdvantageDisadvantage<Identifier> {
|
|
|
21500
21520
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
21501
21521
|
*/
|
|
21502
21522
|
translations?: {
|
|
21503
|
-
[localeId: string]:
|
|
21523
|
+
[localeId: string]: SingleCommonnessRatedAdvantageDisadvantageTranslation
|
|
21504
21524
|
}
|
|
21505
21525
|
}
|
|
21506
21526
|
|
|
21507
|
-
export interface
|
|
21527
|
+
export interface SingleCommonnessRatedAdvantageDisadvantageTranslation {
|
|
21508
21528
|
/**
|
|
21509
21529
|
* The options the commonness rating applies to. This can be specified if plain options cannot exactly describe the options as written in the publication.
|
|
21510
21530
|
*/
|
|
@@ -22163,6 +22183,47 @@ export type TradeSecretAdventurePointsValue =
|
|
|
22163
22183
|
DependingOnActiveInstances: AdventurePointsDependingOnActiveInstances
|
|
22164
22184
|
}
|
|
22165
22185
|
|
|
22186
|
+
/**
|
|
22187
|
+
* Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.
|
|
22188
|
+
*/
|
|
22189
|
+
export interface CommonnessRatedAdvantageDisadvantageGroup<Identifier> {
|
|
22190
|
+
list: SingleCommonnessRatedAdvantageDisadvantageInGroup<Identifier>[]
|
|
22191
|
+
|
|
22192
|
+
/**
|
|
22193
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
22194
|
+
*/
|
|
22195
|
+
translations: {
|
|
22196
|
+
[localeId: string]: CommonnessRatedAdvantageDisadvantageGroupTranslation
|
|
22197
|
+
}
|
|
22198
|
+
}
|
|
22199
|
+
|
|
22200
|
+
export interface CommonnessRatedAdvantageDisadvantageGroupTranslation {
|
|
22201
|
+
/**
|
|
22202
|
+
* The text replacing all entries in the group.
|
|
22203
|
+
*/
|
|
22204
|
+
text: string
|
|
22205
|
+
}
|
|
22206
|
+
|
|
22207
|
+
/**
|
|
22208
|
+
* Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.
|
|
22209
|
+
*/
|
|
22210
|
+
export interface SingleCommonnessRatedAdvantageDisadvantageInGroup<Identifier> {
|
|
22211
|
+
/**
|
|
22212
|
+
* The advantage’s or disadvantage’s identifier.
|
|
22213
|
+
*/
|
|
22214
|
+
id: Identifier
|
|
22215
|
+
|
|
22216
|
+
/**
|
|
22217
|
+
* The level of a commonness-rated advantage or disadvantage.
|
|
22218
|
+
*/
|
|
22219
|
+
level?: CommonnessRatedAdvantageDisadvantageLevel
|
|
22220
|
+
|
|
22221
|
+
/**
|
|
22222
|
+
* The options the commonness rating applies to.
|
|
22223
|
+
*/
|
|
22224
|
+
options?: CommonnessSelectOptionIdentifier[]
|
|
22225
|
+
}
|
|
22226
|
+
|
|
22166
22227
|
export type CommonnessRatedSkill = Skill_ID
|
|
22167
22228
|
|
|
22168
22229
|
export interface CulturalPackageItem {
|
|
@@ -26149,6 +26210,11 @@ export interface ItemComponent {
|
|
|
26149
26210
|
*/
|
|
26150
26211
|
cost: ItemComponentCost
|
|
26151
26212
|
|
|
26213
|
+
/**
|
|
26214
|
+
* The weight in kg.
|
|
26215
|
+
*/
|
|
26216
|
+
weight?: Weight
|
|
26217
|
+
|
|
26152
26218
|
/**
|
|
26153
26219
|
* The items the component can be applied to.
|
|
26154
26220
|
*/
|
|
@@ -26282,6 +26348,8 @@ export interface ItemComponentCostByCloseCombatTechnique {
|
|
|
26282
26348
|
}
|
|
26283
26349
|
}
|
|
26284
26350
|
|
|
26351
|
+
export type ItemComponentCostByCloseCombatTechniqueTranslation = ItemComponentCostByCombatTechniqueTranslation
|
|
26352
|
+
|
|
26285
26353
|
export interface ItemComponentCostByRangedCombatTechnique {
|
|
26286
26354
|
/**
|
|
26287
26355
|
* The cost in silverthalers for the ranged combat technique.
|
|
@@ -26296,6 +26364,15 @@ export interface ItemComponentCostByRangedCombatTechnique {
|
|
|
26296
26364
|
}
|
|
26297
26365
|
}
|
|
26298
26366
|
|
|
26367
|
+
export type ItemComponentCostByRangedCombatTechniqueTranslation = ItemComponentCostByCombatTechniqueTranslation
|
|
26368
|
+
|
|
26369
|
+
export interface ItemComponentCostByCombatTechniqueTranslation {
|
|
26370
|
+
/**
|
|
26371
|
+
* The label for cost, if different from the name of the combat technique.
|
|
26372
|
+
*/
|
|
26373
|
+
label: string
|
|
26374
|
+
}
|
|
26375
|
+
|
|
26299
26376
|
/**
|
|
26300
26377
|
* The items the component can be applied to.
|
|
26301
26378
|
*/
|