From f88913334a43a911817cdf7cd641ccacf98d55e3 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:46:41 +0100 Subject: [PATCH] [factory]: Add new groups-of-physics group (#2261) Co-authored-by: bigq <99990370+yum0e@users.noreply.github.com> --- .../generators/groups-of-physics/index.ts | 36 +++++++++++++++++++ group-generators/generators/index.ts | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/groups-of-physics/index.ts diff --git a/group-generators/generators/groups-of-physics/index.ts b/group-generators/generators/groups-of-physics/index.ts new file mode 100644 index 000000000..448d0c437 --- /dev/null +++ b/group-generators/generators/groups-of-physics/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.Daily, + + generate: async (context: GenerationContext): Promise => { + + + 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; diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index e3be602d2..8a436e257 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -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"; @@ -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,