Skip to content

feat(32): support multiple subcollections of the same type #64

feat(32): support multiple subcollections of the same type

feat(32): support multiple subcollections of the same type #64

Triggered via pull request July 23, 2024 00:56
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test (20): src/Errors/index.ts#L40
Replace `entityConstructorName:·string,·subCollectionName:·string,·parentPropertyKey:·string|undefined` with `⏎····entityConstructorName:·string,⏎····subCollectionName:·string,⏎····parentPropertyKey:·string·|·undefined⏎··`
test (20): src/Errors/index.ts#L41
Replace ``SubCollection<${entityConstructorName}>·with·name·'${subCollectionName}'·and·propertyKey·'${parentPropertyKey}'·has·already·been·registered`` with `⏎······`SubCollection<${entityConstructorName}>·with·name·'${subCollectionName}'·and·propertyKey·'${parentPropertyKey}'·has·already·been·registered`⏎····`
test (20): src/Errors/index.ts#L47
Replace ``Collection<${entityConstructorName}>·with·name·'${collectionName}'·has·already·been·registered`` with `⏎······`Collection<${entityConstructorName}>·with·name·'${collectionName}'·has·already·been·registered`⏎····`
test (20): src/Errors/index.ts#L53
Replace `'Cannot·register·a·custom·repository·on·a·class·that·does·not·inherit·from·BaseFirestoreRepository'` with `⏎······'Cannot·register·a·custom·repository·on·a·class·that·does·not·inherit·from·BaseFirestoreRepository'⏎····`
test (20): src/Errors/index.ts#L55
Insert `⏎`
test (20): src/MetadataStorage.spec.ts#L1
Replace `·MetadataStorage,·RepositoryMetadata,·EnforcedCollectionMetadata,·validateRepositoryIndex·` with `⏎··MetadataStorage,⏎··RepositoryMetadata,⏎··EnforcedCollectionMetadata,⏎··validateRepositoryIndex,⏎`
test (20): src/MetadataStorage.spec.ts#L4
Replace `·CollectionPathNotFoundError,·IncompleteOrInvalidPathError,·InvalidRepositoryIndexError·` with `⏎··CollectionPathNotFoundError,⏎··IncompleteOrInvalidPathError,⏎··InvalidRepositoryIndexError,⏎`
test (20): src/MetadataStorage.spec.ts#L99
Replace `CollectionPathNotFoundError` with `⏎········CollectionPathNotFoundError⏎······`
test (20): src/MetadataStorage.spec.ts#L265
Replace `InvalidRepositoryIndexError)` with `⏎········InvalidRepositoryIndexError⏎······);`
test (20): src/MetadataStorage.spec.ts#L275
Unexpected empty arrow function