-
Notifications
You must be signed in to change notification settings - Fork 9
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
docs(tests): Document Request Templates #569
Conversation
To make it clear that they relate to cancellation and rejection
@@ -2,8 +2,8 @@ const { FlowStage } = require('./flow-stage'); | |||
const { FlowStageUtils } = require('./flow-stage-utils'); | |||
|
|||
/** | |||
* @typedef {import('../../templates/u-req').UReqTemplateData} UReqTemplateData | |||
* @typedef {import('../../templates/u-req').UReqTemplateRef} UReqTemplateRef | |||
* @typedef {import('../../templates/cancel-order-req').CancelOrderReqTemplateData} CancelOrderReqTemplateData |
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 U thing must refer to an earlier part of the spec or something? I've renamed these to be clearer to newer maintainers, using language that more or less mirrors the current spec.
All the changes in every file except README.md was just a set of simple VSCode refactors
/** | ||
* @param {string} [orderProposalStatus] | ||
*/ | ||
function createStandardRejectOrderProposalReq(orderProposalStatus = 'https://openactive.io/CustomerRejected') { |
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 like this rename of the file, makes a lot more sense
Closes #566
Also:
The test/templates/README.md is already linked to from ..integration-tests/CONTRIBUTING.md in this PR: #565, so this should be visible to maintainers