syncSetupProxy() — vue Function Reference
Architecture documentation for the syncSetupProxy() function in apiSetup.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD ce70e3d2_4b97_9c29_9a4d_55f2e937e910["syncSetupProxy()"] 3a7c7919_1905_22a7_f604_9084d5e5d0df["apiSetup.ts"] ce70e3d2_4b97_9c29_9a4d_55f2e937e910 -->|defined in| 3a7c7919_1905_22a7_f604_9084d5e5d0df 77439d3b_3112_cab2_abe3_0aaab4a3b61f["createSetupContext()"] 77439d3b_3112_cab2_abe3_0aaab4a3b61f -->|calls| ce70e3d2_4b97_9c29_9a4d_55f2e937e910 b5cc45a6_9862_18a6_a816_a0e5c773a4c5["defineProxyAttr()"] ce70e3d2_4b97_9c29_9a4d_55f2e937e910 -->|calls| b5cc45a6_9862_18a6_a816_a0e5c773a4c5 style ce70e3d2_4b97_9c29_9a4d_55f2e937e910 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/v3/apiSetup.ts lines 125–148
export function syncSetupProxy(
to: any,
from: any,
prev: any,
instance: Component,
type: string
) {
let changed = false
for (const key in from) {
if (!(key in to)) {
changed = true
defineProxyAttr(to, key, instance, type)
} else if (from[key] !== prev[key]) {
changed = true
}
}
for (const key in to) {
if (!(key in from)) {
changed = true
delete to[key]
}
}
return changed
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does syncSetupProxy() do?
syncSetupProxy() is a function in the vue codebase, defined in src/v3/apiSetup.ts.
Where is syncSetupProxy() defined?
syncSetupProxy() is defined in src/v3/apiSetup.ts at line 125.
What does syncSetupProxy() call?
syncSetupProxy() calls 1 function(s): defineProxyAttr.
What calls syncSetupProxy()?
syncSetupProxy() is called by 1 function(s): createSetupContext.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free