mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
71 lines
1.2 KiB
GraphQL
71 lines
1.2 KiB
GraphQL
|
|
query getAllCountries {
|
|
countryAll {
|
|
uid
|
|
name
|
|
code
|
|
}
|
|
}
|
|
|
|
query getAllProvinces {
|
|
provinceAll {
|
|
totalCount
|
|
pageInfo {
|
|
hasNextPage
|
|
hasPreviousPage
|
|
startCursor
|
|
endCursor
|
|
}
|
|
items {
|
|
uid
|
|
name
|
|
code
|
|
email
|
|
emailCc
|
|
businessPhone
|
|
mobilePhone
|
|
countryUid
|
|
}
|
|
}
|
|
}
|
|
|
|
query filterProvincesByCountry($uid: String!) {
|
|
provincesByCountryUid(uid: $uid) {
|
|
name
|
|
uid
|
|
code
|
|
countryUid
|
|
}
|
|
}
|
|
|
|
query getAllDistricts {
|
|
districtAll {
|
|
totalCount
|
|
pageInfo {
|
|
hasNextPage
|
|
hasPreviousPage
|
|
startCursor
|
|
endCursor
|
|
}
|
|
items {
|
|
uid
|
|
name
|
|
code
|
|
email
|
|
emailCc
|
|
businessPhone
|
|
mobilePhone
|
|
provinceUid
|
|
}
|
|
}
|
|
}
|
|
|
|
query filterDistrictsByProvince($uid: String!) {
|
|
districtsByProvinceUid(uid: $uid) {
|
|
name
|
|
uid
|
|
code
|
|
provinceUid
|
|
}
|
|
}
|
|
|