Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+3
-3
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* `toolctrl add permission <name>` — scaffold a new permission key plus
|
||||
* `hivegrid add permission <name>` — scaffold a new permission key plus
|
||||
* a frontend-mapper stub.
|
||||
*
|
||||
* The canonical permission list lives in
|
||||
@@ -87,7 +87,7 @@ function renderSeedFragment({
|
||||
}): string {
|
||||
return `/**
|
||||
* Permission seed fragment for "${permission}".
|
||||
* Generated by toolctrl-cli.
|
||||
* Generated by hivegrid-cli.
|
||||
*
|
||||
* Paste the constant into the \`defaultPermissionSeeds\` array in
|
||||
* \`packages/db/src/permissions-seed.server.ts\` and add a matching
|
||||
@@ -106,7 +106,7 @@ ${isAdmin ? ' "SuperAdmin",' : ' "SuperUser",\n "Admin",'}
|
||||
function renderMapperFragment({ permission, constName }: { permission: string; constName: string }): string {
|
||||
return `/**
|
||||
* Frontend permission-mapper stub for "${permission}".
|
||||
* Generated by toolctrl-cli.
|
||||
* Generated by hivegrid-cli.
|
||||
*
|
||||
* Wire this into your route loaders via the project's permission
|
||||
* helper (typically apps/web/app/utils/helpers/PermissionsHelper).
|
||||
|
||||
Reference in new issue
Block a user