@notionhq/custom-blocks-dev-shell 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/people.json +88 -0
- package/data/radar.json +88 -0
- package/data/tasks.json +108 -0
- package/dist/assets/index-3yGtnx4Z.js +9 -0
- package/dist/assets/index-D-pOONlZ.css +2 -0
- package/dist/index.html +2 -2
- package/dist-cli/main.js +13 -2
- package/dist-cli/prebuilt.js +26 -0
- package/dist-cli/serve-ui.js +40 -5
- package/docs/bindings.md +4 -5
- package/docs/data-sources.md +2 -2
- package/package.json +2 -1
- package/dist/assets/index-BWWoeYho.js +0 -9
- package/dist/assets/index-D7A1CDPg.css +0 -2
package/data/people.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "built-in",
|
|
3
|
+
"key": "people",
|
|
4
|
+
"name": "People",
|
|
5
|
+
"icon": "👤",
|
|
6
|
+
"schema": {
|
|
7
|
+
"name": {
|
|
8
|
+
"name": "Name",
|
|
9
|
+
"type": "title"
|
|
10
|
+
},
|
|
11
|
+
"email": {
|
|
12
|
+
"name": "Email",
|
|
13
|
+
"type": "email"
|
|
14
|
+
},
|
|
15
|
+
"role": {
|
|
16
|
+
"name": "Role",
|
|
17
|
+
"type": "select"
|
|
18
|
+
},
|
|
19
|
+
"team": {
|
|
20
|
+
"name": "Team",
|
|
21
|
+
"type": "select"
|
|
22
|
+
},
|
|
23
|
+
"active": {
|
|
24
|
+
"name": "Active",
|
|
25
|
+
"type": "checkbox"
|
|
26
|
+
},
|
|
27
|
+
"joined": {
|
|
28
|
+
"name": "Joined",
|
|
29
|
+
"type": "date"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"rows": [
|
|
33
|
+
{
|
|
34
|
+
"id": "person-1",
|
|
35
|
+
"name": "Ada Lovelace",
|
|
36
|
+
"email": "ada.lovelace@example.com",
|
|
37
|
+
"role": "Engineer",
|
|
38
|
+
"team": "Platform",
|
|
39
|
+
"active": true,
|
|
40
|
+
"joined": { "type": "date", "start_date": "2021-03-14" }
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "person-2",
|
|
44
|
+
"name": "Grace Hopper",
|
|
45
|
+
"email": "grace.hopper@example.com",
|
|
46
|
+
"role": "PM",
|
|
47
|
+
"team": "Growth",
|
|
48
|
+
"active": true,
|
|
49
|
+
"joined": { "type": "date", "start_date": "2020-07-01" }
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "person-3",
|
|
53
|
+
"name": "Alan Turing",
|
|
54
|
+
"email": "alan.turing@example.com",
|
|
55
|
+
"role": "Researcher",
|
|
56
|
+
"team": "Search",
|
|
57
|
+
"active": true,
|
|
58
|
+
"joined": { "type": "date", "start_date": "2019-11-22" }
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "person-4",
|
|
62
|
+
"name": "Margaret Hamilton",
|
|
63
|
+
"email": "margaret.hamilton@example.com",
|
|
64
|
+
"role": "Engineer",
|
|
65
|
+
"team": "Infrastructure",
|
|
66
|
+
"active": false,
|
|
67
|
+
"joined": { "type": "date", "start_date": "2018-05-09" }
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "person-5",
|
|
71
|
+
"name": "Radia Perlman",
|
|
72
|
+
"email": "radia.perlman@example.com",
|
|
73
|
+
"role": "Engineer",
|
|
74
|
+
"team": "Platform",
|
|
75
|
+
"active": true,
|
|
76
|
+
"joined": { "type": "date", "start_date": "2022-01-18" }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "person-6",
|
|
80
|
+
"name": "Hedy Lamarr",
|
|
81
|
+
"email": "hedy.lamarr@example.com",
|
|
82
|
+
"role": "Designer",
|
|
83
|
+
"team": "Design",
|
|
84
|
+
"active": true,
|
|
85
|
+
"joined": { "type": "date", "start_date": "2023-08-30" }
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
package/data/radar.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "built-in",
|
|
3
|
+
"key": "default",
|
|
4
|
+
"name": "Radar",
|
|
5
|
+
"icon": "📡",
|
|
6
|
+
"schema": {
|
|
7
|
+
"name": {
|
|
8
|
+
"name": "Name",
|
|
9
|
+
"type": "title"
|
|
10
|
+
},
|
|
11
|
+
"speed": {
|
|
12
|
+
"name": "Speed",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"quality": {
|
|
16
|
+
"name": "Quality",
|
|
17
|
+
"type": "number"
|
|
18
|
+
},
|
|
19
|
+
"focus": {
|
|
20
|
+
"name": "Focus",
|
|
21
|
+
"type": "number"
|
|
22
|
+
},
|
|
23
|
+
"collaboration": {
|
|
24
|
+
"name": "Collaboration",
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
"execution": {
|
|
28
|
+
"name": "Execution",
|
|
29
|
+
"type": "number"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"rows": [
|
|
33
|
+
{
|
|
34
|
+
"id": "radar-1",
|
|
35
|
+
"name": "Engineering",
|
|
36
|
+
"speed": 82,
|
|
37
|
+
"quality": 91,
|
|
38
|
+
"focus": 74,
|
|
39
|
+
"collaboration": 68,
|
|
40
|
+
"execution": 88
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "radar-2",
|
|
44
|
+
"name": "Design",
|
|
45
|
+
"speed": 70,
|
|
46
|
+
"quality": 95,
|
|
47
|
+
"focus": 85,
|
|
48
|
+
"collaboration": 80,
|
|
49
|
+
"execution": 76
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "radar-3",
|
|
53
|
+
"name": "Product",
|
|
54
|
+
"speed": 78,
|
|
55
|
+
"quality": 72,
|
|
56
|
+
"focus": 66,
|
|
57
|
+
"collaboration": 90,
|
|
58
|
+
"execution": 81
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "radar-4",
|
|
62
|
+
"name": "Research",
|
|
63
|
+
"speed": 60,
|
|
64
|
+
"quality": 88,
|
|
65
|
+
"focus": 92,
|
|
66
|
+
"collaboration": 64,
|
|
67
|
+
"execution": 70
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "radar-5",
|
|
71
|
+
"name": "Marketing",
|
|
72
|
+
"speed": 85,
|
|
73
|
+
"quality": 69,
|
|
74
|
+
"focus": 58,
|
|
75
|
+
"collaboration": 83,
|
|
76
|
+
"execution": 79
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "radar-6",
|
|
80
|
+
"name": "Operations",
|
|
81
|
+
"speed": 73,
|
|
82
|
+
"quality": 77,
|
|
83
|
+
"focus": 80,
|
|
84
|
+
"collaboration": 75,
|
|
85
|
+
"execution": 84
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
package/data/tasks.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "built-in",
|
|
3
|
+
"key": "tasks",
|
|
4
|
+
"name": "Tasks",
|
|
5
|
+
"icon": "✅",
|
|
6
|
+
"schema": {
|
|
7
|
+
"title": {
|
|
8
|
+
"name": "Title",
|
|
9
|
+
"type": "title"
|
|
10
|
+
},
|
|
11
|
+
"status": {
|
|
12
|
+
"name": "Status",
|
|
13
|
+
"type": "status"
|
|
14
|
+
},
|
|
15
|
+
"priority": {
|
|
16
|
+
"name": "Priority",
|
|
17
|
+
"type": "select"
|
|
18
|
+
},
|
|
19
|
+
"assignee": {
|
|
20
|
+
"name": "Assignee",
|
|
21
|
+
"type": "rich_text"
|
|
22
|
+
},
|
|
23
|
+
"tags": {
|
|
24
|
+
"name": "Tags",
|
|
25
|
+
"type": "multi_select"
|
|
26
|
+
},
|
|
27
|
+
"completed": {
|
|
28
|
+
"name": "Completed",
|
|
29
|
+
"type": "checkbox"
|
|
30
|
+
},
|
|
31
|
+
"estimate_hours": {
|
|
32
|
+
"name": "Estimate hours",
|
|
33
|
+
"type": "number"
|
|
34
|
+
},
|
|
35
|
+
"due_date": {
|
|
36
|
+
"name": "Due date",
|
|
37
|
+
"type": "date"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"rows": [
|
|
41
|
+
{
|
|
42
|
+
"id": "task-1",
|
|
43
|
+
"title": "Write design doc",
|
|
44
|
+
"status": "In progress",
|
|
45
|
+
"priority": "High",
|
|
46
|
+
"assignee": "Ada Lovelace",
|
|
47
|
+
"tags": ["docs", "backend"],
|
|
48
|
+
"completed": false,
|
|
49
|
+
"estimate_hours": 6,
|
|
50
|
+
"due_date": { "type": "date", "start_date": "2026-07-20" }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "task-2",
|
|
54
|
+
"title": "Triage incoming bugs",
|
|
55
|
+
"status": "Not started",
|
|
56
|
+
"priority": "Medium",
|
|
57
|
+
"assignee": "Grace Hopper",
|
|
58
|
+
"tags": ["frontend"],
|
|
59
|
+
"completed": false,
|
|
60
|
+
"estimate_hours": 3,
|
|
61
|
+
"due_date": { "type": "date", "start_date": "2026-07-15" }
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "task-3",
|
|
65
|
+
"title": "Investigate latency spike",
|
|
66
|
+
"status": "Blocked",
|
|
67
|
+
"priority": "Urgent",
|
|
68
|
+
"assignee": "Margaret Hamilton",
|
|
69
|
+
"tags": ["infra", "backend"],
|
|
70
|
+
"completed": false,
|
|
71
|
+
"estimate_hours": 8,
|
|
72
|
+
"due_date": { "type": "date", "start_date": "2026-07-11" }
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "task-4",
|
|
76
|
+
"title": "Run accessibility pass",
|
|
77
|
+
"status": "Done",
|
|
78
|
+
"priority": "Low",
|
|
79
|
+
"assignee": "Hedy Lamarr",
|
|
80
|
+
"tags": ["design", "frontend"],
|
|
81
|
+
"completed": true,
|
|
82
|
+
"estimate_hours": 4,
|
|
83
|
+
"due_date": { "type": "date", "start_date": "2026-07-08" }
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "task-5",
|
|
87
|
+
"title": "Draft Q3 roadmap",
|
|
88
|
+
"status": "In progress",
|
|
89
|
+
"priority": "High",
|
|
90
|
+
"assignee": "Alan Turing",
|
|
91
|
+
"tags": ["docs"],
|
|
92
|
+
"completed": false,
|
|
93
|
+
"estimate_hours": 5,
|
|
94
|
+
"due_date": { "type": "date", "start_date": "2026-07-25" }
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "task-6",
|
|
98
|
+
"title": "Wire up analytics events",
|
|
99
|
+
"status": "Not started",
|
|
100
|
+
"priority": "Medium",
|
|
101
|
+
"assignee": "Radia Perlman",
|
|
102
|
+
"tags": ["frontend", "infra"],
|
|
103
|
+
"completed": false,
|
|
104
|
+
"estimate_hours": 7,
|
|
105
|
+
"due_date": { "type": "date", "start_date": "2026-07-29" }
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|