fix api service v2 to v1 & fix type & review code
This commit is contained in:
parent
6e0a61bafa
commit
4318a7b631
3 changed files with 485 additions and 431 deletions
16
src/interfaces/api-type.ts
Normal file
16
src/interfaces/api-type.ts
Normal 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 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue