Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -1,12 +1,24 @@
export const featureKeys = {
dashboard: "dashboard",
crmBasic: "crm-basic",
leads: "leads",
projects: "projects",
files: "files",
tasks: "tasks",
hr: "hr",
integrations: "integrations",
booking: "booking",
forms: "forms",
signature: "signature",
billing: "billing",
search: "search",
automation: "automation",
supportTickets: "support-tickets",
knowledgeBaseRead: "knowledge-base-read",
knowledgeBaseTenant: "knowledge-base-tenant",
users: "users",
emailMarketing: "email-marketing",
emailInbox: "email-inbox",
importedLists: "imported-lists",
crmBasedLists: "crm-based-lists",
onboarding: "onboarding",
@@ -42,6 +54,14 @@ const quotaLimitTypes = ["not-included", "monthly", "max", "unlimited"] as const
const rateLimitTypes = ["not-included", "max", "unlimited"] as const satisfies readonly FeatureLimitType[];
export const featureGateRegistry = Object.freeze([
Object.freeze({
key: featureKeys.dashboard,
title: "Dashboard",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 4,
description: "Controls access to the tenant dashboard, role layouts, and dashboard widget catalog.",
}),
Object.freeze({
key: featureKeys.crmBasic,
title: "CRM basics",
@@ -50,12 +70,28 @@ export const featureGateRegistry = Object.freeze([
defaultOrder: 5,
description: "Controls access to the default CRM account, contact, and opportunity surfaces.",
}),
Object.freeze({
key: featureKeys.leads,
title: "Lead inbox",
category: "crm",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 6,
description: "Controls access to the lead intake, triage, anti-spam, and lead-to-project preparation surfaces.",
}),
Object.freeze({
key: featureKeys.projects,
title: "Projects and pipelines",
category: "crm",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 6.5,
description: "Controls access to the project core, pipeline engine, project CRUD, and sales pipeline surfaces.",
}),
Object.freeze({
key: featureKeys.supportTickets,
title: "Support tickets",
category: "support",
supportedLimitTypes: quotaLimitTypes,
defaultOrder: 6,
defaultOrder: 7,
description: "Controls support ticket creation and ticket volume.",
}),
Object.freeze({
@@ -63,7 +99,7 @@ export const featureGateRegistry = Object.freeze([
title: "Knowledge base read",
category: "support",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 7,
defaultOrder: 8,
description: "Controls read access to the global and product knowledge bases.",
}),
Object.freeze({
@@ -71,7 +107,7 @@ export const featureGateRegistry = Object.freeze([
title: "Tenant knowledge base",
category: "support",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 8,
defaultOrder: 9,
description: "Controls tenant-owned knowledge base authoring and publishing.",
}),
Object.freeze({
@@ -79,7 +115,7 @@ export const featureGateRegistry = Object.freeze([
title: "Files",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 9,
defaultOrder: 10,
description: "Controls access to the central file storage (chunked upload, preview, sharing).",
}),
Object.freeze({
@@ -87,7 +123,7 @@ export const featureGateRegistry = Object.freeze([
title: "Users",
category: "access",
supportedLimitTypes: quotaLimitTypes,
defaultOrder: 10,
defaultOrder: 11,
description: "Controls the number of workspace members available to an account.",
}),
Object.freeze({
@@ -95,9 +131,73 @@ export const featureGateRegistry = Object.freeze([
title: "Tasks",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 11,
defaultOrder: 12,
description: "Controls access to the cross-cutting task module (assignment, reminders, entity links).",
}),
Object.freeze({
key: featureKeys.hr,
title: "HR hub",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 13,
description: "Controls access to the HR hub (employee master data, locations, documents, encrypted password safe).",
}),
Object.freeze({
key: featureKeys.integrations,
title: "Integrations",
category: "automation",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 14,
description: "Controls the Apps-Engine integrations framework (OAuth/API-key connections, sync, health).",
}),
Object.freeze({
key: featureKeys.booking,
title: "Booking",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 15,
description: "Controls access to the Booking module (public booking pages, availability, appointment lifecycle).",
}),
Object.freeze({
key: featureKeys.forms,
title: "Forms",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 16,
description: "Controls access to the form builder, public form publishing, submissions, and post-submit actions.",
}),
Object.freeze({
key: featureKeys.signature,
title: "Signature",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 17,
description: "Controls access to the signature module (self-hosted SES default and optional provider adapters).",
}),
Object.freeze({
key: featureKeys.billing,
title: "Billing",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 17.5,
description: "Controls access to subscription, usage, billing recovery, and tenant-facing billing settings.",
}),
Object.freeze({
key: featureKeys.search,
title: "Global search",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 18,
description: "Controls access to permission-aware global search and recent searches.",
}),
Object.freeze({
key: featureKeys.automation,
title: "Automation",
category: "automation",
supportedLimitTypes: quotaLimitTypes,
defaultOrder: 19,
description: "Controls the typed automation engine, trigger/action registry, guards, templates, and execution volume.",
}),
Object.freeze({
key: featureKeys.api,
title: "API Access",
@@ -170,6 +270,14 @@ export const featureGateRegistry = Object.freeze([
defaultOrder: 28,
description: "Controls import/export heavy workflows and monthly operation volume.",
}),
Object.freeze({
key: featureKeys.emailInbox,
title: "Email inbox",
category: "access",
supportedLimitTypes: accessLimitTypes,
defaultOrder: 29,
description: "Controls access to the personal mailbox sync (Gmail/Microsoft), inbox surfaces, and mailbox sending.",
}),
Object.freeze({
key: featureKeys.rateLimitPerMinute,
title: "Rate limit per minute",