diff --git a/web/app/types/project.d.ts b/web/app/types/project.d.ts index 3ad081b34..eaeb8e30c 100644 --- a/web/app/types/project.d.ts +++ b/web/app/types/project.d.ts @@ -2,22 +2,26 @@ import { RelatedExternalLink, RelatedHermesDocument, } from "hermes/components/related-resources"; +import { ProjectStatus } from "./project-status"; + +export interface JiraObject { + key: string; + url: string; + priority: string; + status: string; + assignee?: string; + type?: string; + summary: string; +} export interface HermesProject { id: string; // at least in Mirage... title: string; - documents?: RelatedHermesDocument[]; + status: ProjectStatus; + hermesDocuments?: RelatedHermesDocument[]; description?: string; - jiraObject?: { - key: string; - url: string; - priority: string; - status: string; - assignee?: string; - type?: string; - summary: string; - }; - relatedLinks?: RelatedExternalLink[]; + jiraObject?: JiraObject; + externalLinks?: RelatedExternalLink[]; creator: string; // maybe a Google/HermesUser dateCreated: number; dateModified: number;