23 lines
488 B
TypeScript
Raw Normal View History

import { errors } from '@strapi/utils';
import { Component } from './components';
import { ContentType } from './content-types';
/**
* GET /init
*/
export declare namespace GetInitData {
export interface Request {
body: {};
query: {};
}
export interface Response {
data: {
2024-01-15 13:14:30 +01:00
fieldSizes: Record<string, { default: number; isResizable: boolean }>;
components: Component[];
contentTypes: ContentType[];
};
error?: errors.ApplicationError;
}
}