Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve api/schema code conversion #54

Open
elct9620 opened this issue Dec 19, 2023 · 0 comments
Open

Improve api/schema code conversion #54

elct9620 opened this issue Dec 19, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@elct9620
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

目前 export 出來的 Schema 物件並不統一,有大寫跟小寫開頭混合的狀況

export type AttendeeMetadata = z.infer<typeof attendeeMetadataSchema>
export const attendeeMetadataSchema = z.record(z.any())
export type BasicAttendeeInfo = z.infer<typeof basicAttendeeInfoSchema>
export const basicAttendeeInfoSchema = z.object({
nickname: z.string()
})

應該要統一為都用小寫或者大寫開頭

Describe alternatives you've considered

N/A

Additional context

N/A

@elct9620 elct9620 added enhancement New feature or request good first issue Good for newcomers labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant