Type updates for searching by type + trigger on app backup documents.
This commit is contained in:
parent
2a2f41a861
commit
5aeeed47e1
|
@ -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
|
||||
|
|
|
@ -42,6 +42,7 @@ export interface AppBackup extends Document, AppBackupMetadata {
|
|||
|
||||
export type AppBackupFetchOpts = {
|
||||
trigger?: AppBackupTrigger
|
||||
type?: AppBackupType
|
||||
limit?: number
|
||||
page?: string
|
||||
paginate?: boolean
|
||||
|
|
Loading…
Reference in New Issue