Browse Source

Fix collection types

pull/6419/head
mohamedsalem401 2 years ago
parent
commit
b93153dc86
  1. 2
      packages/core/src/data_sources/model/data_collection/types.ts

2
packages/core/src/data_sources/model/data_collection/types.ts

@ -36,6 +36,7 @@ export interface DataCollectionStateMap {
}
export interface ComponentDataCollectionProps extends ComponentDefinition {
type: typeof DataCollectionType;
[keyCollectionDefinition]: DataCollectionProps;
}
@ -44,7 +45,6 @@ export interface ComponentDataCollectionVariableProps
Omit<ComponentProperties, 'type'> {}
export interface DataCollectionProps {
type: typeof DataCollectionType;
collectionConfig: DataCollectionConfig;
componentDef: ComponentDefinition;
}

Loading…
Cancel
Save