Skip to content

Commit

Permalink
chore: address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavaparoksham committed Feb 2, 2024
1 parent 95e4fcb commit 3a5e301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/data-layer/src/data.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ export type ProjectRole = {
projectId: string;
};

export type Tags = "allo-v1" | "program update";

/**
* The program type for v1
**/
Expand All @@ -112,7 +114,7 @@ export type Program = {
name: string;
};
metadataCid?: MetadataPointer;
tags: [string];
tags: Tags[];
roles: AddressAndRole[];
};

Expand Down
2 changes: 1 addition & 1 deletion packages/data-layer/src/queries.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { gql } from "graphql-request";

/**
* Get a programs by its User
* Get all the programs that a user is a part of
* @param $alloVersion - The version of Allo
* @param $address - The address of the user
* @param $chainId - The network ID of the chain
Expand Down

0 comments on commit 3a5e301

Please sign in to comment.