argos/dmp-frontend/src/app/core/model/dmp/dmp.ts

40 lines
1.3 KiB
TypeScript
Raw Normal View History

import { DmpProfileDefinition } from "../dmp-profile/dmp-profile";
2019-01-18 18:03:45 +01:00
import { OrganizationModel } from "../organisation/organization";
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-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-07-29 17:04:19 +02:00
import { DatasetWizardModel } from '../dataset/dataset-wizard';
import { DmpDatasetProfile } from "./dmp-dataset-profile/dmp-dataset-profile";
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;
grant: GrantListingModel;
2019-08-20 17:32:42 +02:00
project: ProjectModel;
funder: FunderModel;
2020-07-29 17:04:19 +02:00
datasets: DatasetWizardModel[];
datasetsToBeFinalized: string[];
profiles: DmpDatasetProfile[];
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>;
modified: Date;
extraProperties: Map<String, any>;
language: String;
2019-01-18 18:03:45 +01:00
}