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:
neo773
2026-05-22 03:51:33 +05:30
committed by GitHub
parent e2ee4ffdff
commit 323e66433e
421 changed files with 1362 additions and 2042 deletions
@@ -11,9 +11,7 @@ import {
@Catch(FlatEntityMapsException)
@Injectable()
export class FlatEntityMapsGraphqlApiExceptionFilter
implements ExceptionFilter
{
export class FlatEntityMapsGraphqlApiExceptionFilter implements ExceptionFilter {
catch(exception: FlatEntityMapsException) {
switch (exception.code) {
case FlatEntityMapsExceptionCode.RELATION_UNIVERSAL_IDENTIFIER_NOT_FOUND:
@@ -15,10 +15,10 @@ type IsUniversalMappedProperty<
export type FlatEntityUpdate<
T extends AllMetadataName,
MetadataPropertyConfig = (typeof ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME)[T],
TComparedKeys extends
keyof MetadataPropertyConfig = MetadataEntityComparablePropertyName<T> &
keyof MetadataPropertyConfig,
MetadataPropertyConfig =
(typeof ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME)[T],
TComparedKeys extends keyof MetadataPropertyConfig =
MetadataEntityComparablePropertyName<T> & keyof MetadataPropertyConfig,
> = Partial<
Pick<
MetadataFlatEntity<T>,
@@ -55,10 +55,8 @@ type ResolvedUniversalIdentifiers<
export const resolveEntityRelationUniversalIdentifiers = <
T extends AllMetadataName,
TProvidedKeys extends Extract<
MetadataManyToOneJoinColumn<T>,
string
> = Extract<MetadataManyToOneJoinColumn<T>, string>,
TProvidedKeys extends Extract<MetadataManyToOneJoinColumn<T>, string> =
Extract<MetadataManyToOneJoinColumn<T>, string>,
>({
metadataName,
foreignKeyValues,