Skip to content

Commit

Permalink
[factory]: Adding new cooking-room group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 6, 2023
1 parent 59af960 commit 1c54bcd
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/cooking-room/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:Ethereum_France": "1",
};

return [
{
name: "cooking-room",
timestamp: context.timestamp,
description: "Cooking room",
specs: "Cooking room",
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 @@ -115,6 +115,7 @@ import community from "./community";
import communitylad from "./communitylad";
import consensysDemoLock from "./consensys-demo-lock";
import contributorsOfDataverseCda from "./contributors-of-dataverse-cda";
import cookingRoom from "./cooking-room";
import cowHolders from "./cow-holders";
import cowTraders from "./cow-traders";
import cowTradersAndHolders from "./cow-traders-and-holders";
Expand Down Expand Up @@ -982,6 +983,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"communitylad": communitylad,
"consensys-demo-lock": consensysDemoLock,
"contributors-of-dataverse-cda": contributorsOfDataverseCda,
"cooking-room": cookingRoom,
"cow-holders": cowHolders,
"cow-traders": cowTraders,
"cow-traders-and-holders": cowTradersAndHolders,
Expand Down

0 comments on commit 1c54bcd

Please sign in to comment.