Skip to content

Commit

Permalink
chore: orval types
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Nov 5, 2024
1 parent 1cf8755 commit 82b3274
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/openapi/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/openapi/models/profileSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}
3 changes: 3 additions & 0 deletions frontend/src/openapi/models/projectStatusSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
* See `gen:api` script in package.json
*/
import type { ProjectActivitySchema } from './projectActivitySchema';
import type { ProjectStatusSchemaResources } from './projectStatusSchemaResources';

/**
* Schema representing the overall status of a project, including an array of activity records. Each record in the activity array contains a date and a count, providing a snapshot of the project’s activity level over time.
*/
export interface ProjectStatusSchema {
/** Array of activity records with date and count, representing the project’s daily activity statistics. */
activityCountByDate: ProjectActivitySchema;
/** Key resources within the project */
resources: ProjectStatusSchemaResources;
}
13 changes: 13 additions & 0 deletions frontend/src/openapi/models/projectStatusSchemaResources.ts
Original file line number Diff line number Diff line change
@@ -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;
};

0 comments on commit 82b3274

Please sign in to comment.