@indicafix/types
Version:
useful package for type sharing in different services.
31 lines (30 loc) • 592 B
TypeScript
export interface Sla {
id: string;
companyId: string;
surveyId: string;
fixedQuestions: string[];
fixedTags: string[];
tags: SlaTag[];
isDeleted: boolean;
createdAt: Date;
updatedAt: Date;
__v: number;
}
export interface SlaTag {
id: string;
text: string;
type: SlaTagType;
options?: SlaTagOption[];
}
export declare enum SlaTagType {
multiple = "multiple",
single = "single",
text = "text"
}
export interface SlaTagOption {
id: string;
text: string;
order: number;
color?: string;
isDeleted: boolean;
}