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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed, onMounted, ref, watch } from 'vue';
import type { BuilderDataSource, BuilderDataTable } from '../types';
import { parseDashboardImportText, type DashboardImportType } from '../dashboard-import-api';
import { parseDashboardImportText, type DashboardImportRequest, type DashboardImportType } from '../dashboard-import-api';

const fiveMegabytes = 5 * 1024 * 1024;

Expand All @@ -13,7 +13,7 @@ const props = defineProps<{

const emit = defineEmits<{
close: [];
import: [payload: { content: string; dataSourceId?: string; fileName?: string; tableId?: string; type: DashboardImportType }];
import: [payload: DashboardImportRequest];
}>();

const dialogEl = ref<HTMLElement | null>(null);
Expand Down
Loading