1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-27 23:09:35 +02:00

Split categories and bookmarks forms into separate files. Added visibility functionality to categories and bookmarks

This commit is contained in:
Paweł Malak 2021-11-09 23:40:58 +01:00
parent f127a354ef
commit d83e3056c6
16 changed files with 484 additions and 369 deletions

View file

@ -0,0 +1,16 @@
import { Category, NewCategory } from '../../interfaces';
export const newCategoryTemplate: NewCategory = {
name: '',
isPublic: true,
};
export const categoryTemplate: Category = {
...newCategoryTemplate,
id: -1,
isPinned: false,
orderId: 0,
bookmarks: [],
createdAt: new Date(),
updatedAt: new Date(),
};