mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
chore: make ip mandatory (#7220)
IP should be mandatory for storing events. Automated events should use 127.0.0.1
This commit is contained in:
parent
5eadce061c
commit
5845d0e552
@ -349,9 +349,7 @@ export const IEventTypes = [
|
||||
] as const;
|
||||
export type IEventType = (typeof IEventTypes)[number];
|
||||
|
||||
/**
|
||||
* This type should only be used in the store layer but deprecated elsewhere
|
||||
*/
|
||||
// this rerpresents the write model for events
|
||||
export interface IBaseEvent {
|
||||
type: IEventType;
|
||||
createdBy: string;
|
||||
@ -359,7 +357,7 @@ export interface IBaseEvent {
|
||||
project?: string;
|
||||
environment?: string;
|
||||
featureName?: string;
|
||||
ip?: string;
|
||||
ip: string;
|
||||
data?: any;
|
||||
preData?: any;
|
||||
tags?: ITag[];
|
||||
|
Loading…
Reference in New Issue
Block a user