fix: Revert to PascalCase for all ChargingStations types after removing Hasura customization
This commit is contained in:
@@ -8,10 +8,10 @@ export const CHARGING_STATIONS_LIST_QUERY = gql`
|
||||
query ChargingStationsList(
|
||||
$offset: Int
|
||||
$limit: Int
|
||||
$order_by: [chargingStations_order_by!]
|
||||
$where: chargingStations_bool_exp
|
||||
$order_by: [ChargingStations_order_by!]
|
||||
$where: ChargingStations_bool_exp
|
||||
) {
|
||||
chargingStations(offset: $offset, limit: $limit, order_by: $order_by, where: $where) {
|
||||
ChargingStations(offset: $offset, limit: $limit, order_by: $order_by, where: $where) {
|
||||
id
|
||||
ocppConnectionName
|
||||
isOnline
|
||||
@@ -101,10 +101,10 @@ export const FAULTED_CHARGING_STATIONS_LIST_QUERY = gql`
|
||||
query ChargingStationsFaultedList(
|
||||
$offset: Int!
|
||||
$limit: Int!
|
||||
$order_by: [chargingStations_order_by!]
|
||||
$where: chargingStations_bool_exp = {}
|
||||
$order_by: [ChargingStations_order_by!]
|
||||
$where: ChargingStations_bool_exp = {}
|
||||
) {
|
||||
chargingStations(
|
||||
ChargingStations(
|
||||
offset: $offset
|
||||
limit: $limit
|
||||
order_by: $order_by
|
||||
@@ -194,7 +194,7 @@ export const CHARGING_STATIONS_STATUS_COUNT_QUERY = gql`
|
||||
|
||||
export const CHARGING_STATIONS_GET_QUERY = gql`
|
||||
query GetChargingStationById($id: String!) {
|
||||
chargingStations(where: {id: {_eq: $id}}) {
|
||||
ChargingStations(where: {id: {_eq: $id}}) {
|
||||
id
|
||||
tenantId
|
||||
ocppConnectionName
|
||||
|
||||
@@ -10,7 +10,7 @@ export const LOCATIONS_LIST_QUERY = gql`
|
||||
$limit: Int!
|
||||
$order_by: [Locations_order_by!]
|
||||
$where: Locations_bool_exp
|
||||
$chargingStationsWhere: chargingStations_bool_exp
|
||||
$chargingStationsWhere: ChargingStations_bool_exp
|
||||
) {
|
||||
Locations(offset: $offset, limit: $limit, order_by: $order_by, where: $where) {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user