diff options
| author | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-06-28 12:28:05 -0400 |
|---|---|---|
| committer | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-06-28 12:28:05 -0400 |
| commit | 5a7eee0c82c28b609b3ce628a918bd4209464579 (patch) | |
| tree | 559af58685054683e8e49a89c90ad0344c6d7e00 /src/client/documents/Documents.ts | |
| parent | 4521e91a7fd9e7127cf21fdbeba2417881b227ae (diff) | |
| parent | 7e13e1df797f1d3358f553802527bf42c5574e81 (diff) | |
Merge branch 'keanu-comments' into aisosa-starter
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 324d80581..c75c10eb8 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -790,6 +790,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, ''); } |
