Skip to content

Commit

Permalink
[factory]: Adding new binder-builders group (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 21, 2023
1 parent 6ecc12d commit c932503
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions group-generators/generators/binder-builders/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

import { dataProviders } from "@group-generators/helpers/data-providers";
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.Once,

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

const githubProvider = new dataProviders.GithubProvider();

const githubProviderData0 = await githubProvider.getRepositoriesContributors({
repositories: [ "fabianferno/binder-app" ]
});

return [
{
name: "binder-builders",
timestamp: context.timestamp,
description: "Create Binder. ",
specs: "$1018 dollars woo hoo",
data: githubProviderData0,
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 @@ -72,6 +72,7 @@ import bgans from "./bgans";
import bigqFrens from "./bigq-frens";
import bigqFriends from "./bigq-friends";
import bigqGroupCentric from "./bigq-group-centric";
import binderBuilders from "./binder-builders";
import birdmore3LensFollows from "./birdmore3-lens-follows";
import bitcoinCommemorativeGroup from "./bitcoin-commemorative-group";
import bithinker from "./bithinker";
Expand Down Expand Up @@ -988,6 +989,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"bigq-frens": bigqFrens,
"bigq-friends": bigqFriends,
"bigq-group-centric": bigqGroupCentric,
"binder-builders": binderBuilders,
"birdmore3-lens-follows": birdmore3LensFollows,
"bitcoin-commemorative-group": bitcoinCommemorativeGroup,
"bithinker": bithinker,
Expand Down

0 comments on commit c932503

Please sign in to comment.