Skip to content

basalt / ai/src / mergeModelsIntoSchema

Function: mergeModelsIntoSchema() ​

> mergeModelsIntoSchema(schema, blocks): MergeOutcome

Defined in: ai/src/make/schema.ts:27

Append model blocks to a schema, skipping any model already declared (idempotent).

Parameters ​

schema ​

string

blocks ​

ModelBlock[]

Returns ​

MergeOutcome

Released under the MIT License.