Mise en place du picker d'image pour la partie header / illustration des fiches personnage
Migration pour l'ancienne partie des fiches perso vers les nouvelles pages Vue retravaillée pour les fiches perso
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { TemplateField } from './template-field.model';
|
||||
import { TemplateField } from './template.model';
|
||||
|
||||
/**
|
||||
* Interface TypeScript pour GameSystemDTO (jumeau du DTO Java).
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/**
|
||||
* Interface TypeScript pour TemplateFieldDTO (kernel partage cote backend).
|
||||
* Decrit un champ d'un template (PJ, PNJ, Lore Page).
|
||||
*
|
||||
* type : "TEXT" | "IMAGE" | "NUMBER"
|
||||
* layout : "GALLERY" | "HERO" | "MASONRY" | "CAROUSEL", null sauf si type=IMAGE
|
||||
*/
|
||||
export type FieldType = 'TEXT' | 'IMAGE' | 'NUMBER';
|
||||
export type ImageLayout = 'GALLERY' | 'HERO' | 'MASONRY' | 'CAROUSEL';
|
||||
|
||||
export interface TemplateField {
|
||||
name: string;
|
||||
type: FieldType;
|
||||
layout?: ImageLayout | null;
|
||||
}
|
||||
@@ -1,11 +1,12 @@
|
||||
// Interfaces TypeScript pour TemplateDTO (Backend Java).
|
||||
|
||||
/**
|
||||
* Type d'un champ de Template. Miroir de com.loremind.domain.lorecontext.FieldType.
|
||||
* - 'TEXT' : champ textuel libre (rendu en textarea)
|
||||
* - 'IMAGE' : galerie d'images (rendu en app-image-gallery)
|
||||
* Type d'un champ de Template. Miroir de com.loremind.domain.shared.template.FieldType.
|
||||
* - 'TEXT' : champ textuel libre (rendu en textarea)
|
||||
* - 'IMAGE' : galerie d'images (rendu en app-image-gallery)
|
||||
* - 'NUMBER' : valeur numerique (rendu en input number)
|
||||
*/
|
||||
export type FieldType = 'TEXT' | 'IMAGE';
|
||||
export type FieldType = 'TEXT' | 'IMAGE' | 'NUMBER';
|
||||
|
||||
/**
|
||||
* Variante de rendu pour un champ IMAGE. Miroir de
|
||||
|
||||
Reference in New Issue
Block a user