Skip to content

Commit

Permalink
Feature PageVacances annulées, on garde le fichier de type au cas ou
Browse files Browse the repository at this point in the history
  • Loading branch information
GaspardRivoire committed Jun 12, 2024
1 parent b3be9da commit 0d2f232
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions types/customPage.type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export type CustomPageContentType = 'text' | 'video' | 'image' | 'h5p' | 'sound' | 'document';

export interface CustomPageContent {
id: number;
type: CustomPageContentType;
value: string;
}

export interface CustomPage {
id: number;
content: CustomPageContent[];
pageType: 'maintenance' | 'home' | 'pelico';
isActive?: boolean;
visibility?: 'classe' | 'famille';
}

0 comments on commit 0d2f232

Please sign in to comment.