@randombenj/db
Version:
Display, search and copy LXD-images using a web interface.
19 lines (18 loc) • 382 B
TypeScript
import { BaseEntity } from 'typeorm';
export declare enum SyncState {
NOT_STARTED = 0,
RUNNING = 1,
FAILED = 2,
SUCCEEDED = 3
}
/**
* Represents a run by the database synchronization tool
*/
export declare class SyncRun extends BaseEntity {
id: number;
created: number;
started?: number;
ended?: number;
state: SyncState;
error?: string;
}