Spaces:
Running
Running
Create blueprint.js
Browse files- blueprint.js +21 -0
blueprint.js
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const blueprint = {
|
2 |
+
"name": "Contacts",
|
3 |
+
"slug": "contacts",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "firstName",
|
7 |
+
"type": "string",
|
8 |
+
"label": "First Name"
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"key": "lastName",
|
12 |
+
"type": "string",
|
13 |
+
"label": "Last Name"
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"key": "email",
|
17 |
+
"type": "string",
|
18 |
+
"label": "Email"
|
19 |
+
}
|
20 |
+
]
|
21 |
+
}
|