@ronin/compiler 0.13.5-leo-ron-1071-experimental-297 → 0.13.5
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/dist/index.d.ts +4 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -184,25 +184,22 @@ type ModelFieldBasics = {
|
|
184
184
|
};
|
185
185
|
type ModelField = (ModelFieldBasics & {
|
186
186
|
/** The kind of value that should be stored inside the field. */
|
187
|
-
type?:
|
187
|
+
type?: 'boolean' | 'date' | 'json';
|
188
188
|
}) | (ModelFieldBasics & {
|
189
189
|
/** The kind of value that should be stored inside the field. */
|
190
|
-
type
|
191
|
-
}) | (ModelFieldBasics & {
|
192
|
-
/** The kind of value that should be stored inside the field. */
|
193
|
-
type: 'string';
|
190
|
+
type?: 'string';
|
194
191
|
/** The collation sequence to use for the field value. */
|
195
192
|
collation?: ModelFieldCollation;
|
196
193
|
}) | (ModelFieldBasics & {
|
197
194
|
/** The kind of value that should be stored inside the field. */
|
198
|
-
type
|
195
|
+
type?: 'number';
|
199
196
|
/**
|
200
197
|
* Automatically increments the value of the field with every new inserted record.
|
201
198
|
*/
|
202
199
|
increment?: boolean;
|
203
200
|
}) | (ModelFieldBasics & {
|
204
201
|
/** The kind of value that should be stored inside the field. */
|
205
|
-
type
|
202
|
+
type?: 'link';
|
206
203
|
/** The target model of the relationship that is being established. */
|
207
204
|
target: string;
|
208
205
|
/** Whether the field should be related to one record, or many records. */
|