Skip to content

Commit e7d4498

Browse files
committed
fix: Delete contributorsCount in the code
1 parent 5f84b9b commit e7d4498

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/library-authoring/data/api.mocks.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,6 @@ mockLibraryBlockPublishHistory.data = [
13111311
publishedBy: 'author',
13121312
publishedAt: '2026-03-14T10:00:00Z',
13131313
contributors: ['test_user_1', 'test_user_2', 'test_user_3', 'test_user_4', 'test_user_5'].map(mockContributor),
1314-
contributorsCount: 5,
13151314
},
13161315
] as api.LibraryPublishHistoryGroup[];
13171316
mockLibraryBlockPublishHistory.applyMock = () =>
@@ -1457,7 +1456,6 @@ mockLibraryContainerPublishHistory.data = [
14571456
publishedBy: 'container_author',
14581457
publishedAt: '2026-03-14T10:00:00Z',
14591458
contributors: ['container_user_1', 'container_user_2'].map(mockContributor),
1460-
contributorsCount: 2,
14611459
},
14621460
] satisfies api.LibraryPublishHistoryGroup[];
14631461
mockLibraryContainerPublishHistory.applyMock = () =>

src/library-authoring/data/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,6 @@ export interface LibraryPublishHistoryGroup {
988988
publishedBy?: string;
989989
publishedAt: string;
990990
contributors: LibraryPublishContributor[];
991-
contributorsCount: number;
992991
/**
993992
* Key to use as `scope_entity_key` when fetching entries for this group.
994993
* Pre-Verawood: the specific entity key for this group (container or usage key).

src/library-authoring/generic/history-log/HistoryLog.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ describe('<HistoryComponentLog />', () => {
169169
{
170170
...originalData[0],
171171
contributors: [],
172-
contributorsCount: 0,
173172
},
174173
];
175174
renderComponent(mockLibraryBlockCreationEntry.usageKey);

0 commit comments

Comments
 (0)