Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/loopbackio/loopback-next
/ getModelPropertyDeclaration
Function
getModelPropertyDeclaration
packages/cli/lib/ast-helper.js:73–75 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
71
'PropertyAssignment:has([name="id"])'
,
72
73
getModelPropertyDeclaration(node) {
74
return
node.parent.parent.parent.parent;
75
},
76
},
77
78
'model JSON definition inside the @model decorator'
: {
Callers
1
ast-helper.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected