verae-archive-aggregator/aggregate

Package: verae-archive-aggregator
Source: packages/verae-archive-aggregator/src/aggregate.js
Lines: 67

What this module is

Implementation module in verae-archive-aggregator. The tables below are extracted from the source (signatures + JSDoc).

Exports

aggregateAttached, mergeReceipts

Types / interfaces / classes

None extracted.

Functions

Name

Parameters

Param types (JSDoc)

Returns

Calls (same file / helpers)

aggregateAttached

{ sha256, tenantId, kinds = ['publicMeta', 'privateMeta', 'file'], archives }

opts: object, opts.sha256: string, opts.tenantId: string, opts.kinds: string[], opts.timeoutMs: number

{ archivesQueried: boolean, archiveReplies: number, records: object[], silent: string[] — }

see Call graph

mergeReceipts

chainReceipts, archiveRecords

chainReceipts: object[], archiveRecords: object[]

unknown

see Call graph

What it imports / requires

No imports detected.

Call graph (identifiers invoked)

mock, aggregateAttached, query, push, includes, mergeReceipts, map

Each identifier is a call site in this file. Follow the import list to see the defining module; open that module’s MD for parameter and return types.

Return values (how to read this)

  • HTTP route handlers return Express res.json(...) bodies (see route docs).

  • Zapier perform functions return a single object (creates) or an array (triggers/searches).

  • Pricing functions return integer cents on Quote.totalCents.