Skip to content

Commit 01a95c0

Browse files
authored
fix: missing feature status (#991)
1 parent b95177c commit 01a95c0

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

docs/DatabaseCatalogAPI.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,14 @@ components:
342342
* `deprecated` Feed is explicitly deprecated and should not be used in public trip planners.
343343
* `inactive` Feed hasn't been recently updated and should be used at risk of providing outdated information.
344344
* `development` Feed is being used for development purposes and should not be used in public trip planners.
345+
* `future` Feed is not yet active but will be in the future.
345346
type: string
346347
enum:
347348
- active
348349
- deprecated
349350
- inactive
350351
- development
352+
- future
351353
example: deprecated
352354
# Have to put the enum inline because of a bug in openapi-generator
353355
# $ref: "#/components/schemas/FeedStatus"
@@ -465,12 +467,14 @@ components:
465467
* `deprecated` Feed is explicitly deprecated and should not be used in public trip planners.
466468
* `inactive` Feed hasn't been recently updated and should be used at risk of providing outdated information.
467469
* `development` Feed is being used for development purposes and should not be used in public trip planners.
470+
* `future` Feed is not yet active but will be in the future.
468471
type: string
469472
enum:
470473
- active
471474
- deprecated
472475
- inactive
473476
- development
477+
- future
474478
example: deprecated
475479
# Have to put the enum inline because of a bug in openapi-generator
476480
# $ref: "#/components/schemas/FeedStatus"
@@ -732,12 +736,14 @@ components:
732736
# * `deprecated` Feed is explicitly deprecated and should not be used in public trip planners.
733737
# * `inactive` Feed hasn't been recently updated and should be used at risk of providing outdated information.
734738
# * `development` Feed is being used for development purposes and should not be used in public trip planners.
739+
# * `future` Feed is not yet active but will be in the future
735740
# type: string
736741
# enum:
737742
# - active
738743
# - deprecated
739744
# - inactive
740745
# - development
746+
# - future
741747
# example: active
742748

743749
BasicDataset:
@@ -903,6 +909,7 @@ components:
903909
- deprecated
904910
- inactive
905911
- development
912+
- future
906913
statuses:
907914
# This parameter name is kept as status to maintain backward compatibility.
908915
name: status
@@ -920,6 +927,7 @@ components:
920927
- deprecated
921928
- inactive
922929
- development
930+
- future
923931
provider:
924932
name: provider
925933
in: query

web-app/src/app/services/feeds/types.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,12 @@ export interface components {
127127
* * `deprecated` Feed is explicitly deprecated and should not be used in public trip planners.
128128
* * `inactive` Feed hasn't been recently updated and should be used at risk of providing outdated information.
129129
* * `development` Feed is being used for development purposes and should not be used in public trip planners.
130+
* * `future` Feed is not yet active but will be in the future.
130131
*
131132
* @example deprecated
132133
* @enum {string}
133134
*/
134-
status?: 'active' | 'deprecated' | 'inactive' | 'development';
135+
status?: 'active' | 'deprecated' | 'inactive' | 'development' | 'future';
135136
/**
136137
* Format: date-time
137138
* @description The date and time the feed was added to the database, in ISO 8601 date-time format.
@@ -204,11 +205,12 @@ export interface components {
204205
* * `deprecated` Feed is explicitly deprecated and should not be used in public trip planners.
205206
* * `inactive` Feed hasn't been recently updated and should be used at risk of providing outdated information.
206207
* * `development` Feed is being used for development purposes and should not be used in public trip planners.
208+
* * `future` Feed is not yet active but will be in the future.
207209
*
208210
* @example deprecated
209211
* @enum {string}
210212
*/
211-
status: 'active' | 'deprecated' | 'inactive' | 'development';
213+
status: 'active' | 'deprecated' | 'inactive' | 'development' | 'future';
212214
/**
213215
* Format: date-time
214216
* @description The date and time the feed was added to the database, in ISO 8601 date-time format.
@@ -497,9 +499,11 @@ export interface components {
497499
responses: never;
498500
parameters: {
499501
/** @description Filter feeds by their status. [Status definitions defined here](https://github.com/MobilityData/mobility-database-catalogs?tab=readme-ov-file#gtfs-schedule-schema) */
500-
status?: 'active' | 'deprecated' | 'inactive' | 'development';
502+
status?: 'active' | 'deprecated' | 'inactive' | 'development' | 'future';
501503
/** @description Filter feeds by their status. [Status definitions defined here](https://github.com/MobilityData/mobility-database-catalogs?tab=readme-ov-file#gtfs-schedule-schema) */
502-
statuses?: Array<'active' | 'deprecated' | 'inactive' | 'development'>;
504+
statuses?: Array<
505+
'active' | 'deprecated' | 'inactive' | 'development' | 'future'
506+
>;
503507
/** @description List only feeds with the specified value. Can be a partial match. Case insensitive. */
504508
provider?: string;
505509
/** @description List only feeds with the specified value. Can be a partial match. Case insensitive. */

0 commit comments

Comments
 (0)