diff --git a/codegen.yml b/codegen.yml
index dfbd037..8747eef 100644
--- a/codegen.yml
+++ b/codegen.yml
@@ -1,4 +1,5 @@
overwrite: true
+watch: true
schema: "http://localhost:4000/graphql"
documents: "src/app/graphqlOperations/**/*.graphql"
generates:
diff --git a/src/app/graphqlOperations/fragments/bikeFragment.graphql b/src/app/graphqlOperations/fragments/bikeFragment.graphql
index aa22522..5da4b7a 100644
--- a/src/app/graphqlOperations/fragments/bikeFragment.graphql
+++ b/src/app/graphqlOperations/fragments/bikeFragment.graphql
@@ -13,6 +13,7 @@ fragment CargoBikeFieldsMutable on CargoBike {
bikeWeight
}
numberOfChildren
+ numberOfWheels
security {
frameNumber
adfcCoding
diff --git a/src/app/pages/tables/bikes/bikes.component.html b/src/app/pages/tables/bikes/bikes.component.html
index a8b857f..eb729ad 100644
--- a/src/app/pages/tables/bikes/bikes.component.html
+++ b/src/app/pages/tables/bikes/bikes.component.html
@@ -75,6 +75,18 @@
+
+
+ Räderanzahl |
+
+
+ |
+
+
|
diff --git a/src/app/pages/tables/bikes/bikes.component.ts b/src/app/pages/tables/bikes/bikes.component.ts
index 15a2da8..37c7c59 100644
--- a/src/app/pages/tables/bikes/bikes.component.ts
+++ b/src/app/pages/tables/bikes/bikes.component.ts
@@ -25,6 +25,7 @@ export class BikesComponent {
'id',
'frameNumber',
'numberOfChildren',
+ 'numberOfWheels',
'buttons',
];
diff --git a/src/generated/graphql.ts b/src/generated/graphql.ts
index 0b64c79..2430b8f 100644
--- a/src/generated/graphql.ts
+++ b/src/generated/graphql.ts
@@ -909,7 +909,7 @@ export type GetCargoBikesQuery = (
export type CargoBikeFieldsMutableFragment = (
{ __typename?: 'CargoBike' }
- & Pick
+ & Pick
& { insuranceData: (
{ __typename?: 'InsuranceData' }
& Pick
@@ -955,6 +955,7 @@ export const CargoBikeFieldsMutableFragmentDoc = gql`
maxWeightTotal
}
numberOfChildren
+ numberOfWheels
security {
frameNumber
adfcCoding