-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCollectionPayload.ts
More file actions
40 lines (36 loc) · 928 Bytes
/
CollectionPayload.ts
File metadata and controls
40 lines (36 loc) · 928 Bytes
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
import { OwnerNodePayload } from '../../../../core/infra/repositories/transformers/OwnerNodePayload'
export interface CollectionPayload {
id: number
alias: string
name: string
affiliation?: string
isReleased: boolean
description?: string
isPartOf: OwnerNodePayload
inputLevels?: CollectionInputLevelPayload[]
dataverseContacts?: CollectionContactPayload[]
dataverseType: string
isMetadataBlockRoot: boolean
isFacetRoot: boolean
childCount: number
theme?: CollectionThemePayload
}
export interface CollectionThemePayload {
id: number
logo: string
tagline: string
linkUrl: string
linkColor: string
textColor: string
backgroundColor: string
logoBackgroundColor?: string
}
export interface CollectionInputLevelPayload {
datasetFieldTypeName: string
required: boolean
include: boolean
}
export interface CollectionContactPayload {
contactEmail: string
displayOrder: number
}