Skip to content

Commit

Permalink
chore: App => PrototypeApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jul 29, 2024
1 parent 20e5e4e commit 5d87b03
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions schemas/app.json → schemas/prototypeApplication.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,6 @@
"type": "object"
}
},
"description": "(Temporary name to not clash with the existing `Application` type)\nThe root specification for a planning application in England generated by a digital planning service",
"title": "App"
"description": "The root specification for a planning application in England generated by a digital planning service (prototype)",
"title": "PrototypeApplication"
}
4 changes: 2 additions & 2 deletions scripts/build-schema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ version="${VERSION:-@next}"

echo "Version set to $version"

dirs=("application" "app")
types=("Application" "App")
dirs=("application" "prototypeApplication")
types=("Application" "PrototypeApplication")

for i in "${!dirs[@]}"; do
dir=${dirs[$i]}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ export type WorksToTreesApplications = ApplicationSpecification<
>;

/**
* @title App
* @title PrototypeApplication
* @description
* (Temporary name to not clash with the existing `Application` type)
* The root specification for a planning application in England generated by a digital planning service
* The root specification for a planning application in England generated by a digital planning service (prototype)
*/
export type App =
export type PrototypeApplication =
| PlanningPermissionApplication
| PriorApprovalApplication
| WorksToTreesApplications;
Expand Down

0 comments on commit 5d87b03

Please sign in to comment.