-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37957d9
commit dd6d12f
Showing
36 changed files
with
2,191 additions
and
1,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" | ||
// @generated from file quary/service/v1/query_result.proto (package quary.service.v1, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
|
||
/** | ||
* QueryResult is the result of a ran query. | ||
* | ||
* @generated from message quary.service.v1.QueryResult | ||
*/ | ||
export class QueryResult extends Message<QueryResult> { | ||
/** | ||
* @generated from field: repeated quary.service.v1.QueryResultColumn columns = 1; | ||
*/ | ||
columns: QueryResultColumn[] = []; | ||
|
||
constructor(data?: PartialMessage<QueryResult>) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
|
||
static readonly runtime: typeof proto3 = proto3; | ||
static readonly typeName = "quary.service.v1.QueryResult"; | ||
static readonly fields: FieldList = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "columns", kind: "message", T: QueryResultColumn, repeated: true }, | ||
]); | ||
|
||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryResult { | ||
return new QueryResult().fromBinary(bytes, options); | ||
} | ||
|
||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryResult { | ||
return new QueryResult().fromJson(jsonValue, options); | ||
} | ||
|
||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryResult { | ||
return new QueryResult().fromJsonString(jsonString, options); | ||
} | ||
|
||
static equals(a: QueryResult | PlainMessage<QueryResult> | undefined, b: QueryResult | PlainMessage<QueryResult> | undefined): boolean { | ||
return proto3.util.equals(QueryResult, a, b); | ||
} | ||
} | ||
|
||
/** | ||
* @generated from message quary.service.v1.QueryResultColumn | ||
*/ | ||
export class QueryResultColumn extends Message<QueryResultColumn> { | ||
/** | ||
* @generated from field: string name = 1; | ||
*/ | ||
name = ""; | ||
|
||
/** | ||
* @generated from field: repeated string values = 2; | ||
*/ | ||
values: string[] = []; | ||
|
||
constructor(data?: PartialMessage<QueryResultColumn>) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
|
||
static readonly runtime: typeof proto3 = proto3; | ||
static readonly typeName = "quary.service.v1.QueryResultColumn"; | ||
static readonly fields: FieldList = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "values", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
]); | ||
|
||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryResultColumn { | ||
return new QueryResultColumn().fromBinary(bytes, options); | ||
} | ||
|
||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryResultColumn { | ||
return new QueryResultColumn().fromJson(jsonValue, options); | ||
} | ||
|
||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryResultColumn { | ||
return new QueryResultColumn().fromJsonString(jsonString, options); | ||
} | ||
|
||
static equals(a: QueryResultColumn | PlainMessage<QueryResultColumn> | undefined, b: QueryResultColumn | PlainMessage<QueryResultColumn> | undefined): boolean { | ||
return proto3.util.equals(QueryResultColumn, a, b); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"$ref": "#/definitions/FailedRunResults", | ||
"definitions": { | ||
"FailedRunResults": { | ||
"properties": { | ||
"query_result": { | ||
"$ref": "#/definitions/quary.service.v1.QueryResult", | ||
"additionalProperties": true | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "Failed Run Results" | ||
}, | ||
"quary.service.v1.QueryResult": { | ||
"properties": { | ||
"columns": { | ||
"items": { | ||
"$ref": "#/definitions/quary.service.v1.QueryResultColumn" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "Query Result", | ||
"description": "QueryResult is the result of a ran query." | ||
}, | ||
"quary.service.v1.QueryResultColumn": { | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"values": { | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "Query Result Column" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"$ref": "#/definitions/QueryResult", | ||
"definitions": { | ||
"QueryResult": { | ||
"properties": { | ||
"columns": { | ||
"items": { | ||
"$ref": "#/definitions/quary.service.v1.QueryResultColumn" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "Query Result", | ||
"description": "QueryResult is the result of a ran query." | ||
}, | ||
"quary.service.v1.QueryResultColumn": { | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"values": { | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "Query Result Column" | ||
} | ||
} | ||
} |
Oops, something went wrong.