@notionhq/custom-blocks-dev-shell 0.4.2 → 0.4.4
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/README.md +3 -0
- package/data/projects.json +36 -3
- package/dist/assets/index-B1RObNc_.js +12 -0
- package/dist/index.html +1 -1
- package/dist-cli/cli/published-cli.js +270 -164
- package/docs/data-sources.md +25 -1
- package/package.json +1 -1
- package/dist/assets/index-BPt5jNdQ.js +0 -12
package/README.md
CHANGED
|
@@ -46,6 +46,9 @@ Install `@notionhq/custom-blocks-dev-shell` in the worker's `devDependencies` to
|
|
|
46
46
|
This also makes the reference docs available in `node_modules`. If you do not install it, the CLI
|
|
47
47
|
fetches the latest version each time.
|
|
48
48
|
|
|
49
|
+
Local previews require a Custom Blocks SDK that supports bridge protocol 12 or newer. Upgrade the
|
|
50
|
+
block's SDK if the preview reports an unsupported protocol version.
|
|
51
|
+
|
|
49
52
|
### Preview and workspace
|
|
50
53
|
|
|
51
54
|
**Layout** previews the block on a page, in a database view, or as a full page. In **Block** layout,
|
package/data/projects.json
CHANGED
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"customer": {
|
|
66
66
|
"name": "Customer",
|
|
67
67
|
"type": "rich_text"
|
|
68
|
+
},
|
|
69
|
+
"files": {
|
|
70
|
+
"name": "Files",
|
|
71
|
+
"type": "files"
|
|
68
72
|
}
|
|
69
73
|
},
|
|
70
74
|
"rows": [
|
|
@@ -85,7 +89,16 @@
|
|
|
85
89
|
},
|
|
86
90
|
"progress": 65,
|
|
87
91
|
"budget": 2400,
|
|
88
|
-
"customer": "Cedar Research Lab"
|
|
92
|
+
"customer": "Cedar Research Lab",
|
|
93
|
+
"files": [
|
|
94
|
+
{
|
|
95
|
+
"type": "external",
|
|
96
|
+
"name": "Analytical Engine reference",
|
|
97
|
+
"external": {
|
|
98
|
+
"url": "https://en.wikipedia.org/wiki/Analytical_Engine"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
89
102
|
},
|
|
90
103
|
{
|
|
91
104
|
"id": "project-2",
|
|
@@ -104,7 +117,14 @@
|
|
|
104
117
|
},
|
|
105
118
|
"progress": 45,
|
|
106
119
|
"budget": 6800,
|
|
107
|
-
"customer": "Evening Computing School"
|
|
120
|
+
"customer": "Evening Computing School",
|
|
121
|
+
"files": [
|
|
122
|
+
{
|
|
123
|
+
"type": "external",
|
|
124
|
+
"name": "Compiler reference",
|
|
125
|
+
"external": { "url": "https://en.wikipedia.org/wiki/Compiler" }
|
|
126
|
+
}
|
|
127
|
+
]
|
|
108
128
|
},
|
|
109
129
|
{
|
|
110
130
|
"id": "project-3",
|
|
@@ -127,7 +147,8 @@
|
|
|
127
147
|
},
|
|
128
148
|
"progress": 70,
|
|
129
149
|
"budget": 12500,
|
|
130
|
-
"customer": "Fieldwork Press"
|
|
150
|
+
"customer": "Fieldwork Press",
|
|
151
|
+
"files": []
|
|
131
152
|
},
|
|
132
153
|
{
|
|
133
154
|
"id": "project-4",
|
|
@@ -333,6 +354,18 @@
|
|
|
333
354
|
},
|
|
334
355
|
"progress": 0,
|
|
335
356
|
"customer": "Northside Library"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"id": "project-16",
|
|
360
|
+
"name": "Analytical Engine archive",
|
|
361
|
+
"status": "Not started",
|
|
362
|
+
"files": [
|
|
363
|
+
{
|
|
364
|
+
"type": "external",
|
|
365
|
+
"name": "Ada Lovelace reference",
|
|
366
|
+
"external": { "url": "https://en.wikipedia.org/wiki/Ada_Lovelace" }
|
|
367
|
+
}
|
|
368
|
+
]
|
|
336
369
|
}
|
|
337
370
|
]
|
|
338
371
|
}
|