UNPKG
@convex-dev/geospatial
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
A geospatial index for Convex
github.com/get-convex/geospatial
get-convex/geospatial
@convex-dev/geospatial
/
src
/
component
/
lib
/
interval.ts
8 lines
(6 loc)
•
211 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{
Infer
, v }
from
"convex/values"
;
export
const
interval = v.
object
({
startInclusive
: v.
optional
(v.
number
()),
endExclusive
: v.
optional
(v.
number
()), });
export
type
Interval
=
Infer
<
typeof
interval>;