@@ -10,7 +10,6 @@ import { COMPONENT_CATEGORY, COMPONENT_CLASS } from '../utils';
10
10
/**
11
11
* ************ Types *************************
12
12
*/
13
- export type UIFlow = string ;
14
13
export type FieldType = 'string' | 'json' | 'select' ;
15
14
// TODO: this may expand to more types in the future. Formik supports 'any' so we can too.
16
15
// For now, limiting scope to expected types.
@@ -68,17 +67,12 @@ export interface IComponent {
68
67
label : string ;
69
68
description : string ;
70
69
// will be used for grouping together in the drag-and-drop component library
71
- category : COMPONENT_CATEGORY ;
70
+ // and determining which flows the component can be drug into the workspace flows
71
+ categories : COMPONENT_CATEGORY [ ] ;
72
72
// determines if this component allows for new creation. this means to
73
73
// allow a "create" option on the UI component, as well as potentially
74
74
// include in the use case template construction ('provisioning' flow)
75
75
allowsCreation : boolean ;
76
- // determines if this is something that will be included in the use
77
- // case template construction (query or ingest flows). provisioning flow
78
- // is handled by the allowsCreation flag above.
79
- isApplicationStep : boolean ;
80
- // the set of allowed flows this component can be drug into the workspace
81
- allowedFlows : UIFlow [ ] ;
82
76
// the list of base classes that will be used in the component output
83
77
baseClasses ?: COMPONENT_CLASS [ ] ;
84
78
inputs ?: IComponentInput [ ] ;
0 commit comments