@blue-impact-engine/blue-impact-engine-client
Version:
Blue Impact Engine API Client
30 lines • 999 B
TypeScript
import BaseEntity from "../BaseEntity";
import { ImpactValue, ContentItem } from "../content";
import { BaseMultimedia } from "../media/Multimedia";
import { BaseOrganisation } from "../organisations/Organisation";
import TagEntity from "../tags/Tag";
import { BaseUser } from "../users/User";
import ProjectStatus from "./ProjectStatus";
type Project = {
name: string;
catch_phrase: string;
status: ProjectStatus;
location?: string;
tags?: Array<TagEntity>;
};
export type ProjectDetails = {
organisation: BaseOrganisation;
owner: BaseUser;
description: ContentItem;
intractive_link?: string;
images?: Array<BaseMultimedia>;
startDate?: string;
endDate?: string;
kpi_fields?: Array<ImpactValue>;
content_items?: Array<ContentItem>;
illustrations?: Array<any>;
};
type ProjectEntity = BaseEntity & Project & ProjectDetails;
export type BaseProject = BaseEntity & Project;
export default ProjectEntity;
//# sourceMappingURL=Project.d.ts.map