src/schema.bend fails
raw source on the hub · import 0xf5a52e743a7f75c5d624c27c9e0ec81f/src/schema.bend as Schema
3 imports
import Base import ./json.bend as Json import ./server.bend as Web
The reader could not load this file (at 0xf5a52e743a7f75c5d624c27c9e0ec81f/src/schema.bend:9). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
8 | type Schema is Data:
9>| Text{min: Nat, max: Nat}
| ^^^^
10 | UInt{min: U32, max: U32}