diff options
author | bobzel <zzzman@gmail.com> | 2025-05-09 23:01:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-05-09 23:01:36 -0400 |
commit | 299398cb7e21259de3bf7597995840b84e7e0590 (patch) | |
tree | be9af99f42699470f2aaa5e991ad4e84603da629 /src/server/SharedMediaTypes.ts | |
parent | 4b8c4c9277cca69ea3341ca6ddf4c7f5befc78a0 (diff) |
added user templates to template_user global field. fixed schemas to not erase field values when setting a new column name. fixed templates to render properly when switching by fixing contentsRef to be observable. fixed templates with fields in stacks to autoHeight update correctly by . fixed images in templates to set their nativeDim after rendering. fixed text views of descriptions to auto-updated by setting the modification date of the description field.
Diffstat (limited to 'src/server/SharedMediaTypes.ts')
-rw-r--r-- | src/server/SharedMediaTypes.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/SharedMediaTypes.ts b/src/server/SharedMediaTypes.ts index 9aa4b120f..43a9ce963 100644 --- a/src/server/SharedMediaTypes.ts +++ b/src/server/SharedMediaTypes.ts @@ -19,6 +19,9 @@ export enum AudioAnnoState { } export namespace Upload { + export function isTextInformation(uploadResponse: Upload.FileInformation): uploadResponse is Upload.ImageInformation { + return 'rawText' in uploadResponse; + } export function isImageInformation(uploadResponse: Upload.FileInformation): uploadResponse is Upload.ImageInformation { return 'nativeWidth' in uploadResponse; } |