41 lines
852 B
TypeScript
41 lines
852 B
TypeScript
import { OrganizationAggregate } from '../Organization/OrganizationAggregate';
|
|
export declare enum Type {
|
|
LUCK = 0,
|
|
JOKER = 1,
|
|
QUESTION = 2
|
|
}
|
|
export declare enum CType {
|
|
PUBLIC = 0,
|
|
PRIVATE = 1,
|
|
ORGANIZATION = 2
|
|
}
|
|
export declare enum State {
|
|
ACTIVE = 0,
|
|
SOFT_DELETE = 1
|
|
}
|
|
export declare enum CardType {
|
|
QUIZ = 0,
|
|
SENTENCE_PAIRING = 1,
|
|
OWN_ANSWER = 2,
|
|
TRUE_FALSE = 3,
|
|
CLOSER = 4
|
|
}
|
|
export interface Card {
|
|
text: string;
|
|
type?: CardType;
|
|
answer?: string | null;
|
|
}
|
|
export declare class DeckAggregate {
|
|
id: string;
|
|
name: string;
|
|
type: Type;
|
|
userid: string;
|
|
creationdate: Date;
|
|
cards: Card[];
|
|
playedNumber: number;
|
|
ctype: CType;
|
|
updatedate: Date;
|
|
state: State;
|
|
organization: OrganizationAggregate | null;
|
|
}
|
|
//# sourceMappingURL=DeckAggregate.d.ts.map
|