mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02:00
https://linear.app/unleash/issue/2-1994/ui-feature-rename-adapt-the-signals-ui https://linear.app/unleash/issue/2-1996/rename-feature-in-the-code-base Implements the feature rename to Signals by adapting the code base and UI.
34 lines
722 B
TypeScript
34 lines
722 B
TypeScript
export interface ISignalEndpoint {
|
|
id: number;
|
|
enabled: boolean;
|
|
name: string;
|
|
createdAt: string;
|
|
createdByUserId: number;
|
|
description: string;
|
|
tokens: ISignalEndpointToken[];
|
|
}
|
|
|
|
export interface ISignalEndpointToken {
|
|
id: number;
|
|
name: string;
|
|
signalEndpointId: number;
|
|
createdAt: string;
|
|
createdByUserId: number;
|
|
}
|
|
|
|
export type SignalSource = 'signal-endpoint';
|
|
|
|
export interface ISignal {
|
|
id: number;
|
|
source: SignalSource;
|
|
sourceId: number;
|
|
createdAt: string;
|
|
createdBySourceTokenId: number;
|
|
payload: Record<string, unknown>;
|
|
}
|
|
|
|
export interface ISignalEndpointSignal
|
|
extends Omit<ISignal, 'createdBySourceTokenId'> {
|
|
tokenName: string;
|
|
}
|