nestjs-express-cassandra
Version:
Express-cassandra module for Nest framework
49 lines (45 loc) • 690 B
text/typescript
export 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 type WithWidthColumnType =
| 'int'
| 'smallint'
| 'bigint'
| 'tinyint'
| 'varint';
export type ModelColumnType =
| 'bigint'
| 'blob'
| 'counter'
| 'date'
| 'decimal'
| 'inet'
| 'time'
| 'timeuuid'
| 'tuple'
| 'uuid'
| 'varint';
export type ColumnType = CassandraType | WithWidthColumnType | ModelColumnType;