split up tree and detail

This commit is contained in:
Mads Rasmussen
2023-01-30 15:15:54 +01:00
parent 1aded90f56
commit f575c4b22e
13 changed files with 86 additions and 72 deletions

View File

@@ -149,3 +149,10 @@ export interface DocumentBlueprintDetails {
icon: string;
documentTypeKey: string;
}
export type DataSourceError = Record<string, any>;
export interface DataSourceResponse<T = undefined> {
data?: T;
error?: DataSourceError;
}