diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 15f9f4185..cb20000e1 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -721,6 +721,7 @@ import testBadge01 from "./test-badge01"; import testDataGroup from "./test-data-group"; import testDropLobsterDao from "./test-drop-lobster-dao"; import testGroup from "./test-group"; +import testHarshilSLensFollower from "./test-harshil-s-lens-follower"; import testLeo from "./test-leo"; import testLeo2 from "./test-leo-2"; import testLeo3 from "./test-leo-3"; @@ -1579,6 +1580,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "test-data-group": testDataGroup, "test-drop-lobster-dao": testDropLobsterDao, "test-group": testGroup, + "test-harshil-s-lens-follower": testHarshilSLensFollower, "test-leo": testLeo, "test-leo-2": testLeo2, "test-leo-3": testLeo3, diff --git a/group-generators/generators/test-harshil-s-lens-follower/index.ts b/group-generators/generators/test-harshil-s-lens-follower/index.ts new file mode 100644 index 000000000..70e5ecefb --- /dev/null +++ b/group-generators/generators/test-harshil-s-lens-follower/index.ts @@ -0,0 +1,38 @@ + +import { dataProviders } from "@group-generators/helpers/data-providers"; +import { Tags, ValueType, GroupWithData } from "topics/group"; +import { + GenerationContext, + GenerationFrequency, + GroupGenerator, +} from "topics/group-generator"; + +// Generated from factory.sismo.io + +const generator: GroupGenerator = { + + generationFrequency: GenerationFrequency.Once, + + generate: async (context: GenerationContext): Promise => { + + const lensBigQueryProvider = new dataProviders.LensBigQueryProvider(); + + const lensBigQueryProviderData0 = await lensBigQueryProvider.getFollowers({ + profileId: "harshilanand.eth" + }); + + return [ + { + name: "test-harshil-s-lens-follower", + timestamp: context.timestamp, + description: "test", + specs: "test", + data: lensBigQueryProviderData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator;