diff --git a/package.json b/package.json index ebffb92..74b73bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apihub24/authentication", - "version": "1.0.1", + "version": "2.0.0-alpha.0", "description": "", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index aa9223b..7365092 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,15 @@ export * from "./services/password.service"; export * from "./services/session.service"; export * from "./services/token.service"; -export const APIHUB24_PASSWORD_SERVICE = "@apihub24/password_service"; -export const APIHUB24_MAIL_SERVICE = "@apihub24/mail_service"; -export const APIHUB24_SESSION_SERVICE = "@apihub24/session_service"; -export const APIHUB24_TOKEN_SERVICE = "@apihub24/token_service"; +export const APIHUB24_PASSWORD_SERVICE = Symbol("@apihub24/password_service"); +export const APIHUB24_MAIL_SERVICE = Symbol("@apihub24/mail_service"); +export const APIHUB24_SESSION_SERVICE = Symbol("@apihub24/session_service"); +export const APIHUB24_TOKEN_SERVICE = Symbol("@apihub24/token_service"); +export const APIHUB24_ACCOUNT_REPOSITORY = Symbol( + "@apihub24/account_repository" +); +export const APIHUB24_GROUP_REPOSITORY = Symbol("@apihub24/group_repository"); +export const APIHUB24_RIGHT_REPOSITORY = Symbol("@apihub24/right_repository"); +export const APIHUB24_ORGANIZATION_REPOSITORY = Symbol( + "@apihub24/organization_repository" +);