graycoreio/daffodil

View on GitHub
libs/authorizenet/state/src/config/token.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createConfigInjectionToken } from '@daffodil/core';

import { daffAuthorizeNetStateDefaultConfig } from './default';
import { DaffAuthorizeNetStateConfig } from './type';

export const {
  token: DAFF_AUTHORIZE_NET_STATE_CONFIG,
  /**
   * Provider function for {@link DAFF_AUTHORIZE_NET_STATE_CONFIG}.
   */
  provider: provideDaffAuthorizeNetStateConfig,
} = createConfigInjectionToken<DaffAuthorizeNetStateConfig>(daffAuthorizeNetStateDefaultConfig, 'DAFF_AUTHORIZE_NET_STATE_CONFIG');