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:
@@ -22,15 +22,15 @@ type (
|
||||
DocumentVersionSignatureFilter struct {
|
||||
states DocumentVersionSignatureStates
|
||||
activeContract *bool
|
||||
state *ProfileState
|
||||
profileState *ProfileState
|
||||
}
|
||||
)
|
||||
|
||||
func NewDocumentVersionSignatureFilter(states []DocumentVersionSignatureState, activeContract *bool, state *ProfileState) *DocumentVersionSignatureFilter {
|
||||
func NewDocumentVersionSignatureFilter(states []DocumentVersionSignatureState, activeContract *bool, profileState *ProfileState) *DocumentVersionSignatureFilter {
|
||||
return &DocumentVersionSignatureFilter{
|
||||
states: DocumentVersionSignatureStates(states),
|
||||
activeContract: activeContract,
|
||||
state: state,
|
||||
profileState: profileState,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ func (f *DocumentVersionSignatureFilter) SQLArguments() pgx.StrictNamedArgs {
|
||||
return pgx.StrictNamedArgs{
|
||||
"states": f.states,
|
||||
"active_contract": f.activeContract,
|
||||
"profile_state": f.state,
|
||||
"profile_state": f.profileState,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user