hunk.code_window: import { IPreferenceChannels } from '@novu/shared';
   import {
     GetSubscriberTemplatePreference,
     GetSubscriberTemplatePreferenceCommand,
   } from '../get-subscriber-template-preference';
   @Injectable()
   export class GetSubscriberPreference {
     constructor(
       private subscriberPreferenceRepository: SubscriberPreferenceRepository,
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit: import { ANALYTICS_SERVICE } from '../../../shared/shared.module';
   import { AnalyticsService } from '../../../shared/services/analytics/analytics.service';
  
hunk.file_path: apps/api/src/app/widgets/usecases/get-subscriber-preference/get-subscriber-preference.usecase.ts
hunk.type: add
file: import React from 'react';
  import { useDarkMode } from 'storybook-dark-mode';
  import { ThemeProvider } from '../src/design-system/ThemeProvider';
  import { DocsContainer } from './Doc.container';
  
  export const parameters = {
    layout: 'fullscreen',
    viewMode: 'docs',
    docs: {
      container: DocsContainer,
    },
    darkMode: {
      current: 'dark',
    },
    actions: { argTypesRegex: '^on[A-Z].*' },
    controls: {
      matchers: {
        color: /(background|color)$/i,
        date: /Date$/,
      },
    },
  };
  
  function ThemeWrapper(props) {
    return (
      <div style={{ margin: '3em' }}>
        <ThemeProvider dark={useDarkMode()}>{props.children}</ThemeProvider>
      </div>
    );
  }
  
  export const decorators = [(renderStory) => <ThemeWrapper>{renderStory()}</ThemeWrapper>];
  