mirror of
https://github.com/strapi/strapi.git
synced 2025-07-06 00:21:18 +00:00
25 lines
518 B
TypeScript
25 lines
518 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: {
|
||
|
data: {
|
||
|
fieldSizes: Record<string, { default: number; isResizeable: boolean }>;
|
||
|
components: Component[];
|
||
|
contentTypes: ContentType[];
|
||
|
};
|
||
|
};
|
||
|
error?: errors.ApplicationError;
|
||
|
}
|
||
|
}
|