@parca/client
Advanced tools
Comparing version 0.16.114 to 0.16.115
@@ -6,2 +6,6 @@ # Change Log | ||
## [0.16.115](https://github.com/parca-dev/parca/compare/@parca/client@0.16.113...@parca/client@0.16.115) (2024-05-23) | ||
**Note:** Version bump only for package @parca/client | ||
## [0.16.114](https://github.com/parca-dev/parca/compare/@parca/client@0.16.113...@parca/client@0.16.114) (2024-05-16) | ||
@@ -8,0 +12,0 @@ |
@@ -8,2 +8,3 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc"; | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { ProfileMetadata } from "../../query/v1alpha1/query"; | ||
import { TableArrow } from "../../query/v1alpha1/query"; | ||
@@ -16,2 +17,3 @@ import { Source } from "../../query/v1alpha1/query"; | ||
import { ProfileType } from "../../query/v1alpha1/query"; | ||
import { Filter } from "../../query/v1alpha1/query"; | ||
import { GroupBy } from "../../query/v1alpha1/query"; | ||
@@ -112,2 +114,8 @@ import { RuntimeFilter } from "../../query/v1alpha1/query"; | ||
invertCallStack?: boolean; | ||
/** | ||
* filter is a varying set of filter to apply to the query | ||
* | ||
* @generated from protobuf field: repeated parca.query.v1alpha1.Filter filter = 9; | ||
*/ | ||
filter: Filter[]; | ||
} | ||
@@ -212,2 +220,10 @@ /** | ||
} | { | ||
oneofKind: "profileMetadata"; | ||
/** | ||
* profile_metadata contains metadata about the profile i.e. binaries, labels | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.ProfileMetadata profile_metadata = 10; | ||
*/ | ||
profileMetadata: ProfileMetadata; | ||
} | { | ||
oneofKind: undefined; | ||
@@ -214,0 +230,0 @@ }; |
@@ -9,2 +9,3 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { ProfileMetadata } from "../../query/v1alpha1/query"; | ||
import { TableArrow } from "../../query/v1alpha1/query"; | ||
@@ -17,2 +18,3 @@ import { Source } from "../../query/v1alpha1/query"; | ||
import { ProfileType } from "../../query/v1alpha1/query"; | ||
import { Filter } from "../../query/v1alpha1/query"; | ||
import { GroupBy } from "../../query/v1alpha1/query"; | ||
@@ -142,3 +144,4 @@ import { RuntimeFilter } from "../../query/v1alpha1/query"; | ||
{ no: 7, name: "group_by", kind: "message", T: () => GroupBy }, | ||
{ no: 8, name: "invert_call_stack", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 8, name: "invert_call_stack", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 9, name: "filter", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Filter } | ||
]); | ||
@@ -150,2 +153,3 @@ } | ||
message.reportType = 0; | ||
message.filter = []; | ||
if (value !== undefined) | ||
@@ -184,2 +188,5 @@ reflectionMergePartial(this, message, value); | ||
break; | ||
case /* repeated parca.query.v1alpha1.Filter filter */ 9: | ||
message.filter.push(Filter.internalBinaryRead(reader, reader.uint32(), options)); | ||
break; | ||
default: | ||
@@ -221,2 +228,5 @@ let u = options.readUnknownField; | ||
writer.tag(8, WireType.Varint).bool(message.invertCallStack); | ||
/* repeated parca.query.v1alpha1.Filter filter = 9; */ | ||
for (let i = 0; i < message.filter.length; i++) | ||
Filter.internalBinaryWrite(message.filter[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join(); | ||
let u = options.writeUnknownFields; | ||
@@ -345,2 +355,3 @@ if (u !== false) | ||
{ no: 9, name: "table_arrow", kind: "message", oneof: "report", T: () => TableArrow }, | ||
{ no: 10, name: "profile_metadata", kind: "message", oneof: "report", T: () => ProfileMetadata }, | ||
{ no: 5, name: "total", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
@@ -406,2 +417,8 @@ { no: 6, name: "filtered", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ } | ||
break; | ||
case /* parca.query.v1alpha1.ProfileMetadata profile_metadata */ 10: | ||
message.report = { | ||
oneofKind: "profileMetadata", | ||
profileMetadata: ProfileMetadata.internalBinaryRead(reader, reader.uint32(), options, message.report.profileMetadata) | ||
}; | ||
break; | ||
case /* int64 total */ 5: | ||
@@ -446,2 +463,5 @@ message.total = reader.int64().toBigInt(); | ||
TableArrow.internalBinaryWrite(message.report.tableArrow, writer.tag(9, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.ProfileMetadata profile_metadata = 10; */ | ||
if (message.report.oneofKind === "profileMetadata") | ||
ProfileMetadata.internalBinaryWrite(message.report.profileMetadata, writer.tag(10, WireType.LengthDelimited).fork(), options).join(); | ||
/* int64 total = 5; */ | ||
@@ -448,0 +468,0 @@ if (message.total !== 0n) |
{ | ||
"name": "@parca/client", | ||
"version": "0.16.114", | ||
"version": "0.16.115", | ||
"description": "Parca API Client", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "d0d5e43082aac764eecbe6e107b2d2f029132ff2" | ||
"gitHead": "1c9338c7294c1df88345032cee964653ce4e349b" | ||
} |
@@ -14,2 +14,3 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { ProfileMetadata } from "../../query/v1alpha1/query"; | ||
import { TableArrow } from "../../query/v1alpha1/query"; | ||
@@ -22,2 +23,3 @@ import { Source } from "../../query/v1alpha1/query"; | ||
import { ProfileType } from "../../query/v1alpha1/query"; | ||
import { Filter } from "../../query/v1alpha1/query"; | ||
import { GroupBy } from "../../query/v1alpha1/query"; | ||
@@ -118,2 +120,8 @@ import { RuntimeFilter } from "../../query/v1alpha1/query"; | ||
invertCallStack?: boolean; | ||
/** | ||
* filter is a varying set of filter to apply to the query | ||
* | ||
* @generated from protobuf field: repeated parca.query.v1alpha1.Filter filter = 9; | ||
*/ | ||
filter: Filter[]; | ||
} | ||
@@ -218,2 +226,10 @@ /** | ||
} | { | ||
oneofKind: "profileMetadata"; | ||
/** | ||
* profile_metadata contains metadata about the profile i.e. binaries, labels | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.ProfileMetadata profile_metadata = 10; | ||
*/ | ||
profileMetadata: ProfileMetadata; | ||
} | { | ||
oneofKind: undefined; | ||
@@ -355,3 +371,4 @@ }; | ||
{ no: 7, name: "group_by", kind: "message", T: () => GroupBy }, | ||
{ no: 8, name: "invert_call_stack", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 8, name: "invert_call_stack", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 9, name: "filter", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Filter } | ||
]); | ||
@@ -363,2 +380,3 @@ } | ||
message.reportType = 0; | ||
message.filter = []; | ||
if (value !== undefined) | ||
@@ -397,2 +415,5 @@ reflectionMergePartial<QueryRequest>(this, message, value); | ||
break; | ||
case /* repeated parca.query.v1alpha1.Filter filter */ 9: | ||
message.filter.push(Filter.internalBinaryRead(reader, reader.uint32(), options)); | ||
break; | ||
default: | ||
@@ -434,2 +455,5 @@ let u = options.readUnknownField; | ||
writer.tag(8, WireType.Varint).bool(message.invertCallStack); | ||
/* repeated parca.query.v1alpha1.Filter filter = 9; */ | ||
for (let i = 0; i < message.filter.length; i++) | ||
Filter.internalBinaryWrite(message.filter[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join(); | ||
let u = options.writeUnknownFields; | ||
@@ -558,2 +582,3 @@ if (u !== false) | ||
{ no: 9, name: "table_arrow", kind: "message", oneof: "report", T: () => TableArrow }, | ||
{ no: 10, name: "profile_metadata", kind: "message", oneof: "report", T: () => ProfileMetadata }, | ||
{ no: 5, name: "total", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
@@ -619,2 +644,8 @@ { no: 6, name: "filtered", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ } | ||
break; | ||
case /* parca.query.v1alpha1.ProfileMetadata profile_metadata */ 10: | ||
message.report = { | ||
oneofKind: "profileMetadata", | ||
profileMetadata: ProfileMetadata.internalBinaryRead(reader, reader.uint32(), options, (message.report as any).profileMetadata) | ||
}; | ||
break; | ||
case /* int64 total */ 5: | ||
@@ -659,2 +690,5 @@ message.total = reader.int64().toBigInt(); | ||
TableArrow.internalBinaryWrite(message.report.tableArrow, writer.tag(9, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.ProfileMetadata profile_metadata = 10; */ | ||
if (message.report.oneofKind === "profileMetadata") | ||
ProfileMetadata.internalBinaryWrite(message.report.profileMetadata, writer.tag(10, WireType.LengthDelimited).fork(), options).join(); | ||
/* int64 total = 5; */ | ||
@@ -661,0 +695,0 @@ if (message.total !== 0n) |
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
1703717
74
36742