From 196b8bad6f4a27010c8c894e887c76210f7a8a4f Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sat, 28 Oct 2023 09:47:25 +0200 Subject: [PATCH 1/2] [factory]: Adding new groups-of-science group (#2260) --- .../generators/groups-of-science/index.ts | 36 +++++++++++++++++++ group-generators/generators/index.ts | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/groups-of-science/index.ts diff --git a/group-generators/generators/groups-of-science/index.ts b/group-generators/generators/groups-of-science/index.ts new file mode 100644 index 000000000..68eba226c --- /dev/null +++ b/group-generators/generators/groups-of-science/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-science", + timestamp: context.timestamp, + description: "Data group of science people", + 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..7eff64f35 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 groupsOfScience from "./groups-of-science"; 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-science": groupsOfScience, "guild-members": guildMembers, "habitat": habitat, "harpos": harpos, From 9828cc2bbdb0e3c7d6c8a94c6167f5a5e5b2ff60 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sat, 28 Oct 2023 09:50:00 +0200 Subject: [PATCH 2/2] [factory]: Adding new group-of-chemistry-students group (#2262) --- .../group-of-chemistry-students/index.ts | 36 +++++++++++++++++++ group-generators/generators/index.ts | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/group-of-chemistry-students/index.ts diff --git a/group-generators/generators/group-of-chemistry-students/index.ts b/group-generators/generators/group-of-chemistry-students/index.ts new file mode 100644 index 000000000..b15ad2e33 --- /dev/null +++ b/group-generators/generators/group-of-chemistry-students/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: "group-of-chemistry-students", + timestamp: context.timestamp, + description: "Data Group of chemistry Students", + 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 7eff64f35..e3be602d2 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -310,6 +310,7 @@ import goofy13 from "./goofy13"; import goreliuni from "./goreliuni"; 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 groupsOfScience from "./groups-of-science"; import gugulan from "./gugulan"; @@ -1155,6 +1156,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "github-test": githubTest, "goerli-uni-holders": goerliUniHolders, "goreliuni": goreliuni, + "group-of-chemistry-students": groupOfChemistryStudents, "group2m": group2m, "groups-of-science": groupsOfScience, "guild-members": guildMembers,