mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-06-14 17:41:20 +00:00
update interface
This commit is contained in:
parent
ef7f7ca664
commit
5d7a93f67e
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "qapp-core",
|
||||
"version": "1.0.29",
|
||||
"version": "1.0.30",
|
||||
"description": "Qortal's core React library with global state, UI components, and utilities",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
|
@ -637,8 +637,18 @@ export interface ShowPdfReaderQortalRequest extends BaseRequest {
|
||||
blob: Blob | File
|
||||
}
|
||||
|
||||
export interface SaveFileQortalRequest extends BaseRequest {
|
||||
action: 'SAVE_FILE'
|
||||
blob: Blob | File
|
||||
filename: string
|
||||
}
|
||||
export type SaveFileQortalRequest =
|
||||
| ({
|
||||
action: 'SAVE_FILE';
|
||||
blob: Blob | File;
|
||||
location?: never;
|
||||
} & BaseRequest & { filename: string })
|
||||
| ({
|
||||
action: 'SAVE_FILE';
|
||||
location: {
|
||||
identifier?: string;
|
||||
service: Service;
|
||||
name: string
|
||||
};
|
||||
blob?: never;
|
||||
} & BaseRequest & { filename: string });
|
||||
|
Loading…
x
Reference in New Issue
Block a user