MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / setType

Method setType

packages/language/src/factory/declaration.ts:190–196  ·  view source on GitHub ↗
(builder: (type: DataFieldTypeFactory) => DataFieldTypeFactory)

Source from the content-addressed store, hash-verified

188 }
189
190 setType(builder: (type: DataFieldTypeFactory) => DataFieldTypeFactory) {
191 this.type = builder(new DataFieldTypeFactory()).setContainer(this.node);
192 this.update({
193 type: this.type,
194 });
195 return this;
196 }
197}
198
199export class DataFieldTypeFactory extends AstFactory<DataFieldType> {

Callers 2

syncTableFunction · 0.45
syncRelationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected