Skip to content

Commit

Permalink
Put bopspayload function back in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion committed Nov 1, 2024
1 parent 79e2377 commit 95c9fc4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions editor.planx.uk/docs/adding-a-new-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,17 @@ If/how should this component appear in a Review component:
[TYPES.SetValue]: undefined,
```

3. In `planx-core` - `src/export/bops/index`

If/how should this component be formatted in Send data formats such as BOPS?

```typescript
function isTypeForBopsPayload(type?: TYPES) {
switch (type) {
// ...
case TYPES.SetValue:
return false;
// ...
}
}
```

0 comments on commit 95c9fc4

Please sign in to comment.