1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/openapi/models/segmentSchema.ts
Gastón Fournier abe160eb7d
feat: Unleash v7 ESM migration (#9877)
We're migrating to ESM, which will allow us to import the latest
versions of our dependencies.

Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
2025-05-14 09:47:12 +02:00

33 lines
883 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ConstraintSchema } from './constraintSchema.js';
/**
* Represents a segment of users defined by a set of constraints.
*/
export interface SegmentSchema {
/** List of constraints that determine which users are part of the segment */
constraints: ConstraintSchema[];
/** The time the segment was created as a RFC 3339-conformant timestamp. */
createdAt?: string;
/** Which user created this segment */
createdBy?: string;
/**
* The description of the segment.
* @nullable
*/
description?: string | null;
/** The segment's id. */
id: number;
/** The name of the segment. */
name?: string;
/**
* The project the segment relates to, if applicable.
* @nullable
*/
project?: string | null;
}