mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
19 lines
458 B
TypeScript
19 lines
458 B
TypeScript
import type { MessageDescriptor } from '@lingui/core';
|
|
import { msg } from '@lingui/macro';
|
|
|
|
import { DocumentStatus } from '@documenso/prisma/client';
|
|
|
|
export const DOCUMENT_STATUS: {
|
|
[status in DocumentStatus]: { description: MessageDescriptor };
|
|
} = {
|
|
[DocumentStatus.COMPLETED]: {
|
|
description: msg`Completed`,
|
|
},
|
|
[DocumentStatus.DRAFT]: {
|
|
description: msg`Draft`,
|
|
},
|
|
[DocumentStatus.PENDING]: {
|
|
description: msg`Pending`,
|
|
},
|
|
};
|