mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
28 lines
544 B
TypeScript
28 lines
544 B
TypeScript
|
export interface IActionSet {
|
||
|
id: number;
|
||
|
name: string;
|
||
|
project: string;
|
||
|
actorId: number;
|
||
|
match: IMatch;
|
||
|
actions: IAction[];
|
||
|
createdAt: string;
|
||
|
createdByUserId: number;
|
||
|
}
|
||
|
|
||
|
type MatchSource = 'incoming-webhook';
|
||
|
|
||
|
export interface IMatch {
|
||
|
source: MatchSource;
|
||
|
sourceId: number;
|
||
|
payload: Record<string, unknown>;
|
||
|
}
|
||
|
|
||
|
export interface IAction {
|
||
|
id: number;
|
||
|
action: string;
|
||
|
sortOrder: number;
|
||
|
executionParams: Record<string, unknown>;
|
||
|
createdAt: string;
|
||
|
createdByUserId: number;
|
||
|
}
|