Skip to content

Commit e1cc35b

Browse files
committed
chore: remove unused Expirable schema
1 parent 09a2176 commit e1cc35b

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

public/docs/api/v0/openapi.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,6 @@
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",

src/sdk.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

162161
export const schemas = {
163162
Paginated,
@@ -169,7 +168,6 @@ export const schemas = {
169168
Vote,
170169
ProposalState,
171170
ProposalIndex,
172-
Expirable,
173171
};
174172

175173
const endpoints = makeApi([

0 commit comments

Comments
 (0)