Skip to content

Conversation

@danax7
Copy link
Contributor

@danax7 danax7 commented Jun 10, 2024

No description provided.

@vercel
Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
big-quest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 3:11pm

Comment on lines 12 to 18

export const actionAddressSchema = z.object({
locality: z.string().min(1, { message: 'validation.required' }),
street: z.string().min(1, { message: 'validation.required' }),
house: z.string().min(1, { message: 'validation.required' }),
// city: z.enum(['Новосибирск', 'Кемерово', 'Междуреченск']),
city: z.string().min(1, { message: 'validation.required' }),
locality: z.any(),
details: z.string(),
workingHours: z.object({
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут и в других подобных местах пофикшу. А вообще, вопрос будет ли тут верно(точнее, можно ли иначе?) описывать объект для адреса, ведь мы только само наличие объека должны проверять, а не поля, которые по отдельности мы не можем изменять

@danax7 danax7 changed the title Draft: feature/BQ-250 into release@1.5.0 🌊 employees fixes, work with address fixes, some api types update Draft: technical/BQ-290 into release@1.5.0 🌊 employees fixes, work with address fixes, some api types update Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant