-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support files submitted as "data" (#180)
- Loading branch information
1 parent
2100b23
commit f7b2f8d
Showing
8 changed files
with
262 additions
and
96 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import {GeoBoundary} from './shared'; | ||
|
||
/** | ||
* @id #FilesAsData | ||
* @description File types that can optionally be provided by answering structured questions, rather than via document upload (see root `files` for uploads) | ||
*/ | ||
export type FilesAsData = { | ||
designAndAccessStatement?: DesignAndAccessStatement; | ||
heritageStatement?: HeritageStatement; | ||
locationPlan?: GeoBoundary; | ||
}; | ||
|
||
export interface DesignAndAccessStatement { | ||
propertyDescription: string; | ||
projectDescription: string; | ||
accessAndLayout: string; | ||
landscapingChanges: string; | ||
} | ||
|
||
export type HeritageStatementBase = { | ||
designationDescription: string; | ||
propertyDescription: string; | ||
projectDescpription: string; | ||
managedImpact: string; | ||
improvements: string; | ||
}; | ||
|
||
export interface HeritageStatement { | ||
'designated.conservationArea'?: HeritageStatementBase; | ||
listed?: HeritageStatementBase; | ||
monument?: HeritageStatementBase; | ||
'designated.WHS'?: HeritageStatementBase; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters