MCPcopy
hub / github.com/directus/directus / build

Method build

packages/schema-builder/src/field.ts:543–549  ·  view source on GitHub ↗
(_schema: SchemaOverview)

Source from the content-addressed store, hash-verified

541 }
542
543 build(_schema: SchemaOverview): FieldOverview {
544 assert(this._data._kind === 'finished', 'The collection needs at least 1 field configured');
545
546 const { _kind, ...field } = this._data;
547
548 return field;
549 }
550}

Calls

no outgoing calls

Tested by

no test coverage detected