@protobase/schema 0.38.0 → 0.39.1
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/model.d.ts +5 -0
- package/package.json +1 -1
package/dist/model.d.ts
CHANGED
|
@@ -37,6 +37,11 @@ export type FieldModel = {
|
|
|
37
37
|
sensitive?: true;
|
|
38
38
|
/** Stored encrypted, and sensitive too (`.encrypted()`). */
|
|
39
39
|
encrypted?: true;
|
|
40
|
+
/**
|
|
41
|
+
* In `/meta` only: the caller may write the field but not read it, as its own `.access()` write rule allows. It comes
|
|
42
|
+
* sensitive, with no value to reveal, and the form edits it only where the view's layout names it.
|
|
43
|
+
*/
|
|
44
|
+
writeOnly?: true;
|
|
40
45
|
/** A value the form prefills, or `db` when the database supplies it (identity, now(), ...). */
|
|
41
46
|
default?: {
|
|
42
47
|
/** The value a create uses when none is given (`.default()`). */
|