feat(server): library refresh go brrr #28143
Annotations
30 errors and 1 warning
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Argument of type 'ILibraryAssetsJob' is not assignable to parameter of type 'ILibraryBulkIdsJob'.
|
Run tsc
Object literal may only specify known properties, and 'id' does not exist in type 'ILibraryFileJob'.
|
Run tsc
Property 'getByLibraryIdAndOriginalPath' does not exist on type 'Mocked<IAssetRepository>'.
|
Run tsc
Property 'handleSyncFile' does not exist on type 'LibraryService'. Did you mean 'handleSyncFiles'?
|
Run linter:
server/src/controllers/library.controller.ts#L6
'LibraryStatsResponseDto' is defined but never used
|
Run linter:
server/src/interfaces/library.interface.ts#L1
'ADDED_IN_PREFIX' is defined but never used
|
Run linter:
server/src/services/library.service.ts#L10
'LibraryStatsResponseDto' is defined but never used
|
Run linter:
server/src/services/library.service.ts#L18
'LibraryEntity' is defined but never used
|
Run linter:
server/src/services/library.service.ts#L361
Expected property shorthand
|
Run linter:
server/src/services/library.service.ts#L362
Expected property shorthand
|
Run linter:
server/src/services/library.service.ts#L442
Missing braces in case clause
|
Run linter:
server/src/services/library.service.ts#L445
Missing braces in case clause
|
Run linter:
server/src/services/library.service.ts#L451
Use `.length > 0` when checking length is not zero
|
Run linter:
server/src/services/library.service.ts#L459
Use `.length > 0` when checking length is not zero
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L180
AssertionError: expected "spy" to be called with arguments: [ [ { …(2) } ] ]
Received:
Number of calls: 0
❯ src/services/library.service.spec.ts:180:32
|
Run small tests & coverage:
server/src/services/library.service.ts#L624
TypeError: this.assetRepository.getAssetCount is not a function
❯ LibraryService.handleQueueSyncAssets src/services/library.service.ts:624:51
❯ src/services/library.service.spec.ts:230:7
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L261
AssertionError: expected 'success' to be 'skipped' // Object.is equality
Expected: "skipped"
Received: "success"
❯ src/services/library.service.spec.ts:261:7
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L278
AssertionError: expected "spy" to be called with arguments: [ [ 'asset-id' ], …(1) ]
Received:
Number of calls: 0
❯ src/services/library.service.spec.ts:278:35
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L294
AssertionError: expected "spy" to be called with arguments: [ [ 'asset-id' ], …(1) ]
Received:
Number of calls: 0
❯ src/services/library.service.spec.ts:294:35
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L312
AssertionError: expected "spy" to be called with arguments: [ [ 'asset-id' ], …(1) ]
Received:
Number of calls: 0
❯ src/services/library.service.spec.ts:312:35
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L345
AssertionError: expected "spy" to be called with arguments: [ [ 'asset-id' ], …(1) ]
Received:
Number of calls: 0
❯ src/services/library.service.spec.ts:345:35
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L368
AssertionError: expected "spy" to be called with arguments: [ [ 'asset-id' ], { …(5) } ]
Received:
Number of calls: 0
❯ src/services/library.service.spec.ts:368:33
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L401
TypeError: sut.handleSyncFile is not a function
❯ src/services/library.service.spec.ts:401:24
|
Run small tests & coverage:
server/src/services/library.service.spec.ts#L448
TypeError: sut.handleSyncFile is not a function
❯ src/services/library.service.spec.ts:448:24
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading