24 lines
563 B
TypeScript
24 lines
563 B
TypeScript
import { errors } from '@strapi/utils';
|
|
import { Component } from './components';
|
|
import { ContentType } from './content-types';
|
|
/**
|
|
* GET /init
|
|
*/
|
|
export declare namespace GetInitData {
|
|
interface Request {
|
|
body: {};
|
|
query: {};
|
|
}
|
|
interface Response {
|
|
data: {
|
|
fieldSizes: Record<string, {
|
|
default: number;
|
|
isResizable: boolean;
|
|
}>;
|
|
components: Component[];
|
|
contentTypes: ContentType[];
|
|
};
|
|
error?: errors.ApplicationError;
|
|
}
|
|
}
|