Cleanup: move dictionary interface (#612)
* use import aliases when importing when the libs folder * move data source response interface to the repository module * remove unused interfaces * move dictionary interface into dictionary silo * delete unused interface
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import type {
|
||||
ContentTreeItemResponseModel,
|
||||
DictionaryItemTranslationModel,
|
||||
EntityTreeItemResponseModel,
|
||||
FolderTreeItemResponseModel,
|
||||
PackageManifestResponseModel,
|
||||
@@ -23,13 +22,6 @@ export interface Entity {
|
||||
parentKey: string | null;
|
||||
}
|
||||
|
||||
export interface ContentDetails extends ContentTreeItemResponseModel {
|
||||
isTrashed: boolean; // TODO: remove only temp part of refactor
|
||||
properties: Array<ContentProperty>;
|
||||
//data: Array<ContentPropertyData>;
|
||||
//layout?: any; // TODO: define layout type - make it non-optional
|
||||
}
|
||||
|
||||
export interface UserEntity extends Entity {
|
||||
type: 'user';
|
||||
}
|
||||
@@ -108,12 +100,6 @@ export interface MemberDetails extends EntityTreeItemResponseModel {
|
||||
key: string; // TODO: Remove this when the backend is fixed
|
||||
}
|
||||
|
||||
// Dictionary
|
||||
export interface DictionaryDetails extends EntityTreeItemResponseModel {
|
||||
key: string; // TODO: Remove this when the backend is fixed
|
||||
translations: DictionaryItemTranslationModel[];
|
||||
}
|
||||
|
||||
// Document Blueprint
|
||||
export interface DocumentBlueprintDetails {
|
||||
key: string;
|
||||
|
||||
Reference in New Issue
Block a user