/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/core/admin/shared/contracts/content-api.ts
32 строки
706 B
Convly
chore: fix build following latest TS type system changes
01 мар 2024, 16:41
01 мар 2024, 16:41
5167af6
Код
Авторство
О чём код?
import type { errors } from '@strapi/utils'; import type { Core } from '@strapi/types'; /** * GET /content-api/permissions - Get the permissions of all content types */ export declare namespace GetPermissions { export interface Request { query: {}; body: {}; } export interface Response { data: Record<string, { controllers: Record<string, string[]> }>; error?: errors.ApplicationError; } } /** * GET /content-api/routes - Get the routes of all content types */ export declare namespace GetRoutes { export interface Request { query: {}; body: {}; } export interface Response { data: Record<string, Core.Route[]>; error?: errors.ApplicationError; } }