-
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.
chore: queries locales and timezones
- Loading branch information
1 parent
fb35f05
commit b77015b
Showing
3 changed files
with
129 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
packages/modules/shared/src/lib/graphql/master-data-locale-read.graphql
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,25 @@ | ||
query MasterDataLocaleRead($input: IIoRestorecommerceResourcebaseReadRequest!) { | ||
master_data { | ||
locale { | ||
Read(input: $input) { | ||
details { | ||
items { | ||
payload { | ||
id | ||
description | ||
value | ||
} | ||
status { | ||
code | ||
message | ||
} | ||
} | ||
operationStatus { | ||
code | ||
message | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
packages/modules/shared/src/lib/graphql/master-data-timezone-read.graphql
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,22 @@ | ||
query MasterDataTimezoneRead( | ||
$input: IIoRestorecommerceResourcebaseReadRequest! | ||
) { | ||
master_data { | ||
timezone { | ||
Read(input: $input) { | ||
details { | ||
operationStatus { | ||
code | ||
message | ||
} | ||
items { | ||
payload { | ||
id | ||
description | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |