UNPKG

teambition-sdk-socket

Version:
27 lines (26 loc) 721 B
import { ISchema, Schema } from './schema'; import { CollectionId } from '../teambition'; export interface TBCollectionData extends ISchema { _id: CollectionId; title: string; _projectId: string; _creatorId: string; _parentId: CollectionId; collectionType: string; description: string; isArchived: boolean; created: string; updated: string; } export default class TBCollection extends Schema<TBCollectionData> implements TBCollectionData { _id: CollectionId; title: string; _projectId: string; _creatorId: string; _parentId: CollectionId; collectionType: string; description: string; isArchived: boolean; created: string; updated: string; }