optolith-database-schema 0.1.9 → 0.1.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,22 @@
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.12](https://github.com/elyukai/optolith-database-schema/compare/v0.1.11...v0.1.12) (2022-03-16)
6
+
7
+ ### [0.1.11](https://github.com/elyukai/optolith-database-schema/compare/v0.1.10...v0.1.11) (2022-03-16)
8
+
9
+
10
+ ### Features
11
+
12
+ * add numeric ae cost field to ancestor glyphs ([d8e36d9](https://github.com/elyukai/optolith-database-schema/commit/d8e36d9a8a583cb57f72bbb4224ab8e10d7943c8))
13
+
14
+ ### [0.1.10](https://github.com/elyukai/optolith-database-schema/compare/v0.1.9...v0.1.10) (2022-03-16)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * main type refs and titles ([3abec4e](https://github.com/elyukai/optolith-database-schema/commit/3abec4e47ec3356d770d45c1e47ddb5c2e0fb9e4))
20
+
5
21
  ### [0.1.9](https://github.com/elyukai/optolith-database-schema/compare/v0.1.8...v0.1.9) (2022-03-16)
6
22
 
7
23
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @main Spell
2
+ * @main Cantrip
3
3
  */
4
4
  import { Errata } from "./source/_Erratum.js";
5
5
  import { PublicationRefs } from "./source/_PublicationRef.js";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @main Spell
2
+ * @main Cantrip
3
3
  */
4
4
  import { validateSchemaCreator } from "../validation/schema.js";
5
5
  export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -14,6 +14,12 @@ export declare type AncestorGlyph = {
14
14
  select_options?: Activatable.SelectOptions;
15
15
  maximum?: Activatable.Maximum;
16
16
  prerequisites?: GeneralPrerequisites;
17
+ /**
18
+ * The AE cost of the ancestor glyph.
19
+ * @integer
20
+ * @minimum 1
21
+ */
22
+ ae_cost: number;
17
23
  ap_value: Activatable.AdventurePointsValue;
18
24
  src: PublicationRefs;
19
25
  /**
@@ -11,7 +11,7 @@ import { GeneralPrerequisites } from "../_Prerequisite.js";
11
11
  export declare type BrawlingSpecialAbility = {
12
12
  id: Activatable.Id;
13
13
  levels?: Activatable.Levels;
14
- type: Activatable.CombatSpecialAbilityType;
14
+ usage_type: Activatable.CombatSpecialAbilityType;
15
15
  select_options?: Activatable.SelectOptions;
16
16
  maximum?: Activatable.Maximum;
17
17
  prerequisites?: GeneralPrerequisites;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.1.9",
3
+ "version": "0.1.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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema",
3
3
  "$id": "/Cantrip.schema.json",
4
- "$ref": "#/definitions/Spell",
4
+ "$ref": "#/definitions/Cantrip",
5
5
  "definitions": {
6
6
  "Cantrip": {
7
7
  "title": "Cantrip",
@@ -22,6 +22,11 @@
22
22
  "prerequisites": {
23
23
  "$ref": "../_Prerequisite.schema.json#/definitions/GeneralPrerequisites"
24
24
  },
25
+ "ae_cost": {
26
+ "description": "The AE cost of the ancestor glyph.",
27
+ "type": "integer",
28
+ "minimum": 1
29
+ },
25
30
  "ap_value": {
26
31
  "$ref": "../_Activatable.schema.json#/definitions/AdventurePointsValue"
27
32
  },
@@ -61,6 +66,7 @@
61
66
  },
62
67
  "required": [
63
68
  "id",
69
+ "ae_cost",
64
70
  "ap_value",
65
71
  "src",
66
72
  "translations"
@@ -13,7 +13,7 @@
13
13
  "levels": {
14
14
  "$ref": "../_Activatable.schema.json#/definitions/Levels"
15
15
  },
16
- "type": {
16
+ "usage_type": {
17
17
  "$ref": "../_Activatable.schema.json#/definitions/CombatSpecialAbilityType"
18
18
  },
19
19
  "select_options": {
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "required": [
69
69
  "id",
70
- "type",
70
+ "usage_type",
71
71
  "combat_techniques",
72
72
  "ap_value",
73
73
  "src",