Skip to content

Commit

Permalink
add privacy to update-proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Oct 30, 2024
1 parent d1b6e99 commit f7c074c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/schemas/update-proposal.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
"metadata": {
"type": "object",
"title": "metadata"
},
"privacy": {
"type": "string",
"enum": ["", "shutter"]
}
},
"required": ["proposal", "name", "body", "discussion", "choices", "type", "metadata"],
Expand Down
3 changes: 2 additions & 1 deletion src/sign/hashedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@
"4288d50b713081aae77d60d596d75864bff7acf7791a00183401e58658ee9da5": "statement",
"d56782e3b50ac86c25ae292923da8c367e3c9e8e7ea9d8baa435051fe2f430fa": "proposal",
"df10a7eeabe19301d6018be8b6c5d13231320d7ece64d021043fa172b64f3796": "update-proposal",
"beda1f464a6112f9ed6335c4614e32a97f0e18ef4ac10b4b1c8239c475f2d8e8": "proposal"
"beda1f464a6112f9ed6335c4614e32a97f0e18ef4ac10b4b1c8239c475f2d8e8": "proposal",
"ff74674f39ca59b60056ecddaada0cb513c4729e634e99cb778f53ee404ac806": "update-proposal"
}
3 changes: 2 additions & 1 deletion src/sign/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ export const updateProposalTypes = {
{ name: 'discussion', type: 'string' },
{ name: 'choices', type: 'string[]' },
{ name: 'labels', type: 'string[]' },
{ name: 'plugins', type: 'string' }
{ name: 'plugins', type: 'string' },
{ name: 'privacy', type: 'string' }
]
};

Expand Down

0 comments on commit f7c074c

Please sign in to comment.