Skip to content

Commit

Permalink
Add DocumentType types (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaley authored Aug 15, 2023
1 parent 6e1371b commit 0a97bad
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions web/app/types/document-type.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { CustomEditableField } from "./document";

export interface HermesDocumentType {
Template: string;

checks?: {
label: string;
helperText?: string;
links?: {
text: string;
url: string;
}[];
};
name: string;
longName: string;
description: string;
moreInfoLink?: {
text: string;
url: string;
};
customFields?: {
name: string;
readOnly: boolean;
type: "string" | "people";
};
}

0 comments on commit 0a97bad

Please sign in to comment.