fix: rename module path from ninja/core to block/core
Matches the actual Gitea repo location at block/core. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1be5172358
commit
13d741979a
@ -8,7 +8,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"git.dev.alexdunmow.com/ninja/core/blocks"
|
||||
"git.dev.alexdunmow.com/block/core/blocks"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module git.dev.alexdunmow.com/ninja/core
|
||||
module git.dev.alexdunmow.com/block/core
|
||||
|
||||
go 1.26
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ package plugin
|
||||
import (
|
||||
"io/fs"
|
||||
|
||||
"git.dev.alexdunmow.com/ninja/core/blocks"
|
||||
"git.dev.alexdunmow.com/block/core/blocks"
|
||||
)
|
||||
|
||||
// PluginBlockRegistry wraps a BlockRegistry to auto-prefix block keys with the plugin name.
|
||||
|
||||
@ -4,11 +4,11 @@ import (
|
||||
"context"
|
||||
|
||||
"connectrpc.com/connect"
|
||||
"git.dev.alexdunmow.com/ninja/core/ai"
|
||||
"git.dev.alexdunmow.com/ninja/core/content"
|
||||
"git.dev.alexdunmow.com/ninja/core/crypto"
|
||||
"git.dev.alexdunmow.com/ninja/core/gating"
|
||||
"git.dev.alexdunmow.com/ninja/core/settings"
|
||||
"git.dev.alexdunmow.com/block/core/ai"
|
||||
"git.dev.alexdunmow.com/block/core/content"
|
||||
"git.dev.alexdunmow.com/block/core/crypto"
|
||||
"git.dev.alexdunmow.com/block/core/gating"
|
||||
"git.dev.alexdunmow.com/block/core/settings"
|
||||
)
|
||||
|
||||
// ServiceDeps provides dependencies that plugins need for RPC service handlers.
|
||||
|
||||
@ -4,8 +4,8 @@ import (
|
||||
"io/fs"
|
||||
"net/http"
|
||||
|
||||
"git.dev.alexdunmow.com/ninja/core/blocks"
|
||||
"git.dev.alexdunmow.com/ninja/core/templates"
|
||||
"git.dev.alexdunmow.com/block/core/blocks"
|
||||
"git.dev.alexdunmow.com/block/core/templates"
|
||||
)
|
||||
|
||||
// RegisterFunc is the function signature for plugin registration.
|
||||
|
||||
@ -5,7 +5,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"connectrpc.com/connect"
|
||||
"git.dev.alexdunmow.com/ninja/core/rbac"
|
||||
"git.dev.alexdunmow.com/block/core/rbac"
|
||||
)
|
||||
|
||||
// ServiceMount is a path + handler pair for an RPC service.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user