diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index ecc1fd7fd..49a69dc12 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -1,5 +1,14 @@ import env from "../index"; +const registryNew = `${env.API_URI}/org/profile/`; + export default { - -} \ No newline at end of file + registryNew, + profileNewInsign: `${registryNew}insignia`, + profileNewInsignByProfileId: (profileId: string) => + `${registryNew}insignia/${profileId}`, + profileNewInsignByInsignId: (insignId: string) => + `${registryNew}insignia/${insignId}`, + profileNewInsignHisByInsignId: (insignId: string) => + `${registryNew}insignia/history/${insignId}`, +}; diff --git a/src/app.config.ts b/src/app.config.ts index cf5b00d2f..96cc78b06 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -23,6 +23,7 @@ import recruit from "./api/recruiting/api.recruit"; /** API Profile List */ import profile from "./api/registry/api.profile"; +import registry from "./api/registry/api.registry"; /** API Report2 List */ import report2 from "./api/recruiting/api.report2"; @@ -98,6 +99,7 @@ const API = { //profile ...profile, + ...registry, //report2 ...report2,