Skip to content

Commit

Permalink
[factory]: Adding new weu-learn group (#2170)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Sep 5, 2023
1 parent 3858c32 commit 2cd3a36
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down
36 changes: 36 additions & 0 deletions group-generators/generators/weu-learn/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 = {
"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;

0 comments on commit 2cd3a36

Please sign in to comment.