-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
settings.ts
41 lines (40 loc) · 1.16 KB
/
settings.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import type { MergeCoreCollection } from '../index.js';
import type { DirectusFolder } from './folder.js';
export type DirectusSettings<Schema extends object> = 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;
}
>;