mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
ff7185fe5b
https://linear.app/unleash/issue/2-741/add-project-dropdown-into-creation-of-segments Allows users to bind a segment to a project when creating or editing a segment. <img width="1051" alt="image" src="https://user-images.githubusercontent.com/14320932/224103846-1fe1f849-496c-4a77-9831-53bcb36f822e.png">
17 lines
335 B
TypeScript
17 lines
335 B
TypeScript
import { IConstraint } from './strategy';
|
|
|
|
export interface ISegment {
|
|
id: number;
|
|
name: string;
|
|
description: string;
|
|
project: string | null;
|
|
createdAt: string;
|
|
createdBy: string;
|
|
constraints: IConstraint[];
|
|
}
|
|
|
|
export type ISegmentPayload = Pick<
|
|
ISegment,
|
|
'name' | 'description' | 'constraints'
|
|
>;
|