1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-20 12:09:36 +02:00
flame/client/src/utility/templateObjects/categoryTemplate.ts

17 lines
326 B
TypeScript
Raw Normal View History

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(),
};