@wundergraph/cosmo-connect
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -1,2 +0,2 @@ | ||
// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts" | ||
// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts" | ||
// @generated from file wg/cosmo/node/v1/node.proto (package wg.cosmo.node.v1, syntax proto3) | ||
@@ -3,0 +3,0 @@ /* eslint-disable */ |
@@ -274,5 +274,13 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField required_fields = 10; | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField keys = 10; | ||
*/ | ||
requiredFields: RequiredField[]; | ||
keys: RequiredField[]; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField provides = 11; | ||
*/ | ||
provides: RequiredField[]; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField requires = 12; | ||
*/ | ||
requires: RequiredField[]; | ||
constructor(data?: PartialMessage<DataSourceConfiguration>); | ||
@@ -300,17 +308,5 @@ static readonly runtime: typeof proto3; | ||
/** | ||
* @generated from field: bool disable_default_field_mapping = 3; | ||
* @generated from field: repeated wg.cosmo.node.v1.ArgumentConfiguration arguments_configuration = 3; | ||
*/ | ||
disableDefaultFieldMapping: boolean; | ||
/** | ||
* @generated from field: repeated string path = 4; | ||
*/ | ||
path: string[]; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.ArgumentConfiguration arguments_configuration = 6; | ||
*/ | ||
argumentsConfiguration: ArgumentConfiguration[]; | ||
/** | ||
* @generated from field: bool unescape_response_json = 7; | ||
*/ | ||
unescapeResponseJson: boolean; | ||
constructor(data?: PartialMessage<FieldConfiguration>); | ||
@@ -337,14 +333,2 @@ static readonly runtime: typeof proto3; | ||
sourceType: ArgumentSource; | ||
/** | ||
* @generated from field: repeated string source_path = 3; | ||
*/ | ||
sourcePath: string[]; | ||
/** | ||
* @generated from field: wg.cosmo.node.v1.ArgumentRenderConfiguration render_configuration = 4; | ||
*/ | ||
renderConfiguration: ArgumentRenderConfiguration; | ||
/** | ||
* @generated from field: string rename_type_to = 5; | ||
*/ | ||
renameTypeTo: string; | ||
constructor(data?: PartialMessage<ArgumentConfiguration>); | ||
@@ -351,0 +335,0 @@ static readonly runtime: typeof proto3; |
@@ -397,5 +397,13 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=ts" | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField required_fields = 10; | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField keys = 10; | ||
*/ | ||
requiredFields = []; | ||
keys = []; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField provides = 11; | ||
*/ | ||
provides = []; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.RequiredField requires = 12; | ||
*/ | ||
requires = []; | ||
constructor(data) { | ||
@@ -417,3 +425,5 @@ super(); | ||
{ no: 9, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 10, name: "required_fields", kind: "message", T: RequiredField, repeated: true }, | ||
{ no: 10, name: "keys", kind: "message", T: RequiredField, repeated: true }, | ||
{ no: 11, name: "provides", kind: "message", T: RequiredField, repeated: true }, | ||
{ no: 12, name: "requires", kind: "message", T: RequiredField, repeated: true }, | ||
]); | ||
@@ -446,17 +456,5 @@ static fromBinary(bytes, options) { | ||
/** | ||
* @generated from field: bool disable_default_field_mapping = 3; | ||
* @generated from field: repeated wg.cosmo.node.v1.ArgumentConfiguration arguments_configuration = 3; | ||
*/ | ||
disableDefaultFieldMapping = false; | ||
/** | ||
* @generated from field: repeated string path = 4; | ||
*/ | ||
path = []; | ||
/** | ||
* @generated from field: repeated wg.cosmo.node.v1.ArgumentConfiguration arguments_configuration = 6; | ||
*/ | ||
argumentsConfiguration = []; | ||
/** | ||
* @generated from field: bool unescape_response_json = 7; | ||
*/ | ||
unescapeResponseJson = false; | ||
constructor(data) { | ||
@@ -471,6 +469,3 @@ super(); | ||
{ no: 2, name: "field_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "disable_default_field_mapping", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 6, name: "arguments_configuration", kind: "message", T: ArgumentConfiguration, repeated: true }, | ||
{ no: 7, name: "unescape_response_json", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 3, name: "arguments_configuration", kind: "message", T: ArgumentConfiguration, repeated: true }, | ||
]); | ||
@@ -502,14 +497,2 @@ static fromBinary(bytes, options) { | ||
sourceType = ArgumentSource.OBJECT_FIELD; | ||
/** | ||
* @generated from field: repeated string source_path = 3; | ||
*/ | ||
sourcePath = []; | ||
/** | ||
* @generated from field: wg.cosmo.node.v1.ArgumentRenderConfiguration render_configuration = 4; | ||
*/ | ||
renderConfiguration = ArgumentRenderConfiguration.RENDER_ARGUMENT_DEFAULT; | ||
/** | ||
* @generated from field: string rename_type_to = 5; | ||
*/ | ||
renameTypeTo = ""; | ||
constructor(data) { | ||
@@ -524,5 +507,2 @@ super(); | ||
{ no: 2, name: "source_type", kind: "enum", T: proto3.getEnumType(ArgumentSource) }, | ||
{ no: 3, name: "source_path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 4, name: "render_configuration", kind: "enum", T: proto3.getEnumType(ArgumentRenderConfiguration) }, | ||
{ no: 5, name: "rename_type_to", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -529,0 +509,0 @@ static fromBinary(bytes, options) { |
@@ -6,2 +6,2 @@ import { GetConfigRequest, GetConfigResponse } from "./node_pb.js"; | ||
*/ | ||
export declare const getLatestValidRouterConfig: import("@bufbuild/connect-query").UnaryHooks<GetConfigRequest, GetConfigResponse>; | ||
export declare const getLatestValidRouterConfig: import("@connectrpc/connect-query").UnaryHooks<GetConfigRequest, GetConfigResponse>; |
@@ -1,6 +0,6 @@ | ||
// @generated by protoc-gen-connect-query v0.4.1 with parameter "target=ts" | ||
// @generated by protoc-gen-connect-query v0.4.2 with parameter "target=ts" | ||
// @generated from file wg/cosmo/node/v1/node.proto (package wg.cosmo.node.v1, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
import { createQueryService } from "@bufbuild/connect-query"; | ||
import { createQueryService } from "@connectrpc/connect-query"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -7,0 +7,0 @@ import { GetConfigRequest, GetConfigResponse } from "./node_pb.js"; |
@@ -1,2 +0,2 @@ | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse } from "./platform_pb.js"; | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse, WhoAmIRequest, WhoAmIResponse } from "./platform_pb.js"; | ||
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf"; | ||
@@ -119,2 +119,13 @@ import { GetConfigRequest, GetConfigResponse } from "../../node/v1/node_pb.js"; | ||
/** | ||
* WhoAmI returns the identity of the user currently logged in. | ||
* | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.WhoAmI | ||
*/ | ||
readonly whoAmI: { | ||
readonly name: "WhoAmI"; | ||
readonly I: typeof WhoAmIRequest; | ||
readonly O: typeof WhoAmIResponse; | ||
readonly kind: MethodKind.Unary; | ||
}; | ||
/** | ||
* GetFederatedGraphs returns the list of federated graphs. | ||
@@ -121,0 +132,0 @@ * |
// https://protobuf.dev/programming-guides/style/ | ||
// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts" | ||
// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts" | ||
// @generated from file wg/cosmo/platform/v1/platform.proto (package wg.cosmo.platform.v1, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse } from "./platform_pb.js"; | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse, WhoAmIRequest, WhoAmIResponse } from "./platform_pb.js"; | ||
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf"; | ||
@@ -124,2 +124,13 @@ import { GetConfigRequest, GetConfigResponse } from "../../node/v1/node_pb.js"; | ||
/** | ||
* WhoAmI returns the identity of the user currently logged in. | ||
* | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.WhoAmI | ||
*/ | ||
whoAmI: { | ||
name: "WhoAmI", | ||
I: WhoAmIRequest, | ||
O: WhoAmIResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* GetFederatedGraphs returns the list of federated graphs. | ||
@@ -126,0 +137,0 @@ * |
@@ -1,2 +0,2 @@ | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse } from "./platform_pb.js"; | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse, WhoAmIRequest, WhoAmIResponse } from "./platform_pb.js"; | ||
import { GetConfigRequest, GetConfigResponse } from "../../node/v1/node_pb.js"; | ||
@@ -9,3 +9,3 @@ export declare const typeName = "wg.cosmo.platform.v1.PlatformService"; | ||
*/ | ||
export declare const createFederatedGraph: import("@bufbuild/connect-query").UnaryHooks<CreateFederatedGraphRequest, CreateFederatedGraphResponse>; | ||
export declare const createFederatedGraph: import("@connectrpc/connect-query").UnaryHooks<CreateFederatedGraphRequest, CreateFederatedGraphResponse>; | ||
/** | ||
@@ -16,3 +16,3 @@ * CreateFederatedSubgraph creates a federated subgraph on the control plane. | ||
*/ | ||
export declare const createFederatedSubgraph: import("@bufbuild/connect-query").UnaryHooks<CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse>; | ||
export declare const createFederatedSubgraph: import("@connectrpc/connect-query").UnaryHooks<CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse>; | ||
/** | ||
@@ -23,3 +23,3 @@ * PublishFederatedSubgraph pushes the schema of the subgraph to the control plane. | ||
*/ | ||
export declare const publishFederatedSubgraph: import("@bufbuild/connect-query").UnaryHooks<PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse>; | ||
export declare const publishFederatedSubgraph: import("@connectrpc/connect-query").UnaryHooks<PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse>; | ||
/** | ||
@@ -30,3 +30,3 @@ * DeleteFederatedGraph deletes a federated graph from the control plane. | ||
*/ | ||
export declare const deleteFederatedGraph: import("@bufbuild/connect-query").UnaryHooks<DeleteFederatedGraphRequest, DeleteFederatedGraphResponse>; | ||
export declare const deleteFederatedGraph: import("@connectrpc/connect-query").UnaryHooks<DeleteFederatedGraphRequest, DeleteFederatedGraphResponse>; | ||
/** | ||
@@ -37,3 +37,3 @@ * DeleteFederatedSubgraph deletes a federated subgraph from the control plane. | ||
*/ | ||
export declare const deleteFederatedSubgraph: import("@bufbuild/connect-query").UnaryHooks<DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse>; | ||
export declare const deleteFederatedSubgraph: import("@connectrpc/connect-query").UnaryHooks<DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse>; | ||
/** | ||
@@ -44,7 +44,7 @@ * CheckSubgraphSchema checks if the schema is valid and if it can be composed without conflicts with the provided new subgraph schema. | ||
*/ | ||
export declare const checkSubgraphSchema: import("@bufbuild/connect-query").UnaryHooks<CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse>; | ||
export declare const checkSubgraphSchema: import("@connectrpc/connect-query").UnaryHooks<CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse>; | ||
/** | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.FixSubgraphSchema | ||
*/ | ||
export declare const fixSubgraphSchema: import("@bufbuild/connect-query").UnaryHooks<FixSubgraphSchemaRequest, FixSubgraphSchemaResponse>; | ||
export declare const fixSubgraphSchema: import("@connectrpc/connect-query").UnaryHooks<FixSubgraphSchemaRequest, FixSubgraphSchemaResponse>; | ||
/** | ||
@@ -55,3 +55,3 @@ * UpdateFederatedGraph updates a federated graph with new labels and routing url | ||
*/ | ||
export declare const updateFederatedGraph: import("@bufbuild/connect-query").UnaryHooks<UpdateFederatedGraphRequest, UpdateFederatedGraphResponse>; | ||
export declare const updateFederatedGraph: import("@connectrpc/connect-query").UnaryHooks<UpdateFederatedGraphRequest, UpdateFederatedGraphResponse>; | ||
/** | ||
@@ -62,3 +62,3 @@ * UpdateSubgraph updates a subgraph with new labels and routing url | ||
*/ | ||
export declare const updateSubgraph: import("@bufbuild/connect-query").UnaryHooks<UpdateSubgraphRequest, UpdateSubgraphResponse>; | ||
export declare const updateSubgraph: import("@connectrpc/connect-query").UnaryHooks<UpdateSubgraphRequest, UpdateSubgraphResponse>; | ||
/** | ||
@@ -69,4 +69,10 @@ * CheckFederatedGraph checks if the federated graph can be composed with the new labels provided. | ||
*/ | ||
export declare const checkFederatedGraph: import("@bufbuild/connect-query").UnaryHooks<CheckFederatedGraphRequest, CheckFederatedGraphResponse>; | ||
export declare const checkFederatedGraph: import("@connectrpc/connect-query").UnaryHooks<CheckFederatedGraphRequest, CheckFederatedGraphResponse>; | ||
/** | ||
* WhoAmI returns the identity of the user currently logged in. | ||
* | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.WhoAmI | ||
*/ | ||
export declare const whoAmI: import("@connectrpc/connect-query").UnaryHooks<WhoAmIRequest, WhoAmIResponse>; | ||
/** | ||
* GetFederatedGraphs returns the list of federated graphs. | ||
@@ -76,3 +82,3 @@ * | ||
*/ | ||
export declare const getFederatedGraphs: import("@bufbuild/connect-query").UnaryHooks<GetFederatedGraphsRequest, GetFederatedGraphsResponse>; | ||
export declare const getFederatedGraphs: import("@connectrpc/connect-query").UnaryHooks<GetFederatedGraphsRequest, GetFederatedGraphsResponse>; | ||
/** | ||
@@ -83,3 +89,3 @@ * GetFederatedGraphByName returns the federated graph by name. | ||
*/ | ||
export declare const getFederatedGraphByName: import("@bufbuild/connect-query").UnaryHooks<GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse>; | ||
export declare const getFederatedGraphByName: import("@connectrpc/connect-query").UnaryHooks<GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse>; | ||
/** | ||
@@ -90,3 +96,3 @@ * GetFederatedGraphSDLByName returns the SDL of the federated graph by name. | ||
*/ | ||
export declare const getFederatedGraphSDLByName: import("@bufbuild/connect-query").UnaryHooks<GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse>; | ||
export declare const getFederatedGraphSDLByName: import("@connectrpc/connect-query").UnaryHooks<GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse>; | ||
/** | ||
@@ -97,3 +103,3 @@ * GetSubgraphs returns the list of subgraphs. | ||
*/ | ||
export declare const getSubgraphs: import("@bufbuild/connect-query").UnaryHooks<GetSubgraphsRequest, GetSubgraphsResponse>; | ||
export declare const getSubgraphs: import("@connectrpc/connect-query").UnaryHooks<GetSubgraphsRequest, GetSubgraphsResponse>; | ||
/** | ||
@@ -104,3 +110,3 @@ * GetSubgraphByName returns the subgraph by name. | ||
*/ | ||
export declare const getSubgraphByName: import("@bufbuild/connect-query").UnaryHooks<GetSubgraphByNameRequest, GetSubgraphByNameResponse>; | ||
export declare const getSubgraphByName: import("@connectrpc/connect-query").UnaryHooks<GetSubgraphByNameRequest, GetSubgraphByNameResponse>; | ||
/** | ||
@@ -111,3 +117,3 @@ * GetFederatedSubgraphSDLByName returns the SDL of the subgraph by name. | ||
*/ | ||
export declare const getFederatedSubgraphSDLByName: import("@bufbuild/connect-query").UnaryHooks<GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse>; | ||
export declare const getFederatedSubgraphSDLByName: import("@connectrpc/connect-query").UnaryHooks<GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse>; | ||
/** | ||
@@ -118,3 +124,3 @@ * GetChecksByFederatedGraphName return schema and composition checks that concern a federated graph | ||
*/ | ||
export declare const getChecksByFederatedGraphName: import("@bufbuild/connect-query").UnaryHooks<GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse>; | ||
export declare const getChecksByFederatedGraphName: import("@connectrpc/connect-query").UnaryHooks<GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse>; | ||
/** | ||
@@ -125,3 +131,3 @@ * GetCheckDetails returns changes and composition errors recorded for a check | ||
*/ | ||
export declare const getCheckDetails: import("@bufbuild/connect-query").UnaryHooks<GetCheckDetailsRequest, GetCheckDetailsResponse>; | ||
export declare const getCheckDetails: import("@connectrpc/connect-query").UnaryHooks<GetCheckDetailsRequest, GetCheckDetailsResponse>; | ||
/** | ||
@@ -132,3 +138,3 @@ * GetFederatedGraphChangelog returns the changelog of the federated graph. | ||
*/ | ||
export declare const getFederatedGraphChangelog: import("@bufbuild/connect-query").UnaryHooks<GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse>; | ||
export declare const getFederatedGraphChangelog: import("@connectrpc/connect-query").UnaryHooks<GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse>; | ||
/** | ||
@@ -139,3 +145,3 @@ * CreateFederatedGraphToken creates a federated graph token that is consumed by the router to authenticate requests. | ||
*/ | ||
export declare const createFederatedGraphToken: import("@bufbuild/connect-query").UnaryHooks<CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse>; | ||
export declare const createFederatedGraphToken: import("@connectrpc/connect-query").UnaryHooks<CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse>; | ||
/** | ||
@@ -146,3 +152,3 @@ * GetOrganizationMembers returns the list of organization members | ||
*/ | ||
export declare const getOrganizationMembers: import("@bufbuild/connect-query").UnaryHooks<GetOrganizationMembersRequest, GetOrganizationMembersResponse>; | ||
export declare const getOrganizationMembers: import("@connectrpc/connect-query").UnaryHooks<GetOrganizationMembersRequest, GetOrganizationMembersResponse>; | ||
/** | ||
@@ -153,3 +159,3 @@ * InviteUser invites an user to join the organization | ||
*/ | ||
export declare const inviteUser: import("@bufbuild/connect-query").UnaryHooks<InviteUserRequest, InviteUserResponse>; | ||
export declare const inviteUser: import("@connectrpc/connect-query").UnaryHooks<InviteUserRequest, InviteUserResponse>; | ||
/** | ||
@@ -160,3 +166,3 @@ * GetAPIKeys returns a list of API keys of the organization | ||
*/ | ||
export declare const getAPIKeys: import("@bufbuild/connect-query").UnaryHooks<GetAPIKeysRequest, GetAPIKeysResponse>; | ||
export declare const getAPIKeys: import("@connectrpc/connect-query").UnaryHooks<GetAPIKeysRequest, GetAPIKeysResponse>; | ||
/** | ||
@@ -167,3 +173,3 @@ * CreateAPIKey creates an API key for the organization | ||
*/ | ||
export declare const createAPIKey: import("@bufbuild/connect-query").UnaryHooks<CreateAPIKeyRequest, CreateAPIKeyResponse>; | ||
export declare const createAPIKey: import("@connectrpc/connect-query").UnaryHooks<CreateAPIKeyRequest, CreateAPIKeyResponse>; | ||
/** | ||
@@ -174,3 +180,3 @@ * DeleteAPIKey deletes an API key for the organization | ||
*/ | ||
export declare const deleteAPIKey: import("@bufbuild/connect-query").UnaryHooks<DeleteAPIKeyRequest, DeleteAPIKeyResponse>; | ||
export declare const deleteAPIKey: import("@connectrpc/connect-query").UnaryHooks<DeleteAPIKeyRequest, DeleteAPIKeyResponse>; | ||
/** | ||
@@ -181,3 +187,3 @@ * RemoveOrganizationMember removes the user from the organization | ||
*/ | ||
export declare const removeInvitation: import("@bufbuild/connect-query").UnaryHooks<RemoveInvitationRequest, RemoveInvitationResponse>; | ||
export declare const removeInvitation: import("@connectrpc/connect-query").UnaryHooks<RemoveInvitationRequest, RemoveInvitationResponse>; | ||
/** | ||
@@ -188,3 +194,3 @@ * GetLatestValidRouterConfig returns the router config for the federated graph | ||
*/ | ||
export declare const getLatestValidRouterConfig: import("@bufbuild/connect-query").UnaryHooks<GetConfigRequest, GetConfigResponse>; | ||
export declare const getLatestValidRouterConfig: import("@connectrpc/connect-query").UnaryHooks<GetConfigRequest, GetConfigResponse>; | ||
/** | ||
@@ -195,14 +201,14 @@ * MigrateFromApollo migrates the graphs from apollo to cosmo | ||
*/ | ||
export declare const migrateFromApollo: import("@bufbuild/connect-query").UnaryHooks<MigrateFromApolloRequest, MigrateFromApolloResponse>; | ||
export declare const migrateFromApollo: import("@connectrpc/connect-query").UnaryHooks<MigrateFromApolloRequest, MigrateFromApolloResponse>; | ||
/** | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.GetAnalyticsView | ||
*/ | ||
export declare const getAnalyticsView: import("@bufbuild/connect-query").UnaryHooks<GetAnalyticsViewRequest, GetAnalyticsViewResponse>; | ||
export declare const getAnalyticsView: import("@connectrpc/connect-query").UnaryHooks<GetAnalyticsViewRequest, GetAnalyticsViewResponse>; | ||
/** | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.GetDashboardAnalyticsView | ||
*/ | ||
export declare const getDashboardAnalyticsView: import("@bufbuild/connect-query").UnaryHooks<GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse>; | ||
export declare const getDashboardAnalyticsView: import("@connectrpc/connect-query").UnaryHooks<GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse>; | ||
/** | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.GetTrace | ||
*/ | ||
export declare const getTrace: import("@bufbuild/connect-query").UnaryHooks<GetTraceRequest, GetTraceResponse>; | ||
export declare const getTrace: import("@connectrpc/connect-query").UnaryHooks<GetTraceRequest, GetTraceResponse>; |
// https://protobuf.dev/programming-guides/style/ | ||
// @generated by protoc-gen-connect-query v0.4.1 with parameter "target=ts" | ||
// @generated by protoc-gen-connect-query v0.4.2 with parameter "target=ts" | ||
// @generated from file wg/cosmo/platform/v1/platform.proto (package wg.cosmo.platform.v1, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
import { createQueryService } from "@bufbuild/connect-query"; | ||
import { createQueryService } from "@connectrpc/connect-query"; | ||
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf"; | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse } from "./platform_pb.js"; | ||
import { CheckFederatedGraphRequest, CheckFederatedGraphResponse, CheckSubgraphSchemaRequest, CheckSubgraphSchemaResponse, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateFederatedGraphRequest, CreateFederatedGraphResponse, CreateFederatedGraphTokenRequest, CreateFederatedGraphTokenResponse, CreateFederatedSubgraphRequest, CreateFederatedSubgraphResponse, DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteFederatedGraphRequest, DeleteFederatedGraphResponse, DeleteFederatedSubgraphRequest, DeleteFederatedSubgraphResponse, FixSubgraphSchemaRequest, FixSubgraphSchemaResponse, GetAnalyticsViewRequest, GetAnalyticsViewResponse, GetAPIKeysRequest, GetAPIKeysResponse, GetCheckDetailsRequest, GetCheckDetailsResponse, GetChecksByFederatedGraphNameRequest, GetChecksByFederatedGraphNameResponse, GetDashboardAnalyticsViewRequest, GetDashboardAnalyticsViewResponse, GetFederatedGraphByNameRequest, GetFederatedGraphByNameResponse, GetFederatedGraphChangelogRequest, GetFederatedGraphChangelogResponse, GetFederatedGraphSDLByNameRequest, GetFederatedGraphSDLByNameResponse, GetFederatedGraphsRequest, GetFederatedGraphsResponse, GetFederatedSubgraphSDLByNameRequest, GetFederatedSubgraphSDLByNameResponse, GetOrganizationMembersRequest, GetOrganizationMembersResponse, GetSubgraphByNameRequest, GetSubgraphByNameResponse, GetSubgraphsRequest, GetSubgraphsResponse, GetTraceRequest, GetTraceResponse, InviteUserRequest, InviteUserResponse, MigrateFromApolloRequest, MigrateFromApolloResponse, PublishFederatedSubgraphRequest, PublishFederatedSubgraphResponse, RemoveInvitationRequest, RemoveInvitationResponse, UpdateFederatedGraphRequest, UpdateFederatedGraphResponse, UpdateSubgraphRequest, UpdateSubgraphResponse, WhoAmIRequest, WhoAmIResponse } from "./platform_pb.js"; | ||
import { GetConfigRequest, GetConfigResponse } from "../../node/v1/node_pb.js"; | ||
@@ -190,2 +190,20 @@ export const typeName = "wg.cosmo.platform.v1.PlatformService"; | ||
/** | ||
* WhoAmI returns the identity of the user currently logged in. | ||
* | ||
* @generated from rpc wg.cosmo.platform.v1.PlatformService.WhoAmI | ||
*/ | ||
export const whoAmI = createQueryService({ | ||
service: { | ||
methods: { | ||
whoAmI: { | ||
name: "WhoAmI", | ||
kind: MethodKind.Unary, | ||
I: WhoAmIRequest, | ||
O: WhoAmIResponse, | ||
}, | ||
}, | ||
typeName: "wg.cosmo.platform.v1.PlatformService", | ||
}, | ||
}).whoAmI; | ||
/** | ||
* GetFederatedGraphs returns the list of federated graphs. | ||
@@ -192,0 +210,0 @@ * |
{ | ||
"name": "@wundergraph/cosmo-connect", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "TypeScript Connect client for WunderGraph Cosmo", | ||
@@ -23,4 +23,4 @@ "scripts": { | ||
"devDependencies": { | ||
"@bufbuild/connect-query": "^0.4.1", | ||
"@bufbuild/protobuf": "^1.3.0", | ||
"@connectrpc/connect-query": "^0.4.1", | ||
"del-cli": "^5.0.0", | ||
@@ -39,3 +39,3 @@ "typescript": "^5.1.3" | ||
}, | ||
"gitHead": "4509b571b484237a60042b8ecaaf94c725e43283" | ||
} | ||
"gitHead": "00d04e46a3debfa4b597c8f12e920050ff4cd987" | ||
} |
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
Sorry, the diff of this file is not supported yet
590761
9462