Configure a custom setting's value and the groups that can access it.
Type definition
export type DefineCustomSettingProps = {
apiName: string;
name: string;
viewGroup?: DefinedGroup | null;
manageGroup?: DefinedGroup | null;
} & ({
dataType: 'STRING' | 'SECRET';
value: string | null;
} | {
dataType: 'NUMBER';
value: number | string | null;
} | {
dataType: 'BOOLEAN';
value: boolean | null;
});