From 5ecfc66b37f909b49f26d83d22d5361afdd3c0c0 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Tue, 5 Sep 2023 14:04:53 +0200 Subject: [PATCH] [factory]: Adding new weu-learn group --- group-generators/generators/index.ts | 2 ++ .../generators/weu-learn/index.ts | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/weu-learn/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 2c996c16a..fbeaa9a4e 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -805,6 +805,7 @@ import web3Social from "./web3-social"; import web5 from "./web5"; import weedLoverBecomeFollower from "./weed-lover-become-follower"; import wen from "./wen"; +import weuLearn from "./weu-learn"; import whenToken from "./when-token"; import whitesocks from "./whitesocks"; import withLoveFromBykur from "./with-love-from-bykur"; @@ -1655,6 +1656,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "web5": web5, "weed-lover-become-follower": weedLoverBecomeFollower, "wen": wen, + "weu-learn": weuLearn, "when-token": whenToken, "whitesocks": whitesocks, "with-love-from-bykur": withLoveFromBykur, diff --git a/group-generators/generators/weu-learn/index.ts b/group-generators/generators/weu-learn/index.ts new file mode 100644 index 000000000..f1523b611 --- /dev/null +++ b/group-generators/generators/weu-learn/index.ts @@ -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 => { + + + const jsonListData0 = { + "github:anshbahl4": "1", + }; + + return [ + { + name: "weu-learn", + timestamp: context.timestamp, + description: "learning", + specs: "github", + data: jsonListData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator;