-
Notifications
You must be signed in to change notification settings - Fork 5
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
Client server : implementing filters #131
Conversation
|
||
const removeWrongTypes = (types: string[], logger?: TwakeLogger): string[] => { | ||
return types.filter((type) => { | ||
// TODO : verify in @twake/utils if validEventTypes is correctly implemented |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
} | ||
|
||
if (event_format === 'federation') { | ||
// TODO: Implement restrictions for federationEventFields |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
/* Getting an event type functions */ | ||
// | ||
|
||
// TODO : verify validity of the 2 functions below |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
@@ -0,0 +1,50 @@ | |||
/* istanbul ignore file */ | |||
|
|||
// TODO : Verify the content of this file while we implement the spec. There is absolutely no guarantee that this is correct. |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
No description provided.