2020-04-27 15:21:03 +02:00
|
|
|
import { Status } from "../../common/enum/status";
|
2019-01-18 18:03:45 +01:00
|
|
|
import { DmpProfile, DmpProfileDefinition } from "../dmp-profile/dmp-profile";
|
|
|
|
import { OrganizationModel } from "../organisation/organization";
|
2019-08-01 09:54:40 +02:00
|
|
|
import { GrantListingModel } from "../grant/grant-listing";
|
2019-01-18 18:03:45 +01:00
|
|
|
import { ResearcherModel } from "../researcher/researcher";
|
|
|
|
import { UserModel } from "../user/user";
|
|
|
|
import { DmpDynamicField } from "./dmp-dynamic-field";
|
2019-05-28 09:49:09 +02:00
|
|
|
import { UserInfoListingModel } from "../user/user-info-listing";
|
2019-05-28 11:59:23 +02:00
|
|
|
import { DatasetModel } from "../dataset/dataset";
|
2019-08-20 17:32:42 +02:00
|
|
|
import { ProjectModel } from "../project/project";
|
|
|
|
import { FunderModel } from "../funder/funder";
|
2019-12-13 12:15:12 +01:00
|
|
|
import { DmpStatus } from '@app/core/common/enum/dmp-status';
|
2020-06-03 11:13:31 +02:00
|
|
|
import { ExtraPropertiesFormModel } from '@app/ui/dmp/editor/general-tab/extra-properties-form.model';
|
2019-01-18 18:03:45 +01:00
|
|
|
|
|
|
|
export interface DmpModel {
|
|
|
|
id: string;
|
|
|
|
label: string;
|
|
|
|
groupId: String;
|
|
|
|
profile: String;
|
|
|
|
version: number;
|
2019-12-13 12:15:12 +01:00
|
|
|
status: DmpStatus;
|
2019-01-18 18:03:45 +01:00
|
|
|
lockable: boolean;
|
|
|
|
description: String;
|
2019-08-01 09:54:40 +02:00
|
|
|
grant: GrantListingModel;
|
2019-08-20 17:32:42 +02:00
|
|
|
project: ProjectModel;
|
|
|
|
funder: FunderModel;
|
2019-05-28 11:59:23 +02:00
|
|
|
datasets: DatasetModel[];
|
2019-07-01 11:35:09 +02:00
|
|
|
datasetsToBeFinalized: string[];
|
2019-05-28 09:49:09 +02:00
|
|
|
profiles: DmpProfile[];
|
2019-01-18 18:03:45 +01:00
|
|
|
organisations: OrganizationModel[];
|
|
|
|
researchers: ResearcherModel[];
|
|
|
|
associatedUsers: UserModel[];
|
2019-05-28 09:49:09 +02:00
|
|
|
users: UserInfoListingModel[];
|
2019-01-18 18:03:45 +01:00
|
|
|
creator: UserModel;
|
|
|
|
definition: DmpProfileDefinition;
|
|
|
|
dynamicFields: Array<DmpDynamicField>;
|
2020-02-10 17:21:06 +01:00
|
|
|
modified: Date;
|
2020-06-03 11:13:31 +02:00
|
|
|
extraProperties: Map<String, any>;
|
2020-06-18 14:55:15 +02:00
|
|
|
language: String;
|
2019-01-18 18:03:45 +01:00
|
|
|
}
|