template storing
This commit is contained in:
parent
467dfd8c1b
commit
78a9d206c3
11 changed files with 581 additions and 63 deletions
24
src/viewmodels/admin/template.models.ts
Normal file
24
src/viewmodels/admin/template.models.ts
Normal file
|
@ -0,0 +1,24 @@
|
|||
export interface TemplateViewModel {
|
||||
id: number;
|
||||
template: string;
|
||||
description: string | null;
|
||||
design: object;
|
||||
headerHTML: string;
|
||||
bodyHTML: string;
|
||||
footerHTML: string;
|
||||
}
|
||||
|
||||
export interface CreateTemplateViewModel {
|
||||
template: string;
|
||||
description: string | null;
|
||||
}
|
||||
|
||||
export interface UpdateTemplateViewModel {
|
||||
id: number;
|
||||
template: string;
|
||||
description: string | null;
|
||||
design: object;
|
||||
headerHTML: string;
|
||||
bodyHTML: string;
|
||||
footerHTML: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue