@ronin/compiler 0.13.7-leo-ron-1071-experimental-299 → 0.13.7-leo-ron-1071-experimental-300
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 +8 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -182,34 +182,34 @@ type ModelFieldBasics = {
|
|
|
182
182
|
/** An expression that gets evaluated every time a value is provided for the field. */
|
|
183
183
|
check?: Expression;
|
|
184
184
|
};
|
|
185
|
-
type ModelField =
|
|
185
|
+
type ModelField = ModelFieldBasics & ({
|
|
186
186
|
/** The kind of value that should be stored inside the field. */
|
|
187
187
|
type?: never;
|
|
188
|
-
}
|
|
188
|
+
} | {
|
|
189
189
|
/** The kind of value that should be stored inside the field. */
|
|
190
190
|
type: 'boolean';
|
|
191
|
-
}
|
|
191
|
+
} | {
|
|
192
192
|
/** The kind of value that should be stored inside the field. */
|
|
193
193
|
type: 'date';
|
|
194
|
-
}
|
|
194
|
+
} | {
|
|
195
195
|
/** The kind of value that should be stored inside the field. */
|
|
196
196
|
type: 'json';
|
|
197
|
-
}
|
|
197
|
+
} | {
|
|
198
198
|
/** The kind of value that should be stored inside the field. */
|
|
199
199
|
type: 'blob';
|
|
200
|
-
}
|
|
200
|
+
} | {
|
|
201
201
|
/** The kind of value that should be stored inside the field. */
|
|
202
202
|
type: 'string';
|
|
203
203
|
/** The collation sequence to use for the field value. */
|
|
204
204
|
collation?: ModelFieldCollation;
|
|
205
|
-
}
|
|
205
|
+
} | {
|
|
206
206
|
/** The kind of value that should be stored inside the field. */
|
|
207
207
|
type: 'number';
|
|
208
208
|
/**
|
|
209
209
|
* Automatically increments the value of the field with every new inserted record.
|
|
210
210
|
*/
|
|
211
211
|
increment?: boolean;
|
|
212
|
-
}
|
|
212
|
+
} | {
|
|
213
213
|
/** The kind of value that should be stored inside the field. */
|
|
214
214
|
type: 'link';
|
|
215
215
|
/** The target model of the relationship that is being established. */
|
package/package.json
CHANGED