-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from restorecommerce/feature/user-management
Feature/user management (Still WIP)
- Loading branch information
Showing
131 changed files
with
3,812 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,8 @@ | |
"type:config", | ||
"type:graphql", | ||
"type:state", | ||
"type:types" | ||
"type:types", | ||
"type:shared" | ||
] | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fragment RoleFragment on IoRestorecommerceRoleRole { | ||
id | ||
name | ||
description | ||
assignableByRoles | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
fragment TimezoneFragment on IoRestorecommerceTimezoneTimezone { | ||
id | ||
value | ||
description | ||
meta { | ||
...MetaFragment | ||
|
37 changes: 37 additions & 0 deletions
37
packages/core/graphql/src/lib/documents/fragments/user-role.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
fragment UserRoleFragment on IoRestorecommerceUserUserRole { | ||
id | ||
active | ||
activationCode | ||
newEmail | ||
name | ||
firstName | ||
lastName | ||
userType | ||
defaultScope | ||
lastAccess | ||
localeId | ||
locale { | ||
id | ||
name | ||
value | ||
description | ||
} | ||
timezoneId | ||
timezone { | ||
id | ||
name | ||
value | ||
description | ||
} | ||
roles { | ||
...RoleFragment | ||
} | ||
roleAssociations { | ||
id | ||
role | ||
} | ||
meta { | ||
...MetaFragment | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
packages/core/graphql/src/lib/documents/identity/role-delete.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mutation IdentityRoleDelete( | ||
$input: IIoRestorecommerceResourcebaseDeleteRequest! | ||
) { | ||
identity { | ||
role { | ||
Delete(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/core/graphql/src/lib/documents/identity/role-mutate.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
mutation IdentityRoleMutate($input: IIoRestorecommerceRoleRoleList!) { | ||
identity { | ||
role { | ||
Mutate(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...RoleFragment | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/core/graphql/src/lib/documents/identity/role-read.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
query IdentityRoleRead($input: IIoRestorecommerceResourcebaseReadRequest!) { | ||
identity { | ||
role { | ||
Read(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...RoleFragment | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/core/graphql/src/lib/documents/identity/user-read.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
query IdentityUserRead($input: IIoRestorecommerceResourcebaseReadRequest!) { | ||
identity { | ||
user { | ||
Read(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
...UserRoleFragment | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.