graycoreio/daffodil

View on GitHub
apps/daffio/src/app/docs/services/docs-path.token.ts

Summary

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

export const {
  token: DAFFIO_DOCS_PATH_TOKEN,
  /**
   * Provider function for {@link DAFFIO_DOCS_PATH_TOKEN}.
   */
  provider: provideDaffioDocsPath,
} = createSingleInjectionToken<string>('DAFFIO_DOCS_PATH_TOKEN', { factory: () => '/assets/daffio/' });