forked from opensearch-project/dashboards-flow-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.ts
33 lines (28 loc) · 797 Bytes
/
constants.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
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
export enum Navigation {
FlowFramework = 'Flow Framework',
Overview = 'Overview',
Workflows = 'Workflows',
}
export enum APP_PATH {
HOME = '/',
OVERVIEW = '/overview',
WORKFLOWS = '/workflows',
WORKFLOW_DETAIL = '/workflows/:workflowId',
}
export const BREADCRUMBS = Object.freeze({
FLOW_FRAMEWORK: { text: 'Flow Framework', href: '#/' },
OVERVIEW: { text: 'Overview', href: `#${APP_PATH.OVERVIEW}` },
WORKFLOWS: { text: 'Workflows', href: `#${APP_PATH.WORKFLOWS}` },
});
export enum COMPONENT_CATEGORY {
INGEST_PROCESSORS = 'Ingest Processors',
INDICES = 'Indices',
}
export enum COMPONENT_CLASS {
KNN_INDEX = 'knn_index',
TEXT_EMBEDDING_PROCESSOR = 'text_embedding_processor',
}