-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): generic repository events #842
feat(core): generic repository events #842
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome @Przytua, thanks!
It seems CI is failing and there's some eslint warnings but code looks good otherwise
RecordDeleted = 'RecordDeleted', | ||
} | ||
|
||
export interface RecordSavedEvent<T extends BaseRecord<any, any, any>> extends BaseEvent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you disable the eslint warnings for this line?
} | ||
} | ||
|
||
export interface RecordUpdatedEvent<T extends BaseRecord<any, any, any>> extends BaseEvent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
} | ||
} | ||
|
||
export interface RecordDeletedEvent<T extends BaseRecord<any, any, any>> extends BaseEvent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
a4259f7
to
180976a
Compare
Signed-off-by: Łukasz Przytuła <[email protected]>
180976a
to
c48ec8d
Compare
@TimoGlastra fixed |
Closes #723
Added generic
RecordSavedEvent
,RecordUpdatedEvent
, andRecordDeletedEvent
emitted fromRepository
.