1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/interfaces/segment.ts
2023-03-10 08:16:54 +00:00

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'
>;