closes https://github.com/twentyhq/core-team-issues/issues/761 closes https://github.com/twentyhq/core-team-issues/issues/762 --------- Co-authored-by: Félix Malfait <felix@twenty.com>
16 lines
621 B
TypeScript
16 lines
621 B
TypeScript
import { ConfigVariableSourceFilter } from '@/settings/admin-panel/config-variables/types/ConfigVariableSourceFilter';
|
|
import { ThemeColor } from 'twenty-ui/theme';
|
|
|
|
type ConfigVariableSourceOption = {
|
|
value: ConfigVariableSourceFilter;
|
|
label: string;
|
|
color: ThemeColor | 'transparent';
|
|
};
|
|
|
|
export const ConfigVariableSourceOptions: ConfigVariableSourceOption[] = [
|
|
{ value: 'all', label: 'All Sources', color: 'transparent' },
|
|
{ value: 'database', label: 'Database', color: 'blue' },
|
|
{ value: 'environment', label: 'Environment', color: 'green' },
|
|
{ value: 'default', label: 'Default', color: 'gray' },
|
|
];
|