-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperaide-app.example.json
More file actions
49 lines (49 loc) · 1.19 KB
/
hyperaide-app.example.json
File metadata and controls
49 lines (49 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"slug": "hyperaide-app",
"name": "Hyperaide App",
"actions": {
"create": {
"name": "Create",
"description": "Create a new app",
"parameters": {
"name": { "type": "string", "description": "The name of the app" }
},
"path": "/api/create"
}
},
"databaseRequirements": {
"entities": [
{
"name": "tasks",
"description": "to track your tasks",
"attributes": [
{
"name": "name",
"description": "The name of the task",
"type": "string",
"indexed": true
},
{
"name": "description",
"description": "The description of the task",
"type": "string"
},
{
"name": "completed",
"description": "Whether the task is completed",
"type": "boolean",
"indexed": true
}
]
}
],
"links": [
{
"name": "subtasks",
"description": "subtasks of a task",
"forward": { "on": "tasks", "has": "one", "label": "parentTask" },
"reverse": { "on": "tasks", "has": "many", "label": "subtasks" }
}
]
}
}