optolith-database-schema 0.34.11 → 0.34.12
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,13 @@
|
|
|
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.12](https://github.com/elyukai/optolith-database-schema/compare/v0.34.11...v0.34.12) (2026-03-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* optional language and script for books ([3239e09](https://github.com/elyukai/optolith-database-schema/commit/3239e095392ff91811956ad8f9f022e057fa9763))
|
|
11
|
+
|
|
5
12
|
## [0.34.11](https://github.com/elyukai/optolith-database-schema/compare/v0.34.10...v0.34.11) (2026-03-10)
|
|
6
13
|
|
|
7
14
|
|
package/gen/types.d.ts
CHANGED
|
@@ -20010,14 +20010,14 @@ export interface BookTranslation {
|
|
|
20010
20010
|
secondary_name?: string
|
|
20011
20011
|
|
|
20012
20012
|
/**
|
|
20013
|
-
* The language the book is written in.
|
|
20013
|
+
* The language the book is written in, if specified.
|
|
20014
20014
|
*/
|
|
20015
|
-
language
|
|
20015
|
+
language?: string
|
|
20016
20016
|
|
|
20017
20017
|
/**
|
|
20018
|
-
* The script that was used for the book.
|
|
20018
|
+
* The script that was used for the book, if specified.
|
|
20019
20019
|
*/
|
|
20020
|
-
script
|
|
20020
|
+
script?: string
|
|
20021
20021
|
|
|
20022
20022
|
/**
|
|
20023
20023
|
* Note text.
|
|
@@ -132,8 +132,8 @@ export declare const Book: DB.Entity<"Book", {
|
|
|
132
132
|
translations: DB.MemberDecl<DB.NestedEntityMap<"BookTranslation", {
|
|
133
133
|
name: DB.MemberDecl<DB.String, true>;
|
|
134
134
|
secondary_name: DB.MemberDecl<DB.String, false>;
|
|
135
|
-
language: DB.MemberDecl<DB.String,
|
|
136
|
-
script: DB.MemberDecl<DB.String,
|
|
135
|
+
language: DB.MemberDecl<DB.String, false>;
|
|
136
|
+
script: DB.MemberDecl<DB.String, false>;
|
|
137
137
|
note: DB.MemberDecl<DB.String, false>;
|
|
138
138
|
rules: DB.MemberDecl<DB.String, false>;
|
|
139
139
|
errata: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Errata", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"Erratum", DB.Object<{
|
|
@@ -38,12 +38,12 @@ export const Book = DB.Entity(import.meta.url, {
|
|
|
38
38
|
comment: "An auxiliary name or label of the item, if available.",
|
|
39
39
|
type: DB.String({ minLength: 1 }),
|
|
40
40
|
}),
|
|
41
|
-
language: DB.
|
|
42
|
-
comment: "The language the book is written in.",
|
|
41
|
+
language: DB.Optional({
|
|
42
|
+
comment: "The language the book is written in, if specified.",
|
|
43
43
|
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
44
44
|
}),
|
|
45
|
-
script: DB.
|
|
46
|
-
comment: "The script that was used for the book.",
|
|
45
|
+
script: DB.Optional({
|
|
46
|
+
comment: "The script that was used for the book, if specified.",
|
|
47
47
|
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
48
48
|
}),
|
|
49
49
|
note: DB.Optional({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.12",
|
|
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",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"license": "MPL-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@elyukai/utils": "^0.3.0",
|
|
42
|
-
"tsondb": "^0.19.
|
|
42
|
+
"tsondb": "^0.19.18",
|
|
43
43
|
"yaml": "^2.8.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@eslint/js": "^10.0.1",
|
|
47
|
-
"@types/node": "^25.
|
|
47
|
+
"@types/node": "^25.4.0",
|
|
48
48
|
"commit-and-tag-version": "^12.6.1",
|
|
49
49
|
"eslint": "^10.0.3",
|
|
50
50
|
"globals": "^17.4.0",
|
|
51
51
|
"nodemon": "^3.1.14",
|
|
52
52
|
"prettier": "^3.8.1",
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
|
-
"typescript-eslint": "^8.
|
|
54
|
+
"typescript-eslint": "^8.57.0"
|
|
55
55
|
},
|
|
56
56
|
"repository": "github:elyukai/optolith-database-schema",
|
|
57
57
|
"bugs": {
|