import { IPFSv1, IPFSv2 } from '../misc'; import { AuthChain } from '../misc/auth-chain'; import { JSONSchema, ValidateFunction } from '../validation'; export type SyncDeployment = SnapshotSyncDeployment | PointerChangesSyncDeployment; /** * This type describes deployment + AuthChain needed to synchronize * a deployed entity across catalysts from the snapshots. * @public */ export type SnapshotSyncDeployment = { entityId: IPFSv1 | IPFSv2; entityType: string; pointers: string[]; authChain: AuthChain; entityTimestamp: number; }; /** * @public */ export declare namespace SnapshotSyncDeployment { const schema: JSONSchema; const validate: ValidateFunction; } /** * This type describes deployment + AuthChain needed to synchronize * a deployed entity across catalysts from the old snapshots and /pointer-changes endpoint. * @public */ export type PointerChangesSyncDeployment = SnapshotSyncDeployment & { localTimestamp: number; }; /** * @public */ export declare namespace PointerChangesSyncDeployment { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=sync-deployments.d.ts.map