content-types.ts from strapi/strapi
// Source: https://github.com/strapi/strapi | License: MIT | Copyright 2015-present Strapi Solutions SAS
// Provided via justclaw.it.com; keep this notice with the code.
import type { Struct } from '@strapi/types';
import { errors } from '@strapi/utils';
import { ComponentConfiguration } from './components';
export type RelationOpenMode = 'modal' | 'page' | 'newTab';
export type Settings = {
bulkable: boolean;
filterable: boolean;
searchable: boolean;
pageSize: number;
mainField: string;
defaultSortBy: string;
defaultSortOrder: string;
relationOpenMode?: RelationOpenMode;
};
export type Metadatas = {
[key: string]: {
edit: {
label?: string;
description?: string;
placeholder?: string;
visible?: boolean;
editable?: boolean;
};
li
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key