Add number of wheels column

pull/1/head
Max Ehrlicher-Schmidt 4 years ago
parent 52973b9ae4
commit 1673eeb475

@ -1,4 +1,5 @@
overwrite: true
watch: true
schema: "http://localhost:4000/graphql"
documents: "src/app/graphqlOperations/**/*.graphql"
generates:

@ -13,6 +13,7 @@ fragment CargoBikeFieldsMutable on CargoBike {
bikeWeight
}
numberOfChildren
numberOfWheels
security {
frameNumber
adfcCoding

@ -74,6 +74,18 @@
</td>
</ng-container>
<!-- NumberOfWheels Column -->
<ng-container matColumnDef="numberOfWheels">
<th mat-header-cell cdkDrag *matHeaderCellDef i18n="WheelCount">Räderanzahl</th>
<td mat-cell *matCellDef="let element">
<app-string-cell
[editable]="element.isGettingEdited"
[(value)]="element.numberOfWheels"
inputType="number"
></app-string-cell>
</td>
</ng-container>
<!-- Buttons Column -->
<ng-container matColumnDef="buttons" stickyEnd>
<th mat-header-cell *matHeaderCellDef></th>

@ -25,6 +25,7 @@ export class BikesComponent {
'id',
'frameNumber',
'numberOfChildren',
'numberOfWheels',
'buttons',
];

@ -909,7 +909,7 @@ export type GetCargoBikesQuery = (
export type CargoBikeFieldsMutableFragment = (
{ __typename?: 'CargoBike' }
& Pick<CargoBike, 'id' | 'group' | 'name' | 'lockedBy' | 'lockedUntil' | 'numberOfChildren'>
& Pick<CargoBike, 'id' | 'group' | 'name' | 'lockedBy' | 'lockedUntil' | 'numberOfChildren' | 'numberOfWheels'>
& { insuranceData: (
{ __typename?: 'InsuranceData' }
& Pick<InsuranceData, 'billing' | 'hasFixedRate'>
@ -957,6 +957,7 @@ export const CargoBikeFieldsMutableFragmentDoc = gql`
maxWeightTotal
}
numberOfChildren
numberOfWheels
security {
frameNumber
adfcCoding

Loading…
Cancel
Save