Skip to content

Commit

Permalink
[factory]: Adding new alex-astro group (#2181)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Sep 15, 2023
1 parent e99900c commit b2e2238
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions group-generators/generators/alex-astro/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

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<GroupWithData[]> => {


const jsonListData0 = {
"twitter:_alexastro": "1",
};

return [
{
name: "alex-astro",
timestamp: context.timestamp,
description: "Data group for my tiwtter",
specs: "Data group for my tiwtter",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import airdropclaimer from "./airdropclaimer";
import akamo from "./akamo";
import akapsFrens from "./akaps-frens";
import albistLensFollower from "./albist-lens-follower";
import alexAstro from "./alex-astro";
import allForWeb3 from "./all-for-web3";
import all4you4 from "./all4you4";
import alphaDrops from "./alpha-drops";
Expand Down Expand Up @@ -878,6 +879,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"akamo": akamo,
"akaps-frens": akapsFrens,
"albist-lens-follower": albistLensFollower,
"alex-astro": alexAstro,
"all-for-web3": allForWeb3,
"all4you4": all4you4,
"alpha-drops": alphaDrops,
Expand Down

0 comments on commit b2e2238

Please sign in to comment.