diff --git a/frontend/src/openapi/models/createUserResponseSchema.ts b/frontend/src/openapi/models/createUserResponseSchema.ts index cd0988d617..97b3651524 100644 --- a/frontend/src/openapi/models/createUserResponseSchema.ts +++ b/frontend/src/openapi/models/createUserResponseSchema.ts @@ -19,7 +19,7 @@ export interface CreateUserResponseSchema { emailSent?: boolean; /** The user id */ id: number; - /** URL used for the userprofile image */ + /** URL used for the user profile image */ imageUrl?: string; /** If the user is actively inviting other users, this is the link that can be shared with other users */ inviteLink?: string; diff --git a/frontend/src/openapi/models/featureSearchResponseSchema.ts b/frontend/src/openapi/models/featureSearchResponseSchema.ts index c781756727..f53a31a869 100644 --- a/frontend/src/openapi/models/featureSearchResponseSchema.ts +++ b/frontend/src/openapi/models/featureSearchResponseSchema.ts @@ -3,6 +3,7 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { FeatureSearchResponseSchemaCreatedBy } from './featureSearchResponseSchemaCreatedBy'; import type { FeatureSearchResponseSchemaDependencyType } from './featureSearchResponseSchemaDependencyType'; import type { FeatureSearchEnvironmentSchema } from './featureSearchEnvironmentSchema'; import type { FeatureSearchResponseSchemaLifecycle } from './featureSearchResponseSchemaLifecycle'; @@ -26,6 +27,8 @@ export interface FeatureSearchResponseSchema { * @nullable */ createdAt: string | null; + /** User who created the feature flag */ + createdBy?: FeatureSearchResponseSchemaCreatedBy; /** * The type of dependency. 'parent' means that the feature is a parent feature, 'child' means that the feature is a child feature. * @nullable diff --git a/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts b/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts new file mode 100644 index 0000000000..2e0971151e --- /dev/null +++ b/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts @@ -0,0 +1,20 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * User who created the feature flag + */ +export type FeatureSearchResponseSchemaCreatedBy = { + /** The user id */ + id: number; + /** + * URL used for the user profile image + * @nullable + */ + imageUrl: string | null; + /** Name of the user */ + name: string; +}; diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index 9c31d0e53c..8b10a1b900 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -549,6 +549,7 @@ export * from './featureSchemaLifecycleStage'; export * from './featureSchemaStrategiesItem'; export * from './featureSearchEnvironmentSchema'; export * from './featureSearchResponseSchema'; +export * from './featureSearchResponseSchemaCreatedBy'; export * from './featureSearchResponseSchemaDependencyType'; export * from './featureSearchResponseSchemaLifecycle'; export * from './featureSearchResponseSchemaLifecycleStage'; diff --git a/frontend/src/openapi/models/userSchema.ts b/frontend/src/openapi/models/userSchema.ts index d875dc9a89..092e389d5c 100644 --- a/frontend/src/openapi/models/userSchema.ts +++ b/frontend/src/openapi/models/userSchema.ts @@ -18,7 +18,7 @@ export interface UserSchema { emailSent?: boolean; /** The user id */ id: number; - /** URL used for the userprofile image */ + /** URL used for the user profile image */ imageUrl?: string; /** If the user is actively inviting other users, this is the link that can be shared with other users */ inviteLink?: string;