1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-24 21:39:36 +02:00
flame/client/src/utility/templateObjects/bookmarkTemplate.ts

17 lines
331 B
TypeScript

import { Bookmark, NewBookmark } from '../../interfaces';
export const newBookmarkTemplate: NewBookmark = {
name: '',
url: '',
categoryId: -1,
icon: '',
isPublic: true,
};
export const bookmarkTemplate: Bookmark = {
...newBookmarkTemplate,
id: -1,
createdAt: new Date(),
updatedAt: new Date(),
orderId: 0,
};