@ronin/compiler
Advanced tools
Comparing version 0.14.6-corny-ron-1099-experimental-331 to 0.14.6-corny-ron-1099-experimental-332
@@ -202,3 +202,3 @@ /** | ||
*/ | ||
defaultValue?: Expression | unknown | (() => Expression); | ||
defaultValue?: Expression | unknown | (() => string); | ||
/** | ||
@@ -211,6 +211,6 @@ * An expression that should be evaluated to form the value of the field. The | ||
kind: 'VIRTUAL' | 'STORED'; | ||
value: Expression | unknown | ((fields: Record<string, unknown>) => Expression); | ||
value: Expression | unknown | ((fields: Record<string, string>) => string); | ||
}; | ||
/** An expression that gets evaluated every time a value is provided for the field. */ | ||
check?: Expression | ((fields: Record<string, unknown>) => Expression); | ||
check?: Expression | ((fields: Record<string, string>) => string); | ||
}; | ||
@@ -217,0 +217,0 @@ type ModelField = ModelFieldBasics & ({ |
{ | ||
"name": "@ronin/compiler", | ||
"version": "0.14.6-corny-ron-1099-experimental-331", | ||
"version": "0.14.6-corny-ron-1099-experimental-332", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Compiles RONIN queries to SQL statements.", |
111860