Skip to content

Commit 4e3eb3e

Browse files
jahoomaclaude
andauthored
Remove referrals feature, keep freebuff creator attribution (#519)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 0db97f3 commit 4e3eb3e

63 files changed

Lines changed: 277 additions & 3843 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cli/src/__tests__/helpers/mock-api-client.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export interface MockApiClientOverrides {
1313
usage?: ReturnType<typeof mock>
1414
loginCode?: ReturnType<typeof mock>
1515
loginStatus?: ReturnType<typeof mock>
16-
referral?: ReturnType<typeof mock>
1716
publish?: ReturnType<typeof mock>
1817
logout?: ReturnType<typeof mock>
1918
feedback?: ReturnType<typeof mock>
@@ -54,8 +53,6 @@ export const createMockApiClient = (
5453
mock(defaultOkResponse)) as CodebuffApiClient['loginCode'],
5554
loginStatus: (overrides.loginStatus ??
5655
mock(defaultOkResponse)) as CodebuffApiClient['loginStatus'],
57-
referral: (overrides.referral ??
58-
mock(defaultOkResponse)) as CodebuffApiClient['referral'],
5956
publish: (overrides.publish ??
6057
mock(defaultOkResponse)) as CodebuffApiClient['publish'],
6158
logout: (overrides.logout ??

0 commit comments

Comments
 (0)