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

Function getModelRef

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

Source from the content-addressed store, hash-verified

184}
185
186export function getModelRef(name: string, services: ZModelServices) {
187 return getDeclarationRef<DataModel>('DataModel', name, services);
188}
189
190export function getAttributeRef(name: string, services: ZModelServices) {
191 return getDeclarationRef<Attribute>('Attribute', name, services);

Callers

nothing calls this directly

Calls 1

getDeclarationRefFunction · 0.85

Tested by

no test coverage detected