fix api service v2 to v1 & fix type & review code

This commit is contained in:
Warunee Tamkoo 2025-08-14 11:17:13 +07:00
parent 6e0a61bafa
commit 4318a7b631
3 changed files with 485 additions and 431 deletions

View file

@ -0,0 +1,16 @@
type SystemCode = "registry" | "registry_emp" | "registry_temp" | "organization" | "position";
interface SystemDefinition {
code: SystemCode;
name: string;
}
interface EntityDefinition {
name: string;
repository: any;
description: string;
isMain?: boolean;
system: SystemCode[];
}
export { SystemCode, SystemDefinition, EntityDefinition };