Catalog alignment
[sdc.git] / catalog-ui / src / app / ng2 / pages / workspace / attributes / attributes-options.ts
1 import { IDropDownOption } from 'onap-ui-angular/dist/form-elements/dropdown/dropdown-models';
2
3 export class AttributeOptions {
4     public static readonly types: IDropDownOption[] = [
5         {
6             label: 'integer',
7             value: 'integer',
8         },
9         {
10             label: 'string',
11             value: 'string',
12         },
13         {
14             label: 'float',
15             value: 'float'
16         },
17         {
18             label: 'boolean',
19             value: 'boolean'
20         },
21         {
22             label: 'list',
23             value: 'list'
24         },
25         {
26             label: 'map',
27             value: 'map'
28         }
29     ];
30
31     public static readonly booleanValues: IDropDownOption[] = [
32         {
33             label: 'true',
34             value: 'true',
35         },
36         {
37             label: 'false',
38             value: 'false',
39         }
40     ];
41
42     public static readonly entrySchemaValues: IDropDownOption[] = [
43         {
44             label: 'integer',
45             value: 'integer',
46         },
47         {
48             label: 'string',
49             value: 'string',
50         },
51         {
52             label: 'float',
53             value: 'float'
54         },
55         {
56             label: 'boolean',
57             value: 'boolean'
58         }
59     ];
60 }