Skip to content

@pbvex/protocol / verifyModuleSources

Function: verifyModuleSources()

verifyModuleSources(modules, graph?): Promise<void>

Parameters

modules

Readonly<{ bytes: string; path: string; }>[]

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

Promise<void>

Generated API reference. Source of truth is the codebase.