Function
twitterSearchQueryString
(openapiMeta: { description: string; example: string })
Source from the content-addressed store, hash-verified
| 23 | raw.replace(/_/g, '').trim().length > 0; |
| 24 | |
| 25 | const twitterSearchQueryString = (openapiMeta: { description: string; example: string }) => |
| 26 | z |
| 27 | .string() |
| 28 | .refine(twitterSearchQueryHasEffectiveContent, { |
| 29 | message: 'Search query must not be empty' |
| 30 | }) |
| 31 | .openapi(openapiMeta); |
| 32 | |
| 33 | const aboutAccountQuery = z.object({ |
| 34 | about_account: z.string().optional().openapi({ |
Tested by
no test coverage detected