Skip to content

Commit b3b3233

Browse files
committed
GraphQL: Regen types for versioned InfoSpot
1 parent c88a972 commit b3b3233

3 files changed

Lines changed: 237 additions & 13 deletions

File tree

test-db-manager/src/generated/graphql.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export type StopPlaceChangeHistoryItem = {
159159
changed?: Maybe<Scalars['timestamp']['output']>;
160160
changedBy?: Maybe<Scalars['String']['output']>;
161161
netexId: Scalars['String']['output'];
162-
parentStopPlace: Scalars['Boolean']['output'];
162+
parentStopPlace?: Maybe<Scalars['Boolean']['output']>;
163163
priority?: Maybe<Scalars['String']['output']>;
164164
privateCodeType?: Maybe<Scalars['String']['output']>;
165165
privateCodeValue: Scalars['String']['output'];
@@ -11115,6 +11115,15 @@ export enum StopRegistryLimitationStatusType {
1111511115
Unknown = 'UNKNOWN'
1111611116
}
1111711117

11118+
/** Version-aware reference to a location (read-only) */
11119+
export type StopRegistryLocationRef = {
11120+
__typename?: 'stop_registry_LocationRef';
11121+
/** NetEx ID of the referenced location */
11122+
ref?: Maybe<Scalars['String']['output']>;
11123+
/** Version of the referenced location */
11124+
version?: Maybe<Scalars['String']['output']>;
11125+
};
11126+
1111811127
export enum StopRegistryModificationEnumerationType {
1111911128
Delete = 'delete',
1112011129
Delta = 'delta',
@@ -12113,9 +12122,12 @@ export type StopRegistryInfoSpot = {
1211312122
geometry?: Maybe<StopRegistryGeoJson>;
1211412123
height?: Maybe<Scalars['Int']['output']>;
1211512124
id?: Maybe<Scalars['String']['output']>;
12125+
/** List of location NetEx IDs (simple string format) */
1211612126
infoSpotLocations?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1211712127
infoSpotType?: Maybe<StopRegistryInfoSpotType>;
1211812128
label?: Maybe<Scalars['String']['output']>;
12129+
/** Version-aware references to locations showing which version was referenced */
12130+
locationRefs?: Maybe<Array<Maybe<StopRegistryLocationRef>>>;
1211912131
maintenance?: Maybe<Scalars['String']['output']>;
1212012132
poster?: Maybe<Array<Maybe<StopRegistryPoster>>>;
1212112133
posterPlaceSize?: Maybe<StopRegistryPosterPlaceSize>;
@@ -12136,6 +12148,7 @@ export type StopRegistryInfoSpotInput = {
1213612148
geometry?: InputMaybe<StopRegistryGeoJsonInput>;
1213712149
height?: InputMaybe<Scalars['Int']['input']>;
1213812150
id?: InputMaybe<Scalars['String']['input']>;
12151+
/** List of location NetEx IDs - backend auto-resolves to current version */
1213912152
infoSpotLocations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1214012153
infoSpotType?: InputMaybe<StopRegistryInfoSpotType>;
1214112154
label?: InputMaybe<Scalars['String']['input']>;
@@ -26137,6 +26150,7 @@ export type StopsDatabaseInfoSpotLocation = {
2613726150
info_spot: StopsDatabaseInfoSpot;
2613826151
info_spot_id: Scalars['bigint']['output'];
2613926152
location_netex_id?: Maybe<Scalars['String']['output']>;
26153+
version?: Maybe<Scalars['String']['output']>;
2614026154
};
2614126155

2614226156
/** aggregated selection of "info_spot_location" */
@@ -26208,6 +26222,7 @@ export type StopsDatabaseInfoSpotLocationBoolExp = {
2620826222
info_spot?: InputMaybe<StopsDatabaseInfoSpotBoolExp>;
2620926223
info_spot_id?: InputMaybe<BigintComparisonExp>;
2621026224
location_netex_id?: InputMaybe<StringComparisonExp>;
26225+
version?: InputMaybe<StringComparisonExp>;
2621126226
};
2621226227

2621326228
/** input type for incrementing numeric columns in table "info_spot_location" */
@@ -26220,32 +26235,37 @@ export type StopsDatabaseInfoSpotLocationInsertInput = {
2622026235
info_spot?: InputMaybe<StopsDatabaseInfoSpotObjRelInsertInput>;
2622126236
info_spot_id?: InputMaybe<Scalars['bigint']['input']>;
2622226237
location_netex_id?: InputMaybe<Scalars['String']['input']>;
26238+
version?: InputMaybe<Scalars['String']['input']>;
2622326239
};
2622426240

2622526241
/** aggregate max on columns */
2622626242
export type StopsDatabaseInfoSpotLocationMaxFields = {
2622726243
__typename?: 'stops_database_info_spot_location_max_fields';
2622826244
info_spot_id?: Maybe<Scalars['bigint']['output']>;
2622926245
location_netex_id?: Maybe<Scalars['String']['output']>;
26246+
version?: Maybe<Scalars['String']['output']>;
2623026247
};
2623126248

2623226249
/** order by max() on columns of table "info_spot_location" */
2623326250
export type StopsDatabaseInfoSpotLocationMaxOrderBy = {
2623426251
info_spot_id?: InputMaybe<OrderBy>;
2623526252
location_netex_id?: InputMaybe<OrderBy>;
26253+
version?: InputMaybe<OrderBy>;
2623626254
};
2623726255

2623826256
/** aggregate min on columns */
2623926257
export type StopsDatabaseInfoSpotLocationMinFields = {
2624026258
__typename?: 'stops_database_info_spot_location_min_fields';
2624126259
info_spot_id?: Maybe<Scalars['bigint']['output']>;
2624226260
location_netex_id?: Maybe<Scalars['String']['output']>;
26261+
version?: Maybe<Scalars['String']['output']>;
2624326262
};
2624426263

2624526264
/** order by min() on columns of table "info_spot_location" */
2624626265
export type StopsDatabaseInfoSpotLocationMinOrderBy = {
2624726266
info_spot_id?: InputMaybe<OrderBy>;
2624826267
location_netex_id?: InputMaybe<OrderBy>;
26268+
version?: InputMaybe<OrderBy>;
2624926269
};
2625026270

2625126271
/** response of any mutation on the table "info_spot_location" */
@@ -26262,20 +26282,24 @@ export type StopsDatabaseInfoSpotLocationOrderBy = {
2626226282
info_spot?: InputMaybe<StopsDatabaseInfoSpotOrderBy>;
2626326283
info_spot_id?: InputMaybe<OrderBy>;
2626426284
location_netex_id?: InputMaybe<OrderBy>;
26285+
version?: InputMaybe<OrderBy>;
2626526286
};
2626626287

2626726288
/** select columns of table "info_spot_location" */
2626826289
export enum StopsDatabaseInfoSpotLocationSelectColumn {
2626926290
/** column name */
2627026291
InfoSpotId = 'info_spot_id',
2627126292
/** column name */
26272-
LocationNetexId = 'location_netex_id'
26293+
LocationNetexId = 'location_netex_id',
26294+
/** column name */
26295+
Version = 'version'
2627326296
}
2627426297

2627526298
/** input type for updating data in table "info_spot_location" */
2627626299
export type StopsDatabaseInfoSpotLocationSetInput = {
2627726300
info_spot_id?: InputMaybe<Scalars['bigint']['input']>;
2627826301
location_netex_id?: InputMaybe<Scalars['String']['input']>;
26302+
version?: InputMaybe<Scalars['String']['input']>;
2627926303
};
2628026304

2628126305
/** aggregate stddev on columns */
@@ -26323,6 +26347,7 @@ export type StopsDatabaseInfoSpotLocationStreamCursorInput = {
2632326347
export type StopsDatabaseInfoSpotLocationStreamCursorValueInput = {
2632426348
info_spot_id?: InputMaybe<Scalars['bigint']['input']>;
2632526349
location_netex_id?: InputMaybe<Scalars['String']['input']>;
26350+
version?: InputMaybe<Scalars['String']['input']>;
2632626351
};
2632726352

2632826353
/** aggregate sum on columns */

0 commit comments

Comments
 (0)