@wundergraph/cosmo-connect
Advanced tools
Comparing version 0.33.0 to 0.34.0
@@ -1,2 +0,2 @@ | ||
import { GetConfigRequest, GetConfigResponse } from "./node_pb.js"; | ||
import { GetConfigRequest, GetConfigResponse, SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -18,3 +18,12 @@ /** | ||
}; | ||
/** | ||
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister | ||
*/ | ||
readonly selfRegister: { | ||
readonly name: "SelfRegister"; | ||
readonly I: typeof SelfRegisterRequest; | ||
readonly O: typeof SelfRegisterResponse; | ||
readonly kind: MethodKind.Unary; | ||
}; | ||
}; | ||
}; |
@@ -5,3 +5,3 @@ // @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts" | ||
// @ts-nocheck | ||
import { GetConfigRequest, GetConfigResponse } from "./node_pb.js"; | ||
import { GetConfigRequest, GetConfigResponse, SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -23,4 +23,13 @@ /** | ||
}, | ||
/** | ||
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister | ||
*/ | ||
selfRegister: { | ||
name: "SelfRegister", | ||
I: SelfRegisterRequest, | ||
O: SelfRegisterResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
} | ||
}; | ||
//# sourceMappingURL=node_connect.js.map |
@@ -234,2 +234,77 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
/** | ||
* @generated from message wg.cosmo.node.v1.RegistrationInfo | ||
*/ | ||
export declare class RegistrationInfo extends Message<RegistrationInfo> { | ||
/** | ||
* @generated from field: wg.cosmo.node.v1.AccountLimits account_limits = 1; | ||
*/ | ||
accountLimits?: AccountLimits; | ||
/** | ||
* @generated from field: string graph_public_key = 2; | ||
*/ | ||
graphPublicKey: string; | ||
constructor(data?: PartialMessage<RegistrationInfo>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "wg.cosmo.node.v1.RegistrationInfo"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegistrationInfo; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegistrationInfo; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegistrationInfo; | ||
static equals(a: RegistrationInfo | PlainMessage<RegistrationInfo> | undefined, b: RegistrationInfo | PlainMessage<RegistrationInfo> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.AccountLimits | ||
*/ | ||
export declare class AccountLimits extends Message<AccountLimits> { | ||
/** | ||
* The maximum sampling rate for traces. Must be between 0 and 1. | ||
* 0 means no traces will be sampled and 1 means all traces will be sampled. | ||
* | ||
* @generated from field: float trace_sampling_rate = 1; | ||
*/ | ||
traceSamplingRate: number; | ||
constructor(data?: PartialMessage<AccountLimits>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "wg.cosmo.node.v1.AccountLimits"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AccountLimits; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AccountLimits; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AccountLimits; | ||
static equals(a: AccountLimits | PlainMessage<AccountLimits> | undefined, b: AccountLimits | PlainMessage<AccountLimits> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.SelfRegisterRequest | ||
*/ | ||
export declare class SelfRegisterRequest extends Message<SelfRegisterRequest> { | ||
constructor(data?: PartialMessage<SelfRegisterRequest>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "wg.cosmo.node.v1.SelfRegisterRequest"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SelfRegisterRequest; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SelfRegisterRequest; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SelfRegisterRequest; | ||
static equals(a: SelfRegisterRequest | PlainMessage<SelfRegisterRequest> | undefined, b: SelfRegisterRequest | PlainMessage<SelfRegisterRequest> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.SelfRegisterResponse | ||
*/ | ||
export declare class SelfRegisterResponse extends Message<SelfRegisterResponse> { | ||
/** | ||
* @generated from field: wg.cosmo.node.v1.Response response = 1; | ||
*/ | ||
response?: Response; | ||
/** | ||
* @generated from field: optional wg.cosmo.node.v1.RegistrationInfo registrationInfo = 2; | ||
*/ | ||
registrationInfo?: RegistrationInfo; | ||
constructor(data?: PartialMessage<SelfRegisterResponse>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "wg.cosmo.node.v1.SelfRegisterResponse"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SelfRegisterResponse; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SelfRegisterResponse; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SelfRegisterResponse; | ||
static equals(a: SelfRegisterResponse | PlainMessage<SelfRegisterResponse> | undefined, b: SelfRegisterResponse | PlainMessage<SelfRegisterResponse> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.EngineConfiguration | ||
@@ -236,0 +311,0 @@ */ |
@@ -358,2 +358,129 @@ // @generated by protoc-gen-es v1.4.1 with parameter "target=ts" | ||
/** | ||
* @generated from message wg.cosmo.node.v1.RegistrationInfo | ||
*/ | ||
export class RegistrationInfo extends Message { | ||
/** | ||
* @generated from field: wg.cosmo.node.v1.AccountLimits account_limits = 1; | ||
*/ | ||
accountLimits; | ||
/** | ||
* @generated from field: string graph_public_key = 2; | ||
*/ | ||
graphPublicKey = ""; | ||
constructor(data) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
static runtime = proto3; | ||
static typeName = "wg.cosmo.node.v1.RegistrationInfo"; | ||
static fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "account_limits", kind: "message", T: AccountLimits }, | ||
{ no: 2, name: "graph_public_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
static fromBinary(bytes, options) { | ||
return new RegistrationInfo().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new RegistrationInfo().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new RegistrationInfo().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(RegistrationInfo, a, b); | ||
} | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.AccountLimits | ||
*/ | ||
export class AccountLimits extends Message { | ||
/** | ||
* The maximum sampling rate for traces. Must be between 0 and 1. | ||
* 0 means no traces will be sampled and 1 means all traces will be sampled. | ||
* | ||
* @generated from field: float trace_sampling_rate = 1; | ||
*/ | ||
traceSamplingRate = 0; | ||
constructor(data) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
static runtime = proto3; | ||
static typeName = "wg.cosmo.node.v1.AccountLimits"; | ||
static fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "trace_sampling_rate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, | ||
]); | ||
static fromBinary(bytes, options) { | ||
return new AccountLimits().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new AccountLimits().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new AccountLimits().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(AccountLimits, a, b); | ||
} | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.SelfRegisterRequest | ||
*/ | ||
export class SelfRegisterRequest extends Message { | ||
constructor(data) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
static runtime = proto3; | ||
static typeName = "wg.cosmo.node.v1.SelfRegisterRequest"; | ||
static fields = proto3.util.newFieldList(() => []); | ||
static fromBinary(bytes, options) { | ||
return new SelfRegisterRequest().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new SelfRegisterRequest().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new SelfRegisterRequest().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(SelfRegisterRequest, a, b); | ||
} | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.SelfRegisterResponse | ||
*/ | ||
export class SelfRegisterResponse extends Message { | ||
/** | ||
* @generated from field: wg.cosmo.node.v1.Response response = 1; | ||
*/ | ||
response; | ||
/** | ||
* @generated from field: optional wg.cosmo.node.v1.RegistrationInfo registrationInfo = 2; | ||
*/ | ||
registrationInfo; | ||
constructor(data) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
static runtime = proto3; | ||
static typeName = "wg.cosmo.node.v1.SelfRegisterResponse"; | ||
static fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "response", kind: "message", T: Response }, | ||
{ no: 2, name: "registrationInfo", kind: "message", T: RegistrationInfo, opt: true }, | ||
]); | ||
static fromBinary(bytes, options) { | ||
return new SelfRegisterResponse().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new SelfRegisterResponse().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new SelfRegisterResponse().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(SelfRegisterResponse, a, b); | ||
} | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.EngineConfiguration | ||
@@ -360,0 +487,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
import { GetConfigRequest, GetConfigResponse } from "./node_pb.js"; | ||
import { GetConfigRequest, GetConfigResponse, SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -20,2 +20,11 @@ import { UnaryFunctionsWithHooks } from "@connectrpc/connect-query"; | ||
}; | ||
/** | ||
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister | ||
*/ | ||
readonly selfRegister: { | ||
readonly name: "SelfRegister"; | ||
readonly I: typeof SelfRegisterRequest; | ||
readonly O: typeof SelfRegisterResponse; | ||
readonly kind: MethodKind.Unary; | ||
}; | ||
}; | ||
@@ -27,1 +36,5 @@ }; | ||
export declare const getLatestValidRouterConfig: UnaryFunctionsWithHooks<GetConfigRequest, GetConfigResponse>; | ||
/** | ||
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister | ||
*/ | ||
export declare const selfRegister: UnaryFunctionsWithHooks<SelfRegisterRequest, SelfRegisterResponse>; |
@@ -5,3 +5,3 @@ // @generated by protoc-gen-connect-query v0.6.0 with parameter "target=ts" | ||
// @ts-nocheck | ||
import { GetConfigRequest, GetConfigResponse } from "./node_pb.js"; | ||
import { GetConfigRequest, GetConfigResponse, SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -25,2 +25,11 @@ import { createQueryService, createUnaryHooks } from "@connectrpc/connect-query"; | ||
}, | ||
/** | ||
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister | ||
*/ | ||
selfRegister: { | ||
name: "SelfRegister", | ||
I: SelfRegisterRequest, | ||
O: SelfRegisterResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
} | ||
@@ -33,2 +42,6 @@ }; | ||
export const getLatestValidRouterConfig = { ...$queryService.getLatestValidRouterConfig, ...createUnaryHooks($queryService.getLatestValidRouterConfig) }; | ||
/** | ||
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister | ||
*/ | ||
export const selfRegister = { ...$queryService.selfRegister, ...createUnaryHooks($queryService.selfRegister) }; | ||
//# sourceMappingURL=node-NodeService_connectquery.js.map |
{ | ||
"name": "@wundergraph/cosmo-connect", | ||
"version": "0.33.0", | ||
"version": "0.34.0", | ||
"description": "TypeScript Connect client for WunderGraph Cosmo", | ||
@@ -40,3 +40,3 @@ "scripts": { | ||
}, | ||
"gitHead": "fb7c7cc32a5ac4d6e7bb6a26ae38ba741b99c1ae" | ||
"gitHead": "69059085065d79e26d4adc387b2896671e5cf61b" | ||
} |
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1143668
18936