Skip to content

@pbvex/protocol / authenticateComponentIds

Function: authenticateComponentIds()

authenticateComponentIds(graph, bundleSha): Promise<void>

Parameters

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; }>[]; }> | undefined

bundleSha

string

Returns

Promise<void>

Generated API reference. Source of truth is the codebase.