Skip to content

Commit ca91b42

Browse files
committed
fix: lint
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent d907907 commit ca91b42

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

services/libs/data-access-layer/src/osspckgs/packages.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { QueryExecutor } from '../queryExecutor'
2+
23
import { IDbPackageUniverse, IDbPackageUpsert } from './types'
34

45
export async function findPackageIdsByPurl(
@@ -24,7 +25,17 @@ export async function listMavenPackagesToSync(
2425
qx: QueryExecutor,
2526
options: { limit: number; refreshDays: number; isCritical: boolean },
2627
): Promise<
27-
(Pick<IDbPackageUniverse, 'id' | 'namespace' | 'name' | 'isCritical' | 'criticalityScore' | 'dependentPackagesCount' | 'dependentReposCount' | 'downloads30d'> & {
28+
(Pick<
29+
IDbPackageUniverse,
30+
| 'id'
31+
| 'namespace'
32+
| 'name'
33+
| 'isCritical'
34+
| 'criticalityScore'
35+
| 'dependentPackagesCount'
36+
| 'dependentReposCount'
37+
| 'downloads30d'
38+
> & {
2839
purl: string
2940
latestVersion: string | null
3041
})[]

services/libs/data-access-layer/src/osspckgs/repos.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { QueryExecutor } from '../queryExecutor'
2+
23
import { IDbPackageRepoUpsert, IDbRepoUpsert } from './types'
34

45
export async function findRepoIdsByUrl(

0 commit comments

Comments
 (0)