File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
extensions/ql-vscode/src/common Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export namespace BqrsColumnKindCode {
1111 export const BOOLEAN = "b" ;
1212 export const DATE = "d" ;
1313 export const ENTITY = "e" ;
14+ export const BIGINT = "z" ;
1415}
1516
1617export type BqrsColumnKind =
@@ -19,7 +20,8 @@ export type BqrsColumnKind =
1920 | typeof BqrsColumnKindCode . STRING
2021 | typeof BqrsColumnKindCode . BOOLEAN
2122 | typeof BqrsColumnKindCode . DATE
22- | typeof BqrsColumnKindCode . ENTITY ;
23+ | typeof BqrsColumnKindCode . ENTITY
24+ | typeof BqrsColumnKindCode . BIGINT ;
2325
2426export interface BqrsSchemaColumn {
2527 name ?: string ;
@@ -79,7 +81,8 @@ export type BqrsKind =
7981 | "Integer"
8082 | "Boolean"
8183 | "Date"
82- | "Entity" ;
84+ | "Entity"
85+ | "BigInt" ;
8386
8487interface BqrsColumn {
8588 name ?: string ;
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ function mapColumnKind(kind: BqrsColumnKind): ColumnKind {
7676 return ColumnKind . Date ;
7777 case BqrsColumnKindCode . ENTITY :
7878 return ColumnKind . Entity ;
79+ case BqrsColumnKindCode . BIGINT :
80+ return ColumnKind . BigInt ;
7981 default :
8082 assertNever ( kind ) ;
8183 }
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export enum ColumnKind {
55 Boolean = "boolean" ,
66 Date = "date" ,
77 Entity = "entity" ,
8+ BigInt = "bigint" ,
89}
910
1011export type Column = {
@@ -61,6 +62,11 @@ type CellValueNumber = {
6162 value : number ;
6263} ;
6364
65+ type CellValueBigInt = {
66+ type : "number" ;
67+ value : number ;
68+ } ;
69+
6470type CellValueString = {
6571 type : "string" ;
6672 value : string ;
@@ -75,7 +81,8 @@ export type CellValue =
7581 | CellValueEntity
7682 | CellValueNumber
7783 | CellValueString
78- | CellValueBoolean ;
84+ | CellValueBoolean
85+ | CellValueBigInt ;
7986
8087export type Row = CellValue [ ] ;
8188
You can’t perform that action at this time.
0 commit comments