File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change 478478 "comment" : { "type" : " string" , "maxLength" : 255 }
479479 }
480480 },
481- "Expirable" : {
482- "type" : " object" ,
483- "required" : [" expires" ],
484- "properties" : {
485- "expires" : { "type" : " string" , "format" : " date-time" }
486- }
487- },
488481 "Paginated" : {
489482 "type" : " object" ,
490483 "description" : " Controls pagination of results" ,
Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ const ProposalIndex: z.ZodType<ProposalIndex> = Paginated.and(
157157 proposals : z . array ( Proposal . and ( ProposalState ) . and ( DatabaseObject ) ) ,
158158 } ) ,
159159) ;
160- const Expirable = z . object ( { expires : z . string ( ) . datetime ( { offset : true } ) } ) ;
161160
162161export const schemas = {
163162 Paginated,
@@ -169,7 +168,6 @@ export const schemas = {
169168 Vote,
170169 ProposalState,
171170 ProposalIndex,
172- Expirable,
173171} ;
174172
175173const endpoints = makeApi ( [
You can’t perform that action at this time.
0 commit comments