optolith-database-schema 0.26.3 → 0.26.5
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 +23 -0
- package/gen/types.d.ts +89 -12
- package/lib/types/Advantage.js +1 -1
- package/lib/types/AnimalDisease.js +1 -1
- package/lib/types/AnimalType.js +1 -1
- package/lib/types/ArcaneBardTradition.js +1 -1
- package/lib/types/ArcaneDancerTradition.js +1 -1
- package/lib/types/Aspect.js +1 -1
- package/lib/types/Attribute.js +1 -1
- package/lib/types/Blessing.js +1 -1
- package/lib/types/Cantrip.js +1 -1
- package/lib/types/Ceremony.d.ts +34 -4
- package/lib/types/Ceremony.js +1 -1
- package/lib/types/CombatTechnique.js +2 -2
- package/lib/types/Condition.js +1 -1
- package/lib/types/Continent.js +1 -1
- package/lib/types/Culture.js +1 -1
- package/lib/types/DerivedCharacteristic.js +1 -1
- package/lib/types/Disadvantage.js +1 -1
- package/lib/types/Disease.js +1 -1
- package/lib/types/Element.js +1 -1
- package/lib/types/ExperienceLevel.js +1 -1
- package/lib/types/EyeColor.js +1 -1
- package/lib/types/FamiliarsTrick.js +3 -1
- package/lib/types/HairColor.js +1 -1
- package/lib/types/HomunculusType.js +1 -1
- package/lib/types/Lessons.js +3 -3
- package/lib/types/LiturgicalChant.d.ts +34 -4
- package/lib/types/LiturgicalChant.js +1 -1
- package/lib/types/MetaCondition.js +1 -1
- package/lib/types/PactCategory.js +5 -5
- package/lib/types/Patron.js +1 -1
- package/lib/types/PatronCategory.js +1 -1
- package/lib/types/PersonalityTrait.js +1 -1
- package/lib/types/Profession.d.ts +14 -0
- package/lib/types/Profession.js +7 -7
- package/lib/types/Property.js +1 -1
- package/lib/types/Race.js +2 -3
- package/lib/types/Region.js +1 -1
- package/lib/types/Ritual.d.ts +34 -4
- package/lib/types/Ritual.js +1 -1
- package/lib/types/Service.js +1 -1
- package/lib/types/SexPractice.js +1 -1
- package/lib/types/Skill.js +2 -2
- package/lib/types/SkillGroup.js +1 -1
- package/lib/types/SkillModificationLevel.js +2 -2
- package/lib/types/SocialStatus.js +1 -1
- package/lib/types/Spell.d.ts +34 -4
- package/lib/types/Spell.js +1 -1
- package/lib/types/State.js +1 -1
- package/lib/types/Talisman.js +1 -1
- package/lib/types/TargetCategory.js +1 -1
- package/lib/types/_ActivatableAdventurePointsValue.js +3 -0
- package/lib/types/_ActivatableSelectOptions.js +2 -2
- package/lib/types/_ActivatableSkill.d.ts +70 -12
- package/lib/types/_ActivatableSkillApplicationsAndUses.js +4 -4
- package/lib/types/_ActivatableSkillCost.d.ts +66 -8
- package/lib/types/_ActivatableSkillCost.js +59 -15
- package/lib/types/_Enhancements.js +2 -2
- package/lib/types/_IdentifierGroup.d.ts +1 -0
- package/lib/types/_IdentifierGroup.js +1 -0
- package/lib/types/_Influence.js +1 -1
- package/lib/types/_SkillCheck.d.ts +1 -0
- package/lib/types/_SkillCheck.js +7 -18
- package/lib/types/equipment/EquipmentPackage.js +1 -1
- package/lib/types/equipment/item/Ammunition.js +1 -1
- package/lib/types/equipment/item/Animal.js +1 -1
- package/lib/types/equipment/item/AnimalCare.js +1 -1
- package/lib/types/equipment/item/Armor.js +1 -1
- package/lib/types/equipment/item/BandageOrRemedy.js +1 -1
- package/lib/types/equipment/item/Book.js +1 -1
- package/lib/types/equipment/item/CeremonialItem.js +1 -1
- package/lib/types/equipment/item/Clothes.js +1 -1
- package/lib/types/equipment/item/ClothingPackage.js +2 -2
- package/lib/types/equipment/item/Container.js +1 -1
- package/lib/types/equipment/item/Elixir.js +1 -1
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +1 -1
- package/lib/types/equipment/item/GemOrPreciousStone.js +1 -1
- package/lib/types/equipment/item/IlluminationLightSource.js +1 -1
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +1 -1
- package/lib/types/equipment/item/Jewelry.js +1 -1
- package/lib/types/equipment/item/Laboratory.js +1 -1
- package/lib/types/equipment/item/Liebesspielzeug.js +1 -1
- package/lib/types/equipment/item/LuxuryGood.js +1 -1
- package/lib/types/equipment/item/MagicalArtifact.js +1 -1
- package/lib/types/equipment/item/MusicalInstrument.js +1 -1
- package/lib/types/equipment/item/Newspaper.js +1 -1
- package/lib/types/equipment/item/Poison.js +1 -1
- package/lib/types/equipment/item/ToolOfTheTrade.js +1 -1
- package/lib/types/equipment/item/TravelGearOrTool.js +1 -1
- package/lib/types/equipment/item/Vehicle.js +1 -1
- package/lib/types/equipment/item/Weapon.js +1 -1
- package/lib/types/equipment/item/WeaponAccessory.js +1 -1
- package/lib/types/equipment/item/_Item.js +1 -1
- package/lib/types/equipment/item/sub/ArmorType.js +1 -1
- package/lib/types/equipment/item/sub/Reach.js +1 -1
- package/lib/types/magicalActions/AnimistPower.js +1 -1
- package/lib/types/magicalActions/AnimistPower_Tribe.js +1 -1
- package/lib/types/magicalActions/Curse.d.ts +1 -0
- package/lib/types/magicalActions/Curse.js +1 -1
- package/lib/types/magicalActions/DominationRitual.d.ts +1 -0
- package/lib/types/magicalActions/DominationRitual.js +1 -1
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -0
- package/lib/types/magicalActions/ElvenMagicalSong.js +1 -1
- package/lib/types/magicalActions/GeodeRitual.d.ts +4 -4
- package/lib/types/magicalActions/GeodeRitual.js +3 -3
- package/lib/types/magicalActions/JesterTrick.d.ts +1 -0
- package/lib/types/magicalActions/JesterTrick.js +1 -1
- package/lib/types/magicalActions/MagicalDance.js +1 -1
- package/lib/types/magicalActions/MagicalMelody.d.ts +1 -0
- package/lib/types/magicalActions/MagicalMelody.js +1 -1
- package/lib/types/magicalActions/MagicalRune.js +2 -2
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +5 -4
- package/lib/types/magicalActions/ZibiljaRitual.js +1 -1
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +29 -0
- package/lib/types/prerequisites/PrerequisiteGroups.js +1 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -0
- package/lib/types/rule/AlternativeRule.js +1 -1
- package/lib/types/rule/AlternativeRule_PlayerType.js +1 -1
- package/lib/types/rule/CoreRule.js +1 -1
- package/lib/types/rule/FocusRule.js +1 -1
- package/lib/types/rule/FocusRule_Subject.js +1 -1
- package/lib/types/rule/OptionalRule.js +1 -1
- package/lib/types/source/Publication.js +1 -1
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +1 -1
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +1 -1
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +1 -1
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +1 -1
- package/lib/types/specialAbility/AncestorGlyph.js +1 -1
- package/lib/types/specialAbility/BlessedTradition.js +1 -1
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +1 -1
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +1 -1
- package/lib/types/specialAbility/CombatSpecialAbility.js +1 -1
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +1 -1
- package/lib/types/specialAbility/CommandSpecialAbility.js +1 -1
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +1 -1
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +1 -1
- package/lib/types/specialAbility/FatePointSpecialAbility.js +1 -1
- package/lib/types/specialAbility/GeneralSpecialAbility.js +1 -1
- package/lib/types/specialAbility/KarmaSpecialAbility.js +1 -1
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +1 -1
- package/lib/types/specialAbility/LycantropicGift.js +1 -1
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +1 -1
- package/lib/types/specialAbility/MagicalSign.d.ts +4 -4
- package/lib/types/specialAbility/MagicalSign.js +3 -3
- package/lib/types/specialAbility/MagicalSpecialAbility.js +1 -1
- package/lib/types/specialAbility/MagicalTradition.js +1 -1
- package/lib/types/specialAbility/PactGift.js +1 -1
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +1 -1
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/Sermon.js +1 -1
- package/lib/types/specialAbility/SexSpecialAbility.js +1 -1
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +1 -1
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +1 -1
- package/lib/types/specialAbility/VampiricGift.js +1 -1
- package/lib/types/specialAbility/Vision.js +1 -1
- package/lib/types/specialAbility/sub/Language.js +2 -2
- package/lib/types/specialAbility/sub/Script.js +1 -1
- package/lib/types/specialAbility/sub/TradeSecret.js +4 -4
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/AttireEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/Beutelzauber.js +1 -1
- package/lib/types/traditionArtifacts/BowlEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/DaggerRitual.js +1 -1
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +3 -1
- package/lib/types/traditionArtifacts/Haubenzauber.js +1 -1
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +1 -1
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +1 -1
- package/lib/types/traditionArtifacts/OrbEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/RingEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/SickleRitual.js +1 -1
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/StaffEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/ToyEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +1 -1
- package/lib/types/traditionArtifacts/WandEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +1 -1
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +1 -1
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +1 -1
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +1 -1
- package/lib/types/traditionArtifacts/sub/Brew.js +1 -1
- package/package.json +2 -2
|
@@ -32,11 +32,11 @@ export declare const MagicalSign: Entity<"MagicalSign", {
|
|
|
32
32
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
33
33
|
permanent_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
34
34
|
}>, []>>>;
|
|
35
|
-
Map: EnumCase<IncludeIdentifier<[], TypeAlias<"
|
|
36
|
-
options: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"
|
|
35
|
+
Map: EnumCase<IncludeIdentifier<[], TypeAlias<"OneTimeCostMap", Object<{
|
|
36
|
+
options: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"OneTimeCostMapOption", Object<{
|
|
37
37
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
38
38
|
permanent_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
39
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"
|
|
39
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"OneTimeCostMapOptionTranslation", {
|
|
40
40
|
label: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"ResponsiveTextOptional", Object<{
|
|
41
41
|
full: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, true>;
|
|
42
42
|
compressed: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
@@ -47,7 +47,7 @@ export declare const MagicalSign: Entity<"MagicalSign", {
|
|
|
47
47
|
}>, []>>, false>;
|
|
48
48
|
}>, false>;
|
|
49
49
|
}>, []>>>, true>;
|
|
50
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"
|
|
50
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"OneTimeCostMapTranslation", {
|
|
51
51
|
list_prepend: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"ResponsiveTextOptional", Object<{
|
|
52
52
|
full: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, true>;
|
|
53
53
|
compressed: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
@@ -2,7 +2,7 @@ import { Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, R
|
|
|
2
2
|
import { effect, name, name_in_library } from "../_Activatable.js";
|
|
3
3
|
import { ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { propertyOptional } from "../_ActivatableNonMundane.js";
|
|
5
|
-
import {
|
|
5
|
+
import { OneTimeCostMap } from "../_ActivatableSkillCost.js";
|
|
6
6
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
7
7
|
import { NestedTranslationMap } from "../Locale.js";
|
|
8
8
|
import { Errata } from "../source/_Erratum.js";
|
|
@@ -35,7 +35,7 @@ export const MagicalSign = Entity(import.meta.url, {
|
|
|
35
35
|
}),
|
|
36
36
|
})),
|
|
37
37
|
}),
|
|
38
|
-
|
|
38
|
+
instanceDisplayName: {},
|
|
39
39
|
uniqueConstraints: [
|
|
40
40
|
{
|
|
41
41
|
entityMapKeyPath: "translations",
|
|
@@ -48,7 +48,7 @@ const MagicalSignCost = Enum(import.meta.url, {
|
|
|
48
48
|
name: "MagicalSignCost",
|
|
49
49
|
values: () => ({
|
|
50
50
|
Constant: EnumCase({ type: IncludeIdentifier(ConstantMagicalSignCost) }),
|
|
51
|
-
Map: EnumCase({ type: IncludeIdentifier(
|
|
51
|
+
Map: EnumCase({ type: IncludeIdentifier(OneTimeCostMap) }),
|
|
52
52
|
}),
|
|
53
53
|
});
|
|
54
54
|
const ConstantMagicalSignCost = TypeAlias(import.meta.url, {
|
|
@@ -1044,7 +1044,7 @@ export declare const ProtectiveWardingCircleSpecialAbility: Entity<"ProtectiveWa
|
|
|
1044
1044
|
name: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1045
1045
|
name_in_library: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
1046
1046
|
protective_circle: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1047
|
-
warding_circle: import("tsondb/schema/def").MemberDecl<String,
|
|
1047
|
+
warding_circle: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
1048
1048
|
ap_value_append: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
1049
1049
|
ap_value: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
1050
1050
|
errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Errata", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Erratum", Object<{
|
|
@@ -30,7 +30,7 @@ export const ProtectiveWardingCircleSpecialAbility = Entity(import.meta.url, {
|
|
|
30
30
|
comment: "The rules for the protective circle variant.",
|
|
31
31
|
type: String({ minLength: 1, isMarkdown: true }),
|
|
32
32
|
}),
|
|
33
|
-
warding_circle:
|
|
33
|
+
warding_circle: Optional({
|
|
34
34
|
comment: "The rules for the warding circle variant.",
|
|
35
35
|
type: String({ minLength: 1, isMarkdown: true }),
|
|
36
36
|
}),
|
|
@@ -41,7 +41,7 @@ export const ProtectiveWardingCircleSpecialAbility = Entity(import.meta.url, {
|
|
|
41
41
|
}),
|
|
42
42
|
})),
|
|
43
43
|
}),
|
|
44
|
-
|
|
44
|
+
instanceDisplayName: {},
|
|
45
45
|
uniqueConstraints: [
|
|
46
46
|
{
|
|
47
47
|
entityMapKeyPath: "translations",
|
|
@@ -47,7 +47,7 @@ export const Language = Entity(import.meta.url, {
|
|
|
47
47
|
}),
|
|
48
48
|
})),
|
|
49
49
|
}),
|
|
50
|
-
|
|
50
|
+
instanceDisplayName: {},
|
|
51
51
|
uniqueConstraints: [
|
|
52
52
|
{
|
|
53
53
|
entityMapKeyPath: "translations",
|
|
@@ -75,7 +75,7 @@ export const LanguageSpecialization = Entity(import.meta.url, {
|
|
|
75
75
|
})),
|
|
76
76
|
}),
|
|
77
77
|
parentReferenceKey: "parent",
|
|
78
|
-
|
|
78
|
+
instanceDisplayName: {},
|
|
79
79
|
});
|
|
80
80
|
const IndefiniteSpecializations = TypeAlias(import.meta.url, {
|
|
81
81
|
name: "IndefiniteSpecializations",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Boolean, Entity, Enum, EnumCase, IncludeIdentifier, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
|
|
2
|
+
import { name_in_library } from "../../_Activatable.js";
|
|
2
3
|
import { AdventurePointsDependingOnActiveInstances, FixedAdventurePointsValue, } from "../../_ActivatableAdventurePointsValue.js";
|
|
4
|
+
import { TradeSecretSelectOptionCategory } from "../../_ActivatableSelectOptionCategory.js";
|
|
5
|
+
import { explicit_select_options } from "../../_ActivatableSelectOptions.js";
|
|
3
6
|
import { PlainGeneralPrerequisites } from "../../_Prerequisite.js";
|
|
4
7
|
import { NestedTranslationMap } from "../../Locale.js";
|
|
5
8
|
import { Errata } from "../../source/_Erratum.js";
|
|
6
9
|
import { src } from "../../source/_PublicationRef.js";
|
|
7
|
-
import { name_in_library } from "../../_Activatable.js";
|
|
8
|
-
import { explicit_select_options } from "../../_ActivatableSelectOptions.js";
|
|
9
|
-
import { TradeSecretSelectOptionCategory } from "../../_ActivatableSelectOptionCategory.js";
|
|
10
10
|
export const TradeSecret = Entity(import.meta.url, {
|
|
11
11
|
name: "TradeSecret",
|
|
12
12
|
namePlural: "TradeSecrets",
|
|
@@ -45,7 +45,7 @@ export const TradeSecret = Entity(import.meta.url, {
|
|
|
45
45
|
}),
|
|
46
46
|
})),
|
|
47
47
|
}),
|
|
48
|
-
|
|
48
|
+
instanceDisplayName: {},
|
|
49
49
|
uniqueConstraints: [
|
|
50
50
|
{
|
|
51
51
|
entityMapKeyPath: "translations",
|
|
@@ -10,6 +10,8 @@ import { src } from "../source/_PublicationRef.js";
|
|
|
10
10
|
export const FoolsHatEnchantment = Entity(import.meta.url, {
|
|
11
11
|
name: "FoolsHatEnchantment",
|
|
12
12
|
namePlural: "FoolsHatEnchantments",
|
|
13
|
+
displayName: "Fool’s Hat Enchantment",
|
|
14
|
+
displayNamePlural: "Fool’s Hat Enchantments",
|
|
13
15
|
type: () => Object({
|
|
14
16
|
levels,
|
|
15
17
|
select_options,
|
|
@@ -37,7 +39,7 @@ export const FoolsHatEnchantment = Entity(import.meta.url, {
|
|
|
37
39
|
}),
|
|
38
40
|
})),
|
|
39
41
|
}),
|
|
40
|
-
|
|
42
|
+
instanceDisplayName: {},
|
|
41
43
|
uniqueConstraints: [
|
|
42
44
|
{
|
|
43
45
|
entityMapKeyPath: "translations",
|