diff options
author | IEatChili <nanunguyen99@gmail.com> | 2024-06-06 15:23:12 -0400 |
---|---|---|
committer | IEatChili <nanunguyen99@gmail.com> | 2024-06-06 15:23:12 -0400 |
commit | b440901843a930c6c87ec23c59f90f1349c25b50 (patch) | |
tree | 6ee534140d7a7714204f5ebe217a0f539c112a2c /src/client/documents/Documents.ts | |
parent | 202e994515392892676f8f080852db1e32b8dbd3 (diff) |
feat: updated ui
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index a67e6b4f6..449347403 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -784,6 +784,10 @@ export namespace Docs { return InstanceFromProto(Prototypes.get(DocumentType.SEARCH), new List<Doc>([]), options); } + export function ImageGrouperDocument(options: DocumentOptions = {}) { + return InstanceFromProto(Prototypes.get(DocumentType.IMAGEGROUPER), undefined, options); + } + export function LoadingDocument(file: File | string, options: DocumentOptions) { return InstanceFromProto(Prototypes.get(DocumentType.LOADING), undefined, { _height: 150, _width: 200, title: typeof file === 'string' ? file : file.name, ...options }, undefined, ''); } |