-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from gnosisguild/app-post-members
allow posting members as part of role updates
- Loading branch information
Showing
28 changed files
with
432 additions
and
223 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
packages/app/app/[mod]/roles/[role]/diff/[hash]/page.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { zAddress, zAnnotation, zTarget } from "@/components/permissions/schema" | ||
import { z } from "zod" | ||
import { Annotation, Target } from "zodiac-roles-sdk" | ||
|
||
export const zPermissionsPost = z.object({ | ||
targets: z.array(zTarget).optional(), | ||
annotations: z.array(zAnnotation).optional(), | ||
members: z.array(zAddress).optional(), | ||
}) | ||
|
||
export interface PermissionsPost { | ||
targets?: Target[] | ||
annotations?: Annotation[] | ||
members?: `0x${string}`[] | ||
} |
5 changes: 0 additions & 5 deletions
5
packages/app/app/permissions/[chain]/[hash]/diff/[hashRight]/page.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.