Adjust nullable in types

This commit is contained in:
Manuel Ruwe
2022-12-04 22:02:10 +01:00
parent 8c588f3bc7
commit 8a813eee13
2 changed files with 17 additions and 7 deletions

View File

@@ -41,9 +41,21 @@ export const AvailableElementTypes = ({
enabledStatusChecker: false,
okStatus: [],
},
integration: {
type: 'deluge',
properties: {},
behaviour: {
isOpeningNewTab: false,
},
area: {
type: 'wrapper',
},
shape: {
location: {
x: 0,
y: 0,
},
size: {
height: 1,
width: 1,
},
},
},
},

View File

@@ -7,13 +7,11 @@ export interface ServiceType extends TileBaseType {
behaviour: ServiceBehaviourType;
network: ServiceNetworkType;
appearance: ServiceAppearanceType;
integration?: ServiceIntegrationType; //TODO: make this nullable
integration?: ServiceIntegrationType;
}
interface ServiceBehaviourType {
onClickUrl: string;
isMoveable: boolean; //TODO: remove this proeprty
isSticky: boolean; //TODO: remove this property
onClickUrl?: string;
isOpeningNewTab: boolean;
}