/
designerOptionsInterfaces.ts
65 lines (62 loc) · 2.13 KB
/
designerOptionsInterfaces.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import type CONSTANTS from '../../../common/constants';
import type {
IConnectionService,
IConnectorService,
IGatewayService,
ILoggerService,
IOperationManifestService,
ISearchService,
IOAuthService,
IWorkflowService,
IHostService,
IApiManagementService,
IFunctionService,
IAppServiceService,
IRunService,
IEditorService,
IConnectionParameterEditorService,
IChatbotService,
ICustomCodeService,
LogicApps,
} from '@microsoft/logic-apps-shared';
type PANEL_TAB_NAMES = keyof typeof CONSTANTS.PANEL_TAB_NAMES;
export interface DesignerOptionsState {
readOnly?: boolean;
isMonitoringView?: boolean;
isDarkMode?: boolean;
servicesInitialized?: boolean;
designerOptionsInitialized?: boolean;
useLegacyWorkflowParameters?: boolean;
isXrmConnectionReferenceMode?: boolean;
suppressDefaultNodeSelectFunctionality?: boolean;
hostOptions: {
displayRuntimeInfo: boolean; // show info about where the action is run(i.e. InApp/Shared/Custom)
suppressCastingForSerialize?: boolean; // suppress casting for serialize
recurrenceInterval?: LogicApps.Recurrence;
forceEnableSplitOn?: boolean; // force enable split on (by default it is disabled on stateless workflows)
hideUTFExpressions?: boolean; // hide UTF expressions in template functions
};
nodeSelectAdditionalCallback?: (nodeId: string) => any;
showConnectionsPanel?: boolean;
panelTabHideKeys?: PANEL_TAB_NAMES[];
showPerformanceDebug?: boolean;
}
export interface ServiceOptions {
connectionService: IConnectionService;
operationManifestService: IOperationManifestService;
searchService: ISearchService;
connectorService?: IConnectorService;
gatewayService?: IGatewayService;
loggerService?: ILoggerService;
oAuthService: IOAuthService;
workflowService: IWorkflowService;
hostService?: IHostService;
apimService?: IApiManagementService;
functionService?: IFunctionService;
appServiceService?: IAppServiceService;
runService?: IRunService;
editorService?: IEditorService;
connectionParameterEditorService?: IConnectionParameterEditorService;
chatbotService?: IChatbotService;
customCodeService?: ICustomCodeService;
}