Skip to content

Commit 97cd5a4

Browse files
Set up minimal data
1 parent e031c6c commit 97cd5a4

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

app/data/breast-screening-units.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = [
2+
{
3+
id: "f66f2a7d-99a8-4793-8371-3d075e1a7c54",
4+
name: "Oxford Breast screening unit",
5+
}
6+
]

app/data/session-data-defaults.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const users = require("./users")
2+
const breastScreeningUnits = require("./breast-screening-units.js")
3+
4+
5+
6+
module.exports = {
7+
users,
8+
currentUser: users[0],
9+
breastScreeningUnits
10+
}

app/data/users.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = [
2+
{
3+
firstName: "Jane",
4+
lastName: "Hitchin",
5+
role: "mamographer",
6+
id: "ae7537b3-aed1-4620-87fd-9dc5b5bdc8cb"
7+
}
8+
]

app/views/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
{% extends 'layout-app.html' %}
33

4+
{% set hideBackLink = true %}
45

56
{% block pageContent %}
67

0 commit comments

Comments
 (0)