[CHORE] Prepare twenty-serverfor twenty-shared multi barrel refactor (#11022)

# Introduction
While running https://github.com/twentyhq/twenty/pull/10960 scripts
discovers few issues:
- Invalid named folder `pre-hooks.ts`
- Mock consuming outbound imported module resulting in consumed before
initialization
This commit is contained in:
Paul Rastoin
2025-03-19 12:26:42 +01:00
committed by GitHub
parent 4ce607869e
commit 5ba3c09b14
4 changed files with 34 additions and 27 deletions

View File

@ -2,7 +2,7 @@ import { Module } from '@nestjs/common';
import { ViewService } from 'src/modules/view/services/view.service';
import { ViewDeleteOnePreQueryHook } from './pre-hooks.ts/view-delete-one.pre-query.hook';
import { ViewDeleteOnePreQueryHook } from './pre-hooks/view-delete-one.pre-query.hook';
@Module({
imports: [],
providers: [ViewService, ViewDeleteOnePreQueryHook],