@optolith/database-schema 0.107.0 → 0.107.1
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,12 @@
|
|
|
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.107.1](https://github.com/Optolith/database-schema/compare/v0.107.0...v0.107.1) (2026-10-16)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* add trigger and type fields to magical artifacts ([e9cf0c7](https://github.com/Optolith/database-schema/commit/e9cf0c713c684e9248a8aa4d435c6739aaebcd6b))
|
|
10
|
+
|
|
5
11
|
## [0.107.0](https://github.com/Optolith/database-schema/compare/v0.106.1...v0.107.0) (2026-10-16)
|
|
6
12
|
|
|
7
13
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -27112,6 +27112,16 @@ export interface MagicalArtifactTranslation {
|
|
|
27112
27112
|
*/
|
|
27113
27113
|
cost?: string
|
|
27114
27114
|
|
|
27115
|
+
/**
|
|
27116
|
+
* How to trigger the effect of the artifact.
|
|
27117
|
+
*/
|
|
27118
|
+
trigger?: string
|
|
27119
|
+
|
|
27120
|
+
/**
|
|
27121
|
+
* The type of artifact.
|
|
27122
|
+
*/
|
|
27123
|
+
type?: string
|
|
27124
|
+
|
|
27115
27125
|
errata?: Errata
|
|
27116
27126
|
}
|
|
27117
27127
|
|
|
@@ -344,6 +344,8 @@ export declare const MagicalArtifact: DB.Entity<"MagicalArtifact", {
|
|
|
344
344
|
rules: DB.MemberDecl<DB.String, false>;
|
|
345
345
|
effect: DB.MemberDecl<DB.String, false>;
|
|
346
346
|
cost: DB.MemberDecl<DB.String, false>;
|
|
347
|
+
trigger: DB.MemberDecl<DB.String, false>;
|
|
348
|
+
type: DB.MemberDecl<DB.String, false>;
|
|
347
349
|
errata: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Errata", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"Erratum", DB.Object<{
|
|
348
350
|
date: DB.MemberDecl<DB.Date, true>;
|
|
349
351
|
description: DB.MemberDecl<DB.String, true>;
|
|
@@ -63,6 +63,14 @@ export const MagicalArtifact = DB.Entity(import.meta.url, {
|
|
|
63
63
|
comment: "Cost text.",
|
|
64
64
|
type: DB.String({ minLength: 1, markdown: "block" }),
|
|
65
65
|
}),
|
|
66
|
+
trigger: DB.Optional({
|
|
67
|
+
comment: "How to trigger the effect of the artifact.",
|
|
68
|
+
type: DB.String({ minLength: 1, markdown: "block" }),
|
|
69
|
+
}),
|
|
70
|
+
type: DB.Optional({
|
|
71
|
+
comment: "The type of artifact.",
|
|
72
|
+
type: DB.String({ minLength: 1, markdown: "block" }),
|
|
73
|
+
}),
|
|
66
74
|
errata: DB.Optional({
|
|
67
75
|
type: DB.IncludeIdentifier(Errata),
|
|
68
76
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.107.
|
|
3
|
+
"version": "0.107.1",
|
|
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",
|