MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createEmptySyncResult

Function createEmptySyncResult

services/security-sync/src/sync.ts:189–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187
188/** A writer's checkpoint: the schema fields plus the chunk fence this write installs. */
189type SyncRunProgressWrite = SyncRunProgress & { chunkIndex: number };
190
191const SyncLeaseSchema = z.object({
192 runId: z.string().optional(),
193 chunkIndex: z.number().int().optional(),
194 expiresAt: z.string().optional(),
195});
196
197export type SyncResult = {
198 synced: number;
199 errors: number;
200 /** Repos where Dependabot alerts are permanently disabled (safe to skip) */
201 skipped: number;
202 /** Repos where the GitHub installation requires reauthorization */

Callers 3

syncOwnerFunction · 0.85
syncRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected