@textile/buckets-grpc
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -7,2 +7,11 @@ // package: buckets.pb | ||
type APIList = { | ||
readonly methodName: string; | ||
readonly service: typeof API; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof buckets_pb.ListRequest; | ||
readonly responseType: typeof buckets_pb.ListReply; | ||
}; | ||
type APIInit = { | ||
@@ -35,11 +44,2 @@ readonly methodName: string; | ||
type APIList = { | ||
readonly methodName: string; | ||
readonly service: typeof API; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof buckets_pb.ListRequest; | ||
readonly responseType: typeof buckets_pb.ListReply; | ||
}; | ||
type APIListPath = { | ||
@@ -155,6 +155,6 @@ readonly methodName: string; | ||
static readonly serviceName: string; | ||
static readonly List: APIList; | ||
static readonly Init: APIInit; | ||
static readonly Root: APIRoot; | ||
static readonly Links: APILinks; | ||
static readonly List: APIList; | ||
static readonly ListPath: APIListPath; | ||
@@ -206,2 +206,11 @@ static readonly ListIpfsPath: APIListIpfsPath; | ||
constructor(serviceHost: string, options?: grpc.RpcOptions); | ||
list( | ||
requestMessage: buckets_pb.ListRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: buckets_pb.ListReply|null) => void | ||
): UnaryResponse; | ||
list( | ||
requestMessage: buckets_pb.ListRequest, | ||
callback: (error: ServiceError|null, responseMessage: buckets_pb.ListReply|null) => void | ||
): UnaryResponse; | ||
init( | ||
@@ -234,11 +243,2 @@ requestMessage: buckets_pb.InitRequest, | ||
): UnaryResponse; | ||
list( | ||
requestMessage: buckets_pb.ListRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: buckets_pb.ListReply|null) => void | ||
): UnaryResponse; | ||
list( | ||
requestMessage: buckets_pb.ListRequest, | ||
callback: (error: ServiceError|null, responseMessage: buckets_pb.ListReply|null) => void | ||
): UnaryResponse; | ||
listPath( | ||
@@ -245,0 +245,0 @@ requestMessage: buckets_pb.ListPathRequest, |
@@ -13,2 +13,11 @@ // package: buckets.pb | ||
API.List = { | ||
methodName: "List", | ||
service: API, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: buckets_pb.ListRequest, | ||
responseType: buckets_pb.ListReply | ||
}; | ||
API.Init = { | ||
@@ -41,11 +50,2 @@ methodName: "Init", | ||
API.List = { | ||
methodName: "List", | ||
service: API, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: buckets_pb.ListRequest, | ||
responseType: buckets_pb.ListReply | ||
}; | ||
API.ListPath = { | ||
@@ -166,7 +166,7 @@ methodName: "ListPath", | ||
APIClient.prototype.init = function init(requestMessage, metadata, callback) { | ||
APIClient.prototype.list = function list(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(API.Init, { | ||
var client = grpc.unary(API.List, { | ||
request: requestMessage, | ||
@@ -198,7 +198,7 @@ host: this.serviceHost, | ||
APIClient.prototype.root = function root(requestMessage, metadata, callback) { | ||
APIClient.prototype.init = function init(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(API.Root, { | ||
var client = grpc.unary(API.Init, { | ||
request: requestMessage, | ||
@@ -230,7 +230,7 @@ host: this.serviceHost, | ||
APIClient.prototype.links = function links(requestMessage, metadata, callback) { | ||
APIClient.prototype.root = function root(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(API.Links, { | ||
var client = grpc.unary(API.Root, { | ||
request: requestMessage, | ||
@@ -262,7 +262,7 @@ host: this.serviceHost, | ||
APIClient.prototype.list = function list(requestMessage, metadata, callback) { | ||
APIClient.prototype.links = function links(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(API.List, { | ||
var client = grpc.unary(API.Links, { | ||
request: requestMessage, | ||
@@ -269,0 +269,0 @@ host: this.serviceHost, |
@@ -22,2 +22,5 @@ // package: buckets.pb | ||
getThread(): string; | ||
setThread(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -40,5 +43,44 @@ toObject(includeInstance?: boolean): Root.AsObject; | ||
updatedat: number, | ||
thread: string, | ||
} | ||
} | ||
export class ListRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ListRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: ListRequest): ListRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ListRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ListRequest; | ||
static deserializeBinaryFromReader(message: ListRequest, reader: jspb.BinaryReader): ListRequest; | ||
} | ||
export namespace ListRequest { | ||
export type AsObject = { | ||
} | ||
} | ||
export class ListReply extends jspb.Message { | ||
clearRootsList(): void; | ||
getRootsList(): Array<Root>; | ||
setRootsList(value: Array<Root>): void; | ||
addRoots(value?: Root, index?: number): Root; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ListReply.AsObject; | ||
static toObject(includeInstance: boolean, msg: ListReply): ListReply.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ListReply, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ListReply; | ||
static deserializeBinaryFromReader(message: ListReply, reader: jspb.BinaryReader): ListReply; | ||
} | ||
export namespace ListReply { | ||
export type AsObject = { | ||
rootsList: Array<Root.AsObject>, | ||
} | ||
} | ||
export class InitRequest extends jspb.Message { | ||
@@ -200,40 +242,2 @@ getName(): string; | ||
export class ListRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ListRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: ListRequest): ListRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ListRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ListRequest; | ||
static deserializeBinaryFromReader(message: ListRequest, reader: jspb.BinaryReader): ListRequest; | ||
} | ||
export namespace ListRequest { | ||
export type AsObject = { | ||
} | ||
} | ||
export class ListReply extends jspb.Message { | ||
clearRootsList(): void; | ||
getRootsList(): Array<Root>; | ||
setRootsList(value: Array<Root>): void; | ||
addRoots(value?: Root, index?: number): Root; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ListReply.AsObject; | ||
static toObject(includeInstance: boolean, msg: ListReply): ListReply.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ListReply, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ListReply; | ||
static deserializeBinaryFromReader(message: ListReply, reader: jspb.BinaryReader): ListReply; | ||
} | ||
export namespace ListReply { | ||
export type AsObject = { | ||
rootsList: Array<Root.AsObject>, | ||
} | ||
} | ||
export class ListPathRequest extends jspb.Message { | ||
@@ -240,0 +244,0 @@ getKey(): string; |
{ | ||
"name": "@textile/buckets-grpc", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "A client for interacting with the Textile Buckets gRPC API.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
283428
8076