wrapperMetaComparator() — supabase Function Reference
Architecture documentation for the wrapperMetaComparator() function in Wrappers.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD f6fdda8f_575f_1739_f5a8_a5415e6d46f8["wrapperMetaComparator()"] fba47b05_cae2_d6c9_1d8a_9e04a88c4899["useInstalledIntegrations()"] fba47b05_cae2_d6c9_1d8a_9e04a88c4899 -->|calls| f6fdda8f_575f_1739_f5a8_a5415e6d46f8 b86d323e_7b77_81f8_55d2_e9b4ac22716d["WrapperTable()"] b86d323e_7b77_81f8_55d2_e9b4ac22716d -->|calls| f6fdda8f_575f_1739_f5a8_a5415e6d46f8 15f32987_269a_4a66_c2fe_0ea97374e22e["getWrapperMetaForWrapper()"] 15f32987_269a_4a66_c2fe_0ea97374e22e -->|calls| f6fdda8f_575f_1739_f5a8_a5415e6d46f8 8eb96865_cf46_b697_a942_df059799468d["WrappersTab()"] 8eb96865_cf46_b697_a942_df059799468d -->|calls| f6fdda8f_575f_1739_f5a8_a5415e6d46f8 3f0a904f_bdfa_22ec_c956_24f285f3ee4c["convertKVStringArrayToJson()"] f6fdda8f_575f_1739_f5a8_a5415e6d46f8 -->|calls| 3f0a904f_bdfa_22ec_c956_24f285f3ee4c style f6fdda8f_575f_1739_f5a8_a5415e6d46f8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts lines 116–129
export function wrapperMetaComparator(
wrapperMeta: Pick<WrapperMeta, 'handlerName' | 'server'>,
wrapper: FDW | undefined
) {
if (wrapperMeta.handlerName === 'wasm_fdw_handler') {
const serverOptions = convertKVStringArrayToJson(wrapper?.server_options ?? [])
return (
wrapperMeta.server.options.find((option) => option.name === 'fdw_package_name')
?.defaultValue === serverOptions['fdw_package_name']
)
}
return wrapperMeta.handlerName === wrapper?.handler
}
Domain
Subdomains
Source
Frequently Asked Questions
What does wrapperMetaComparator() do?
wrapperMetaComparator() is a function in the supabase codebase.
What does wrapperMetaComparator() call?
wrapperMetaComparator() calls 1 function(s): convertKVStringArrayToJson.
What calls wrapperMetaComparator()?
wrapperMetaComparator() is called by 4 function(s): WrapperTable, WrappersTab, getWrapperMetaForWrapper, useInstalledIntegrations.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free