From e70d269c4c3722ed3944c643dc7bd0a320980480 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sat, 28 Oct 2023 09:46:28 +0200 Subject: [PATCH] [factory]: Adding new groups-of-physics group --- .../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 5d485ac84..76638ee2b 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -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"; @@ -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,