Mise en ligne de la version 0.2.0
This commit is contained in:
26
web/src/app/services/page.model.ts
Normal file
26
web/src/app/services/page.model.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
// Interfaces TypeScript pour PageDTO (Backend Java).
|
||||
|
||||
export interface Page {
|
||||
id?: string;
|
||||
loreId: string;
|
||||
nodeId: string;
|
||||
templateId?: string | null;
|
||||
title: string;
|
||||
values?: Record<string, string>;
|
||||
/**
|
||||
* Pour chaque champ IMAGE du template, la liste ordonnee des IDs d'images
|
||||
* uploadees (Shared Kernel images). Structure separee de `values`.
|
||||
*/
|
||||
imageValues?: Record<string, string[]>;
|
||||
notes?: string | null;
|
||||
tags?: string[];
|
||||
relatedPageIds?: string[];
|
||||
}
|
||||
|
||||
/** Payload de création : seuls les champs structurels sont envoyés. */
|
||||
export interface PageCreate {
|
||||
loreId: string;
|
||||
nodeId: string;
|
||||
templateId: string;
|
||||
title: string;
|
||||
}
|
||||
Reference in New Issue
Block a user