Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/notebooks/deepnote/deepnoteExplorerView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { IDeepnoteNotebookManager } from '../types';
import { DeepnoteTreeDataProvider } from './deepnoteTreeDataProvider';
import { type DeepnoteTreeItem, DeepnoteTreeItemType, type DeepnoteTreeItemContext } from './deepnoteTreeItem';
import { generateUuid } from '../../platform/common/uuid';
import { DeepnoteBlock, DeepnoteFile } from '@deepnote/blocks';

/**
* Manages the Deepnote explorer tree view and related commands
Expand Down Expand Up @@ -213,7 +214,7 @@ export class DeepnoteExplorerView {
const projectId = generateUuid();
const notebookId = generateUuid();

const firstBlock = {
const firstBlock: DeepnoteBlock = {
blockGroup: generateUuid(),
content: '',
executionCount: 0,
Expand All @@ -225,7 +226,7 @@ export class DeepnoteExplorerView {
version: 1
};

const projectData = {
const projectData: DeepnoteFile = {
version: '1.0.0',
metadata: {
createdAt: new Date().toISOString(),
Expand Down