teambition-sdk-socket
Version: 
Front-End SDK for Teambition
27 lines (26 loc) • 697 B
TypeScript
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;
}