refactor: switch SDK methods to asynchronous

Migrate SDK interactions to asynchronous calls, relax admin setup email constraints, and add event retrieval functionality.
This commit is contained in:
Team Dark Devil committed 2026-11-17 20:05:00 +06:00
1 parent 81c5e4e2fd
commit bb938c33c0
36 files changed
+1679 -754

No files matched your search

+3 -3
View File
@@ -57,10 +57,10 @@ export function ExportWorkspace() {
getCached<StorageFile[]>('vcon:storage-files', [])
);
const [selectedClient, setSelectedClient] = useState('all');
const [fromDate, setFromDate] = useState(() => dateString(new Date()));
const [toDate, setToDate] = useState(() => dateString(new Date()));
const [fromDate, setFromDate] = useState('');
const [toDate, setToDate] = useState('');
const [format, setFormat] = useState<ExportFormat>('csv');
const [preset, setPreset] = useState<RangePreset>('today');
const [preset, setPreset] = useState<RangePreset>('all');
const [loading, setLoading] = useState(
() => getCached<StorageFile[]>('vcon:storage-files', []).length === 0
);