Skip to content

Commit

Permalink
chore: remove unused Expirable schema
Browse files Browse the repository at this point in the history
  • Loading branch information
helmturner committed Jun 11, 2024
1 parent 09a2176 commit e1cc35b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions public/docs/api/v0/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,6 @@
"comment": { "type": "string", "maxLength": 255 }
}
},
"Expirable": {
"type": "object",
"required": ["expires"],
"properties": {
"expires": { "type": "string", "format": "date-time" }
}
},
"Paginated": {
"type": "object",
"description": "Controls pagination of results",
Expand Down
2 changes: 0 additions & 2 deletions src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ const ProposalIndex: z.ZodType<ProposalIndex> = Paginated.and(
proposals: z.array(Proposal.and(ProposalState).and(DatabaseObject)),
}),
);
const Expirable = z.object({ expires: z.string().datetime({ offset: true }) });

export const schemas = {
Paginated,
Expand All @@ -169,7 +168,6 @@ export const schemas = {
Vote,
ProposalState,
ProposalIndex,
Expirable,
};

const endpoints = makeApi([
Expand Down

0 comments on commit e1cc35b

Please sign in to comment.