Skip to content

Commit

Permalink
Update project.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaley committed Oct 26, 2023
1 parent dca6893 commit 14f9113
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions web/app/types/project.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 14f9113

Please sign in to comment.