@optolith/database-schema 0.47.1 → 0.47.3
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 +20 -0
- package/gen/types.d.ts +216 -96
- package/lib/types/Profession.js +1 -1
- package/lib/types/Race.d.ts +100 -52
- package/lib/types/Race.js +13 -4
- package/lib/types/Skill.d.ts +123 -0
- package/lib/types/Skill.js +2 -1
- package/lib/types/_ActivatableNonMundane.d.ts +4 -0
- package/lib/types/_ActivatableNonMundane.js +4 -0
- package/lib/types/magicalActions/AnimistPower.d.ts +13 -0
- package/lib/types/magicalActions/AnimistPower.js +5 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Beutelzauber.js +5 -18
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +4 -0
- package/lib/types/traditionArtifacts/DaggerRitual.js +5 -18
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Haubenzauber.js +5 -18
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +5 -18
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +5 -18
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/RingEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +4 -0
- package/lib/types/traditionArtifacts/SickleRitual.js +5 -18
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/StaffEnchantment.js +5 -23
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +5 -18
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/WandEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/_shared.d.ts +19 -0
- package/lib/types/traditionArtifacts/_shared.js +20 -0
- package/package.json +1 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const Beutelzauber = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "Beutelzauber",
|
|
13
12
|
namePlural: "Beutelzauber",
|
|
@@ -25,19 +24,7 @@ export const Beutelzauber = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("Beutelzauber"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const BowlEnchantment: DB.Entity<"BowlEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const BowlEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "BowlEnchantment",
|
|
13
12
|
namePlural: "BowlEnchantments",
|
|
@@ -25,19 +24,7 @@ export const BowlEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("BowlEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1270,6 +1270,10 @@ export declare const CauldronEnchantment: DB.Entity<"CauldronEnchantment", {
|
|
|
1270
1270
|
name: DB.MemberDecl<DB.String, true>;
|
|
1271
1271
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1272
1272
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1273
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1274
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1275
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1276
|
+
}>, []>>, false>;
|
|
1273
1277
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1275
1279
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { BrewIdentifier } from "../_Identifier.js";
|
|
8
8
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
9
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
10
|
-
import { Errata } from "../source/_Erratum.js";
|
|
11
9
|
import { src } from "../source/_PublicationRef.js";
|
|
10
|
+
import { translations } from "./_shared.js";
|
|
12
11
|
export const CauldronEnchantment = DB.Entity(import.meta.url, {
|
|
13
12
|
name: "CauldronEnchantment",
|
|
14
13
|
namePlural: "CauldronEnchantments",
|
|
@@ -30,19 +29,7 @@ export const CauldronEnchantment = DB.Entity(import.meta.url, {
|
|
|
30
29
|
property: property(),
|
|
31
30
|
ap_value,
|
|
32
31
|
src,
|
|
33
|
-
translations:
|
|
34
|
-
name,
|
|
35
|
-
name_in_library,
|
|
36
|
-
effect,
|
|
37
|
-
bindingCost,
|
|
38
|
-
aeCost,
|
|
39
|
-
volume: volume_l10n,
|
|
40
|
-
ap_value_append,
|
|
41
|
-
ap_value: ap_value_l10n,
|
|
42
|
-
errata: DB.Optional({
|
|
43
|
-
type: DB.IncludeIdentifier(Errata),
|
|
44
|
-
}),
|
|
45
|
-
})),
|
|
32
|
+
translations: translations("CauldronEnchantment"),
|
|
46
33
|
}),
|
|
47
34
|
instanceDisplayName: {},
|
|
48
35
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const ChronicleEnchantment: DB.Entity<"ChronicleEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const ChronicleEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "ChronicleEnchantment",
|
|
13
12
|
namePlural: "ChronicleEnchantments",
|
|
@@ -25,19 +24,7 @@ export const ChronicleEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("ChronicleEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1276,6 +1276,10 @@ export declare const DaggerRitual: DB.Entity<"DaggerRitual", {
|
|
|
1276
1276
|
name: DB.MemberDecl<DB.String, true>;
|
|
1277
1277
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1278
1278
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1279
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1280
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1281
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1282
|
+
}>, []>>, false>;
|
|
1279
1283
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1280
1284
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1281
1285
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ArcaneEnergyCost, BindingCost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const DaggerRitual = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "DaggerRitual",
|
|
13
12
|
namePlural: "DaggerRituals",
|
|
@@ -27,19 +26,7 @@ export const DaggerRitual = DB.Entity(import.meta.url, {
|
|
|
27
26
|
property: property(),
|
|
28
27
|
ap_value,
|
|
29
28
|
src,
|
|
30
|
-
translations:
|
|
31
|
-
name,
|
|
32
|
-
name_in_library,
|
|
33
|
-
effect,
|
|
34
|
-
bindingCost,
|
|
35
|
-
aeCost,
|
|
36
|
-
volume: volume_l10n,
|
|
37
|
-
ap_value_append,
|
|
38
|
-
ap_value: ap_value_l10n,
|
|
39
|
-
errata: DB.Optional({
|
|
40
|
-
type: DB.IncludeIdentifier(Errata),
|
|
41
|
-
}),
|
|
42
|
-
})),
|
|
29
|
+
translations: translations("DaggerRitual"),
|
|
43
30
|
}),
|
|
44
31
|
instanceDisplayName: {},
|
|
45
32
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const FoolsHatEnchantment: DB.Entity<"FoolsHatEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const FoolsHatEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "FoolsHatEnchantment",
|
|
13
12
|
namePlural: "FoolsHatEnchantments",
|
|
@@ -27,19 +26,7 @@ export const FoolsHatEnchantment = DB.Entity(import.meta.url, {
|
|
|
27
26
|
property: property(),
|
|
28
27
|
ap_value,
|
|
29
28
|
src,
|
|
30
|
-
translations:
|
|
31
|
-
name,
|
|
32
|
-
name_in_library,
|
|
33
|
-
effect,
|
|
34
|
-
bindingCost,
|
|
35
|
-
aeCost,
|
|
36
|
-
volume: volume_l10n,
|
|
37
|
-
ap_value_append,
|
|
38
|
-
ap_value: ap_value_l10n,
|
|
39
|
-
errata: DB.Optional({
|
|
40
|
-
type: DB.IncludeIdentifier(Errata),
|
|
41
|
-
}),
|
|
42
|
-
})),
|
|
29
|
+
translations: translations("FoolsHatEnchantment"),
|
|
43
30
|
}),
|
|
44
31
|
instanceDisplayName: {},
|
|
45
32
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const Haubenzauber: DB.Entity<"Haubenzauber", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const Haubenzauber = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "Haubenzauber",
|
|
13
12
|
namePlural: "Haubenzauber",
|
|
@@ -25,19 +24,7 @@ export const Haubenzauber = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("Haubenzauber"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const InstrumentEnchantment: DB.Entity<"InstrumentEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const InstrumentEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "InstrumentEnchantment",
|
|
13
12
|
namePlural: "InstrumentEnchantments",
|
|
@@ -25,19 +24,7 @@ export const InstrumentEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("InstrumentEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const Krallenkettenzauber: DB.Entity<"Krallenkettenzauber", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const Krallenkettenzauber = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "Krallenkettenzauber",
|
|
13
12
|
namePlural: "Krallenkettenzauber",
|
|
@@ -25,19 +24,7 @@ export const Krallenkettenzauber = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("Krallenkettenzauber"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const Kristallkugelzauber: DB.Entity<"Kristallkugelzauber", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const Kristallkugelzauber = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "Kristallkugelzauber",
|
|
13
12
|
namePlural: "Kristallkugelzauber",
|
|
@@ -25,19 +24,7 @@ export const Kristallkugelzauber = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("Kristallkugelzauber"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const OrbEnchantment: DB.Entity<"OrbEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const OrbEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "OrbEnchantment",
|
|
13
12
|
namePlural: "OrbEnchantments",
|
|
@@ -25,19 +24,7 @@ export const OrbEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("OrbEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const RingEnchantment: DB.Entity<"RingEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const RingEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "RingEnchantment",
|
|
13
12
|
namePlural: "RingEnchantments",
|
|
@@ -25,19 +24,7 @@ export const RingEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("RingEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const SickleRitual: DB.Entity<"SickleRitual", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|