change: split file into viewer and download
This commit is contained in:
parent
5d3cce3b8b
commit
a7ea081784
6 changed files with 56 additions and 21 deletions
|
@ -3,6 +3,5 @@ import type BaseFile from "../baseFile";
|
|||
|
||||
export default interface DynamicZoneFileDownload extends BaseComponent {
|
||||
__component: "dynamic-zone.file-download";
|
||||
enable_download: boolean;
|
||||
file: BaseFile;
|
||||
}
|
||||
|
|
7
types/component/dynamic-zone/fileViewer.ts
Normal file
7
types/component/dynamic-zone/fileViewer.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import type BaseComponent from "../baseComponent";
|
||||
import type BaseFile from "../baseFile";
|
||||
|
||||
export default interface DynamicZoneFileViewer extends BaseComponent {
|
||||
__component: "dynamic-zone.file-viewer";
|
||||
file: BaseFile;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue