optolith-database-schema 0.1.15 → 0.1.16
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,18 @@
|
|
|
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.1.16](https://github.com/elyukai/optolith-database-schema/compare/v0.1.15...v0.1.16) (2022-03-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* support countable entities for ae cost of elven magical songs ([2feb0de](https://github.com/elyukai/optolith-database-schema/commit/2feb0deed85b7e823597560fd83523556a283642))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* sex restriction of a name group from a culture should be optional ([e09f0b4](https://github.com/elyukai/optolith-database-schema/commit/e09f0b43d8b193303d67247a060fcaad8495a99f))
|
|
16
|
+
|
|
5
17
|
### [0.1.15](https://github.com/elyukai/optolith-database-schema/compare/v0.1.14...v0.1.15) (2022-03-16)
|
|
6
18
|
|
|
7
19
|
|
package/lib/types/Culture.d.ts
CHANGED
|
@@ -144,6 +144,34 @@ declare type PerformanceParameters = {
|
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
149
|
+
* @minProperties 1
|
|
150
|
+
*/
|
|
151
|
+
translations?: {
|
|
152
|
+
/**
|
|
153
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
154
|
+
* @minProperties 1
|
|
155
|
+
*/
|
|
156
|
+
[localeId: string]: {
|
|
157
|
+
/**
|
|
158
|
+
* The cost have to be per a specific countable entity, e.g. `8 AE
|
|
159
|
+
* per person`.
|
|
160
|
+
*/
|
|
161
|
+
per?: {
|
|
162
|
+
/**
|
|
163
|
+
* The full countable entity name.
|
|
164
|
+
* @minLength 1
|
|
165
|
+
*/
|
|
166
|
+
default: string;
|
|
167
|
+
/**
|
|
168
|
+
* The compressed countable entity name.
|
|
169
|
+
* @minLength 1
|
|
170
|
+
*/
|
|
171
|
+
compressed: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
147
175
|
};
|
|
148
176
|
};
|
|
149
177
|
export declare const validateSchema: import("../../validation/schema.js").TypeValidator<ElvenMagicalSong>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
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",
|
|
@@ -177,6 +177,43 @@
|
|
|
177
177
|
"value"
|
|
178
178
|
],
|
|
179
179
|
"additionalProperties": false
|
|
180
|
+
},
|
|
181
|
+
"translations": {
|
|
182
|
+
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
183
|
+
"type": "object",
|
|
184
|
+
"patternProperties": {
|
|
185
|
+
"^[a-z]{2}-[A-Z]{2}$": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"per": {
|
|
189
|
+
"description": "The cost have to be per a specific countable entity, e.g. `8 AE\nper person`.",
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"default": {
|
|
193
|
+
"description": "The full countable entity name.",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"minLength": 1
|
|
196
|
+
},
|
|
197
|
+
"compressed": {
|
|
198
|
+
"description": "The compressed countable entity name.",
|
|
199
|
+
"type": "string",
|
|
200
|
+
"minLength": 1
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"default",
|
|
205
|
+
"compressed"
|
|
206
|
+
],
|
|
207
|
+
"additionalProperties": false
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [],
|
|
211
|
+
"minProperties": 1,
|
|
212
|
+
"additionalProperties": false
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"minProperties": 1,
|
|
216
|
+
"additionalProperties": false
|
|
180
217
|
}
|
|
181
218
|
},
|
|
182
219
|
"required": [
|