UNPKG

teambition-sdk-socket

Version:
27 lines (26 loc) 697 B
import { Schema, ISchema } from './schema'; import { TagId, UserId, ProjectId, DefaultColors } from '../teambition'; export interface TagData extends ISchema { _creatorId: UserId; _id: TagId; _projectId: ProjectId; color: DefaultColors; created: string; isArchived: boolean; name: string; updated: string; postsCount?: number; tasksCount?: number; eventsCount?: number; worksCount?: number; } export default class TagSchema extends Schema<TagData> implements TagData { _creatorId: UserId; _id: TagId; _projectId: ProjectId; color: DefaultColors; created: string; isArchived: boolean; name: string; updated: string; }