updated docs

This commit is contained in:
2025-05-13 18:45:23 +03:00
parent 6dfa17c5e6
commit 3627412fe9
247 changed files with 30258 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
import { LanguageTypes } from "@/validations/mutual/language/validations";
type ParamsType = { page: string[] | undefined };
interface MaindasboardPageProps {
params: Promise<ParamsType>;
searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
}
interface DashboardLayoutProps {
params: ParamsType;
searchParams: { [key: string]: string | string[] | undefined };
lang: LanguageTypes;
}
type ModeTypes = "shortList" | "fullList" | "create" | "update" | "view";
const ModeTypesList = ["shortList", "fullList", "create", "update", "view"];
interface ContentProps {
lang: LanguageTypes;
translations: Record<string, string>;
activePageUrl: string;
isMulti?: boolean;
mode?: ModeTypes;
}
interface MenuProps {
lang: LanguageTypes;
menuItems: Record<string, Record<string, any>>;
activePageUrl: string;
menuTranslationsFlatten: Record<string, Record<string, any>>;
}
interface FooterProps {
translations: Record<string, string>;
}
interface HeaderProps {
translations: Record<string, string>;
lang: LanguageTypes;
activePageUrl: string;
}
export type {
MaindasboardPageProps,
DashboardLayoutProps,
ContentProps,
MenuProps,
FooterProps,
HeaderProps,
ModeTypes,
};
export { ModeTypesList };