Add document types filtering and rename ISMS to GOVERNANCE
Adds 5 new document types (PLAN, REGISTER, RECORD, REPORT, TEMPLATE), renames ISMS to GOVERNANCE, and implements type-based filtering across GraphQL, MCP, and frontend. Includes migration, enum updates, filter implementation with SQL array support, and frontend dropdown UI with Relay refetch pattern. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -72,15 +72,15 @@ func TestDocument_Create(t *testing.T) {
|
||||
assertValue: "PROCEDURE",
|
||||
},
|
||||
{
|
||||
name: "with ISMS type",
|
||||
name: "with GOVERNANCE type",
|
||||
input: map[string]any{
|
||||
"title": "ISMS Document",
|
||||
"content": "ISMS content",
|
||||
"documentType": "ISMS",
|
||||
"title": "Governance Document",
|
||||
"content": "Governance content",
|
||||
"documentType": "GOVERNANCE",
|
||||
"classification": "INTERNAL",
|
||||
},
|
||||
assertField: "documentType",
|
||||
assertValue: "ISMS",
|
||||
assertValue: "GOVERNANCE",
|
||||
},
|
||||
{
|
||||
name: "with OTHER type",
|
||||
|
||||
Reference in New Issue
Block a user