11import * as https from "https" ;
22
33export interface Operation {
4- schema ?: string | null ;
5- dropAttr ?: string | null ;
6- dropAll ?: boolean | null ;
4+ schema ?: string ;
5+ dropAttr ?: string ;
6+ dropAll ?: boolean ;
77}
88
99export interface Payload {
@@ -12,7 +12,7 @@ export interface Payload {
1212
1313export interface Request {
1414 query : string ;
15- vars ?: { [ k : string ] : string } | null ;
15+ vars ?: { [ k : string ] : string } ;
1616 startTs ?: number ;
1717 timeout ?: number ;
1818 debug ?: boolean ;
@@ -38,14 +38,14 @@ export interface LoginResponse {
3838}
3939
4040export interface Mutation {
41- setJson ?: object | null ;
42- deleteJson ?: object | null ;
43- setNquads ?: string | null ;
44- deleteNquads ?: string | null ;
41+ setJson ?: object ;
42+ deleteJson ?: object ;
43+ setNquads ?: string ;
44+ deleteNquads ?: string ;
4545 startTs ?: number ;
46- commitNow ?: boolean | null ;
46+ commitNow ?: boolean ;
4747 // Raw mutation text to send;
48- mutation ?: string | null ;
48+ mutation ?: string ;
4949 // Set to true if `mutation` field (above) contains a JSON mutation.
5050 isJsonString ?: boolean ;
5151}
@@ -66,17 +66,17 @@ export interface Extensions {
6666
6767export interface TxnContext {
6868 start_ts : number ;
69- aborted ?: boolean | null ;
70- keys ?: string [ ] | null ;
71- preds ?: string [ ] | null ;
69+ aborted ?: boolean ;
70+ keys ?: string [ ] ;
71+ preds ?: string [ ] ;
7272 readOnly : boolean ;
7373 bestEffort : boolean ;
7474}
7575
7676export interface Latency {
77- parsing_ns ?: number | null ;
78- processing_ns ?: number | null ;
79- encoding_ns ?: number | null ;
77+ parsing_ns ?: number ;
78+ processing_ns ?: number ;
79+ encoding_ns ?: number ;
8080}
8181
8282export interface TxnOptions {
0 commit comments