@roadmanjs/auth-client 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/gql/shared.d.ts +1 -0
- package/gql/shared.d.ts.map +1 -0
- package/gql/user.fragment.d.ts +1 -0
- package/gql/user.fragment.d.ts.map +1 -0
- package/gql/user.mutation.d.ts +2 -0
- package/gql/user.mutation.d.ts.map +1 -0
- package/gql/user.mutation.js +9 -1
- package/gql/user.mutation.js.map +1 -1
- package/gql/user.query.d.ts +1 -0
- package/gql/user.query.d.ts.map +1 -0
- package/gql/user.subscription.d.ts +1 -0
- package/gql/user.subscription.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/package.json +1 -1
package/gql/shared.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/client/gql/shared.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB,gCAM/B,CAAC"}
|
package/gql/user.fragment.d.ts
CHANGED
|
@@ -29,3 +29,4 @@ export interface LoginResponseType extends ResType {
|
|
|
29
29
|
export declare const UserTypeFragment: import("graphql").DocumentNode;
|
|
30
30
|
export declare const LoginResponseTypeFragment: import("graphql").DocumentNode;
|
|
31
31
|
export default UserTypeFragment;
|
|
32
|
+
//# sourceMappingURL=user.fragment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.fragment.d.ts","sourceRoot":"","sources":["../../../src/client/gql/user.fragment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAGjC,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,OAAO;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,QAAQ,CAAC;CAClB;AAED,eAAO,MAAM,gBAAgB,gCAuB5B,CAAC;AAEF,eAAO,MAAM,yBAAyB,gCAYrC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/gql/user.mutation.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare const UPDATE_USER_WALLET: import("graphql").DocumentNode;
|
|
2
2
|
export declare const PHONE_LOGIN_MUTATION: import("graphql").DocumentNode;
|
|
3
|
+
export declare const PASSWORD_LOGIN_MUTATION: import("graphql").DocumentNode;
|
|
3
4
|
export declare const LOGIN_MUTATION: import("graphql").DocumentNode;
|
|
4
5
|
export declare const REGISTER_MUTATION: import("graphql").DocumentNode;
|
|
5
6
|
export declare const ADD_USER_MUTATION: import("graphql").DocumentNode;
|
|
6
7
|
export declare const FORGOTPASSWORD_MUTATION: import("graphql").DocumentNode;
|
|
7
8
|
export declare const CHANGEPASSWORD_MUTATION: import("graphql").DocumentNode;
|
|
8
9
|
export declare const UPDATE_USER_PROFILE: import("graphql").DocumentNode;
|
|
10
|
+
//# sourceMappingURL=user.mutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.mutation.d.ts","sourceRoot":"","sources":["../../../src/client/gql/user.mutation.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,gCAO9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAOhC,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAOnC,CAAC;AAEF,eAAO,MAAM,cAAc,gCAO1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,gCAO7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,gCAO7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAOnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAOnC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAO/B,CAAC"}
|
package/gql/user.mutation.js
CHANGED
|
@@ -3,7 +3,7 @@ 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.UPDATE_USER_PROFILE = exports.CHANGEPASSWORD_MUTATION = exports.FORGOTPASSWORD_MUTATION = exports.ADD_USER_MUTATION = exports.REGISTER_MUTATION = exports.LOGIN_MUTATION = exports.PHONE_LOGIN_MUTATION = exports.UPDATE_USER_WALLET = void 0;
|
|
6
|
+
exports.UPDATE_USER_PROFILE = exports.CHANGEPASSWORD_MUTATION = exports.FORGOTPASSWORD_MUTATION = exports.ADD_USER_MUTATION = exports.REGISTER_MUTATION = exports.LOGIN_MUTATION = exports.PASSWORD_LOGIN_MUTATION = exports.PHONE_LOGIN_MUTATION = exports.UPDATE_USER_WALLET = void 0;
|
|
7
7
|
const shared_1 = require("./shared");
|
|
8
8
|
const user_fragment_1 = require("./user.fragment");
|
|
9
9
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
@@ -23,6 +23,14 @@ exports.PHONE_LOGIN_MUTATION = (0, graphql_tag_1.default) `
|
|
|
23
23
|
}
|
|
24
24
|
${user_fragment_1.LoginResponseTypeFragment}
|
|
25
25
|
`;
|
|
26
|
+
exports.PASSWORD_LOGIN_MUTATION = (0, graphql_tag_1.default) `
|
|
27
|
+
mutation PasswordLogin($username: String!, $password: String!, $createNew: Boolean!) {
|
|
28
|
+
data: passwordLogin(username: $username, password: $password, createNew: $createNew) {
|
|
29
|
+
...LoginResponseTypeFragment
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
${user_fragment_1.LoginResponseTypeFragment}
|
|
33
|
+
`;
|
|
26
34
|
exports.LOGIN_MUTATION = (0, graphql_tag_1.default) `
|
|
27
35
|
mutation Login($password: String!, $email: String!) {
|
|
28
36
|
data: login(password: $password, email: $email) {
|
package/gql/user.mutation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.mutation.js","sourceRoot":"","sources":["../../../src/client/gql/user.mutation.ts"],"names":[],"mappings":";;;;;;AAAA,qCAA6C;AAC7C,mDAA0D;AAC1D,8DAA8B;AAEjB,QAAA,kBAAkB,GAAG,IAAA,qBAAG,EAAA;;;;;;;CAOpC,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMjC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM3B,yCAAyB;CAC9B,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM9B,yCAAyB;CAC9B,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM9B,4BAAmB;CACxB,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMpC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMpC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMhC,4BAAmB;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"user.mutation.js","sourceRoot":"","sources":["../../../src/client/gql/user.mutation.ts"],"names":[],"mappings":";;;;;;AAAA,qCAA6C;AAC7C,mDAA0D;AAC1D,8DAA8B;AAEjB,QAAA,kBAAkB,GAAG,IAAA,qBAAG,EAAA;;;;;;;CAOpC,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMjC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMpC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM3B,yCAAyB;CAC9B,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM9B,yCAAyB;CAC9B,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAM9B,4BAAmB;CACxB,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMpC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMpC,yCAAyB;CAC9B,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMhC,4BAAmB;CACxB,CAAC"}
|
package/gql/user.query.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.query.d.ts","sourceRoot":"","sources":["../../../src/client/gql/user.query.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa,gCAOzB,CAAC;AAEF,eAAO,MAAM,MAAM,gCAOlB,CAAC;AAEF,eAAO,MAAM,eAAe,gCAO3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.subscription.d.ts","sourceRoot":"","sources":["../../../src/client/gql/user.subscription.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,gCAO7B,CAAC"}
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@roadmanjs/auth-client","version":"0.0.
|
|
1
|
+
{"name":"@roadmanjs/auth-client","version":"0.0.31","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"}}
|