@stryker-mutator/dashboard-badge-api 0.15.2-pr-1091.2 → 0.15.2-pr-1092.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- import type { MutationTestingReportMapper } from '@stryker-mutator/dashboard-data-access';
2
- import type { Shield } from './Shield.js';
1
+ import { MutationTestingReportMapper } from '@stryker-mutator/dashboard-data-access';
2
+ import { Shield } from './Shield.js';
3
3
  export declare class ShieldMapper {
4
4
  private readonly reportMapper;
5
5
  constructor(reportMapper: MutationTestingReportMapper);
@@ -1,4 +1,4 @@
1
- import type { HttpHandler } from '@azure/functions';
2
- import type { ShieldMapper } from './ShieldMapper.js';
1
+ import { HttpHandler } from '@azure/functions';
2
+ import { ShieldMapper } from './ShieldMapper.js';
3
3
  export declare function handler(mapper: ShieldMapper): HttpHandler;
4
4
  //# sourceMappingURL=handler.d.ts.map
@@ -1,5 +1,5 @@
1
- import { InvalidSlugError, Slug } from '@stryker-mutator/dashboard-common';
2
1
  import fs from 'fs';
2
+ import { Slug, InvalidSlugError } from '@stryker-mutator/dashboard-common';
3
3
  const headers = {
4
4
  ['X-Badge-Api-Version']: JSON.parse(fs.readFileSync(new URL('../../package.json', import.meta.url), 'utf-8')).version,
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import 'source-map-support/register.js';
2
2
  import { app } from '@azure/functions';
3
+ import { ShieldMapper } from './ShieldMapper.js';
3
4
  import { createMutationTestingReportMapper } from '@stryker-mutator/dashboard-data-access';
4
5
  import { handler } from './handler.js';
5
- import { ShieldMapper } from './ShieldMapper.js';
6
6
  const httpTrigger = handler(new ShieldMapper(createMutationTestingReportMapper()));
7
7
  app.http('badge', {
8
8
  methods: ['GET'],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stryker-mutator/dashboard-badge-api",
3
3
  "description": "The stryker dashboard badge-api serverless app",
4
4
  "type": "module",
5
- "version": "0.15.2-pr-1091.2",
5
+ "version": "0.15.2-pr-1092.0",
6
6
  "main": "dist/badge/index.mjs",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -21,12 +21,12 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@azure/functions": "4.6.0",
24
- "@stryker-mutator/dashboard-common": "0.15.2-pr-1091.2",
25
- "@stryker-mutator/dashboard-data-access": "0.15.2-pr-1091.2",
24
+ "@stryker-mutator/dashboard-common": "0.15.2-pr-1092.0",
25
+ "@stryker-mutator/dashboard-data-access": "0.15.2-pr-1092.0",
26
26
  "source-map-support": "0.5.21"
27
27
  },
28
28
  "devDependencies": {
29
29
  "azure-functions-core-tools": "4.0.6610"
30
30
  },
31
- "gitHead": "96fca3a3a7b325249b2e7ff3a4cd95e33cf5c4a5"
31
+ "gitHead": "8afe53a42ddbf1183b2d6cd95a818699e3a8c916"
32
32
  }