fixing GenericComponent exports

This commit is contained in:
Mose Müller
2023-08-02 12:06:21 +02:00
parent 18c71dd7f6
commit 717939e902
2 changed files with 4 additions and 7 deletions

View File

@ -9,7 +9,7 @@ import { StringComponent } from './StringComponent';
import { ListComponent } from './ListComponent';
import { DataServiceComponent, DataServiceJSON } from './DataServiceComponent';
export type AttributeType =
type AttributeType =
| 'str'
| 'bool'
| 'float'
@ -21,7 +21,7 @@ export type AttributeType =
| 'NumberSlider';
type ValueType = boolean | string | number | object;
interface Attribute {
export interface Attribute {
type: AttributeType;
value?: ValueType | ValueType[];
readonly: boolean;