mirror of
https://github.com/strapi/strapi.git
synced 2025-07-03 07:05:06 +00:00
23 lines
488 B
TypeScript
23 lines
488 B
TypeScript
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;
|
|
}
|
|
}
|