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(
|
query ChargingStationsList(
|
||||||
$offset: Int
|
$offset: Int
|
||||||
$limit: Int
|
$limit: Int
|
||||||
$order_by: [chargingStations_order_by!]
|
$order_by: [ChargingStations_order_by!]
|
||||||
$where: chargingStations_bool_exp
|
$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
|
id
|
||||||
ocppConnectionName
|
ocppConnectionName
|
||||||
isOnline
|
isOnline
|
||||||
@@ -101,10 +101,10 @@ export const FAULTED_CHARGING_STATIONS_LIST_QUERY = gql`
|
|||||||
query ChargingStationsFaultedList(
|
query ChargingStationsFaultedList(
|
||||||
$offset: Int!
|
$offset: Int!
|
||||||
$limit: Int!
|
$limit: Int!
|
||||||
$order_by: [chargingStations_order_by!]
|
$order_by: [ChargingStations_order_by!]
|
||||||
$where: chargingStations_bool_exp = {}
|
$where: ChargingStations_bool_exp = {}
|
||||||
) {
|
) {
|
||||||
chargingStations(
|
ChargingStations(
|
||||||
offset: $offset
|
offset: $offset
|
||||||
limit: $limit
|
limit: $limit
|
||||||
order_by: $order_by
|
order_by: $order_by
|
||||||
@@ -194,7 +194,7 @@ export const CHARGING_STATIONS_STATUS_COUNT_QUERY = gql`
|
|||||||
|
|
||||||
export const CHARGING_STATIONS_GET_QUERY = gql`
|
export const CHARGING_STATIONS_GET_QUERY = gql`
|
||||||
query GetChargingStationById($id: String!) {
|
query GetChargingStationById($id: String!) {
|
||||||
chargingStations(where: {id: {_eq: $id}}) {
|
ChargingStations(where: {id: {_eq: $id}}) {
|
||||||
id
|
id
|
||||||
tenantId
|
tenantId
|
||||||
ocppConnectionName
|
ocppConnectionName
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const LOCATIONS_LIST_QUERY = gql`
|
|||||||
$limit: Int!
|
$limit: Int!
|
||||||
$order_by: [Locations_order_by!]
|
$order_by: [Locations_order_by!]
|
||||||
$where: Locations_bool_exp
|
$where: Locations_bool_exp
|
||||||
$chargingStationsWhere: chargingStations_bool_exp
|
$chargingStationsWhere: ChargingStations_bool_exp
|
||||||
) {
|
) {
|
||||||
Locations(offset: $offset, limit: $limit, order_by: $order_by, where: $where) {
|
Locations(offset: $offset, limit: $limit, order_by: $order_by, where: $where) {
|
||||||
id
|
id
|
||||||
|
|||||||
Reference in New Issue
Block a user