-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaggregatedEntities.ts
167 lines (151 loc) · 4.52 KB
/
aggregatedEntities.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/**
* Model of cell suspension value in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedCellSuspensionResponse {
selectedCellType: (string | null)[];
totalCells: number | null;
}
/**
* Model of cell suspensions in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedCellSuspensionsResponse {
cellSuspensions: AggregatedCellSuspensionResponse[];
}
/**
* Model of date value in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedDateResponse {
aggregateLastModifiedDate: string;
aggregateSubmissionDate: string;
aggregateUpdateDate: string;
lastModifiedDate: string;
submissionDate: string;
updateDate: string;
}
/**
* Model of dates in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedDatesResponse {
dates: AggregatedDateResponse[];
}
/**
* Model of donor organism value in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedDonorOrganismResponse {
biologicalSex: string[] | null;
developmentStage: string[];
disease: (string | null)[] | null;
donorCount: number;
genusSpecies: string[];
organismAge: (DonorOrganismAge | null)[] | null;
}
/**
* Model of donor organisms in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedDonorOrganismsResponse {
donorOrganisms: AggregatedDonorOrganismResponse[];
}
/**
* Model of aggregated ("inner") file type summary value returned from API endpoints other than /index/files.
* (for example, /index/samples).
*/
export interface AggregatedFileTypeSummaryResponse {
contentDescription: (string | null)[];
count: number;
fileSource: (string | null)[];
format: string;
isIntermediate: boolean | null;
matrixCellCount: number | null;
totalSize: number;
}
/**
* Model of aggregated ("inner") file type summaries returned from API endpoints other than /index/files.
* (for example, /index/samples).
*/
export interface AggregatedFileTypeSummariesResponse {
fileTypeSummaries: AggregatedFileTypeSummaryResponse[];
}
/**
* Model of aggregated ("inner") project value returned from API endpoints other than /index/projects.
* (for example, /index/samples).
*/
export interface AggregatedProjectResponse {
estimatedCellCount: number | null;
laboratory: (string | null)[];
projectId: string[];
projectShortname: string[];
projectTitle: string[];
}
/**
* Model of aggregated ("inner") projects returned from API endpoints other than /index/projects.
* (for example, /index/samples).
*/
export interface AggregatedProjectsResponse {
projects: AggregatedProjectResponse[];
}
/**
* Model of protocol value in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedProtocolResponse {
instrumentManufacturerModel?: string[];
libraryConstructionApproach?: string[];
nucleicAcidSource?: string[];
pairedEnd?: boolean[];
workflow?: string[];
}
/**
* Model of protocols in the response from index/{entity_type} API endpoint.
*/
export interface AggregatedProtocolsResponse {
protocols: AggregatedProtocolResponse[];
}
/**
* Model of aggregated ("inner") sample value returned from API endpoints other than /index/samples.
* (for example, /index/projects).
*/
export interface AggregatedSampleResponse {
cellLineType?: string[];
disease?: (string | null)[];
effectiveOrgan?: (string | null)[];
id: string[];
modelOrgan?: (string | null)[];
modelOrganPart?: (string | null)[];
organ?: string[];
organPart?: (string | null)[];
preservationMethod?: (string | null)[];
sampleEntityType: string[];
source?: string[];
}
/**
* Model of aggregated ("inner") samples returned from API endpoints other than /index/samples.
* (for example, /index/projects).
*/
export interface AggregatedSamplesResponse {
samples: AggregatedSampleResponse[];
}
/**
* Model of aggregated ("inner") specimen value returned from API endpoints other than /index/samples.
* (for example, /index/projects).
*/
export interface AggregatedSpecimenResponse {
disease: (string | null)[];
id: string[];
organ: string[];
organPart: (string | null)[];
preservationMethod: (string | null)[];
source: string[];
}
/**
* Model of aggregated ("inner") specimens returned from API endpoints other than /index/samples.
* (for example, /index/projects).
*/
export interface AggregatedSpecimensResponse {
specimens: AggregatedSpecimenResponse[];
}
/**
* Model of donor organism age and age unit.
*/
export interface DonorOrganismAge {
unit: string;
value: string;
}