@river-build/proto
Advanced tools
Comparing version
@@ -144,2 +144,21 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
/** | ||
* NotificationPushVersion specifies the notification format version. | ||
* | ||
* @generated from enum river.NotificationPushVersion | ||
*/ | ||
export declare enum NotificationPushVersion { | ||
/** | ||
* @generated from enum value: NOTIFICATION_PUSH_VERSION_UNSPECIFIED = 0; | ||
*/ | ||
NOTIFICATION_PUSH_VERSION_UNSPECIFIED = 0, | ||
/** | ||
* @generated from enum value: NOTIFICATION_PUSH_VERSION_1 = 1; | ||
*/ | ||
NOTIFICATION_PUSH_VERSION_1 = 1, | ||
/** | ||
* @generated from enum value: NOTIFICATION_PUSH_VERSION_2 = 2; | ||
*/ | ||
NOTIFICATION_PUSH_VERSION_2 = 2 | ||
} | ||
/** | ||
* @generated from message river.StartAuthenticationRequest | ||
@@ -850,2 +869,8 @@ */ | ||
environment: APNEnvironment; | ||
/** | ||
* Requested push notification version (default=NOTIFICATION_PUSH_VERSION_1) | ||
* | ||
* @generated from field: river.NotificationPushVersion push_version = 3; | ||
*/ | ||
pushVersion: NotificationPushVersion; | ||
constructor(data?: PartialMessage<SubscribeAPNRequest>); | ||
@@ -852,0 +877,0 @@ static readonly runtime: typeof proto3; |
@@ -180,2 +180,28 @@ // @generated by protoc-gen-es v1.9.0 with parameter "target=ts" | ||
/** | ||
* NotificationPushVersion specifies the notification format version. | ||
* | ||
* @generated from enum river.NotificationPushVersion | ||
*/ | ||
export var NotificationPushVersion; | ||
(function (NotificationPushVersion) { | ||
/** | ||
* @generated from enum value: NOTIFICATION_PUSH_VERSION_UNSPECIFIED = 0; | ||
*/ | ||
NotificationPushVersion[NotificationPushVersion["NOTIFICATION_PUSH_VERSION_UNSPECIFIED"] = 0] = "NOTIFICATION_PUSH_VERSION_UNSPECIFIED"; | ||
/** | ||
* @generated from enum value: NOTIFICATION_PUSH_VERSION_1 = 1; | ||
*/ | ||
NotificationPushVersion[NotificationPushVersion["NOTIFICATION_PUSH_VERSION_1"] = 1] = "NOTIFICATION_PUSH_VERSION_1"; | ||
/** | ||
* @generated from enum value: NOTIFICATION_PUSH_VERSION_2 = 2; | ||
*/ | ||
NotificationPushVersion[NotificationPushVersion["NOTIFICATION_PUSH_VERSION_2"] = 2] = "NOTIFICATION_PUSH_VERSION_2"; | ||
})(NotificationPushVersion || (NotificationPushVersion = {})); | ||
// Retrieve enum metadata with: proto3.getEnumType(NotificationPushVersion) | ||
proto3.util.setEnumType(NotificationPushVersion, "river.NotificationPushVersion", [ | ||
{ no: 0, name: "NOTIFICATION_PUSH_VERSION_UNSPECIFIED" }, | ||
{ no: 1, name: "NOTIFICATION_PUSH_VERSION_1" }, | ||
{ no: 2, name: "NOTIFICATION_PUSH_VERSION_2" }, | ||
]); | ||
/** | ||
* @generated from message river.StartAuthenticationRequest | ||
@@ -1262,2 +1288,8 @@ */ | ||
environment = APNEnvironment.APN_ENVIRONMENT_UNSPECIFIED; | ||
/** | ||
* Requested push notification version (default=NOTIFICATION_PUSH_VERSION_1) | ||
* | ||
* @generated from field: river.NotificationPushVersion push_version = 3; | ||
*/ | ||
pushVersion = NotificationPushVersion.NOTIFICATION_PUSH_VERSION_UNSPECIFIED; | ||
constructor(data) { | ||
@@ -1272,2 +1304,3 @@ super(); | ||
{ no: 2, name: "environment", kind: "enum", T: proto3.getEnumType(APNEnvironment) }, | ||
{ no: 3, name: "push_version", kind: "enum", T: proto3.getEnumType(NotificationPushVersion) }, | ||
]); | ||
@@ -1274,0 +1307,0 @@ static fromBinary(bytes, options) { |
@@ -1,2 +0,2 @@ | ||
import { AddEventRequest, AddEventResponse, AddStreamToSyncRequest, AddStreamToSyncResponse, CancelSyncRequest, CancelSyncResponse, CreateStreamRequest, CreateStreamResponse, GetLastMiniblockHashRequest, GetLastMiniblockHashResponse, GetMiniblocksRequest, GetMiniblocksResponse, GetStreamExRequest, GetStreamExResponse, GetStreamRequest, GetStreamResponse, InfoRequest, InfoResponse, ModifySyncRequest, ModifySyncResponse, PingSyncRequest, PingSyncResponse, RemoveStreamFromSyncRequest, RemoveStreamFromSyncResponse, SyncStreamsRequest, SyncStreamsResponse } from "./protocol_pb.js"; | ||
import { AddEventRequest, AddEventResponse, AddStreamToSyncRequest, AddStreamToSyncResponse, CancelSyncRequest, CancelSyncResponse, CreateStreamRequest, CreateStreamResponse, GetLastMiniblockHashRequest, GetLastMiniblockHashResponse, GetMiniblockHeaderRequest, GetMiniblockHeaderResponse, GetMiniblocksRequest, GetMiniblocksResponse, GetStreamExRequest, GetStreamExResponse, GetStreamRequest, GetStreamResponse, InfoRequest, InfoResponse, ModifySyncRequest, ModifySyncResponse, PingSyncRequest, PingSyncResponse, RemoveStreamFromSyncRequest, RemoveStreamFromSyncResponse, SyncStreamsRequest, SyncStreamsResponse } from "./protocol_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -55,2 +55,11 @@ /** | ||
/** | ||
* @generated from rpc river.StreamService.GetMiniblockHeader | ||
*/ | ||
readonly getMiniblockHeader: { | ||
readonly name: "GetMiniblockHeader"; | ||
readonly I: typeof GetMiniblockHeaderRequest; | ||
readonly O: typeof GetMiniblockHeaderResponse; | ||
readonly kind: MethodKind.Unary; | ||
}; | ||
/** | ||
* @generated from rpc river.StreamService.AddEvent | ||
@@ -57,0 +66,0 @@ */ |
@@ -5,3 +5,3 @@ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts" | ||
// @ts-nocheck | ||
import { AddEventRequest, AddEventResponse, AddStreamToSyncRequest, AddStreamToSyncResponse, CancelSyncRequest, CancelSyncResponse, CreateStreamRequest, CreateStreamResponse, GetLastMiniblockHashRequest, GetLastMiniblockHashResponse, GetMiniblocksRequest, GetMiniblocksResponse, GetStreamExRequest, GetStreamExResponse, GetStreamRequest, GetStreamResponse, InfoRequest, InfoResponse, ModifySyncRequest, ModifySyncResponse, PingSyncRequest, PingSyncResponse, RemoveStreamFromSyncRequest, RemoveStreamFromSyncResponse, SyncStreamsRequest, SyncStreamsResponse } from "./protocol_pb.js"; | ||
import { AddEventRequest, AddEventResponse, AddStreamToSyncRequest, AddStreamToSyncResponse, CancelSyncRequest, CancelSyncResponse, CreateStreamRequest, CreateStreamResponse, GetLastMiniblockHashRequest, GetLastMiniblockHashResponse, GetMiniblockHeaderRequest, GetMiniblockHeaderResponse, GetMiniblocksRequest, GetMiniblocksResponse, GetStreamExRequest, GetStreamExResponse, GetStreamRequest, GetStreamResponse, InfoRequest, InfoResponse, ModifySyncRequest, ModifySyncResponse, PingSyncRequest, PingSyncResponse, RemoveStreamFromSyncRequest, RemoveStreamFromSyncResponse, SyncStreamsRequest, SyncStreamsResponse } from "./protocol_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -60,2 +60,11 @@ /** | ||
/** | ||
* @generated from rpc river.StreamService.GetMiniblockHeader | ||
*/ | ||
getMiniblockHeader: { | ||
name: "GetMiniblockHeader", | ||
I: GetMiniblockHeaderRequest, | ||
O: GetMiniblockHeaderResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc river.StreamService.AddEvent | ||
@@ -62,0 +71,0 @@ */ |
{ | ||
"name": "@river-build/proto", | ||
"version": "0.0.153", | ||
"version": "0.0.154", | ||
"packageManager": "yarn@3.8.0", | ||
@@ -28,3 +28,3 @@ "type": "module", | ||
"@connectrpc/protoc-gen-connect-es": "^1.4.0", | ||
"@river-build/proto-source": "^0.0.153", | ||
"@river-build/proto-source": "^0.0.154", | ||
"@types/node": "^20.5.0", | ||
@@ -39,3 +39,3 @@ "lodash.debounce": "^4.0.8", | ||
], | ||
"gitHead": "8585812e137848a380c8f273652edfcbb3a5b35c" | ||
"gitHead": "3028bd52644fda82ffc88dbb7466e9328a87d7e5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
977130
1.38%14644
1.38%