Rename State of Applicability to Statement of Applicability
Rename the entity across the full stack: database table (states_of_applicability → statements_of_applicability), Go model, GraphQL types, MCP specification, CLI commands, frontend components, routes, and display labels. Includes a migration to rename the table and its foreign key column. Widen sidebar from 260px to 280px to fit the longer label. Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -28,7 +28,7 @@ const viewQuery = `
|
||||
query($id: ID!) {
|
||||
node(id: $id) {
|
||||
__typename
|
||||
... on StateOfApplicability {
|
||||
... on StatementOfApplicability {
|
||||
id
|
||||
name
|
||||
owner {
|
||||
@@ -104,8 +104,8 @@ func NewCmdView(f *cmdutil.Factory) *cobra.Command {
|
||||
return fmt.Errorf("statement of applicability %s not found", args[0])
|
||||
}
|
||||
|
||||
if resp.Node.Typename != "StateOfApplicability" {
|
||||
return fmt.Errorf("expected StateOfApplicability node, got %s", resp.Node.Typename)
|
||||
if resp.Node.Typename != "StatementOfApplicability" {
|
||||
return fmt.Errorf("expected StatementOfApplicability node, got %s", resp.Node.Typename)
|
||||
}
|
||||
|
||||
if *flagOutput == cmdutil.OutputJSON {
|
||||
|
||||
Reference in New Issue
Block a user