| 4 | import { ResponseStatus, ServiceResponse } from '@/common/models/serviceResponse' |
| 5 | |
| 6 | export default class SideBarController { |
| 7 | public async getAllTemplates(search: string, filter: string[], pageType: string): Promise<ServiceResponse<Template[] | null>> { |
| 8 | try { |
| 9 | let blocksData: FullTemplate[] = await FullTemplateModel.find({}) |
nothing calls this directly
no outgoing calls
no test coverage detected