lint: migrate prettier to oxfmt (#20783)
Most changes are `implements` being unwrapped this is not a oxfmt regression Prettier in 3.7 (we're on 3.1) changed this behaviour prettier blog [post](https://prettier.io/blog/2025/11/27/3.7.0#change-18094) This unifies our linting tooling --------- Co-authored-by: github-actions <github-actions@twenty.com> Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.createMany`)
|
||||
export class WorkspaceMemberCreateManyPreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberCreateManyPreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.createOne`)
|
||||
export class WorkspaceMemberCreateOnePreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberCreateOnePreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -11,9 +11,7 @@ import { WorkspaceQueryHook } from 'src/engine/api/graphql/workspace-query-runne
|
||||
import { type WorkspaceAuthContext } from 'src/engine/core-modules/auth/types/workspace-auth-context.type';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.deleteMany`)
|
||||
export class WorkspaceMemberDeleteManyPreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberDeleteManyPreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -22,9 +22,7 @@ import { WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/sta
|
||||
key: `workspaceMember.deleteOne`,
|
||||
type: WorkspaceQueryHookType.POST_HOOK,
|
||||
})
|
||||
export class WorkspaceMemberDeleteOnePostQueryHook
|
||||
implements WorkspacePostQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberDeleteOnePostQueryHook implements WorkspacePostQueryHookInstance {
|
||||
constructor(
|
||||
private readonly globalWorkspaceOrmManager: GlobalWorkspaceOrmManager,
|
||||
@InjectRepository(UserWorkspaceEntity)
|
||||
|
||||
+1
-3
@@ -11,9 +11,7 @@ import { WorkspaceQueryHook } from 'src/engine/api/graphql/workspace-query-runne
|
||||
import { type WorkspaceAuthContext } from 'src/engine/core-modules/auth/types/workspace-auth-context.type';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.deleteOne`)
|
||||
export class WorkspaceMemberDeleteOnePreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberDeleteOnePreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.destroyMany`)
|
||||
export class WorkspaceMemberDestroyManyPreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberDestroyManyPreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.destroyOne`)
|
||||
export class WorkspaceMemberDestroyOnePreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberDestroyOnePreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.restoreMany`)
|
||||
export class WorkspaceMemberRestoreManyPreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberRestoreManyPreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.restoreOne`)
|
||||
export class WorkspaceMemberRestoreOnePreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberRestoreOnePreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import {
|
||||
import { WorkspaceNotFoundDefaultError } from 'src/engine/core-modules/workspace/workspace.exception';
|
||||
|
||||
@WorkspaceQueryHook(`workspaceMember.updateMany`)
|
||||
export class WorkspaceMemberUpdateManyPreQueryHook
|
||||
implements WorkspacePreQueryHookInstance
|
||||
{
|
||||
export class WorkspaceMemberUpdateManyPreQueryHook implements WorkspacePreQueryHookInstance {
|
||||
constructor() {}
|
||||
|
||||
async execute(
|
||||
|
||||
Reference in New Issue
Block a user