MCPcopy
hub / github.com/directus/directus / boolean

Method boolean

packages/schema-builder/src/field.ts:118–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 boolean(): this {
119 assert(this._data._kind === 'initial', 'Field type was already set');
120
121 this._data = {
122 field: this._data.field,
123 ...BOOLEAN_FIELD,
124 _kind: 'finished',
125 };
126
127 return this;
128 }
129
130 bigInteger(): this {
131 assert(this._data._kind === 'initial', 'Field type was already set');

Callers 15

options.tsFile · 0.80
useInputSchemaFunction · 0.80
form.tsFile · 0.80
deployment.tsFile · 0.80
server.tsFile · 0.80
validate-query.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected