-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rework and document configuration #56
Conversation
@@ -38,7 +34,7 @@ defines two endpoints. The `/real-time` serves the non-delayed data, the latter | |||
that has bee pushed in the last 15 seconds (configured by `delaySeconds` parameter). You can define multiple endpoints | |||
as long as the `urlPath` is unique. | |||
|
|||
## Usage | |||
## API |
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've (subjectively) reordered based on importance, similarly in the pusher.
@@ -1,6 +1,17 @@ | |||
<!-- TODO: Rename data-pusher workspace to pusher --> |
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 could do this now, but I am afraid of the conflicts so ideally will do this after other PRs are merged.
import { go } from '@api3/promise-utils'; | ||
import * as node from '@api3/airnode-node'; | ||
import { unsafeEvaluate, unsafeEvaluateAsync } from './unsafe-evaluate'; | ||
|
||
export const postProcessApiSpecifications = async (input: unknown, endpoint: Endpoint) => { |
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 actually not needed.
bcea612
to
2e54cbe
Compare
Closes #49
Closes #54
Closes #14
My initial goal was to document the pusher package, but I realized there is no point in doing so before finishing the config changes (and I would need to redo the docs immediately). So I implemented the agreed config changes and made the documentation consistent with it.