n8n/packages/cli/src/workflows
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
..
workflowHistory feat(core): Add workflow history initial setup (no-changelog) (#6852) 2023-08-04 12:27:06 +02:00
workflows.controller.ee.ts refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00
workflows.controller.ts refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00
workflows.services.ee.ts refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00
workflows.services.ts refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00
workflows.types.ts refactor: Consolidate WorkflowService.getMany() (no-changelog) (#6892) 2023-08-22 13:19:37 +02:00