Skip to content

Commit

Permalink
chore: Remove unused type (#6887)
Browse files Browse the repository at this point in the history
This type was added to try to consolidate events now we're moving in a
different direction and this type is not used.
  • Loading branch information
gastonfournier committed Apr 18, 2024
1 parent cf2bd28 commit e6764a4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/lib/types/events.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e6764a4

Please sign in to comment.