server-ts: Port share/shaca/content_renderer

This commit is contained in:
Elian Doran
2024-04-09 22:58:24 +03:00
parent 7c76d28f75
commit 88aba1c844
4 changed files with 36 additions and 23 deletions

View File

@@ -10,7 +10,7 @@ class SAttachment extends AbstractShacaEntity {
private attachmentId: string;
private ownerId: string;
title: string;
private role: string;
role: string;
private mime: string;
private blobId: string;
/** used for caching of images */

View File

@@ -18,11 +18,11 @@ const isCredentials = (attr: SAttribute) => attr.type === 'label' && attr.name =
class SNote extends AbstractShacaEntity {
noteId: string;
private title: string;
private type: string;
private mime: string;
type: string;
mime: string;
private blobId: string;
private utcDateModified: string;
private isProtected: boolean;
utcDateModified: string;
isProtected: boolean;
parentBranches: SBranch[];
parents: SNote[];
children: SNote[];