1
0
Fork 0
mirror of synced 2024-06-17 18:04:42 +12:00

Type updates for searching by type + trigger on app backup documents.

This commit is contained in:
mike12345567 2022-10-21 17:04:20 +01:00
parent 1e190886fb
commit fb966ae01c
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,8 @@
import { AppBackupTrigger } from "../../../documents"
import { AppBackupTrigger, AppBackupType } from "../../../documents"
export interface SearchAppBackupsRequest {
trigger: AppBackupTrigger
type: AppBackupType
startDate: string
endDate: string
page?: string

View file

@ -42,6 +42,7 @@ export interface AppBackup extends Document, AppBackupMetadata {
export type AppBackupFetchOpts = {
trigger?: AppBackupTrigger
type?: AppBackupType
limit?: number
page?: string
paginate?: boolean