@parca/client
Advanced tools
Comparing version 0.15.9 to 0.15.11
@@ -6,2 +6,18 @@ # Change Log | ||
## [0.15.11](https://github.com/parca-dev/parca/compare/ui-v0.15.10...ui-v0.15.11) (2022-09-01) | ||
## [0.15.8](https://github.com/parca-dev/parca/compare/ui-v0.15.1...ui-v0.15.8) (2022-08-30) | ||
## 0.15.1 (2022-08-25) | ||
**Note:** Version bump only for package @parca/client | ||
## [0.15.9](https://github.com/parca-dev/parca/compare/ui-v0.15.8...ui-v0.15.9) (2022-08-30) | ||
@@ -8,0 +24,0 @@ |
{ | ||
"name": "@parca/client", | ||
"version": "0.15.9", | ||
"version": "0.15.11", | ||
"description": "Parca API Client", | ||
@@ -23,3 +23,3 @@ "main": "src/index.ts", | ||
}, | ||
"gitHead": "a894b2e6cdf0fdf47f345af0553b6801479af6ee" | ||
"gitHead": "55046196d18ad7afc0e07e89a92fc12af3f221ca" | ||
} |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/debuginfo/v1alpha1/debuginfo.proto" (package "parca.debuginfo.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/debuginfo/v1alpha1/debuginfo.proto" (package "parca.debuginfo.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/metastore/v1alpha1/metastore.proto" (package "parca.metastore.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/profilestore/v1alpha1/profilestore.proto" (package "parca.profilestore.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/profilestore/v1alpha1/profilestore.proto" (package "parca.profilestore.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/query/v1alpha1/query.proto" (package "parca.query.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/scrape/v1alpha1/scrape.proto" (package "parca.scrape.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "parca/scrape/v1alpha1/scrape.proto" (package "parca.scrape.v1alpha1", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "share/share.proto" (package "polarsignals.share", syntax proto3) | ||
@@ -3,0 +3,0 @@ // tslint:disable |
@@ -1,2 +0,2 @@ | ||
// @generated by protobuf-ts 2.7.0 with parameter long_type_string,generate_dependencies | ||
// @generated by protobuf-ts 2.8.0 with parameter long_type_string,generate_dependencies | ||
// @generated from protobuf file "share/share.proto" (package "polarsignals.share", syntax proto3) | ||
@@ -17,2 +17,3 @@ // tslint:disable | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { QueryRequest_ReportType } from "../parca/query/v1alpha1/query"; | ||
/** | ||
@@ -68,2 +69,14 @@ * UploadRequest represents the request with profile bytes and description. | ||
id: string; | ||
/** | ||
* Type of the profile to be queried. | ||
* | ||
* @generated from protobuf field: optional string profile_type = 2; | ||
*/ | ||
profileType?: string; | ||
/** | ||
* report_type is the type of report to return | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.QueryRequest.ReportType report_type = 3; | ||
*/ | ||
reportType: QueryRequest_ReportType; | ||
} | ||
@@ -195,7 +208,9 @@ /** | ||
super("polarsignals.share.ProfileRequest", [ | ||
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "profile_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "report_type", kind: "enum", T: () => ["parca.query.v1alpha1.QueryRequest.ReportType", QueryRequest_ReportType, "REPORT_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<ProfileRequest>): ProfileRequest { | ||
const message = { id: "" }; | ||
const message = { id: "", reportType: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -214,2 +229,8 @@ if (value !== undefined) | ||
break; | ||
case /* optional string profile_type */ 2: | ||
message.profileType = reader.string(); | ||
break; | ||
case /* parca.query.v1alpha1.QueryRequest.ReportType report_type */ 3: | ||
message.reportType = reader.int32(); | ||
break; | ||
default: | ||
@@ -230,2 +251,8 @@ let u = options.readUnknownField; | ||
writer.tag(1, WireType.LengthDelimited).string(message.id); | ||
/* optional string profile_type = 2; */ | ||
if (message.profileType !== undefined) | ||
writer.tag(2, WireType.LengthDelimited).string(message.profileType); | ||
/* parca.query.v1alpha1.QueryRequest.ReportType report_type = 3; */ | ||
if (message.reportType !== 0) | ||
writer.tag(3, WireType.Varint).int32(message.reportType); | ||
let u = options.writeUnknownFields; | ||
@@ -232,0 +259,0 @@ if (u !== false) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
606037
12520