MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / expectedCountsFor

Function expectedCountsFor

apps/local/src/db/v1-v2-migration.ts:1361–1366  ·  view source on GitHub ↗
(plan: MigrationPlan)

Source from the content-addressed store, hash-verified

1359}
1360
1361const expectedCountsFor = (plan: MigrationPlan): MigrationExpectedCounts => ({
1362 integrations: plan.integrations.length,
1363 connections: plan.connections.length,
1364 oauthClients: plan.oauthClients.length,
1365 policies: plan.policies.length,
1366});
1367
1368const scalarNumber = async (client: Client, sql: string): Promise<number> => {
1369 const result = await client.execute(sql);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected