MCPcopy Create free account
hub / github.com/ShipSecAI/studio / findAll

Method findAll

backend/src/workflows/workflows.controller.ts:1246–1249  ·  view source on GitHub ↗
(@CurrentAuth() auth: AuthContext | null)

Source from the content-addressed store, hash-verified

1244 @Get()
1245 @ApiOkResponse({ type: [WorkflowResponseDto] })
1246 async findAll(@CurrentAuth() auth: AuthContext | null): Promise<WorkflowResponseDto[]> {
1247 const serviceResponses = await this.workflowsService.list(auth);
1248 return serviceResponses.map((response) => this.transformServiceResponseToApi(response));
1249 }
1250
1251 private transformServiceResponseToApi(
1252 serviceResponse: ServiceWorkflowResponse,

Callers 1

Calls 2

listMethod · 0.65

Tested by

no test coverage detected