Skip to content

Commit 3efe0e8

Browse files
authored
Merge pull request #421 from bakaphp/refact/user-is-verified
feat: user is verified
2 parents c1df5a6 + 97cd896 commit 3efe0e8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.32.6",
2+
"version": "0.32.7",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",

src/queries/users.query.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export const GET_USER_DATA_QUERY = gql`
113113
default_company_uuid
114114
email
115115
welcome
116+
is_verified
116117
mainRole
117118
branches {
118119
id
@@ -166,6 +167,7 @@ export const GET_USER_SOCIAL_DATA_QUERY = gql`
166167
email
167168
welcome
168169
mainRole
170+
is_verified
169171
social {
170172
total_message
171173
total_followers

src/types/users.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export interface UserData {
133133
};
134134
roles: string[];
135135
is_active: boolean;
136+
is_verified: boolean;
136137
abilities: string[];
137138
custom_fields: CustomFieldData;
138139
photo?: {

0 commit comments

Comments
 (0)