Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # Installation
  2. > `npm install --save @types/istanbul-reports`
  3. # Summary
  4. This package contains type definitions for istanbul-reports (https://github.com/istanbuljs/istanbuljs).
  5. # Details
  6. Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports.
  7. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports/index.d.ts)
  8. ````ts
  9. // Type definitions for istanbul-reports 3.0
  10. // Project: https://github.com/istanbuljs/istanbuljs, https://istanbul.js.org
  11. // Definitions by: Jason Cheatham <https://github.com/jason0x43>
  12. // Elena Shcherbakova <https://github.com/not-a-doctor>
  13. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
  14. // TypeScript Version: 2.4
  15. import { Node, ReportBase } from 'istanbul-lib-report';
  16. export function create<T extends keyof ReportOptions>(name: T, options?: Partial<ReportOptions[T]>): ReportBase;
  17. export interface FileOptions {
  18. file: string;
  19. }
  20. export interface ProjectOptions {
  21. projectRoot: string;
  22. }
  23. export interface ReportOptions {
  24. clover: CloverOptions;
  25. cobertura: CoberturaOptions;
  26. 'html-spa': HtmlSpaOptions;
  27. html: HtmlOptions;
  28. json: JsonOptions;
  29. 'json-summary': JsonSummaryOptions;
  30. lcov: LcovOptions;
  31. lcovonly: LcovOnlyOptions;
  32. none: never;
  33. teamcity: TeamcityOptions;
  34. text: TextOptions;
  35. 'text-lcov': TextLcovOptions;
  36. 'text-summary': TextSummaryOptions;
  37. }
  38. export type ReportType = keyof ReportOptions;
  39. export interface CloverOptions extends FileOptions, ProjectOptions {}
  40. export interface CoberturaOptions extends FileOptions, ProjectOptions {}
  41. export interface HtmlSpaOptions extends HtmlOptions {
  42. metricsToShow: Array<'lines' | 'branches' | 'functions' | 'statements'>;
  43. }
  44. export interface HtmlOptions {
  45. verbose: boolean;
  46. skipEmpty: boolean;
  47. subdir: string;
  48. linkMapper: LinkMapper;
  49. }
  50. export type JsonOptions = FileOptions;
  51. export type JsonSummaryOptions = FileOptions;
  52. export interface LcovOptions extends FileOptions, ProjectOptions {}
  53. export interface LcovOnlyOptions extends FileOptions, ProjectOptions {}
  54. export interface TeamcityOptions extends FileOptions {
  55. blockName: string;
  56. }
  57. export interface TextOptions extends FileOptions {
  58. maxCols: number;
  59. skipEmpty: boolean;
  60. skipFull: boolean;
  61. }
  62. export type TextLcovOptions = ProjectOptions;
  63. export type TextSummaryOptions = FileOptions;
  64. export interface LinkMapper {
  65. getPath(node: string | Node): string;
  66. relativePath(source: string | Node, target: string | Node): string;
  67. assetPath(node: Node, name: string): string;
  68. }
  69. ````
  70. ### Additional Details
  71. * Last updated: Tue, 01 Jun 2021 21:02:19 GMT
  72. * Dependencies: [@types/istanbul-lib-report](https://npmjs.com/package/@types/istanbul-lib-report)
  73. * Global values: none
  74. # Credits
  75. These definitions were written by [Jason Cheatham](https://github.com/jason0x43), and [Elena Shcherbakova](https://github.com/not-a-doctor).