@x18n/core 0.1.6 → 0.1.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@x18n/core",
3
3
  "type": "module",
4
- "version": "0.1.6",
4
+ "version": "0.1.7",
5
5
  "description": "Runtime-neutral engine of x18n: domain model, plugin API and project analysis",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -111,6 +111,17 @@
111
111
  },
112
112
  "execute": {
113
113
  "type": "boolean"
114
+ },
115
+ "keySeparator": {
116
+ "anyOf": [
117
+ {
118
+ "type": "string",
119
+ "minLength": 1
120
+ },
121
+ {
122
+ "const": false
123
+ }
124
+ ]
114
125
  }
115
126
  },
116
127
  "required": [
@@ -136,11 +147,30 @@
136
147
  ],
137
148
  "type": "string"
138
149
  },
150
+ "keySeparator": {
151
+ "anyOf": [
152
+ {
153
+ "type": "string",
154
+ "minLength": 1
155
+ },
156
+ {
157
+ "const": false
158
+ }
159
+ ]
160
+ },
139
161
  "namespace": {
140
162
  "type": "object",
141
163
  "properties": {
142
164
  "separator": {
143
- "type": "string"
165
+ "anyOf": [
166
+ {
167
+ "type": "string",
168
+ "minLength": 1
169
+ },
170
+ {
171
+ "const": false
172
+ }
173
+ ]
144
174
  },
145
175
  "default": {
146
176
  "type": "string"
@@ -318,6 +348,9 @@
318
348
  "additionalProperties": false
319
349
  }
320
350
  },
351
+ "description": {
352
+ "type": "string"
353
+ },
321
354
  "factory": {
322
355
  "type": "boolean"
323
356
  },
@@ -73,6 +73,17 @@
73
73
  },
74
74
  "execute": {
75
75
  "type": "boolean"
76
+ },
77
+ "keySeparator": {
78
+ "anyOf": [
79
+ {
80
+ "type": "string",
81
+ "minLength": 1
82
+ },
83
+ {
84
+ "const": false
85
+ }
86
+ ]
76
87
  }
77
88
  },
78
89
  "required": [
@@ -85,7 +96,15 @@
85
96
  "type": "object",
86
97
  "properties": {
87
98
  "separator": {
88
- "type": "string"
99
+ "anyOf": [
100
+ {
101
+ "type": "string",
102
+ "minLength": 1
103
+ },
104
+ {
105
+ "const": false
106
+ }
107
+ ]
89
108
  },
90
109
  "default": {
91
110
  "type": "string"
@@ -124,6 +143,17 @@
124
143
  "flat"
125
144
  ],
126
145
  "type": "string"
146
+ },
147
+ "keySeparator": {
148
+ "anyOf": [
149
+ {
150
+ "type": "string",
151
+ "minLength": 1
152
+ },
153
+ {
154
+ "const": false
155
+ }
156
+ ]
127
157
  }
128
158
  },
129
159
  "required": [],
@@ -263,6 +293,9 @@
263
293
  "additionalProperties": false
264
294
  }
265
295
  },
296
+ "description": {
297
+ "type": "string"
298
+ },
266
299
  "factory": {
267
300
  "type": "boolean"
268
301
  },