noydb/oworms-ui

View on GitHub
src/app/model/word.interface.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { PartOfSpeech } from './part-of-speech.enum';
import { Tag } from './tag.interface';

export interface Word {
    uuid?: string;
    theWord?: string;
    definition?: string;
    partOfSpeech?: PartOfSpeech;
    pronunciation?: string;
    origin?: string;
    exampleUsage?: string;
    discoveredAt?: string;
    note?: string;
    tags?: Tag[];
    creationDate?: Date;
    createdBy?: string;
    timesViewed?: number;

    // non-api
    tagIds?: number[];
}