Skip to content

Commit bd3c128

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent e2e0390 commit bd3c128

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/models/service.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ import {LicenseRepository} from "./license";
2424
import type {OrganizationalEntity} from "./organizationalEntity";
2525
import {PropertyRepository} from "./property";
2626

27-
export interface OptionalToolProperties {
28-
provider?: Service['provider']
29-
}
30-
31-
32-
export interface OptionalComponentProperties {
27+
export interface OptionalServiceProperties {
3328
bomRef?: BomRef['value']
3429
provider?: Service['provider']
3530
group?: Service['group']
@@ -52,11 +47,10 @@ export class Service implements Comparable<Service> {
5247
services: ServiceRepository
5348
properties: PropertyRepository
5449

55-
5650
/** @see {@link bomRef} */
5751
readonly #bomRef: BomRef
5852

59-
constructor(name: Service['name'], op: OptionalComponentProperties = {}) {
53+
constructor(name: Service['name'], op: OptionalServiceProperties = {}) {
6054
this.#bomRef = new BomRef(op.bomRef)
6155
this.provider = op.provider
6256
this.group = op.group

0 commit comments

Comments
 (0)