mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
31 lines
1022 B
TypeScript
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;
|
|
}
|