Add procedure document type

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-10-13 22:36:37 +02:00
parent b2392f51c4
commit 0c4a7169df
23 changed files with 73 additions and 53 deletions

View File

@@ -5,7 +5,7 @@ export const documentSchema = z.object({
title: z.string(),
content: z.string(),
ownerId: z.string(),
documentType: z.enum(["OTHER", "ISMS", "POLICY"]),
documentType: z.enum(["OTHER", "ISMS", "POLICY", "PROCEDURE"]),
});
export const useDocumentForm = () => {

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<2ff966b9632595cece04e7a5ef3f7dd7>>
* @generated SignedSource<<5c208d2afc4eb2968b59215d3e79231b>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -9,7 +9,7 @@
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
export type DocumentType = "ISMS" | "OTHER" | "POLICY";
export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE";
export type CreateTrustCenterAccessInput = {
active: boolean;
email: string;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<4aef541df2f5673dd3694ca275f3164d>>
* @generated SignedSource<<395567ba680d0a9e1bad1cdef52bc2e1>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -9,7 +9,7 @@
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
export type DocumentType = "ISMS" | "OTHER" | "POLICY";
export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE";
export type UpdateTrustCenterAccessInput = {
active?: boolean | null | undefined;
documentIds?: ReadonlyArray<string> | null | undefined;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<3717625e10534aaff2d7967a1824405b>>
* @generated SignedSource<<ef0d644a344dbab40145e3f4128cd0ec>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -9,7 +9,7 @@
// @ts-nocheck
import { ReaderFragment } from 'relay-runtime';
export type DocumentType = "ISMS" | "OTHER" | "POLICY";
export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE";
import { FragmentRefs } from "relay-runtime";
export type TrustCenterAccessGraph_accesses$data = {
readonly accesses: {

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<64b79a80214710d6c3e4676cd63136e4>>
* @generated SignedSource<<18b931f119e8ef68f016dfcdf76366cc>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -10,7 +10,7 @@
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type DocumentType = "ISMS" | "OTHER" | "POLICY";
export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE";
export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC";
export type UpdateDocumentInput = {
content?: string | null | undefined;