Spaces:
Configuration error
Configuration error
Download src/lib/schema.ts from SreejithSHR/umami: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/spaces/SreejithSHR/umami/resolve/main/src/lib/schema.ts
- Command line
-
hf download hf://spaces/SreejithSHR/umami/src/lib/schema.ts
-
curl -L -o schema.ts https://huggingface.co/spaces/SreejithSHR/umami/resolve/main/src/lib/schema.ts
357 Bytes
| import * as yup from 'yup'; | |
| export const dateRange = { | |
| startAt: yup.number().integer().required(), | |
| endAt: yup.number().integer().min(yup.ref('startAt')).required(), | |
| }; | |
| export const pageInfo = { | |
| query: yup.string(), | |
| page: yup.number().integer().positive(), | |
| pageSize: yup.number().integer().positive().min(1).max(200), | |
| orderBy: yup.string(), | |
| }; | |