Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

386 B
Raw Blame
/**
 * Why a submitted document cannot be replaced. Shared by the server throws and both clients so a typo cannot
 * silently turn a specific recovery message back into the generic one.
 */
export const SUBMITTED_DOCUMENT_LOCKED = "SUBMITTED_DOCUMENT_LOCKED" as const;

export function isSubmittedDocumentLocked(value: unknown): boolean {
	return value === SUBMITTED_DOCUMENT_LOCKED;
}