refactor: complete application rewrite with modern UI
This commit is contained in:
13
src/models/types.ts
Normal file
13
src/models/types.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Base interface for entities with optional ID
|
||||
*/
|
||||
export interface Entity {
|
||||
id?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Named entity with optional ID
|
||||
*/
|
||||
export interface NamedEntity extends Entity {
|
||||
name?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user