Skip to content

Commit 3ea2618

Browse files
committed
fix: create new deepnote file with the correct attributes
1 parent cf52b47 commit 3ea2618

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/notebooks/deepnote/deepnoteExplorerView.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class DeepnoteExplorerView {
216216
const firstBlock = {
217217
blockGroup: generateUuid(),
218218
content: '',
219-
executionCount: null,
219+
executionCount: 0,
220220
id: generateUuid(),
221221
metadata: {},
222222
outputs: [],
@@ -226,8 +226,9 @@ export class DeepnoteExplorerView {
226226
};
227227

228228
const projectData = {
229-
version: 1.0,
229+
version: '1.0.0',
230230
metadata: {
231+
createdAt: new Date().toISOString(),
231232
modifiedAt: new Date().toISOString()
232233
},
233234
project: {

0 commit comments

Comments
 (0)