move type

This commit is contained in:
Niels Lyngsø
2024-01-04 14:00:10 +01:00
parent 583ae26d8a
commit f9c16d0d71
3 changed files with 14 additions and 12 deletions

View File

@@ -1 +1,2 @@
export * from './workspace/index.js';
export * from './types.js';

View File

@@ -0,0 +1,13 @@
import type { UmbBlockTypeBase } from '../block-type/index.js';
export interface UmbBlockGridType extends UmbBlockTypeBase {
columnSpanOptions: Array<number>;
allowAtRoot: boolean;
allowInAreas: boolean;
rowMinSpan: number;
rowMaxSpan: number;
thumbnail?: string;
areaGridColumns?: number;
areas: Array<any>;
groupKey: null | string;
}

View File

@@ -10,15 +10,3 @@ export interface UmbBlockTypeBase {
backgroundColor?: string;
editorSize?: UUIModalSidebarSize;
}
export interface UmbBlockGridType extends UmbBlockTypeBase {
columnSpanOptions: Array<number>;
allowAtRoot: boolean;
allowInAreas: boolean;
rowMinSpan: number;
rowMaxSpan: number;
thumbnail?: string;
areaGridColumns?: number;
areas: Array<any>;
groupKey: null | string;
}