@roadmanjs/auth-client 0.0.31 → 0.0.32
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/gql/user.query.d.ts +1 -0
- package/gql/user.query.d.ts.map +1 -1
- package/gql/user.query.js +10 -1
- package/gql/user.query.js.map +1 -1
- package/package.json +1 -1
package/gql/user.query.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const GET_ALL_USERS: import("graphql").DocumentNode;
|
|
2
2
|
export declare const GET_ME: import("graphql").DocumentNode;
|
|
3
3
|
export declare const GET_USER_PUBLIC: import("graphql").DocumentNode;
|
|
4
|
+
export declare const CHECK_USERNAME_MUTATION: import("graphql").DocumentNode;
|
|
4
5
|
//# sourceMappingURL=user.query.d.ts.map
|
package/gql/user.query.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.query.d.ts","sourceRoot":"","sources":["../../../src/client/gql/user.query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.query.d.ts","sourceRoot":"","sources":["../../../src/client/gql/user.query.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,aAAa,gCAOzB,CAAC;AAEF,eAAO,MAAM,MAAM,gCAOlB,CAAC;AAEF,eAAO,MAAM,eAAe,gCAO3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAOnC,CAAC"}
|
package/gql/user.query.js
CHANGED
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GET_USER_PUBLIC = exports.GET_ME = exports.GET_ALL_USERS = void 0;
|
|
6
|
+
exports.CHECK_USERNAME_MUTATION = exports.GET_USER_PUBLIC = exports.GET_ME = exports.GET_ALL_USERS = void 0;
|
|
7
|
+
const shared_1 = require("./shared");
|
|
7
8
|
const user_fragment_1 = require("./user.fragment");
|
|
8
9
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
9
10
|
// export const GET_END_USER = gql`
|
|
@@ -38,4 +39,12 @@ exports.GET_USER_PUBLIC = (0, graphql_tag_1.default) `
|
|
|
38
39
|
}
|
|
39
40
|
${user_fragment_1.UserTypeFragment}
|
|
40
41
|
`;
|
|
42
|
+
exports.CHECK_USERNAME_MUTATION = (0, graphql_tag_1.default) `
|
|
43
|
+
query CheckUsername($username: String!) {
|
|
44
|
+
data: checkUsername(username: $username) {
|
|
45
|
+
...AuthResTypeFragment
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
${shared_1.AuthResTypeFragment}
|
|
49
|
+
`;
|
|
41
50
|
//# sourceMappingURL=user.query.js.map
|
package/gql/user.query.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.query.js","sourceRoot":"","sources":["../../../src/client/gql/user.query.ts"],"names":[],"mappings":";;;;;;AAAA,mDAAiD;AACjD,8DAA8B;AAE9B,mCAAmC;AACnC,gCAAgC;AAChC,yBAAyB;AACzB,2BAA2B;AAC3B,QAAQ;AACR,MAAM;AACN,uBAAuB;AACvB,KAAK;AAEQ,QAAA,aAAa,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM1B,gCAAgB;CACrB,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMnB,gCAAgB;CACrB,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM5B,gCAAgB;CACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"user.query.js","sourceRoot":"","sources":["../../../src/client/gql/user.query.ts"],"names":[],"mappings":";;;;;;AAAA,qCAA6C;AAC7C,mDAAiD;AACjD,8DAA8B;AAE9B,mCAAmC;AACnC,gCAAgC;AAChC,yBAAyB;AACzB,2BAA2B;AAC3B,QAAQ;AACR,MAAM;AACN,uBAAuB;AACvB,KAAK;AAEQ,QAAA,aAAa,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM1B,gCAAgB;CACrB,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMnB,gCAAgB;CACrB,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM5B,gCAAgB;CACrB,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMpC,4BAAmB;CACxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@roadmanjs/auth-client","version":"0.0.
|
|
1
|
+
{"name":"@roadmanjs/auth-client","version":"0.0.32","description":"GraphQL client gql for @roadmanjs/auth","main":"index.js","types":"index.d.ts","files":["index.d.ts","docs/","/gql","register/","LICENSE"],"author":{"name":"Ceddy Muhoza","email":"ceddymuhoza@gmail.com","url":"https://ceddy.org"},"license":"MIT","private":false,"scripts":{},"lint-staged":{"*.{ts,tsx}":["npm run eslint"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"devDependencies":{},"peerDependencies":{},"dependencies":{"graphql-tag":"^2.12.5"}}
|