mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-22 01:16:07 +02: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:
parent
cf2bd28ff6
commit
e6764a43c0
@ -1,7 +1,6 @@
|
|||||||
import type { IApiUser } from './api-user';
|
|
||||||
import type { FeatureToggle, IStrategyConfig, ITag, IVariant } from './model';
|
import type { FeatureToggle, IStrategyConfig, ITag, IVariant } from './model';
|
||||||
import type { IApiToken } from './models/api-token';
|
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;
|
export const APPLICATION_CREATED = 'application-created' as const;
|
||||||
|
|
||||||
@ -353,17 +352,6 @@ export interface IBaseEvent {
|
|||||||
tags?: ITag[];
|
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 {
|
export interface IEvent extends IBaseEvent {
|
||||||
id: number;
|
id: number;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
|
Loading…
Reference in New Issue
Block a user