1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/openapi/models/adminSegmentSchema.ts
Thomas Heartman dbc7d088f0
chore: update orval types (#4402)
Includes a lot of openapi updates + some new segment change requests models etc
2023-08-03 15:05:20 +02:00

31 lines
1022 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ConstraintSchema } from './constraintSchema';
/**
* A description of a [segment](https://docs.getunleash.io/reference/segments)
*/
export interface AdminSegmentSchema {
/** The ID of this segment */
id: number;
/** The name of this segment */
name: string;
/** The description for this segment */
description?: string | null;
/** The list of constraints that are used in this segment */
constraints: ConstraintSchema[];
/** The number of projects that use this segment */
usedInFeatures?: number | null;
/** The number of projects that use this segment */
usedInProjects?: number | null;
/** The project the segment belongs to. Only present if the segment is a project-specific segment. */
project?: string | null;
/** The creator's email or username */
createdBy?: string | null;
/** When the segment was created */
createdAt: string;
}