andrewelawrence commited on
Commit
3dca044
·
1 Parent(s): e549097

Add Persona type definition with metadata fields

Browse files
Files changed (1) hide show
  1. src/lib/types/Persona.ts +10 -0
src/lib/types/Persona.ts ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ export interface Persona {
2
+ id: string; // UUID
3
+ name: string;
4
+ occupation: string;
5
+ stance: string;
6
+ prompt: string; // The full system prompt text
7
+ isDefault: boolean; // True for built-in personas
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ }