Skip to content

Commit

Permalink
refactor(platforms): removing twitter tweet days stamp (passportxyz#1514
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lucianHymer authored Jul 25, 2023
1 parent 739bd2c commit cb6c156
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 250 deletions.
27 changes: 0 additions & 27 deletions platforms/src/Twitter/Providers-config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { PlatformSpec, PlatformGroupSpec, Provider } from "../types";
import { TwitterAccountAgeProvider } from "./Providers/twitterAccountAge";
import { TwitterTweetDaysProvider } from "./Providers/twitterTweetDays";
import * as legacyProviders from "./Providers/legacy";

export const PlatformDetails: PlatformSpec = {
Expand Down Expand Up @@ -33,23 +32,6 @@ if (process.env.FF_NEW_TWITTER_STAMPS === "on" || process.env.NEXT_PUBLIC_FF_NEW
},
],
},
{
platformGroup: "Consistent Engagement",
providers: [
{
title: "Tweet on at least 30 distinct days",
name: "twitterTweetDaysGte#30",
},
{
title: "Tweets on at least 60 distinct days",
name: "twitterTweetDaysGte#60",
},
{
title: "Tweets on at least 120 distinct days",
name: "twitterTweetDaysGte#120",
},
],
},
];
providers = [
new TwitterAccountAgeProvider({
Expand All @@ -61,15 +43,6 @@ if (process.env.FF_NEW_TWITTER_STAMPS === "on" || process.env.NEXT_PUBLIC_FF_NEW
new TwitterAccountAgeProvider({
threshold: "730",
}),
new TwitterTweetDaysProvider({
threshold: "30",
}),
new TwitterTweetDaysProvider({
threshold: "60",
}),
new TwitterTweetDaysProvider({
threshold: "120",
}),
];
} else {
ProviderConfig = [
Expand Down
177 changes: 0 additions & 177 deletions platforms/src/Twitter/Providers/__tests__/twitterTweetDays.test.ts

This file was deleted.

46 changes: 0 additions & 46 deletions platforms/src/Twitter/Providers/twitterTweetDays.ts

This file was deleted.

0 comments on commit cb6c156

Please sign in to comment.