Skip to content
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
55e96e4
feat: getting started with stock-option index file
Raju-kadel-27 Jul 25, 2024
f0bbeb4
feat: add stock option service
Raju-kadel-27 Jul 28, 2024
10b1daa
feat: add update option service
Raju-kadel-27 Jul 28, 2024
59c63d6
feat: add delete option by Id service
Raju-kadel-27 Jul 28, 2024
94412a8
feat: add get options service
Raju-kadel-27 Jul 28, 2024
463ffd4
feat: add create option route
Raju-kadel-27 Jul 28, 2024
b5ecd59
feat: add delete option route
Raju-kadel-27 Jul 28, 2024
b959564
feat: add getMany option route
Raju-kadel-27 Jul 28, 2024
d81a193
feat: add getOne option route
Raju-kadel-27 Jul 28, 2024
83004a5
feat: add update option route
Raju-kadel-27 Jul 28, 2024
ad4791e
feat: zod schemas for option endpoint
Raju-kadel-27 Jul 28, 2024
626071c
feat: export option routes
Raju-kadel-27 Jul 28, 2024
4e4e928
fix: conflict in index
Raju-kadel-27 Jul 28, 2024
5f8cea4
feat: audit events for docs added
Raju-kadel-27 Jul 28, 2024
bb137b1
feat: schema update
Raju-kadel-27 Jul 29, 2024
35c2f58
fix: type and date conversion typo
Raju-kadel-27 Jul 29, 2024
32481dd
fix: type and date conversion typo in add-option service
Raju-kadel-27 Jul 29, 2024
e373359
fix: type in delete-option service
Raju-kadel-27 Jul 29, 2024
44dbf59
chore: unknown type for hono response
Raju-kadel-27 Jul 29, 2024
bb8dd59
chore: refactoring for adapting new auth middleware
Raju-kadel-27 Aug 10, 2024
73d9547
feat: create option route
Raju-kadel-27 Aug 10, 2024
3177210
feat: delete option route
Raju-kadel-27 Aug 10, 2024
d3ba629
feat: update option route
Raju-kadel-27 Aug 10, 2024
930077c
feat: getOne option route
Raju-kadel-27 Aug 10, 2024
4213ffa
feat: getMany option route
Raju-kadel-27 Aug 10, 2024
df67be5
feat: register option routes
Raju-kadel-27 Aug 10, 2024
ac9b1ca
chore: change date to dateTime in schema(zod)
Raju-kadel-27 Aug 10, 2024
cd34e3a
chore: cleanups
Raju-kadel-27 Aug 10, 2024
c00cb05
feat: add cursor parser to fix serialization/parsing error
Raju-kadel-27 Aug 11, 2024
3a28a37
chore: cleanups
Raju-kadel-27 Aug 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: change date to dateTime in schema(zod)
  • Loading branch information
Raju-kadel-27 committed Aug 10, 2024
commit ac9b1ca409ef4a81b8a6f0711658da711be484c7
18 changes: 9 additions & 9 deletions src/server/api/schema/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,29 @@ export const OptionSchema = z
example: 4,
}),

issueDate: z.string().date().openapi({
issueDate: z.string().datetime().openapi({
description: "Issue Date",
example: "2024-01-01",
}),

expirationDate: z.string().date().openapi({
expirationDate: z.string().datetime().openapi({
description: "Expiration Date",
example: "2028-01-01",
example: "2024-01-01T00:00:00.000Z",
}),

vestingStartDate: z.string().date().openapi({
vestingStartDate: z.string().datetime().openapi({
description: "Vesting Start Date",
example: "2024-01-01",
example: "2024-01-01T00:00:00.000Z",
}),

boardApprovalDate: z.string().date().openapi({
boardApprovalDate: z.string().datetime().openapi({
description: "Board Approval Date",
example: "2024-01-01",
example: "2024-01-01T00:00:00.000Z",
}),

rule144Date: z.string().date().openapi({
rule144Date: z.string().datetime().openapi({
description: "Rule 144 Date",
example: "2024-01-01",
example: "2024-01-01T00:00:00.000Z",
}),

stakeholderId: z.string().openapi({
Expand Down