config.SplashLook
One launch screen, checked, with its defaults applied.
Verwendung
Validate a configuration in an app-development tool.
Dieser Typ wird verwendet von config.resolveConfig
// Validate a configuration in an app-development tool.
import { resolveConfig, SETTING_DEFAULTS, IOS_BACKGROUND_MODES } from 'kuito/config';
const config = resolveConfig(
{
name: 'Notes',
ios: { bundleIdentifier: 'com.example.notes' },
android: { applicationId: 'com.example.notes' },
environments: { staging: { idSuffix: '.staging' } },
},
'/project/kuito.config.ts',
'staging',
);
console.log(config.ios.bundleIdentifier, config.splash, config.icon);
console.log(SETTING_DEFAULTS.minSdk, IOS_BACKGROUND_MODES);Typdeklaration
export interface SplashLook {
logo: IconSource;
logoWidth: number;
/** `#RRGGBB`. */
background: string;
brand: IconSource | null;
dark: { logo: IconSource | null; background: string | null; brand: IconSource | null };
}Mitglieder 5
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
logo | IconSource | Ja | — |
logoWidth | number | Ja | — |
background | string | Ja | #RRGGBB. |
brand | IconSource | Ja | — |
dark | { logo: IconSource | null; background: string | null; brand: IconSource | null;} | Ja | — |
dark — verschachtelte Felder
dark Felder
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
logo | IconSource | Ja | — |
background | string | Ja | — |
brand | IconSource | Ja | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.