Something went wrong. Try again.
Something went wrong. Try again.
741 B · 44 lines
TypeScript
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445import type { Main as KitRecordValue } from '#lexicons/build/gunpla/kit.defs'
export type KitRecordEntry = { uri: string value: KitRecordValue}
export type KitRecord = { uri: string cid?: string value: KitRecordValue}
export type CreatedKitRecord = { uri: string cid?: string}
export type UpdatedKitResult = { uri: string value: KitRecordValue}
export type SyncResult = { did: string handle: string pdsEndpoint: string kitsSynced: number kitsPruned: number}
export type SyncAccountResult = { identifier: string success: boolean data?: SyncResult error?: string}
export type BatchSyncResult = { results: SyncAccountResult[] totalKits: number totalPruned: number hasFailures: boolean}