Skip to content

Commit

Permalink
Merge pull request #122 from bakaphp/feat/update-app-create-users
Browse files Browse the repository at this point in the history
Feat/update app create users
  • Loading branch information
RivierGrullon authored Dec 5, 2023
2 parents 18ce1eb + 144a527 commit a889169
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{

"version": "0.0.65",
"version": "0.0.66",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/queries/app.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const GET_APP_USERS = gql`
displayname
lastname
firstname
default_company
default_company_branch
sex
description
user_active
Expand Down
2 changes: 1 addition & 1 deletion src/types/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface AppCreateUserParams {
company_name?: string;
phone_number?: string;
cell_phone_number?: string;
roles_id?: string | number;
role_ids?: (string | number)[];
password?: string;
custom_fields: CustomFieldInput[];
}
Expand Down
2 changes: 1 addition & 1 deletion src/types/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export interface UpdateUserParams {
displayname?: string;
phone_number: string;
cell_phone_number: string;
role_id?: number | string;
role_ids?: (string | number)[];
custom_fields: {
name: string;
data: any;
Expand Down

0 comments on commit a889169

Please sign in to comment.