Skip to content

Commit

Permalink
[factory]: Adding new groups-of-physics group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 28, 2023
1 parent 3a2b724 commit e70d269
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/groups-of-physics/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.Daily,

generate: async (context: GenerationContext): Promise<GroupWithData[]> => {


const jsonListData0 = {
"0x3DdFBcF4375d2cFa36A71819ca5F6f0F018255eD": "1",
};

return [
{
name: "groups-of-physics",
timestamp: context.timestamp,
description: "Data groups of students in Physics Class",
specs: "NA",
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 @@ -311,6 +311,7 @@ import goreliuni from "./goreliuni";
import gotchiFrenchArmyXSismoLive from "./gotchi-french-army-x-sismo-live";
import grailMember from "./grail-member";
import group2m from "./group2m";
import groupsOfPhysics from "./groups-of-physics";
import gugulan from "./gugulan";
import guildCommunityCuration from "./guild-community-curation";
import guildCommunityStrategyCuration from "./guild-community-strategy-curation";
Expand Down Expand Up @@ -1155,6 +1156,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"goerli-uni-holders": goerliUniHolders,
"goreliuni": goreliuni,
"group2m": group2m,
"groups-of-physics": groupsOfPhysics,
"guild-members": guildMembers,
"habitat": habitat,
"harpos": harpos,
Expand Down

0 comments on commit e70d269

Please sign in to comment.