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

Function getEnumRef

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

Source from the content-addressed store, hash-verified

180}
181
182export function getEnumRef(name: string, services: ZModelServices) {
183 return getDeclarationRef<Enum>('Enum', name, services);
184}
185
186export function getModelRef(name: string, services: ZModelServices) {
187 return getDeclarationRef<DataModel>('DataModel', name, services);

Callers 1

syncRelationFunction · 0.90

Calls 1

getDeclarationRefFunction · 0.85

Tested by

no test coverage detected