23 lines
396 B
TypeScript
23 lines
396 B
TypeScript
export class ContentProvider {
|
|
id: string;
|
|
openaireId: string;
|
|
communityId: string;
|
|
name: string;
|
|
officialname: string;
|
|
selectioncriteria: SelectionCriteria;
|
|
}
|
|
|
|
export class SelectionCriteria {
|
|
criteria: Criteria[] = [];
|
|
}
|
|
|
|
export class Criteria {
|
|
constraint: Constraint[] = [];
|
|
}
|
|
|
|
export class Constraint {
|
|
verb: string = 'contains';
|
|
field: string = null;
|
|
value: string;
|
|
}
|