-
Notifications
You must be signed in to change notification settings - Fork 10
DEVORTEX-5439 add webhooks api #125
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
Conversation
interface SubscriptionSecretDto { | ||
payloadSecret: string; | ||
} | ||
|
||
export { SubscriptionSecretDto }; |
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.
no actions points: weird naming. it's already clear this secret is in payload.
is this still in work (draft) or it waits for approves? |
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.
answering this: #125 (comment)
we are waiting for all endpoints implemented on the backend side
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.
Please add new lines at the end of every file you've added.
interface ScrollableResponse<T> { | ||
items: Array<T>; | ||
hasMore: boolean; | ||
scrollId: string | null; | ||
} |
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.
Only webhooks api uses this type of pagination? I'm thinking if we should put this response interface to api/http
where shared response interfaces are located.
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.
i was thinking about it. I can do it and put into a shared directory if you want. but this structure is very specific for Webhooks service and third-party delivery system we use. not sure that it will be helpful for other APIs. so, up to you.
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.
got it. let's leave as is.
@@ -124,3 +124,4 @@ export * from "./api/mt/index"; | |||
export * from "./api/mt/params/smartling-mt-parameters"; | |||
export * from "./api/mt/params/source-text-item"; | |||
export * from "./api/mt/dto/translation-text-item-dto"; | |||
export * from "./api/webhooks"; |
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.
👍
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.
New lines are already added to all new files
No description provided.