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

Method mapModelName

packages/server/src/api/rest/index.ts:356–358  ·  view source on GitHub ↗
(modelName: string)

Source from the content-addressed store, hash-verified

354 }
355
356 private mapModelName(modelName: string): string {
357 return this.modelNameMapping[modelName] ?? modelName;
358 }
359
360 /**
361 * Resolves child model type and reverse relation from a parent relation name.

Callers 6

processFetchRelatedMethod · 0.95
processCollectionReadMethod · 0.95
makeNestedLinkUrlMethod · 0.95
buildSerializersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected