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
+15
-2
@@ -1,7 +1,7 @@
|
||||
import { redirect, type ActionFunctionArgs, type LoaderFunctionArgs } from "react-router";
|
||||
import { serverOnly$ } from "vite-env-only/macros";
|
||||
import { buildSelectTenantVM, type SelectTenantData, type TenantRole } from "@toolctrl/view-models";
|
||||
import type { VMState } from "@toolctrl/view-models";
|
||||
import { buildSelectTenantVM, type SelectTenantData, type TenantRole } from "@hivegrid/view-models";
|
||||
import type { VMState } from "@hivegrid/view-models";
|
||||
import { TenantUserType } from "~/application/enums/tenants/TenantUserType";
|
||||
import { appPath } from "~/utils/app/CanonicalUrlUtils";
|
||||
import { getMyTenants, getTenantUserType } from "~/utils/db/tenants.db.server";
|
||||
@@ -16,8 +16,21 @@ import { getUserInfo, validateCSRFToken } from "~/utils/session.server";
|
||||
|
||||
export type SelectTenantVM = VMState<SelectTenantData>;
|
||||
|
||||
export type SelectTenantCopy = {
|
||||
titleKey?: string;
|
||||
subtitleKey?: string;
|
||||
infoTooltipKey?: string;
|
||||
searchPlaceholderKey?: string;
|
||||
emptyKey?: string;
|
||||
noResultsKey?: string;
|
||||
sectionLabelKey?: string;
|
||||
};
|
||||
|
||||
export type LoaderData = {
|
||||
vm: SelectTenantVM;
|
||||
title?: string;
|
||||
copy?: SelectTenantCopy;
|
||||
showCreateAction?: boolean;
|
||||
};
|
||||
|
||||
export type ActionData = {
|
||||
|
||||
Reference in new issue
Block a user