Changement sur le Readme
Ajout d'une partie spécifique pour des PNJ dans la partie campagne
This commit is contained in:
18
web/src/app/services/npc.model.ts
Normal file
18
web/src/app/services/npc.model.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Fiche de personnage non-joueur (PNJ) d'une campagne.
|
||||
* MVP : markdownContent libre (description, motivation, stats, notes MJ).
|
||||
* Évolution prévue : templating partagé PJ/PNJ piloté par GameSystem.
|
||||
*/
|
||||
export interface Npc {
|
||||
id?: string;
|
||||
name: string;
|
||||
markdownContent?: string | null;
|
||||
campaignId: string;
|
||||
order?: number;
|
||||
}
|
||||
|
||||
export interface NpcCreate {
|
||||
name: string;
|
||||
markdownContent?: string | null;
|
||||
campaignId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user