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

Function getAttributeRef

packages/cli/src/actions/pull/utils.ts:190–192  ·  view source on GitHub ↗
(name: string, services: ZModelServices)

Source from the content-addressed store, hash-verified

188}
189
190export function getAttributeRef(name: string, services: ZModelServices) {
191 return getDeclarationRef<Attribute>('Attribute', name, services);
192}
193
194export function getFunctionRef(name: string, services: ZModelServices) {
195 return getDeclarationRef<FunctionDecl>('FunctionDecl', name, services);

Callers 6

syncEnumsFunction · 0.90
syncTableFunction · 0.90
syncRelationFunction · 0.90
getFieldAttributesFunction · 0.90
getFieldAttributesFunction · 0.90
getFieldAttributesFunction · 0.90

Calls 1

getDeclarationRefFunction · 0.85

Tested by

no test coverage detected