Kocal-Web-Extensions/Solary

View on GitHub
src/store/settings.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { InterfaceSettings } from '@kocal/web-extension-library';

const settings: InterfaceSettings = {
  showNotifications: {
    type: 'boolean',
    label: 'Notifications',
    defaultValue: true,
    children: {
      atBoot: {
        type: 'boolean',
        label: 'Au démarrage du navigateur',
        defaultValue: true,
      },
      onTitleUpdate: {
        type: 'boolean',
        label: 'À chaque nouvelle émission',
        help: "Affiche une notification lorsque d'un stream change de titre.",
        defaultValue: false,
      },
    },
  },
};

export default settings;