src/schema.bend fails
raw source on the hub · import 0x653e10f8f8c60f3424b51ec705933442/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 0x653e10f8f8c60f3424b51ec705933442/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}