Template
20 lines
570 B
TypeScript
20 lines
570 B
TypeScript
import type { Config, Data } from '@reacteditor/core';
|
|
import type { HeaderProps } from '@/components/website/header';
|
|
import type { FooterProps } from '@/components/website/footer';
|
|
import type { StarterProps } from '@/components/website/starter';
|
|
import type { RootProps } from './root';
|
|
|
|
export type Components = {
|
|
header: HeaderProps;
|
|
footer: FooterProps;
|
|
starter: StarterProps;
|
|
};
|
|
|
|
export type UserConfig = Config<{
|
|
components: Components;
|
|
root: RootProps;
|
|
categories: ['navigation', 'content'];
|
|
}>;
|
|
|
|
export type UserData = Data<Components, RootProps>;
|