All files / copyright-notice si-copyright-notice.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                                  1x  
/**
 * Copyright (c) Siemens 2016 - 2025
 * SPDX-License-Identifier: MIT
 */
import { InjectionToken } from '@angular/core';
 
export interface CopyrightDetails {
  /**
   * The year when the app was first released.
   */
  startYear: number;
  /**
   * The year when the app was last updated. Must be left blank if it equals {@link startYear}
   */
  lastUpdateYear?: number;
  /**
   * The company name to be displayed in the copyright notice (not to be translated).
   * If empty (recommended), the company name from the theme will be used.
   */
  company?: string;
}
 
/**
 * The injection token to be used when used globally across the app
 */
export const SI_COPYRIGHT_DETAILS = new InjectionToken<CopyrightDetails>('SI_COPYRIGHT_DETAILS');