Add meme view & sharing
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -22,6 +22,7 @@ class Meme extends Object<Meme> {
|
||||
id!: BSON.UUID;
|
||||
type!: MEME_TYPE;
|
||||
uri!: string;
|
||||
mimeType!: string;
|
||||
size!: number;
|
||||
title!: string;
|
||||
isFavorite!: boolean;
|
||||
@@ -39,6 +40,7 @@ class Meme extends Object<Meme> {
|
||||
id: { type: 'uuid', default: () => new BSON.UUID() },
|
||||
type: { type: 'string', indexed: true },
|
||||
uri: 'string',
|
||||
mimeType: 'string',
|
||||
size: 'int',
|
||||
title: 'string',
|
||||
isFavorite: { type: 'bool', indexed: true, default: false },
|
||||
|
Reference in New Issue
Block a user