diff --git a/src/modules/02_users/interface/response/Main.ts b/src/modules/02_users/interface/response/Main.ts index 732fd5c9..c446f746 100644 --- a/src/modules/02_users/interface/response/Main.ts +++ b/src/modules/02_users/interface/response/Main.ts @@ -49,6 +49,11 @@ interface NodeTree { totalRootPositionNextVacant: number; children: NodeTree[]; isOfficer: boolean; + orgRootDnaId: string; + orgChild1DnaId: string; + orgChild2DnaId: string; + orgChild3DnaId: string; + orgChild4DnaId: string; } interface PosMaster { diff --git a/src/modules/02_users/views/01_user.vue b/src/modules/02_users/views/01_user.vue index 0ceba23f..9d188adc 100644 --- a/src/modules/02_users/views/01_user.vue +++ b/src/modules/02_users/views/01_user.vue @@ -1,6 +1,7 @@ - + diff --git a/src/modules/06_webservices/interface/request/Main.ts b/src/modules/06_webservices/interface/request/Main.ts index e60b1cbd..7870a5f3 100644 --- a/src/modules/06_webservices/interface/request/Main.ts +++ b/src/modules/06_webservices/interface/request/Main.ts @@ -1,6 +1,15 @@ interface FormCreate { name: string; + accessType: string; apiId: string[]; } -export type { FormCreate }; +interface DnaId { + dnaRootId: string; + dnaChild1Id: string; + dnaChild2Id: string; + dnaChild3Id: string; + dnaChild4Id: string; +} + +export type { FormCreate, DnaId }; diff --git a/src/stores/keycloakPosition.ts b/src/stores/keycloakPosition.ts new file mode 100644 index 00000000..c3a20695 --- /dev/null +++ b/src/stores/keycloakPosition.ts @@ -0,0 +1,17 @@ +import { defineStore } from "pinia"; +import { ref } from "vue"; + +import type { KeycloakPosition } from "@/interface/response/Main"; + +export const usekeycloakPosition = defineStore("keycloakPosition", () => { + const dataPosition = ref(); + + function setDataPosition(val: KeycloakPosition) { + dataPosition.value = val; + } + + return { + dataPosition, + setDataPosition, + }; +});