feat(server): send review request when team member count over quota limit (#11126)

This commit is contained in:
fengmk2
2025-03-25 06:51:26 +00:00
parent 36eb4991c9
commit 9bad6fa12d
3 changed files with 134 additions and 33 deletions
@@ -1,6 +1,6 @@
import { faker } from '@faker-js/faker';
import { Feature } from '../../models';
import { Feature, FeatureType } from '../../models';
import { Mocker } from './factory';
interface MockTeamWorkspaceInput {
@@ -46,6 +46,8 @@ export class MockTeamWorkspace extends Mocker<
featureId: feature.id,
reason: 'test',
activated: true,
name: Feature.TeamPlan,
type: FeatureType.Quota,
configs: {
memberLimit: quantity,
},