-
Notifications
You must be signed in to change notification settings - Fork 0
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
wip: update digital planning schema types and map to passport #131
Conversation
…ess/export-digital-planning-schema
…ess/export-digital-planning-schema
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.
Super clean and easy to read 👍 Looking good.
@@ -64,28 +77,13 @@ export class DigitalPlanning { | |||
}, | |||
session: { | |||
source: "PlanX", | |||
id: "b3320abe-f5bc-4185-b61f-40e9e65f07ad", | |||
id: "b3320abe-f5bc-4185-b61f-40e9e65f07ad", // this.sessionId throws 'must match format UUID' error |
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.
Ah this is an interesting one, thanks for the comment
} | ||
|
||
private getApplicationType(): Payload["data"]["application"]["type"] { | ||
// @todo figure out how to lookup via exported type or schema.json ?? |
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.
👍
Changes:
schema.json
and generated new typesPayload["data"]
type - this is a bit patchy and tedious as schema is still changing tooThis is enough of a start to satisfy the planx-new admin endpoint work over here theopensystemslab/planx-new#2223
Next steps:
generateDigitalPlanningDataPayload
export function onmain
branch