From 38df528e2d96ec2f3f27e6a113fae644806c550c Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 17 Oct 2022 18:50:52 +0100 Subject: [PATCH] Work for backup download endpoint. --- packages/types/src/documents/app/backup.ts | 2 ++ packages/types/src/sdk/koa.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/types/src/documents/app/backup.ts b/packages/types/src/documents/app/backup.ts index fb8ef61e3a..5fb602860e 100644 --- a/packages/types/src/documents/app/backup.ts +++ b/packages/types/src/documents/app/backup.ts @@ -10,6 +10,7 @@ export interface AppBackup extends Document { trigger: AppBackupTrigger name: string createdAt: string + createdBy?: string filename: string appId: string userId?: string @@ -31,6 +32,7 @@ export type AppBackupFetchOpts = { export interface AppBackupQueueData { trigger: AppBackupTrigger + createdBy?: string name?: string appId: string } diff --git a/packages/types/src/sdk/koa.ts b/packages/types/src/sdk/koa.ts index 250b176d79..e6f4a5094e 100644 --- a/packages/types/src/sdk/koa.ts +++ b/packages/types/src/sdk/koa.ts @@ -15,4 +15,5 @@ export interface BBContext { params: any body?: any redirect?: any + attachment: any }