Skip to main content

Function: fetchCollectionActivities()

fetchCollectionActivities(svc, companyId): Promise<SectionRead<ActivityRecord>>

Defined in: src/db/queries/ar.ts:313

The collection log. Deny-all over PostgREST, so this only ever runs on the service client behind the billing gate. Fails soft: before 0116 the table does not exist, and the money half of the page must render anyway (§8 — money data never hostages workflow data).

Parameters

svc

SupabaseClient

companyId

string

Returns

Promise<SectionRead<ActivityRecord>>