@drax/identity-front 0.0.29 → 0.0.31

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.0.29",
6
+ "version": "0.0.31",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -24,9 +24,9 @@
24
24
  "format": "prettier --write src/"
25
25
  },
26
26
  "dependencies": {
27
- "@drax/common-front": "^0.0.29",
28
- "@drax/common-share": "^0.0.29",
29
- "@drax/identity-share": "^0.0.29"
27
+ "@drax/common-front": "^0.0.31",
28
+ "@drax/common-share": "^0.0.31",
29
+ "@drax/identity-share": "^0.0.31"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@rushstack/eslint-patch": "^1.8.0",
@@ -48,5 +48,5 @@
48
48
  "vite-plugin-dts": "^3.9.1",
49
49
  "vitest": "^1.4.0"
50
50
  },
51
- "gitHead": "a067a1fc430dbc7d31835de79cfe385ba9935914"
51
+ "gitHead": "14a8c465526ef0edc3179be38fb0aaa081a4ebc4"
52
52
  }
@@ -55,7 +55,7 @@ class TenantGqlProvider implements ITenantProvider {
55
55
  async paginate({page= 1, limit= 5, orderBy="", orderDesc=false, search = ""}): Promise<IDraxPaginateResult<ITenant>> {
56
56
  const query: string = `query paginateTenant($options: PaginateOptions) {
57
57
  paginateTenant(options: $options) {
58
- total, page, limit, items{id, name }
58
+ total page limit items{ id name createdAt updatedAt }
59
59
  }
60
60
  }`
61
61
  const variables = {options: {page, limit, orderBy, orderDesc, search}}
@@ -52,7 +52,7 @@ class UserGqlProvider implements IUserProvider {
52
52
  async paginate({page= 1, limit= 5, orderBy="", orderDesc=false, search = ""}): Promise<IDraxPaginateResult<IUser>> {
53
53
  const query: string = `query paginateUser($options: PaginateOptions) {
54
54
  paginateUser(options: $options) {
55
- total, page, limit, items{ id, name username, email, phone, active, role{id, name} tenant{id name} }
55
+ total page limit items{ id name username email phone active role{id, name} tenant{id name} createdAt updatedAt }
56
56
  }
57
57
  }`
58
58
  const variables = {options: {page, limit, orderBy, orderDesc, search}}