Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
import { DirectusFolder } from "./folder.js";
|
|
import { MergeCoreCollection } from "../types/schema.js";
|
|
|
|
//#region src/schema/settings.d.ts
|
|
type DirectusSettings<Schema = any> = MergeCoreCollection<Schema, 'directus_settings', {
|
|
id: 1;
|
|
project_name: string;
|
|
project_url: string;
|
|
report_error_url: string | null;
|
|
report_bug_url: string | null;
|
|
report_feature_url: string | null;
|
|
project_color: string | null;
|
|
project_logo: string | null;
|
|
public_foreground: string | null;
|
|
public_background: {
|
|
id: string;
|
|
type: string;
|
|
} | null;
|
|
public_note: string | null;
|
|
auth_login_attempts: number;
|
|
auth_password_policy: string | null;
|
|
storage_asset_transform: 'all' | 'none' | 'presets';
|
|
storage_asset_presets: {
|
|
fit: string;
|
|
height: number;
|
|
width: number;
|
|
quality: number;
|
|
key: string;
|
|
withoutEnlargement: boolean;
|
|
}[] | null;
|
|
custom_css: string | null;
|
|
storage_default_folder: DirectusFolder<Schema> | string | null;
|
|
basemaps: Record<string, any> | null;
|
|
mapbox_key: string | null;
|
|
module_bar: 'json' | null;
|
|
project_descriptor: string | null;
|
|
default_language: string;
|
|
custom_aspect_ratios: Record<string, any> | null;
|
|
project_id: string | null;
|
|
}>;
|
|
//#endregion
|
|
export { DirectusSettings };
|
|
//# sourceMappingURL=settings.d.ts.map |