wip: refresh design

This commit is contained in:
Mythie
2023-06-09 18:21:18 +10:00
parent 76b2fb5edd
commit 159bcade7b
432 changed files with 19640 additions and 29359 deletions

View File

@@ -0,0 +1,7 @@
export type FindResultSet<T> = {
data: T[];
count: number;
currentPage: number;
perPage: number;
totalPages: number;
};

View File

@@ -0,0 +1,5 @@
import { DocumentStatus } from '@documenso/prisma/client';
export const isDocumentStatus = (value: unknown): value is DocumentStatus => {
return Object.values(DocumentStatus).includes(value as DocumentStatus);
};