phx-react 1.3.116 → 1.3.118
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,6 +3,6 @@ exports.__esModule = true;
|
|
|
3
3
|
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
|
|
6
|
+
exports.getUserInfo = (0, client_1.gql)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n group_id\n mail\n id\n phone\n name\n }\n }\n }\n"], ["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n group_id\n mail\n id\n phone\n name\n }\n }\n }\n"])));
|
|
7
7
|
var templateObject_1;
|
|
8
8
|
//# 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,
|
|
1
|
+
{"version":3,"file":"queryLogin.js","sourceRoot":"","sources":["../../../src/utils/queryLogin.ts"],"names":[],"mappings":";;;;AAAA,yCAAoC;AAEvB,QAAA,WAAW,OAAG,YAAG,+YAAA,mUAiB7B,KAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
3
|
+
export var getUserInfo = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n group_id\n mail\n id\n phone\n name\n }\n }\n }\n"], ["\n query MyQuery($email: String, $password: String) {\n users(where: { email: { _eq: $email }, password: { _eq: $password } }) {\n id\n email\n phone_number\n full_name\n school_id\n school {\n group_id\n mail\n id\n phone\n name\n }\n }\n }\n"])));
|
|
4
4
|
var templateObject_1;
|
|
5
5
|
//# 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,
|
|
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,sYAAA,mUAiB7B,IAAA,CAAA"}
|