R
sourceConstructors
new R(): ReflectedType
Properties
object: ObjectTypesource
str: StringTypesource
timestamp: TimestampTypesource
u16: Uint16Typesource
u32: Uint32Typesource
u64: Uint64Typesource
yearMonth: YearMonthTypesource
Methods
Static methods
array(elementType: Type): ArrayTypesource
decimal(numDecimals: number): DecimalTypesource
enum(name: string, domain: EnumDomain): EnumTypesource
error(struct: Reflectable): CommandOutcomeMetadatasource
f<T extends Type>(ty: T): Fieldsource
fk(model: ModelType): ForeignKeyTypesource
literal(value: string): LiteralTypesource
map(keyType: Type, valueType: Type): MapTypesource
model(model: Reflectable): CommandOutcomeMetadatasource
set(elementType: Type): SetTypesource
struct(type: Reflectable): StructTypesource
union(variants: Record<string, Type>): UnionTypesource