optolith-database-schema 0.24.2 → 0.25.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 +24 -0
- package/gen/types.d.ts +23 -1
- package/lib/test.d.ts +1 -1
- package/lib/test.js +10 -1
- package/lib/types/Advantage.js +7 -0
- package/lib/types/AnimalDisease.js +6 -0
- package/lib/types/AnimalType.js +6 -0
- package/lib/types/ArcaneBardTradition.js +6 -0
- package/lib/types/ArcaneDancerTradition.js +6 -0
- package/lib/types/Aspect.js +6 -0
- package/lib/types/Attribute.js +10 -0
- package/lib/types/Blessing.js +6 -0
- package/lib/types/Cantrip.js +6 -0
- package/lib/types/Ceremony.js +6 -0
- package/lib/types/CombatTechnique.js +12 -0
- package/lib/types/Condition.js +6 -0
- package/lib/types/Continent.js +6 -0
- package/lib/types/Culture.js +6 -0
- package/lib/types/DerivedCharacteristic.js +10 -0
- package/lib/types/Disadvantage.js +7 -0
- package/lib/types/Disease.js +6 -0
- package/lib/types/Element.js +6 -0
- package/lib/types/ExperienceLevel.js +6 -0
- package/lib/types/EyeColor.js +6 -0
- package/lib/types/FamiliarsTrick.js +6 -0
- package/lib/types/HairColor.js +6 -0
- package/lib/types/Lessons.js +12 -0
- package/lib/types/LiturgicalChant.js +6 -0
- package/lib/types/Locale.js +10 -0
- package/lib/types/MetaCondition.js +6 -0
- package/lib/types/PactCategory.js +36 -0
- package/lib/types/Patron.js +6 -0
- package/lib/types/PatronCategory.js +6 -0
- package/lib/types/PersonalityTrait.js +6 -0
- package/lib/types/Profession.d.ts +3 -3
- package/lib/types/Profession.js +1 -1
- package/lib/types/Property.js +6 -0
- package/lib/types/Race.js +17 -0
- package/lib/types/Region.js +6 -0
- package/lib/types/Ritual.js +6 -0
- package/lib/types/Service.js +6 -0
- package/lib/types/SexPractice.js +6 -0
- package/lib/types/Skill.js +15 -0
- package/lib/types/SkillGroup.js +6 -0
- package/lib/types/SkillModificationLevel.js +8 -0
- package/lib/types/SocialStatus.js +7 -0
- package/lib/types/Spell.js +6 -0
- package/lib/types/State.js +6 -0
- package/lib/types/Talisman.js +6 -0
- package/lib/types/TargetCategory.js +6 -0
- package/lib/types/_ActivatableSelectOptions.js +11 -0
- package/lib/types/_Enhancements.js +11 -0
- package/lib/types/_Influence.js +6 -0
- package/lib/types/equipment/EquipmentPackage.js +6 -0
- package/lib/types/equipment/item/Ammunition.js +6 -0
- package/lib/types/equipment/item/Animal.js +6 -0
- package/lib/types/equipment/item/AnimalCare.js +6 -0
- package/lib/types/equipment/item/Armor.js +6 -0
- package/lib/types/equipment/item/BandageOrRemedy.js +6 -0
- package/lib/types/equipment/item/Book.js +6 -0
- package/lib/types/equipment/item/CeremonialItem.js +6 -0
- package/lib/types/equipment/item/Clothes.js +6 -0
- package/lib/types/equipment/item/Container.js +6 -0
- package/lib/types/equipment/item/Elixir.d.ts +1 -0
- package/lib/types/equipment/item/Elixir.js +10 -0
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +6 -0
- package/lib/types/equipment/item/GemOrPreciousStone.js +6 -0
- package/lib/types/equipment/item/IlluminationLightSource.js +6 -0
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +6 -0
- package/lib/types/equipment/item/Jewelry.js +6 -0
- package/lib/types/equipment/item/Laboratory.js +6 -0
- package/lib/types/equipment/item/Liebesspielzeug.js +6 -0
- package/lib/types/equipment/item/LuxuryGood.js +6 -0
- package/lib/types/equipment/item/MagicalArtifact.js +6 -0
- package/lib/types/equipment/item/MusicalInstrument.js +6 -0
- package/lib/types/equipment/item/Newspaper.js +6 -0
- package/lib/types/equipment/item/Poison.js +6 -0
- package/lib/types/equipment/item/ToolOfTheTrade.js +6 -0
- package/lib/types/equipment/item/TravelGearOrTool.js +6 -0
- package/lib/types/equipment/item/Vehicle.js +6 -0
- package/lib/types/equipment/item/Weapon.js +6 -0
- package/lib/types/equipment/item/WeaponAccessory.js +6 -0
- package/lib/types/equipment/item/_Item.js +6 -0
- package/lib/types/equipment/item/sub/ArmorType.js +6 -0
- package/lib/types/equipment/item/sub/Reach.js +6 -0
- package/lib/types/magicalActions/AnimistPower.js +6 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.js +6 -0
- package/lib/types/magicalActions/Curse.js +6 -0
- package/lib/types/magicalActions/DominationRitual.js +6 -0
- package/lib/types/magicalActions/ElvenMagicalSong.js +6 -0
- package/lib/types/magicalActions/GeodeRitual.js +6 -0
- package/lib/types/magicalActions/JesterTrick.js +6 -0
- package/lib/types/magicalActions/MagicalDance.js +6 -0
- package/lib/types/magicalActions/MagicalMelody.js +6 -0
- package/lib/types/magicalActions/MagicalRune.js +6 -0
- package/lib/types/magicalActions/ZibiljaRitual.js +6 -0
- package/lib/types/rule/AlternativeRule.js +6 -0
- package/lib/types/rule/CoreRule.js +6 -0
- package/lib/types/rule/FocusRule.js +6 -0
- package/lib/types/rule/FocusRule_Subject.js +6 -0
- package/lib/types/rule/OptionalRule.js +6 -0
- package/lib/types/source/Publication.js +6 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +7 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +7 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +7 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +7 -0
- package/lib/types/specialAbility/AncestorGlyph.js +7 -0
- package/lib/types/specialAbility/BlessedTradition.js +7 -0
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +7 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +12 -0
- package/lib/types/specialAbility/CombatSpecialAbility.js +7 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +7 -0
- package/lib/types/specialAbility/CommandSpecialAbility.js +7 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +7 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +7 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.js +7 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.js +7 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.js +7 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +7 -0
- package/lib/types/specialAbility/LycantropicGift.js +7 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +7 -0
- package/lib/types/specialAbility/MagicalSign.js +7 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.js +7 -0
- package/lib/types/specialAbility/MagicalTradition.js +7 -0
- package/lib/types/specialAbility/PactGift.js +7 -0
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +7 -0
- package/lib/types/specialAbility/Sermon.js +7 -0
- package/lib/types/specialAbility/SexSpecialAbility.js +7 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +7 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +7 -0
- package/lib/types/specialAbility/VampiricGift.js +7 -0
- package/lib/types/specialAbility/Vision.js +7 -0
- package/lib/types/specialAbility/sub/Language.js +6 -0
- package/lib/types/specialAbility/sub/Script.js +6 -0
- package/lib/types/specialAbility/sub/TradeSecret.js +6 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/Beutelzauber.js +7 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/DaggerRitual.js +7 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/Haubenzauber.js +7 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +7 -0
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +7 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/RingEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/SickleRitual.js +7 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +7 -0
- package/lib/types/traditionArtifacts/WandEnchantment.js +7 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +7 -0
- package/package.json +2 -2
|
@@ -38,4 +38,11 @@ export const BowlEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -43,4 +43,11 @@ export const CauldronEnchantment = Entity(import.meta.url, {
|
|
|
43
43
|
})),
|
|
44
44
|
}),
|
|
45
45
|
displayName: {},
|
|
46
|
+
uniqueConstraints: [
|
|
47
|
+
{
|
|
48
|
+
entityMapKeyPath: "translations",
|
|
49
|
+
keyPathInEntityMap: "name_in_library",
|
|
50
|
+
keyPathInEntityMapFallback: "name",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
46
53
|
});
|
|
@@ -38,4 +38,11 @@ export const ChronicleEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -40,6 +40,13 @@ export const DaggerRitual = Entity(import.meta.url, {
|
|
|
40
40
|
})),
|
|
41
41
|
}),
|
|
42
42
|
displayName: {},
|
|
43
|
+
uniqueConstraints: [
|
|
44
|
+
{
|
|
45
|
+
entityMapKeyPath: "translations",
|
|
46
|
+
keyPathInEntityMap: "name_in_library",
|
|
47
|
+
keyPathInEntityMapFallback: "name",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
43
50
|
});
|
|
44
51
|
const DaggerRitualCost = Enum(import.meta.url, {
|
|
45
52
|
name: "DaggerRitualCost",
|
|
@@ -38,4 +38,11 @@ export const FoolsHatEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const InstrumentEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const Krallenkettenzauber = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const Kristallkugelzauber = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const OrbEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const RingEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const SpellSwordEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -43,4 +43,11 @@ export const StaffEnchantment = Entity(import.meta.url, {
|
|
|
43
43
|
})),
|
|
44
44
|
}),
|
|
45
45
|
displayName: {},
|
|
46
|
+
uniqueConstraints: [
|
|
47
|
+
{
|
|
48
|
+
entityMapKeyPath: "translations",
|
|
49
|
+
keyPathInEntityMap: "name_in_library",
|
|
50
|
+
keyPathInEntityMapFallback: "name",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
46
53
|
});
|
|
@@ -38,4 +38,11 @@ export const ToyEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -38,4 +38,11 @@ export const Trinkhornzauber = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
|
@@ -37,4 +37,11 @@ export const WandEnchantment = Entity(import.meta.url, {
|
|
|
37
37
|
})),
|
|
38
38
|
}),
|
|
39
39
|
displayName: {},
|
|
40
|
+
uniqueConstraints: [
|
|
41
|
+
{
|
|
42
|
+
entityMapKeyPath: "translations",
|
|
43
|
+
keyPathInEntityMap: "name_in_library",
|
|
44
|
+
keyPathInEntityMapFallback: "name",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
40
47
|
});
|
|
@@ -38,4 +38,11 @@ export const WeaponEnchantment = Entity(import.meta.url, {
|
|
|
38
38
|
})),
|
|
39
39
|
}),
|
|
40
40
|
displayName: {},
|
|
41
|
+
uniqueConstraints: [
|
|
42
|
+
{
|
|
43
|
+
entityMapKeyPath: "translations",
|
|
44
|
+
keyPathInEntityMap: "name_in_library",
|
|
45
|
+
keyPathInEntityMapFallback: "name",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
41
48
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"license": "MPL-2.0",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@optolith/helpers": "^0.2.2",
|
|
44
|
-
"tsondb": "^0.
|
|
44
|
+
"tsondb": "^0.14.0",
|
|
45
45
|
"yaml": "^2.8.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|