Configuration
Navigation
@/router
export type Meta = {
title?: string;
description?: string;
layout?: Layouts;
authedOnly?: boolean;
acl?:
| {
action?: Actions;
subject?: Subjects;
}
| false;
};
import type { Meta } from '@/router';
export type NavigationEntry = {
name: string;
children?: NavigationEntry[];
path?: Path;
acl?: Meta['acl'];
icon?: JSX.Element;
heading?: string;
};
export type Navigation = NavigationEntry[];
Branding
export type Brand = {
name: string;
logo: string;
};
API
import type { CreateAxiosDefaults } from 'axios';
export type API = {
axios?: CreateAxiosDefaults;
enableMocking?: boolean;
};
tip