52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"types": [
|
|
{
|
|
"id": ["maps", "Type"],
|
|
"kind": "map",
|
|
"keys": {"kind": "string"},
|
|
"values": {"kind": "boolean"}
|
|
},
|
|
{
|
|
"id": ["maps", "Interface"],
|
|
"kind": "map",
|
|
"keys": {"kind": "string"},
|
|
"values": {"kind": "boolean"}
|
|
},
|
|
{
|
|
"id": ["maps", "Couple"],
|
|
"kind": "intersection",
|
|
"parts": [
|
|
{
|
|
"kind": "map",
|
|
"keys": {"kind": "string"},
|
|
"values": {"kind": "boolean"}
|
|
},
|
|
{
|
|
"kind": "map",
|
|
"keys": {"kind": "number", "repr": "f64"},
|
|
"values": {"kind": "string"}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": ["maps", "Mix"],
|
|
"kind": "intersection",
|
|
"parts": [
|
|
{
|
|
"kind": "record",
|
|
"fields": [{
|
|
"name": "foo",
|
|
"value": {"kind": "string"},
|
|
"required": true
|
|
}]
|
|
},
|
|
{
|
|
"kind": "map",
|
|
"keys": {"kind": "string"},
|
|
"values": {"kind": "boolean"}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|