optolith-database-schema 0.13.0 → 0.13.2
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 +10 -0
- package/lib/types/UI.d.ts +14 -2
- package/lib/types/_I18n.d.ts +8 -0
- package/package.json +4 -4
- package/schema/UI.schema.json +56 -1
- package/schema/_I18n.schema.json +21 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.13.2](https://github.com/elyukai/optolith-database-schema/compare/v0.13.1...v0.13.2) (2023-10-31)
|
|
6
|
+
|
|
7
|
+
### [0.13.1](https://github.com/elyukai/optolith-database-schema/compare/v0.13.0...v0.13.1) (2023-10-31)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* add strings for main window and spellwork/magical action categories ([0fe96bc](https://github.com/elyukai/optolith-database-schema/commit/0fe96bcb9f300dddd21f8f9d02826e4c7e2cee31))
|
|
13
|
+
* translation strings can vary by operating system ([952a0aa](https://github.com/elyukai/optolith-database-schema/commit/952a0aa5bcc8296f15837270d54456e08b2d89b2))
|
|
14
|
+
|
|
5
15
|
## [0.13.0](https://github.com/elyukai/optolith-database-schema/compare/v0.12.1...v0.13.0) (2023-10-03)
|
|
6
16
|
|
|
7
17
|
|
package/lib/types/UI.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @main UI
|
|
3
3
|
*/
|
|
4
4
|
import { TypeConfig } from "../typeConfig.js";
|
|
5
|
-
import { PluralizationCategories } from "./_I18n.js";
|
|
5
|
+
import { PluralizationCategories, VaryBySystem } from "./_I18n.js";
|
|
6
6
|
import { NonEmptyString } from "./_NonEmptyString.js";
|
|
7
7
|
/**
|
|
8
8
|
* @title UI
|
|
@@ -15,7 +15,7 @@ export type UI = {
|
|
|
15
15
|
"Hide Others": NonEmptyString;
|
|
16
16
|
"Show All": NonEmptyString;
|
|
17
17
|
"Quit {0}": NonEmptyString;
|
|
18
|
-
"File": NonEmptyString;
|
|
18
|
+
"File": NonEmptyString | VaryBySystem;
|
|
19
19
|
"Close": NonEmptyString;
|
|
20
20
|
"Quit": NonEmptyString;
|
|
21
21
|
"Edit": NonEmptyString;
|
|
@@ -31,6 +31,7 @@ export type UI = {
|
|
|
31
31
|
"Window": NonEmptyString;
|
|
32
32
|
"Minimize": NonEmptyString;
|
|
33
33
|
"Zoom": NonEmptyString;
|
|
34
|
+
"Main Window": NonEmptyString;
|
|
34
35
|
"Bring All to Front": NonEmptyString;
|
|
35
36
|
"Settings": NonEmptyString;
|
|
36
37
|
"Main Language": NonEmptyString;
|
|
@@ -888,6 +889,17 @@ export type UI = {
|
|
|
888
889
|
"Ranged Combat": NonEmptyString;
|
|
889
890
|
"inlinewiki.special": NonEmptyString;
|
|
890
891
|
"inlinewiki.primaryattribute": NonEmptyString;
|
|
892
|
+
"Cantrips": NonEmptyString;
|
|
893
|
+
"Rituals": NonEmptyString;
|
|
894
|
+
"Curses": NonEmptyString;
|
|
895
|
+
"Elven Magical Songs": NonEmptyString;
|
|
896
|
+
"Domination Rituals": NonEmptyString;
|
|
897
|
+
"Magical Dances": NonEmptyString;
|
|
898
|
+
"Magical Melodies": NonEmptyString;
|
|
899
|
+
"Jester Tricks": NonEmptyString;
|
|
900
|
+
"Animist Powers": NonEmptyString;
|
|
901
|
+
"Geode Rituals": NonEmptyString;
|
|
902
|
+
"Zibilja Rituals": NonEmptyString;
|
|
891
903
|
"spells.addbtn": NonEmptyString;
|
|
892
904
|
"spells.header.name": NonEmptyString;
|
|
893
905
|
"spells.header.property": NonEmptyString;
|
package/lib/types/_I18n.d.ts
CHANGED
|
@@ -32,3 +32,11 @@ export type PluralizationCategories = {
|
|
|
32
32
|
many?: NonEmptyString;
|
|
33
33
|
other: NonEmptyString;
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* The item can be different for each operating system.
|
|
37
|
+
*/
|
|
38
|
+
export type VaryBySystem = {
|
|
39
|
+
mac: NonEmptyString;
|
|
40
|
+
windows: NonEmptyString;
|
|
41
|
+
linux: NonEmptyString;
|
|
42
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
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",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"ajv": "^8.12.0",
|
|
31
31
|
"ajv-formats": "^2.1.1",
|
|
32
|
-
"yaml": "^2.
|
|
32
|
+
"yaml": "^2.3.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/node": "^20.
|
|
35
|
+
"@types/node": "^20.8.10",
|
|
36
36
|
"optolith-tsjsonschemamd": "^0.9.4",
|
|
37
37
|
"standard-version": "^9.5.0",
|
|
38
|
-
"typescript": "^5.
|
|
38
|
+
"typescript": "^5.2.2"
|
|
39
39
|
},
|
|
40
40
|
"repository": "github:elyukai/optolith-database-schema",
|
|
41
41
|
"bugs": {
|
package/schema/UI.schema.json
CHANGED
|
@@ -29,7 +29,14 @@
|
|
|
29
29
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
30
30
|
},
|
|
31
31
|
"File": {
|
|
32
|
-
"
|
|
32
|
+
"oneOf": [
|
|
33
|
+
{
|
|
34
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"$ref": "./_I18n.schema.json#/$defs/VaryBySystem"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
33
40
|
},
|
|
34
41
|
"Close": {
|
|
35
42
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
@@ -76,6 +83,9 @@
|
|
|
76
83
|
"Zoom": {
|
|
77
84
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
78
85
|
},
|
|
86
|
+
"Main Window": {
|
|
87
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
88
|
+
},
|
|
79
89
|
"Bring All to Front": {
|
|
80
90
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
81
91
|
},
|
|
@@ -2100,6 +2110,39 @@
|
|
|
2100
2110
|
"inlinewiki.primaryattribute": {
|
|
2101
2111
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2102
2112
|
},
|
|
2113
|
+
"Cantrips": {
|
|
2114
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2115
|
+
},
|
|
2116
|
+
"Rituals": {
|
|
2117
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2118
|
+
},
|
|
2119
|
+
"Curses": {
|
|
2120
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2121
|
+
},
|
|
2122
|
+
"Elven Magical Songs": {
|
|
2123
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2124
|
+
},
|
|
2125
|
+
"Domination Rituals": {
|
|
2126
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2127
|
+
},
|
|
2128
|
+
"Magical Dances": {
|
|
2129
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2130
|
+
},
|
|
2131
|
+
"Magical Melodies": {
|
|
2132
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2133
|
+
},
|
|
2134
|
+
"Jester Tricks": {
|
|
2135
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2136
|
+
},
|
|
2137
|
+
"Animist Powers": {
|
|
2138
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2139
|
+
},
|
|
2140
|
+
"Geode Rituals": {
|
|
2141
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2142
|
+
},
|
|
2143
|
+
"Zibilja Rituals": {
|
|
2144
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2145
|
+
},
|
|
2103
2146
|
"spells.addbtn": {
|
|
2104
2147
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
2105
2148
|
},
|
|
@@ -2728,6 +2771,7 @@
|
|
|
2728
2771
|
"Window",
|
|
2729
2772
|
"Minimize",
|
|
2730
2773
|
"Zoom",
|
|
2774
|
+
"Main Window",
|
|
2731
2775
|
"Bring All to Front",
|
|
2732
2776
|
"Settings",
|
|
2733
2777
|
"Main Language",
|
|
@@ -3384,6 +3428,17 @@
|
|
|
3384
3428
|
"Ranged Combat",
|
|
3385
3429
|
"inlinewiki.special",
|
|
3386
3430
|
"inlinewiki.primaryattribute",
|
|
3431
|
+
"Cantrips",
|
|
3432
|
+
"Rituals",
|
|
3433
|
+
"Curses",
|
|
3434
|
+
"Elven Magical Songs",
|
|
3435
|
+
"Domination Rituals",
|
|
3436
|
+
"Magical Dances",
|
|
3437
|
+
"Magical Melodies",
|
|
3438
|
+
"Jester Tricks",
|
|
3439
|
+
"Animist Powers",
|
|
3440
|
+
"Geode Rituals",
|
|
3441
|
+
"Zibilja Rituals",
|
|
3387
3442
|
"spells.addbtn",
|
|
3388
3443
|
"spells.header.name",
|
|
3389
3444
|
"spells.header.property",
|
package/schema/_I18n.schema.json
CHANGED
|
@@ -29,6 +29,27 @@
|
|
|
29
29
|
"other"
|
|
30
30
|
],
|
|
31
31
|
"additionalProperties": false
|
|
32
|
+
},
|
|
33
|
+
"VaryBySystem": {
|
|
34
|
+
"description": "The item can be different for each operating system.",
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"mac": {
|
|
38
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
39
|
+
},
|
|
40
|
+
"windows": {
|
|
41
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
42
|
+
},
|
|
43
|
+
"linux": {
|
|
44
|
+
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": [
|
|
48
|
+
"mac",
|
|
49
|
+
"windows",
|
|
50
|
+
"linux"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false
|
|
32
53
|
}
|
|
33
54
|
}
|
|
34
55
|
}
|