You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
488 B
23 lines
488 B
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: {
|
|
fieldSizes: Record<string, { default: number; isResizable: boolean }>;
|
|
components: Component[];
|
|
contentTypes: ContentType[];
|
|
};
|
|
error?: errors.ApplicationError;
|
|
}
|
|
}
|