forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathlayout-config.interfaces.ts
More file actions
72 lines (59 loc) · 1.67 KB
/
layout-config.interfaces.ts
File metadata and controls
72 lines (59 loc) · 1.67 KB
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
66
67
68
69
70
71
72
import { Config } from './config.interface';
export interface UrnConfig extends Config {
name: string;
baseUrl: string;
}
export interface CrisRefEntityStyleConfig extends Config {
icon: string;
style: string;
}
export interface CrisRefConfig extends Config {
entityType: string;
entityStyle: {
default: CrisRefEntityStyleConfig;
[entity: string]: CrisRefEntityStyleConfig;
};
}
export interface CrisLayoutMetadataBoxConfig extends Config {
defaultMetadataLabelColStyle: string;
defaultMetadataValueColStyle: string;
}
export interface CrisLayoutCollectionsBoxConfig extends Config {
defaultCollectionsLabelColStyle: string;
defaultCollectionsValueColStyle: string;
isInline: boolean;
defaultCollectionsRowStyle?: string;
}
export interface CrisLayoutTypeConfig {
orientation: string;
}
export interface NavbarConfig extends Config {
showCommunityCollection: boolean;
}
export interface BreadcrumbsConfig extends Config {
charLimit: number;
}
export interface CrisItemPageConfig extends Config {
[entity: string]: CrisLayoutTypeConfig;
default: CrisLayoutTypeConfig;
}
export interface CrisRefStyleMetadata extends Config {
[metadata: string]: string;
default: string;
}
export interface CrisLayoutConfig extends Config {
urn: UrnConfig[];
crisRef: CrisRefConfig[];
crisRefStyleMetadata: CrisRefStyleMetadata;
itemPage: CrisItemPageConfig;
metadataBox: CrisLayoutMetadataBoxConfig;
collectionsBox: CrisLayoutCollectionsBoxConfig;
}
export interface LayoutConfig extends Config {
navbar: NavbarConfig;
breadcrumbs: BreadcrumbsConfig;
}
export interface SuggestionConfig extends Config {
source: string;
collectionId: string;
}