addrepository tokens and use symbols
This commit is contained in:
parent
5daf94b9e8
commit
1db8e2e441
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@apihub24/authentication",
|
"name": "@apihub24/authentication",
|
||||||
"version": "1.0.1",
|
"version": "2.0.0-alpha.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
|
|||||||
16
src/index.ts
16
src/index.ts
@ -11,7 +11,15 @@ export * from "./services/password.service";
|
|||||||
export * from "./services/session.service";
|
export * from "./services/session.service";
|
||||||
export * from "./services/token.service";
|
export * from "./services/token.service";
|
||||||
|
|
||||||
export const APIHUB24_PASSWORD_SERVICE = "@apihub24/password_service";
|
export const APIHUB24_PASSWORD_SERVICE = Symbol("@apihub24/password_service");
|
||||||
export const APIHUB24_MAIL_SERVICE = "@apihub24/mail_service";
|
export const APIHUB24_MAIL_SERVICE = Symbol("@apihub24/mail_service");
|
||||||
export const APIHUB24_SESSION_SERVICE = "@apihub24/session_service";
|
export const APIHUB24_SESSION_SERVICE = Symbol("@apihub24/session_service");
|
||||||
export const APIHUB24_TOKEN_SERVICE = "@apihub24/token_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"
|
||||||
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user