@wundergraph/cosmo-connect
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -90,2 +90,27 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
/** | ||
* @generated from message wg.cosmo.node.v1.Subgraph | ||
*/ | ||
export declare class Subgraph extends Message<Subgraph> { | ||
/** | ||
* @generated from field: string id = 1; | ||
*/ | ||
id: string; | ||
/** | ||
* @generated from field: string name = 2; | ||
*/ | ||
name: string; | ||
/** | ||
* @generated from field: string routing_url = 3; | ||
*/ | ||
routingUrl: string; | ||
constructor(data?: PartialMessage<Subgraph>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "wg.cosmo.node.v1.Subgraph"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Subgraph; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Subgraph; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Subgraph; | ||
static equals(a: Subgraph | PlainMessage<Subgraph> | undefined, b: Subgraph | PlainMessage<Subgraph> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.RouterConfig | ||
@@ -102,2 +127,6 @@ */ | ||
version: string; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3; | ||
*/ | ||
subgraphs: Subgraph[]; | ||
constructor(data?: PartialMessage<RouterConfig>); | ||
@@ -104,0 +133,0 @@ static readonly runtime: typeof proto3; |
@@ -128,2 +128,42 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=ts" | ||
/** | ||
* @generated from message wg.cosmo.node.v1.Subgraph | ||
*/ | ||
export class Subgraph extends Message { | ||
/** | ||
* @generated from field: string id = 1; | ||
*/ | ||
id = ""; | ||
/** | ||
* @generated from field: string name = 2; | ||
*/ | ||
name = ""; | ||
/** | ||
* @generated from field: string routing_url = 3; | ||
*/ | ||
routingUrl = ""; | ||
constructor(data) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
static runtime = proto3; | ||
static typeName = "wg.cosmo.node.v1.Subgraph"; | ||
static fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
static fromBinary(bytes, options) { | ||
return new Subgraph().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new Subgraph().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new Subgraph().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(Subgraph, a, b); | ||
} | ||
} | ||
/** | ||
* @generated from message wg.cosmo.node.v1.RouterConfig | ||
@@ -140,2 +180,6 @@ */ | ||
version = ""; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3; | ||
*/ | ||
subgraphs = []; | ||
constructor(data) { | ||
@@ -150,2 +194,3 @@ super(); | ||
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true }, | ||
]); | ||
@@ -152,0 +197,0 @@ static fromBinary(bytes, options) { |
{ | ||
"name": "@wundergraph/cosmo-connect", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "TypeScript Connect client for WunderGraph Cosmo", | ||
@@ -38,3 +38,3 @@ "scripts": { | ||
}, | ||
"gitHead": "a03bdbd171feac25e23f5e9c66055439a266b1f3" | ||
"gitHead": "738b2177ff89bb34d6fc6bb824fdbf553aa91489" | ||
} |
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
646794
10370