Typescript is much more superior than Javascript because of its type system. We wanted to bring the best part of a programming language to the no-code platform, so we modeled our own type system.
InterfaceType
At the root of the type is the InterfaceType
, this is what React components and API responses use.
An InterfaceType
is composed of a Fields
, which is a key name combined with an any type.
interface Address {
//
}
Plain text
An InterfaceType
can contain a nested InterfaceType
for greater reusability.
interface User {
name: String
address: Address
}
Plain text
Field
A field model is the edge that connects an interface type node to an any type (which is the field type). This allows for recursive interface to happen.
PrimitiveType
String
Integer
Float