n8n/packages/cli/test
Iván Ovejero 2cfa6d344e
refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892)
In scope:

- Consolidate `WorkflowService.getMany()`.
- Support non-entity field `ownedBy` for `select`.
- Support `tags` for `filter`.
- Move `addOwnerId` to `OwnershipService`.
- Remove unneeded check for `filter.id`.
- Simplify DTO validation for `filter` and `select`.
- Expand tests for `GET /workflows`.

Workflow list query DTOs:

```
filter → name, active, tags
select → id, name, active, tags, createdAt, updatedAt, versionId, ownedBy
```

Out of scope:

- Migrate `shared_workflow.roleId` and `shared_credential.roleId` to
string IDs.
- Refactor `WorkflowHelpers.getSharedWorkflowIds()`.
2023-08-22 13:19:37 +02:00
..
integration refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00
unit refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00
extend-expect.ts feat(core): Security audit (#5034) 2023-01-05 13:28:40 +01:00
setup-mocks.ts fix(core): Do not allow arbitrary path traversal in the credential-translation endpoint (#5522) 2023-02-21 11:21:04 +01:00
setup.ts ci: Block all external network calls in tests (no-changelog) (#4930) 2022-12-14 15:28:41 +01:00
teardown.ts ci: Fix test database cleanup (no-changelog) (#6188) 2023-05-05 12:12:37 +02:00