optolith-database-schema 0.34.6 → 0.34.9
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
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
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.34.9](https://github.com/elyukai/optolith-database-schema/compare/v0.34.8...v0.34.9) (2026-03-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add circle of damnation as possible poison duration component ([d519e66](https://github.com/elyukai/optolith-database-schema/commit/d519e662b416a376824a1042bf0f11f7e9033017))
|
|
11
|
+
|
|
12
|
+
## [0.34.8](https://github.com/elyukai/optolith-database-schema/compare/v0.34.7...v0.34.8) (2026-03-09)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **cache:** handle added poison source type ([17d46f1](https://github.com/elyukai/optolith-database-schema/commit/17d46f17b45efe20e154e15a526a370e7b73a5c2))
|
|
18
|
+
|
|
19
|
+
## [0.34.7](https://github.com/elyukai/optolith-database-schema/compare/v0.34.6...v0.34.7) (2026-03-09)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add alchemical pact gift poison source type and make cost optional ([c32cb59](https://github.com/elyukai/optolith-database-schema/commit/c32cb594aa0cb7802511adb7ed13327e51620999)), closes [#88](https://github.com/elyukai/optolith-database-schema/issues/88)
|
|
25
|
+
|
|
5
26
|
## [0.34.6](https://github.com/elyukai/optolith-database-schema/compare/v0.34.5...v0.34.6) (2026-03-09)
|
|
6
27
|
|
|
7
28
|
|
package/gen/types.d.ts
CHANGED
|
@@ -22221,7 +22221,7 @@ export interface Poison {
|
|
|
22221
22221
|
/**
|
|
22222
22222
|
* Price for one dose, in silverthalers.
|
|
22223
22223
|
*/
|
|
22224
|
-
cost
|
|
22224
|
+
cost?: PoisonCost
|
|
22225
22225
|
|
|
22226
22226
|
/**
|
|
22227
22227
|
* References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
|
|
@@ -22288,6 +22288,9 @@ export type PoisonSourceType =
|
|
|
22288
22288
|
kind: "AlchemicalPoison"
|
|
22289
22289
|
AlchemicalPoison: AlchemicalPoison
|
|
22290
22290
|
}
|
|
22291
|
+
| {
|
|
22292
|
+
kind: "AlchemicalPactGiftPoison"
|
|
22293
|
+
}
|
|
22291
22294
|
| {
|
|
22292
22295
|
kind: "MineralPoison"
|
|
22293
22296
|
MineralPoison: MineralPoison
|
|
@@ -22712,6 +22715,9 @@ export type ExpressionBasedPoisonTimeExpressionValue =
|
|
|
22712
22715
|
kind: "Dice"
|
|
22713
22716
|
Dice: Dice
|
|
22714
22717
|
}
|
|
22718
|
+
| {
|
|
22719
|
+
kind: "CircleOfDamnation"
|
|
22720
|
+
}
|
|
22715
22721
|
|
|
22716
22722
|
export type PoisonCost =
|
|
22717
22723
|
| {
|
|
@@ -553,6 +553,7 @@ const getDerivedSelectOptions = (selectOptionCategory, entryId, database, idMap)
|
|
|
553
553
|
return assertExhaustive(poison.source_type.AnimalVenom.level);
|
|
554
554
|
}
|
|
555
555
|
case "AlchemicalPoison":
|
|
556
|
+
case "AlchemicalPactGiftPoison":
|
|
556
557
|
return 6;
|
|
557
558
|
case "MineralPoison":
|
|
558
559
|
return poison.source_type.MineralPoison.level;
|
|
@@ -133,6 +133,7 @@ export declare const Poison: DB.Entity<"Poison", {
|
|
|
133
133
|
brewing_process_prerequisites: DB.MemberDecl<DB.String, false>;
|
|
134
134
|
}>, true>;
|
|
135
135
|
}>, []>>>;
|
|
136
|
+
AlchemicalPactGiftPoison: DB.EnumCase<null>;
|
|
136
137
|
MineralPoison: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"MineralPoison", DB.Object<{
|
|
137
138
|
level: DB.MemberDecl<DB.Integer, true>;
|
|
138
139
|
}>, []>>>;
|
|
@@ -253,7 +254,7 @@ export declare const Poison: DB.Entity<"Poison", {
|
|
|
253
254
|
description: DB.MemberDecl<DB.String, true>;
|
|
254
255
|
}>, true>;
|
|
255
256
|
}>, []>>>;
|
|
256
|
-
}, []>>,
|
|
257
|
+
}, []>>, false>;
|
|
257
258
|
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
258
259
|
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
259
260
|
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
@@ -360,6 +361,7 @@ export declare const ExpressionBasedPoisonTimeExpressionValue: DB.Enum<"Expressi
|
|
|
360
361
|
number: DB.MemberDecl<DB.Integer, true>;
|
|
361
362
|
sides: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DieType", DB.Integer, []>>, true>;
|
|
362
363
|
}>, []>>>;
|
|
364
|
+
CircleOfDamnation: DB.EnumCase<null>;
|
|
363
365
|
}, []>;
|
|
364
366
|
export declare const IndefinitePoisonTime: DB.TypeAlias<"IndefinitePoisonTime", DB.Object<{
|
|
365
367
|
translations: DB.MemberDecl<DB.NestedEntityMap<"IndefinitePoisonTimeTranslation", {
|
|
@@ -39,7 +39,7 @@ export const Poison = DB.Entity(import.meta.url, {
|
|
|
39
39
|
comment: "The raw (ingredients) value per level, in silverthalers.",
|
|
40
40
|
type: DB.Integer({ minimum: 1 }),
|
|
41
41
|
}),
|
|
42
|
-
cost: DB.
|
|
42
|
+
cost: DB.Optional({
|
|
43
43
|
comment: "Price for one dose, in silverthalers.",
|
|
44
44
|
type: DB.IncludeIdentifier(PoisonCost),
|
|
45
45
|
}),
|
|
@@ -183,6 +183,7 @@ export const ExpressionBasedPoisonTimeExpressionValue = DB.Enum(import.meta.url,
|
|
|
183
183
|
values: () => ({
|
|
184
184
|
Constant: DB.EnumCase({ type: DB.Integer({ minimum: 1 }) }),
|
|
185
185
|
Dice: DB.EnumCase({ type: DB.IncludeIdentifier(Dice) }),
|
|
186
|
+
CircleOfDamnation: DB.EnumCase({ type: null }),
|
|
186
187
|
}),
|
|
187
188
|
});
|
|
188
189
|
const PoisonTimeUnit = DB.Enum(import.meta.url, {
|
|
@@ -210,6 +211,10 @@ const PoisonSourceType = DB.Enum(import.meta.url, {
|
|
|
210
211
|
values: () => ({
|
|
211
212
|
AnimalVenom: DB.EnumCase({ type: DB.IncludeIdentifier(AnimalVenom) }),
|
|
212
213
|
AlchemicalPoison: DB.EnumCase({ type: DB.IncludeIdentifier(AlchemicalPoison) }),
|
|
214
|
+
AlchemicalPactGiftPoison: DB.EnumCase({
|
|
215
|
+
comment: "An alchemical poison that is part of a pact gift and cannot be obtained or brewed by means typical for an alchemical poison.",
|
|
216
|
+
type: null,
|
|
217
|
+
}),
|
|
213
218
|
MineralPoison: DB.EnumCase({ type: DB.IncludeIdentifier(MineralPoison) }),
|
|
214
219
|
PlantPoison: DB.EnumCase({ type: DB.IncludeIdentifier(PlantPoison) }),
|
|
215
220
|
DemonicPoison: DB.EnumCase({ type: DB.IncludeIdentifier(DemonicPoison) }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.9",
|
|
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",
|