Skip to content

@pbvex/protocol / validateComponentFunctionBinding

Function: validateComponentFunctionBinding()

validateComponentFunctionBinding(functions, graph?): void

Parameters

functions

Readonly<{ args?: JSONValue; exportName: string; modulePath: string; name: string; returns?: JSONValue; route?: Readonly<{ method: string; path?: string; pathPrefix?: string; }>; type: FunctionType; visibility: FunctionVisibility; }>[]

graph?

Readonly<{ definitions: Readonly<{ args?: JSONValue; componentId: string; dependencies?: string[]; env?: Record<string, Readonly<{ name?: ... | ...; type: ... | ...; value?: ... | ...; }>>; moduleHashes?: Record<string, string>; modulePaths: string[]; schema?: Readonly<{ tables: Readonly<...>[]; }>; }>[]; mounts: Readonly<{ args?: JSONValue; children?: Readonly<{ name: string; componentId: string; args?: JSONValue | undefined; children?: Readonly<...>[] | undefined; }>[]; componentId: string; name: string; }>[]; }>

Returns

void

Generated API reference. Source of truth is the codebase.