@appsemble/types
Version:
TypeScript definitions reused within Appsemble internally
23 lines (22 loc) • 420 B
TypeScript
import { type Author } from './author.js';
/**
* A snapshot of an app.
*/
export interface Snapshot {
/**
* The unique id of the snapshot.
*/
id: number;
/**
* When the snapshot was created.
*/
$created: Date | string;
/**
* The snapshot author.
*/
$author: Author;
/**
* The app definition code represented by this snapshot.
*/
yaml?: string;
}