Rename signature filter state field to profileState

The DocumentVersionSignatureFilter exposed a field named `state` that
actually filters on the signatory's profile state, which was ambiguous
next to the signature `states` field. Rename it to `profileState`
(GraphQL) / `profile_state` (MCP) across the schema, spec, resolvers,
console app, and n8n node for clarity.

Signed-off-by: Sacha Al Himdani <sacha@probo.com>
This commit is contained in:
Sacha Al Himdani
2026-07-03 16:55:31 +02:00
parent 909c54033c
commit f83b42d2ec
9 changed files with 19 additions and 19 deletions

View File

@@ -294,8 +294,8 @@ func (r *documentVersionResolver) Signatures(ctx context.Context, obj *types.Doc
activeContract = filter.ActiveContract
}
if filter.State != nil {
profileState = filter.State
if filter.ProfileState != nil {
profileState = filter.ProfileState
}
}

View File

@@ -247,7 +247,7 @@ input DocumentVersionSignatureOrder {
input DocumentVersionSignatureFilter {
states: [DocumentVersionSignatureState!]
activeContract: Boolean
state: ProfileState
profileState: ProfileState
}
input DocumentVersionApprovalQuorumOrder {

View File

@@ -2407,8 +2407,8 @@ func (r *Resolver) ListDocumentVersionSignaturesTool(ctx context.Context, req *m
activeContract = input.Filter.ActiveContract
}
if input.Filter.State != nil {
profileState = input.Filter.State
if input.Filter.ProfileState != nil {
profileState = input.Filter.ProfileState
}
}

View File

@@ -6376,7 +6376,7 @@ components:
active_contract:
type: boolean
description: Signatory contract status
state:
profile_state:
$ref: "#/components/schemas/ProfileState"
description: Signatory profile state