-
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.
- Loading branch information
1 parent
b6fa0c0
commit 2ad11e1
Showing
3 changed files
with
103 additions
and
4 deletions.
There are no files selected for viewing
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
27 changes: 27 additions & 0 deletions
27
editor.planx.uk/src/@planx/components/Send/mocks/simpleFlow.ts
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,27 @@ | ||
import { Graph } from "@planx/graph"; | ||
|
||
export const flow: Graph = { | ||
_root: { | ||
edges: ["findProperty", "send"], | ||
}, | ||
send: { | ||
data: { | ||
tags: [], | ||
title: "Send", | ||
destinations: ["bops", "uniform"], | ||
}, | ||
type: 650, | ||
}, | ||
findProperty: { | ||
data: { | ||
title: "Find the property", | ||
newAddressTitle: | ||
"Click or tap at where the property is on the map and name it below", | ||
allowNewAddresses: false, | ||
newAddressDescription: | ||
"You will need to select a location and provide a name to continue", | ||
newAddressDescriptionLabel: "Name the site", | ||
}, | ||
type: 9, | ||
}, | ||
}; |