2022-10-18 03:26:09 +13:00
|
|
|
import { BaseEvent } from "./event"
|
2022-11-18 12:09:49 +13:00
|
|
|
import { AppBackupTrigger, AppBackupType } from "../../documents"
|
2022-10-18 03:26:09 +13:00
|
|
|
|
2022-10-24 22:04:14 +13:00
|
|
|
export interface AppBackupRestoreEvent extends BaseEvent {
|
2022-10-18 03:26:09 +13:00
|
|
|
appId: string
|
2022-11-22 01:12:57 +13:00
|
|
|
restoreId: string
|
2022-10-18 03:26:09 +13:00
|
|
|
backupCreatedAt: string
|
|
|
|
}
|
2022-11-18 06:15:35 +13:00
|
|
|
|
|
|
|
export interface AppBackupTriggeredEvent extends BaseEvent {
|
2022-11-22 01:12:57 +13:00
|
|
|
backupId: string
|
2022-11-18 06:15:35 +13:00
|
|
|
appId: string
|
2022-11-18 08:38:47 +13:00
|
|
|
trigger: AppBackupTrigger
|
2022-11-18 12:09:49 +13:00
|
|
|
type: AppBackupType
|
2022-11-18 06:15:35 +13:00
|
|
|
}
|