From 7c192378d62dc59ed5c23e2540cc27a376ea0153 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Tue, 5 Nov 2024 15:14:28 +0100 Subject: [PATCH] chore: orval types (#8661) --- frontend/src/openapi/models/index.ts | 1 + frontend/src/openapi/models/profileSchema.ts | 2 ++ .../openapi/models/projectStatusSchemaResources.ts | 13 +++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 frontend/src/openapi/models/projectStatusSchemaResources.ts diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index 0349b125a6b6..4dd6d3daa0c1 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -1022,6 +1022,7 @@ export * from './projectSettingsSchemaDefaultStickiness'; export * from './projectSettingsSchemaMode'; export * from './projectStatsSchema'; export * from './projectStatusSchema'; +export * from './projectStatusSchemaResources'; export * from './projectUsersSchema'; export * from './projectsSchema'; export * from './provideFeedbackSchema'; diff --git a/frontend/src/openapi/models/profileSchema.ts b/frontend/src/openapi/models/profileSchema.ts index a06de78c3a64..9d57d2ff8253 100644 --- a/frontend/src/openapi/models/profileSchema.ts +++ b/frontend/src/openapi/models/profileSchema.ts @@ -15,4 +15,6 @@ export interface ProfileSchema { /** Which projects this user is a member of */ projects: string[]; rootRole: RoleSchema; + /** Which email subscriptions this user is subscribed to */ + subscriptions: string[]; } diff --git a/frontend/src/openapi/models/projectStatusSchemaResources.ts b/frontend/src/openapi/models/projectStatusSchemaResources.ts new file mode 100644 index 000000000000..6483aff39ec4 --- /dev/null +++ b/frontend/src/openapi/models/projectStatusSchemaResources.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Key resources within the project + */ +export type ProjectStatusSchemaResources = { + /** The number of environments that have received SDK traffic in this project. */ + connectedEnvironments: number; +};