Skip to content

Commit

Permalink
[factory]: Add new groups-of-physics group (#2261)
Browse files Browse the repository at this point in the history
Co-authored-by: bigq <[email protected]>
  • Loading branch information
sismobot and yum0e authored Oct 29, 2023
1 parent 9828cc2 commit f889133
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 @@ -312,6 +312,7 @@ import gotchiFrenchArmyXSismoLive from "./gotchi-french-army-x-sismo-live";
import grailMember from "./grail-member";
import groupOfChemistryStudents from "./group-of-chemistry-students";
import group2m from "./group2m";
import groupsOfPhysics from "./groups-of-physics";
import groupsOfScience from "./groups-of-science";
import gugulan from "./gugulan";
import guildCommunityCuration from "./guild-community-curation";
Expand Down Expand Up @@ -1158,6 +1159,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"goreliuni": goreliuni,
"group-of-chemistry-students": groupOfChemistryStudents,
"group2m": group2m,
"groups-of-physics": groupsOfPhysics,
"groups-of-science": groupsOfScience,
"guild-members": guildMembers,
"habitat": habitat,
Expand Down

0 comments on commit f889133

Please sign in to comment.