optolith-database-schema 0.1.13 → 0.1.14

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 [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.14](https://github.com/elyukai/optolith-database-schema/compare/v0.1.13...v0.1.14) (2022-03-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * multiple cantrip field definitions ([db26bb4](https://github.com/elyukai/optolith-database-schema/commit/db26bb4d540cc4eb497020302dde9cfdbe5c3950))
11
+
5
12
  ### [0.1.13](https://github.com/elyukai/optolith-database-schema/compare/v0.1.12...v0.1.13) (2022-03-16)
6
13
 
7
14
 
@@ -35,7 +35,7 @@ export declare type Cantrip = {
35
35
  * traditions, but usually one the academies and traditions are listed the
36
36
  * cantrip is most commonly teached in.
37
37
  */
38
- note: {
38
+ note?: {
39
39
  tag: "Exclusive";
40
40
  /**
41
41
  * The traditions the cantrip is exclusively available to.
@@ -83,31 +83,19 @@ export declare type Cantrip = {
83
83
  /**
84
84
  * @deprecated
85
85
  */
86
- casting_time: {
87
- full: string;
88
- abbr: string;
89
- };
86
+ casting_time: string;
90
87
  /**
91
88
  * @deprecated
92
89
  */
93
- cost: {
94
- full: string;
95
- abbr: string;
96
- };
90
+ cost: string;
97
91
  /**
98
92
  * @deprecated
99
93
  */
100
- range: {
101
- full: string;
102
- abbr: string;
103
- };
94
+ range: string;
104
95
  /**
105
96
  * @deprecated
106
97
  */
107
- duration: {
108
- full: string;
109
- abbr: string;
110
- };
98
+ duration: string;
111
99
  /**
112
100
  * @deprecated
113
101
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
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",
@@ -106,68 +106,16 @@
106
106
  "minLength": 1
107
107
  },
108
108
  "casting_time": {
109
- "type": "object",
110
- "properties": {
111
- "full": {
112
- "type": "string"
113
- },
114
- "abbr": {
115
- "type": "string"
116
- }
117
- },
118
- "required": [
119
- "full",
120
- "abbr"
121
- ],
122
- "additionalProperties": false
109
+ "type": "string"
123
110
  },
124
111
  "cost": {
125
- "type": "object",
126
- "properties": {
127
- "full": {
128
- "type": "string"
129
- },
130
- "abbr": {
131
- "type": "string"
132
- }
133
- },
134
- "required": [
135
- "full",
136
- "abbr"
137
- ],
138
- "additionalProperties": false
112
+ "type": "string"
139
113
  },
140
114
  "range": {
141
- "type": "object",
142
- "properties": {
143
- "full": {
144
- "type": "string"
145
- },
146
- "abbr": {
147
- "type": "string"
148
- }
149
- },
150
- "required": [
151
- "full",
152
- "abbr"
153
- ],
154
- "additionalProperties": false
115
+ "type": "string"
155
116
  },
156
117
  "duration": {
157
- "type": "object",
158
- "properties": {
159
- "full": {
160
- "type": "string"
161
- },
162
- "abbr": {
163
- "type": "string"
164
- }
165
- },
166
- "required": [
167
- "full",
168
- "abbr"
169
- ],
170
- "additionalProperties": false
118
+ "type": "string"
171
119
  },
172
120
  "target": {
173
121
  "type": "string"
@@ -200,7 +148,6 @@
200
148
  "parameters",
201
149
  "target",
202
150
  "property_id",
203
- "note",
204
151
  "src",
205
152
  "translations"
206
153
  ],