Workspace command decorators (#19397)

# Introduction
Migrating the workspace commands to the decorator version + timestamp
listing as for the instance commands

We've now been able to remove the upgrade command abstraction where we
needed to import all modules and order them
Now they're dynamically retrieved at upgrade runtime, sorted by
timestamp

## Instance and workspace commands name
The name is computed from the command metadata `version` `className` and
`timestamp` we have a duplicate validation at module init from the
unified registry
This commit is contained in:
Paul Rastoin
2026-04-07 18:33:48 +02:00
committed by GitHub
parent 24a5273a79
commit c0eacedfec
52 changed files with 1147 additions and 2868 deletions
+1
View File
@@ -60,6 +60,7 @@
"twenty/inject-workspace-repository": "warn",
"twenty/rest-api-methods-should-be-guarded": "error",
"twenty/graphql-resolvers-should-be-guarded": "error",
"twenty/upgrade-command-filename": "error",
"twenty/enforce-module-boundaries": ["error", {
"depConstraints": [
{