@drax/identity-front 0.5.18 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.5.18",
6
+ "version": "0.6.0",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -19,14 +19,15 @@
19
19
  "test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
20
20
  "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
21
21
  "build-only": "vite build",
22
- "type-check": "vue-tsc --build --force",
22
+ "vuetsc": "vue-tsc --noEmit",
23
+ "type-check": "vue-tsc --build --force --noEmit",
23
24
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
24
25
  "format": "prettier --write src/"
25
26
  },
26
27
  "dependencies": {
27
- "@drax/common-front": "^0.5.11",
28
- "@drax/crud-share": "^0.5.17",
29
- "@drax/identity-share": "^0.5.18"
28
+ "@drax/common-front": "^0.6.0",
29
+ "@drax/crud-share": "^0.6.0",
30
+ "@drax/identity-share": "^0.6.0"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@rushstack/eslint-patch": "^1.8.0",
@@ -48,5 +49,5 @@
48
49
  "vite-plugin-dts": "^3.9.1",
49
50
  "vitest": "^1.4.0"
50
51
  },
51
- "gitHead": "99b0bf3bdce239f358bf5395b3119123473a2ed4"
52
+ "gitHead": "66fb4189c54d3c3f12efa89ad1476ecb96b63d38"
52
53
  }
@@ -1,4 +1,4 @@
1
- import type {IRole} from "@drax/identity-share";
1
+ import type {IRole, ITenant} from "@drax/identity-share";
2
2
 
3
3
  interface IAuthUser {
4
4
  id: string
@@ -9,7 +9,7 @@ interface IAuthUser {
9
9
  phone: string
10
10
  avatar: string
11
11
  role: IRole
12
-
12
+ tenant?: ITenant
13
13
  }
14
14
 
15
15
  export type {IAuthUser}
@@ -1,5 +1,5 @@
1
1
  import type {IRoleProvider} from "../interfaces/IRoleProvider";
2
- import type {IRole, IRoleBase, ITenant} from "@drax/identity-share";
2
+ import type {IRole, IRoleBase} from "@drax/identity-share";
3
3
  import type {
4
4
  IDraxCrudProviderExportResult,
5
5
  IDraxExportOptions,
@@ -1,5 +1,5 @@
1
1
  import type {ITenantProvider} from "../interfaces/ITenantProvider";
2
- import type {ITenant, ITenantBase, IUser} from "@drax/identity-share";
2
+ import type {ITenant, ITenantBase} from "@drax/identity-share";
3
3
  import type {
4
4
  IDraxCrudProvider,
5
5
  IDraxCrudProviderExportResult,
@@ -1,5 +1,5 @@
1
1
  import type {IUserApiKeyProvider} from "../interfaces/IUserApiKeyProvider";
2
- import type {IRole, IUserApiKey, IUserApiKeyBase} from "@drax/identity-share";
2
+ import type {IUserApiKey, IUserApiKeyBase} from "@drax/identity-share";
3
3
  import type {IDraxPaginateOptions, IDraxPaginateResult} from "@drax/crud-share";
4
4
 
5
5