Skip to content

Commit

Permalink
feat(cozy-intent): Add downloadFile native method
Browse files Browse the repository at this point in the history
`downloadFile` intent will be used by `cozy-client/models/file` in
order to download files through Flagship app
  • Loading branch information
Ldoppea committed Sep 9, 2024
1 parent 30842ff commit 4e4b2fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cozy-intent/src/api/models/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ interface _NativeMethodsRegister {
openAppOSSettings: () => Promise<null>
isAvailable: (featureName: string) => Promise<boolean>
flagshipLinkRequest: (operation: unknown) => Promise<unknown>
downloadFile: (file: unknown) => Promise<unknown>
}

export type NativeMethodsRegister = _NativeMethodsRegister & PostMeDefault
Expand Down

0 comments on commit 4e4b2fb

Please sign in to comment.