Skip to content
module@warp-drive/schema-dsl

Interface LocalOptions ​

ts
interface LocalOptions {
  defaultValue?: PrimitiveValue;
}

Defined in: fields/local.ts:13

Options accepted by the local decorator.

Properties ​

defaultValue? ​

ts
defaultValue?: PrimitiveValue;

Defined in: fields/local.ts:20

The value to use for the field until it is first set. Compiles onto the LocalField's options.defaultValue.

Released under the MIT License.