1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore: Remove unused type (#6887)

This type was added to try to consolidate events now we're moving in a
different direction and this type is not used.
This commit is contained in:
Gastón Fournier 2024-04-18 16:52:14 +02:00 committed by GitHub
parent cf2bd28ff6
commit e6764a43c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
import type { IApiUser } from './api-user';
import type { FeatureToggle, IStrategyConfig, ITag, IVariant } from './model';
import type { IApiToken } from './models/api-token';
import type { IAuditUser, IUser, IUserWithRootRole } from './user';
import type { IAuditUser, IUserWithRootRole } from './user';
export const APPLICATION_CREATED = 'application-created' as const;
@ -353,17 +352,6 @@ export interface IBaseEvent {
tags?: ITag[];
}
export interface IUserEvent {
type: IEventType;
byUser: IUser | IApiUser;
project?: string;
environment?: string;
featureName?: string;
data?: any;
preData?: any;
tags?: ITag[];
}
export interface IEvent extends IBaseEvent {
id: number;
createdAt: Date;