Fix blocklist standard object being unhealthy (#4255)

Fix blocklist standard object unhealthy
This commit is contained in:
Charles Bochet 2024-03-01 10:39:22 +01:00 committed by GitHub
parent 5e261783da
commit 0c2c57ab9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,10 @@
import { FullNameMetadata } from 'src/metadata/field-metadata/composite-types/full-name.composite-type';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
import { RelationMetadataType, RelationOnDeleteAction } from 'src/metadata/relation-metadata/relation-metadata.entity';
import {
RelationMetadataType,
RelationOnDeleteAction,
} from 'src/metadata/relation-metadata/relation-metadata.entity';
import { FieldMetadata } from 'src/workspace/workspace-sync-metadata/decorators/field-metadata.decorator';
import { Gate } from 'src/workspace/workspace-sync-metadata/decorators/gate.decorator';
import { IsNullable } from 'src/workspace/workspace-sync-metadata/decorators/is-nullable.decorator';
import { IsSystem } from 'src/workspace/workspace-sync-metadata/decorators/is-system.decorator';
import { ObjectMetadata } from 'src/workspace/workspace-sync-metadata/decorators/object-metadata.decorator';
@ -200,9 +202,6 @@ export class WorkspaceMemberObjectMetadata extends BaseObjectMetadata {
objectName: 'blocklist',
inverseSideFieldName: 'workspaceMember',
})
@Gate({
featureFlag: 'IS_BLOCKLIST_ENABLED',
})
@IsNullable()
blocklist: BlocklistObjectMetadata[];
}