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
@@ -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:
|
||||
|
||||
+4
-4
@@ -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>,
|
||||
|
||||
+2
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user