UNPKG

@iaminfinity/express-cassandra

Version:

Nest - modern, fast, powerful node.js web framework (@express-cassandra)

31 lines (30 loc) 1.19 kB
export declare type CassandraType = 'int' | 'boolean' | 'text' | 'varchar' | 'uuid' | 'timeuuid' | 'timestamp' | 'date' | 'map' | 'set' | 'list' | 'double' | 'float' | 'decimal' | 'smallint' | 'bigint' | 'tinyint' | 'varint' | 'ascii' | 'counter' | 'inet' | 'time' | 'tuple' | 'frozen' | 'blob'; export declare type WithWidthColumnType = 'int' | 'smallint' | 'bigint' | 'tinyint' | 'varint'; export declare type ModelColumnType = 'bigint' | 'blob' | 'counter' | 'date' | 'decimal' | 'inet' | 'time' | 'timeuuid' | 'tuple' | 'uuid' | 'varint'; export declare type ColumnType = CassandraType | WithWidthColumnType | ModelColumnType; export declare enum DataType { Map = "map", List = "list", Set = "set", Frozen = "frozen", Number = "int", Text = "text", Boolean = "boolean", Varchar = "varchar", Uuid = "uuid", Timeuuid = "timeuuid", Timestamp = "timestamp", Date = "date", Double = "double", Float = "float", Decimal = "decimal", SmallInt = "smallint", BigInt = "bigint", TinyInt = "tinyint", VarInt = "varint", Counter = "counter", Inet = "inet", Time = "time", Tuple = "tuple", Blob = "blob" }