phx-react 1.3.662 → 1.3.663

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.
@@ -3,7 +3,7 @@ exports.__esModule = true;
3
3
  exports.getUserInfoPn28 = exports.getUserInfo = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var client_1 = require("@apollo/client");
6
- exports.getUserInfo = (0, client_1.gql)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"], ["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"])));
6
+ exports.getUserInfo = (0, client_1.gql)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true }, deleted_at: { _is_null: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"], ["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true }, deleted_at: { _is_null: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"])));
7
7
  exports.getUserInfoPn28 = (0, client_1.gql)(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password }, deleted_at: { _is_null: true } }) {\n id\n email\n password\n }\n }\n"], ["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password }, deleted_at: { _is_null: true } }) {\n id\n email\n password\n }\n }\n"])));
8
8
  var templateObject_1, templateObject_2;
9
9
  //# sourceMappingURL=queryLogin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"queryLogin.js","sourceRoot":"","sources":["../../../src/utils/queryLogin.ts"],"names":[],"mappings":";;;;AAAA,yCAAoC;AAEvB,QAAA,WAAW,OAAG,YAAG,8pBAAA,klBA+B7B,KAAA;AAEY,QAAA,eAAe,OAAG,YAAG,uSAAA,2NAQjC,KAAA"}
1
+ {"version":3,"file":"queryLogin.js","sourceRoot":"","sources":["../../../src/utils/queryLogin.ts"],"names":[],"mappings":";;;;AAAA,yCAAoC;AAEvB,QAAA,WAAW,OAAG,YAAG,8rBAAA,knBA+B7B,KAAA;AAEY,QAAA,eAAe,OAAG,YAAG,uSAAA,2NAQjC,KAAA"}
@@ -1,6 +1,6 @@
1
1
  import { __makeTemplateObject } from "tslib";
2
2
  import { gql } from '@apollo/client';
3
- export var getUserInfo = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"], ["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"])));
3
+ export var getUserInfo = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true }, deleted_at: { _is_null: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"], ["\n query MyQuery($userId: Int) {\n users(where: { id: { _eq: $userId } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n educational_levels(where: { deleted_at: { _is_null: true } }) {\n code\n }\n school_name_id\n email\n id\n phone\n name\n school_name {\n name\n group_id\n }\n }\n user_roles(where: { is_active: { _eq: true }, deleted_at: { _is_null: true } }) {\n role_id\n role {\n name\n role_code\n }\n }\n }\n }\n"])));
4
4
  export var getUserInfoPn28 = gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password }, deleted_at: { _is_null: true } }) {\n id\n email\n password\n }\n }\n"], ["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password }, deleted_at: { _is_null: true } }) {\n id\n email\n password\n }\n }\n"])));
5
5
  var templateObject_1, templateObject_2;
6
6
  //# sourceMappingURL=queryLogin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"queryLogin.js","sourceRoot":"","sources":["../../../src/utils/queryLogin.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,WAAW,GAAG,GAAG,qpBAAA,klBA+B7B,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG,GAAG,8RAAA,2NAQjC,IAAA,CAAA"}
1
+ {"version":3,"file":"queryLogin.js","sourceRoot":"","sources":["../../../src/utils/queryLogin.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,WAAW,GAAG,GAAG,qrBAAA,knBA+B7B,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG,GAAG,8RAAA,2NAQjC,IAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phx-react",
3
- "version": "1.3.662",
3
+ "version": "1.3.663",
4
4
  "description": "PHX REACT",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",