import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { EnumStatusCode, GraphQLSubscriptionProtocol, GraphQLWebsocketSubprotocol } from "../../common/common_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file wg/cosmo/node/v1/node.proto. */ export declare const file_wg_cosmo_node_v1_node: GenFile; /** * @generated from message wg.cosmo.node.v1.Subgraph */ export type Subgraph = Message<"wg.cosmo.node.v1.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; }; /** * Describes the message wg.cosmo.node.v1.Subgraph. * Use `create(SubgraphSchema)` to create a new message. */ export declare const SubgraphSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs */ export type FeatureFlagRouterExecutionConfigs = Message<"wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs"> & { /** * @generated from field: map config_by_feature_flag_name = 1; */ configByFeatureFlagName: { [key: string]: FeatureFlagRouterExecutionConfig; }; }; /** * Describes the message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs. * Use `create(FeatureFlagRouterExecutionConfigsSchema)` to create a new message. */ export declare const FeatureFlagRouterExecutionConfigsSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig */ export type FeatureFlagRouterExecutionConfig = Message<"wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig"> & { /** * @generated from field: wg.cosmo.node.v1.EngineConfiguration engine_config = 1; */ engineConfig?: EngineConfiguration | undefined; /** * @generated from field: string version = 2; */ version: string; /** * @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3; */ subgraphs: Subgraph[]; }; /** * Describes the message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig. * Use `create(FeatureFlagRouterExecutionConfigSchema)` to create a new message. */ export declare const FeatureFlagRouterExecutionConfigSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.RouterConfig */ export type RouterConfig = Message<"wg.cosmo.node.v1.RouterConfig"> & { /** * @generated from field: wg.cosmo.node.v1.EngineConfiguration engine_config = 1; */ engineConfig?: EngineConfiguration | undefined; /** * @generated from field: string version = 2; */ version: string; /** * @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3; */ subgraphs: Subgraph[]; /** * The map of feature flag router execution configs requires a wrapper to be non-breaking * * @generated from field: optional wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs feature_flag_configs = 4; */ featureFlagConfigs?: FeatureFlagRouterExecutionConfigs | undefined; /** * @generated from field: string compatibility_version = 5; */ compatibilityVersion: string; }; /** * Describes the message wg.cosmo.node.v1.RouterConfig. * Use `create(RouterConfigSchema)` to create a new message. */ export declare const RouterConfigSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.Response */ export type Response = Message<"wg.cosmo.node.v1.Response"> & { /** * @generated from field: wg.cosmo.common.EnumStatusCode code = 1; */ code: EnumStatusCode; /** * details is an optional field which can be used to provide more details about the error. * * @generated from field: optional string details = 2; */ details?: string | undefined; }; /** * Describes the message wg.cosmo.node.v1.Response. * Use `create(ResponseSchema)` to create a new message. */ export declare const ResponseSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.ResponseStatus */ export type ResponseStatus = Message<"wg.cosmo.node.v1.ResponseStatus"> & { /** * @generated from field: int32 code = 1; */ code: number; /** * @generated from field: string message = 2; */ message: string; }; /** * Describes the message wg.cosmo.node.v1.ResponseStatus. * Use `create(ResponseStatusSchema)` to create a new message. */ export declare const ResponseStatusSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.RegistrationInfo */ export type RegistrationInfo = Message<"wg.cosmo.node.v1.RegistrationInfo"> & { /** * @generated from field: wg.cosmo.node.v1.AccountLimits account_limits = 1; */ accountLimits?: AccountLimits | undefined; /** * @generated from field: string graph_public_key = 2; */ graphPublicKey: string; }; /** * Describes the message wg.cosmo.node.v1.RegistrationInfo. * Use `create(RegistrationInfoSchema)` to create a new message. */ export declare const RegistrationInfoSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.AccountLimits */ export type AccountLimits = Message<"wg.cosmo.node.v1.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; }; /** * Describes the message wg.cosmo.node.v1.AccountLimits. * Use `create(AccountLimitsSchema)` to create a new message. */ export declare const AccountLimitsSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.SelfRegisterRequest */ export type SelfRegisterRequest = Message<"wg.cosmo.node.v1.SelfRegisterRequest"> & {}; /** * Describes the message wg.cosmo.node.v1.SelfRegisterRequest. * Use `create(SelfRegisterRequestSchema)` to create a new message. */ export declare const SelfRegisterRequestSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.SelfRegisterResponse */ export type SelfRegisterResponse = Message<"wg.cosmo.node.v1.SelfRegisterResponse"> & { /** * @generated from field: wg.cosmo.node.v1.Response response = 1; */ response?: Response | undefined; /** * @generated from field: optional wg.cosmo.node.v1.RegistrationInfo registrationInfo = 2; */ registrationInfo?: RegistrationInfo | undefined; }; /** * Describes the message wg.cosmo.node.v1.SelfRegisterResponse. * Use `create(SelfRegisterResponseSchema)` to create a new message. */ export declare const SelfRegisterResponseSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.EngineConfiguration */ export type EngineConfiguration = Message<"wg.cosmo.node.v1.EngineConfiguration"> & { /** * @generated from field: int64 defaultFlushInterval = 1; */ defaultFlushInterval: bigint; /** * @generated from field: repeated wg.cosmo.node.v1.DataSourceConfiguration datasource_configurations = 2; */ datasourceConfigurations: DataSourceConfiguration[]; /** * @generated from field: repeated wg.cosmo.node.v1.FieldConfiguration field_configurations = 3; */ fieldConfigurations: FieldConfiguration[]; /** * @generated from field: string graphqlSchema = 4; */ graphqlSchema: string; /** * @generated from field: repeated wg.cosmo.node.v1.TypeConfiguration type_configurations = 5; */ typeConfigurations: TypeConfiguration[]; /** * @generated from field: map string_storage = 6; */ stringStorage: { [key: string]: string; }; /** * @generated from field: optional string graphql_client_schema = 7; */ graphqlClientSchema?: string | undefined; }; /** * Describes the message wg.cosmo.node.v1.EngineConfiguration. * Use `create(EngineConfigurationSchema)` to create a new message. */ export declare const EngineConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.DataSourceConfiguration */ export type DataSourceConfiguration = Message<"wg.cosmo.node.v1.DataSourceConfiguration"> & { /** * @generated from field: wg.cosmo.node.v1.DataSourceKind kind = 1; */ kind: DataSourceKind; /** * @generated from field: repeated wg.cosmo.node.v1.TypeField root_nodes = 2; */ rootNodes: TypeField[]; /** * @generated from field: repeated wg.cosmo.node.v1.TypeField child_nodes = 3; */ childNodes: TypeField[]; /** * @generated from field: bool override_field_path_from_alias = 4; */ overrideFieldPathFromAlias: boolean; /** * @generated from field: wg.cosmo.node.v1.DataSourceCustom_GraphQL custom_graphql = 5; */ customGraphql?: DataSourceCustom_GraphQL | undefined; /** * @generated from field: wg.cosmo.node.v1.DataSourceCustom_Static custom_static = 6; */ customStatic?: DataSourceCustom_Static | undefined; /** * @generated from field: repeated wg.cosmo.node.v1.DirectiveConfiguration directives = 7; */ directives: DirectiveConfiguration[]; /** * @generated from field: int64 request_timeout_seconds = 8; */ requestTimeoutSeconds: bigint; /** * @generated from field: string id = 9; */ id: string; /** * @generated from field: repeated wg.cosmo.node.v1.RequiredField keys = 10; */ 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[]; /** * @generated from field: wg.cosmo.node.v1.DataSourceCustomEvents custom_events = 13; */ customEvents?: DataSourceCustomEvents | undefined; /** * @generated from field: repeated wg.cosmo.node.v1.EntityInterfaceConfiguration entity_interfaces = 14; */ entityInterfaces: EntityInterfaceConfiguration[]; /** * @generated from field: repeated wg.cosmo.node.v1.EntityInterfaceConfiguration interface_objects = 15; */ interfaceObjects: EntityInterfaceConfiguration[]; /** * @generated from field: wg.cosmo.node.v1.CostConfiguration cost_configuration = 16; */ costConfiguration?: CostConfiguration | undefined; /** * Entity caching configuration (e.g. request-scoped fields from @openfed__requestScoped). * * @generated from field: wg.cosmo.node.v1.EntityCachingConfiguration entity_caching_configuration = 17; */ entityCachingConfiguration?: EntityCachingConfiguration | undefined; }; /** * Describes the message wg.cosmo.node.v1.DataSourceConfiguration. * Use `create(DataSourceConfigurationSchema)` to create a new message. */ export declare const DataSourceConfigurationSchema: GenMessage; /** * Entity caching configuration for a subgraph data source. * * @generated from message wg.cosmo.node.v1.EntityCachingConfiguration */ export type EntityCachingConfiguration = Message<"wg.cosmo.node.v1.EntityCachingConfiguration"> & { /** * Per-entity cache configurations (from @openfed__entityCache directive) * * @generated from field: repeated wg.cosmo.node.v1.EntityCacheConfiguration entity_cache_configurations = 1; */ entityCacheConfigurations: EntityCacheConfiguration[]; /** * Per-Mutation/Subscription-field cache eviction configs (from @openfed__cacheInvalidate) * * @generated from field: repeated wg.cosmo.node.v1.CacheInvalidateConfiguration cache_invalidate_configurations = 2; */ cacheInvalidateConfigurations: CacheInvalidateConfiguration[]; /** * Per-Mutation/Subscription-field cache population configs (from @openfed__cachePopulate) * * @generated from field: repeated wg.cosmo.node.v1.CachePopulateConfiguration cache_populate_configurations = 3; */ cachePopulateConfigurations: CachePopulateConfiguration[]; }; /** * Describes the message wg.cosmo.node.v1.EntityCachingConfiguration. * Use `create(EntityCachingConfigurationSchema)` to create a new message. */ export declare const EntityCachingConfigurationSchema: GenMessage; /** * Per-entity declaration for @openfed__entityCache. Marks a @key entity type as cacheable so the * router can store/serve resolved entities from an external store (e.g. Redis). * * @generated from message wg.cosmo.node.v1.EntityCacheConfiguration */ export type EntityCacheConfiguration = Message<"wg.cosmo.node.v1.EntityCacheConfiguration"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * TTL for cached entity values. Required: composition rejects values <= 0, * so omit (zero) does not occur in practice. Interpreted in seconds. * * @generated from field: int64 max_age_seconds = 2; */ maxAgeSeconds: bigint; /** * @generated from field: bool include_headers = 3; */ includeHeaders: boolean; /** * @generated from field: bool partial_cache_load = 4; */ partialCacheLoad: boolean; /** * @generated from field: bool shadow_mode = 5; */ shadowMode: boolean; /** * TTL for caching "not found" entity responses (entity returned null from * _entities without errors). Omit or 0 disables negative caching and null * responses are not cached. Positive values are seconds. Composition rejects * negative values at schema validation time. * * @generated from field: int64 not_found_cache_ttl_seconds = 6; */ notFoundCacheTtlSeconds: bigint; }; /** * Describes the message wg.cosmo.node.v1.EntityCacheConfiguration. * Use `create(EntityCacheConfigurationSchema)` to create a new message. */ export declare const EntityCacheConfigurationSchema: GenMessage; /** * Per-field declaration for @openfed__cacheInvalidate. Tells the router to evict the returned * entity from the cache after the (Mutation/Subscription) operation completes. * * @generated from message wg.cosmo.node.v1.CacheInvalidateConfiguration */ export type CacheInvalidateConfiguration = Message<"wg.cosmo.node.v1.CacheInvalidateConfiguration"> & { /** * @generated from field: string field_name = 1; */ fieldName: string; /** * @generated from field: string operation_type = 2; */ operationType: string; /** * @generated from field: string entity_type_name = 3; */ entityTypeName: string; }; /** * Describes the message wg.cosmo.node.v1.CacheInvalidateConfiguration. * Use `create(CacheInvalidateConfigurationSchema)` to create a new message. */ export declare const CacheInvalidateConfigurationSchema: GenMessage; /** * Per-field declaration for @openfed__cachePopulate. Tells the router to populate the entity cache * with the (Mutation/Subscription) operation's return value. * * @generated from message wg.cosmo.node.v1.CachePopulateConfiguration */ export type CachePopulateConfiguration = Message<"wg.cosmo.node.v1.CachePopulateConfiguration"> & { /** * @generated from field: string field_name = 1; */ fieldName: string; /** * @generated from field: string operation_type = 2; */ operationType: string; /** * @generated from field: int64 max_age_seconds = 3; */ maxAgeSeconds: bigint; /** * @generated from field: string entity_type_name = 4; */ entityTypeName: string; }; /** * Describes the message wg.cosmo.node.v1.CachePopulateConfiguration. * Use `create(CachePopulateConfigurationSchema)` to create a new message. */ export declare const CachePopulateConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.CostConfiguration */ export type CostConfiguration = Message<"wg.cosmo.node.v1.CostConfiguration"> & { /** * @generated from field: repeated wg.cosmo.node.v1.FieldWeightConfiguration field_weights = 1; */ fieldWeights: FieldWeightConfiguration[]; /** * @generated from field: repeated wg.cosmo.node.v1.FieldListSizeConfiguration list_sizes = 2; */ listSizes: FieldListSizeConfiguration[]; /** * @generated from field: map type_weights = 3; */ typeWeights: { [key: string]: number; }; /** * @generated from field: map directive_argument_weights = 4; */ directiveArgumentWeights: { [key: string]: number; }; }; /** * Describes the message wg.cosmo.node.v1.CostConfiguration. * Use `create(CostConfigurationSchema)` to create a new message. */ export declare const CostConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FieldWeightConfiguration */ export type FieldWeightConfiguration = Message<"wg.cosmo.node.v1.FieldWeightConfiguration"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: string field_name = 2; */ fieldName: string; /** * @generated from field: optional int32 weight = 3; */ weight?: number | undefined; /** * @generated from field: map argument_weights = 4; */ argumentWeights: { [key: string]: number; }; /** * @generated from field: map directive_argument_weights = 5; */ directiveArgumentWeights: { [key: string]: number; }; }; /** * Describes the message wg.cosmo.node.v1.FieldWeightConfiguration. * Use `create(FieldWeightConfigurationSchema)` to create a new message. */ export declare const FieldWeightConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FieldListSizeConfiguration */ export type FieldListSizeConfiguration = Message<"wg.cosmo.node.v1.FieldListSizeConfiguration"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: string field_name = 2; */ fieldName: string; /** * @generated from field: optional int32 assumed_size = 3; */ assumedSize?: number | undefined; /** * @generated from field: repeated string slicing_arguments = 4; */ slicingArguments: string[]; /** * @generated from field: repeated string sized_fields = 5; */ sizedFields: string[]; /** * @generated from field: optional bool require_one_slicing_argument = 6; */ requireOneSlicingArgument?: boolean | undefined; }; /** * Describes the message wg.cosmo.node.v1.FieldListSizeConfiguration. * Use `create(FieldListSizeConfigurationSchema)` to create a new message. */ export declare const FieldListSizeConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.ArgumentConfiguration */ export type ArgumentConfiguration = Message<"wg.cosmo.node.v1.ArgumentConfiguration"> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: wg.cosmo.node.v1.ArgumentSource source_type = 2; */ sourceType: ArgumentSource; }; /** * Describes the message wg.cosmo.node.v1.ArgumentConfiguration. * Use `create(ArgumentConfigurationSchema)` to create a new message. */ export declare const ArgumentConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.Scopes */ export type Scopes = Message<"wg.cosmo.node.v1.Scopes"> & { /** * @generated from field: repeated string required_and_scopes = 1; */ requiredAndScopes: string[]; }; /** * Describes the message wg.cosmo.node.v1.Scopes. * Use `create(ScopesSchema)` to create a new message. */ export declare const ScopesSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.AuthorizationConfiguration */ export type AuthorizationConfiguration = Message<"wg.cosmo.node.v1.AuthorizationConfiguration"> & { /** * @generated from field: bool requires_authentication = 1; */ requiresAuthentication: boolean; /** * @generated from field: repeated wg.cosmo.node.v1.Scopes required_or_scopes = 2; */ requiredOrScopes: Scopes[]; /** * @generated from field: repeated wg.cosmo.node.v1.Scopes required_or_scopes_by_or = 3; */ requiredOrScopesByOr: Scopes[]; }; /** * Describes the message wg.cosmo.node.v1.AuthorizationConfiguration. * Use `create(AuthorizationConfigurationSchema)` to create a new message. */ export declare const AuthorizationConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FieldConfiguration */ export type FieldConfiguration = Message<"wg.cosmo.node.v1.FieldConfiguration"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: string field_name = 2; */ fieldName: string; /** * @generated from field: repeated wg.cosmo.node.v1.ArgumentConfiguration arguments_configuration = 3; */ argumentsConfiguration: ArgumentConfiguration[]; /** * @generated from field: wg.cosmo.node.v1.AuthorizationConfiguration authorization_configuration = 4; */ authorizationConfiguration?: AuthorizationConfiguration | undefined; /** * @generated from field: optional wg.cosmo.node.v1.SubscriptionFilterCondition subscription_filter_condition = 5; */ subscriptionFilterCondition?: SubscriptionFilterCondition | undefined; }; /** * Describes the message wg.cosmo.node.v1.FieldConfiguration. * Use `create(FieldConfigurationSchema)` to create a new message. */ export declare const FieldConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.TypeConfiguration */ export type TypeConfiguration = Message<"wg.cosmo.node.v1.TypeConfiguration"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: string rename_to = 2; */ renameTo: string; }; /** * Describes the message wg.cosmo.node.v1.TypeConfiguration. * Use `create(TypeConfigurationSchema)` to create a new message. */ export declare const TypeConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.TypeField */ export type TypeField = Message<"wg.cosmo.node.v1.TypeField"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: repeated string field_names = 2; */ fieldNames: string[]; /** * @generated from field: repeated string external_field_names = 3; */ externalFieldNames: string[]; /** * @generated from field: repeated string require_fetch_reasons_field_names = 4; */ requireFetchReasonsFieldNames: string[]; }; /** * Describes the message wg.cosmo.node.v1.TypeField. * Use `create(TypeFieldSchema)` to create a new message. */ export declare const TypeFieldSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FieldCoordinates */ export type FieldCoordinates = Message<"wg.cosmo.node.v1.FieldCoordinates"> & { /** * @generated from field: string field_name = 1; */ fieldName: string; /** * @generated from field: string type_name = 2; */ typeName: string; }; /** * Describes the message wg.cosmo.node.v1.FieldCoordinates. * Use `create(FieldCoordinatesSchema)` to create a new message. */ export declare const FieldCoordinatesSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FieldSetCondition */ export type FieldSetCondition = Message<"wg.cosmo.node.v1.FieldSetCondition"> & { /** * @generated from field: repeated wg.cosmo.node.v1.FieldCoordinates field_coordinates_path = 1; */ fieldCoordinatesPath: FieldCoordinates[]; /** * @generated from field: repeated string field_path = 2; */ fieldPath: string[]; }; /** * Describes the message wg.cosmo.node.v1.FieldSetCondition. * Use `create(FieldSetConditionSchema)` to create a new message. */ export declare const FieldSetConditionSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.RequiredField */ export type RequiredField = Message<"wg.cosmo.node.v1.RequiredField"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: string field_name = 2; */ fieldName: string; /** * @generated from field: string selection_set = 3; */ selectionSet: string; /** * @generated from field: bool disable_entity_resolver = 4; */ disableEntityResolver: boolean; /** * @generated from field: repeated wg.cosmo.node.v1.FieldSetCondition conditions = 5; */ conditions: FieldSetCondition[]; }; /** * Describes the message wg.cosmo.node.v1.RequiredField. * Use `create(RequiredFieldSchema)` to create a new message. */ export declare const RequiredFieldSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.EntityInterfaceConfiguration */ export type EntityInterfaceConfiguration = Message<"wg.cosmo.node.v1.EntityInterfaceConfiguration"> & { /** * @generated from field: string interface_type_name = 1; */ interfaceTypeName: string; /** * @generated from field: repeated string concrete_type_names = 2; */ concreteTypeNames: string[]; }; /** * Describes the message wg.cosmo.node.v1.EntityInterfaceConfiguration. * Use `create(EntityInterfaceConfigurationSchema)` to create a new message. */ export declare const EntityInterfaceConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.FetchConfiguration */ export type FetchConfiguration = Message<"wg.cosmo.node.v1.FetchConfiguration"> & { /** * You should either configure url OR a combination of baseURL and path * If url resolves to a non empty string, it takes precedence over baseURL and path * If url resolves to an empty string, the url will be configured as "{{baseURL}}{{path}}" * * @generated from field: wg.cosmo.node.v1.ConfigurationVariable url = 1; */ url?: ConfigurationVariable | undefined; /** * @generated from field: wg.cosmo.node.v1.HTTPMethod method = 2; */ method: HTTPMethod; /** * @generated from field: map header = 3; */ header: { [key: string]: HTTPHeader; }; /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable body = 4; */ body?: ConfigurationVariable | undefined; /** * @generated from field: repeated wg.cosmo.node.v1.URLQueryConfiguration query = 5; */ query: URLQueryConfiguration[]; /** * urlEncodeBody defines whether the body should be URL encoded or not * by default, the body will be JSON encoded * setting urlEncodeBody to true will render the body empty, * the Header Content-Type will be set to application/x-www-form-urlencoded, * and the body will be URL encoded and set as the URL Query String * * @generated from field: bool url_encode_body = 7; */ urlEncodeBody: boolean; /** * @generated from field: wg.cosmo.node.v1.MTLSConfiguration mtls = 8; */ mtls?: MTLSConfiguration | undefined; /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable base_url = 9; */ baseUrl?: ConfigurationVariable | undefined; /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable path = 10; */ path?: ConfigurationVariable | undefined; /** * @generated from field: optional wg.cosmo.node.v1.ConfigurationVariable http_proxy_url = 11; */ httpProxyUrl?: ConfigurationVariable | undefined; }; /** * Describes the message wg.cosmo.node.v1.FetchConfiguration. * Use `create(FetchConfigurationSchema)` to create a new message. */ export declare const FetchConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.StatusCodeTypeMapping */ export type StatusCodeTypeMapping = Message<"wg.cosmo.node.v1.StatusCodeTypeMapping"> & { /** * @generated from field: int64 status_code = 1; */ statusCode: bigint; /** * @generated from field: string type_name = 2; */ typeName: string; /** * @generated from field: bool inject_status_code_into_body = 3; */ injectStatusCodeIntoBody: boolean; }; /** * Describes the message wg.cosmo.node.v1.StatusCodeTypeMapping. * Use `create(StatusCodeTypeMappingSchema)` to create a new message. */ export declare const StatusCodeTypeMappingSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.DataSourceCustom_GraphQL */ export type DataSourceCustom_GraphQL = Message<"wg.cosmo.node.v1.DataSourceCustom_GraphQL"> & { /** * @generated from field: wg.cosmo.node.v1.FetchConfiguration fetch = 1; */ fetch?: FetchConfiguration | undefined; /** * @generated from field: wg.cosmo.node.v1.GraphQLSubscriptionConfiguration subscription = 2; */ subscription?: GraphQLSubscriptionConfiguration | undefined; /** * @generated from field: wg.cosmo.node.v1.GraphQLFederationConfiguration federation = 3; */ federation?: GraphQLFederationConfiguration | undefined; /** * @generated from field: wg.cosmo.node.v1.InternedString upstream_schema = 4; */ upstreamSchema?: InternedString | undefined; /** * @generated from field: repeated wg.cosmo.node.v1.SingleTypeField custom_scalar_type_fields = 6; */ customScalarTypeFields: SingleTypeField[]; /** * @generated from field: wg.cosmo.node.v1.GRPCConfiguration grpc = 7; */ grpc?: GRPCConfiguration | undefined; }; /** * Describes the message wg.cosmo.node.v1.DataSourceCustom_GraphQL. * Use `create(DataSourceCustom_GraphQLSchema)` to create a new message. */ export declare const DataSourceCustom_GraphQLSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.GRPCConfiguration */ export type GRPCConfiguration = Message<"wg.cosmo.node.v1.GRPCConfiguration"> & { /** * @generated from field: wg.cosmo.node.v1.GRPCMapping mapping = 1; */ mapping?: GRPCMapping | undefined; /** * @generated from field: string proto_schema = 2; */ protoSchema: string; /** * @generated from field: wg.cosmo.node.v1.PluginConfiguration plugin = 3; */ plugin?: PluginConfiguration | undefined; }; /** * Describes the message wg.cosmo.node.v1.GRPCConfiguration. * Use `create(GRPCConfigurationSchema)` to create a new message. */ export declare const GRPCConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.ImageReference */ export type ImageReference = Message<"wg.cosmo.node.v1.ImageReference"> & { /** * {organization_id}/{subgraph_id} * * @generated from field: string repository = 1; */ repository: string; /** * v1 * * @generated from field: string reference = 2; */ reference: string; }; /** * Describes the message wg.cosmo.node.v1.ImageReference. * Use `create(ImageReferenceSchema)` to create a new message. */ export declare const ImageReferenceSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.PluginConfiguration */ export type PluginConfiguration = Message<"wg.cosmo.node.v1.PluginConfiguration"> & { /** * Plugin name * * @generated from field: string name = 1; */ name: string; /** * Plugin version * * @generated from field: string version = 2; */ version: string; /** * @generated from field: optional wg.cosmo.node.v1.ImageReference image_reference = 3; */ imageReference?: ImageReference | undefined; }; /** * Describes the message wg.cosmo.node.v1.PluginConfiguration. * Use `create(PluginConfigurationSchema)` to create a new message. */ export declare const PluginConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.SSLConfiguration */ export type SSLConfiguration = Message<"wg.cosmo.node.v1.SSLConfiguration"> & { /** * Whether SSL is enabled * * @generated from field: bool enabled = 1; */ enabled: boolean; }; /** * Describes the message wg.cosmo.node.v1.SSLConfiguration. * Use `create(SSLConfigurationSchema)` to create a new message. */ export declare const SSLConfigurationSchema: GenMessage; /** * Defines mapping for a gRPC service * * @generated from message wg.cosmo.node.v1.GRPCMapping */ export type GRPCMapping = Message<"wg.cosmo.node.v1.GRPCMapping"> & { /** * Version of the mapping format * * @generated from field: int32 version = 1; */ version: number; /** * The main gRPC service name * * @generated from field: string service = 2; */ service: string; /** * Mappings for GraphQL operations to gRPC RPCs * * @generated from field: repeated wg.cosmo.node.v1.OperationMapping operation_mappings = 3; */ operationMappings: OperationMapping[]; /** * Mappings for GraphQL entities to gRPC service methods * * @generated from field: repeated wg.cosmo.node.v1.EntityMapping entity_mappings = 4; */ entityMappings: EntityMapping[]; /** * Mappings for GraphQL type fields to gRPC message fields * * @generated from field: repeated wg.cosmo.node.v1.TypeFieldMapping type_field_mappings = 5; */ typeFieldMappings: TypeFieldMapping[]; /** * Mappings for GraphQL enum values to gRPC enum values * * @generated from field: repeated wg.cosmo.node.v1.EnumMapping enum_mappings = 6; */ enumMappings: EnumMapping[]; /** * Mappings for GraphQL resolve operations to gRPC service methods * * @generated from field: repeated wg.cosmo.node.v1.LookupMapping resolve_mappings = 7; */ resolveMappings: LookupMapping[]; }; /** * Describes the message wg.cosmo.node.v1.GRPCMapping. * Use `create(GRPCMappingSchema)` to create a new message. */ export declare const GRPCMappingSchema: GenMessage; /** * Defines mapping for a lookup operation * * @generated from message wg.cosmo.node.v1.LookupMapping */ export type LookupMapping = Message<"wg.cosmo.node.v1.LookupMapping"> & { /** * Type of lookup operation * * @generated from field: wg.cosmo.node.v1.LookupType type = 1; */ type: LookupType; /** * Mappings for GraphQL type fields to gRPC message fields * * @generated from field: wg.cosmo.node.v1.LookupFieldMapping lookup_mapping = 2; */ lookupMapping?: LookupFieldMapping | undefined; /** * Mapped gRPC method name * * @generated from field: string rpc = 3; */ rpc: string; /** * Mapped gRPC request message type name * * @generated from field: string request = 4; */ request: string; /** * Mapped gRPC response message type name * * @generated from field: string response = 5; */ response: string; }; /** * Describes the message wg.cosmo.node.v1.LookupMapping. * Use `create(LookupMappingSchema)` to create a new message. */ export declare const LookupMappingSchema: GenMessage; /** * Defines mapping for a lookup field * * @generated from message wg.cosmo.node.v1.LookupFieldMapping */ export type LookupFieldMapping = Message<"wg.cosmo.node.v1.LookupFieldMapping"> & { /** * GraphQL type name * * @generated from field: string type = 1; */ type: string; /** * Mapping for the lookup field * * @generated from field: wg.cosmo.node.v1.FieldMapping field_mapping = 2; */ fieldMapping?: FieldMapping | undefined; }; /** * Describes the message wg.cosmo.node.v1.LookupFieldMapping. * Use `create(LookupFieldMappingSchema)` to create a new message. */ export declare const LookupFieldMappingSchema: GenMessage; /** * Defines mapping between a GraphQL operation and a gRPC method * * @generated from message wg.cosmo.node.v1.OperationMapping */ export type OperationMapping = Message<"wg.cosmo.node.v1.OperationMapping"> & { /** * GraphQL operation type: Query, Mutation, or Subscription * * @generated from field: wg.cosmo.node.v1.OperationType type = 1; */ type: OperationType; /** * Original GraphQL field name * * @generated from field: string original = 2; */ original: string; /** * Mapped gRPC method name * * @generated from field: string mapped = 3; */ mapped: string; /** * gRPC request message type name * * @generated from field: string request = 4; */ request: string; /** * gRPC response message type name * * @generated from field: string response = 5; */ response: string; }; /** * Describes the message wg.cosmo.node.v1.OperationMapping. * Use `create(OperationMappingSchema)` to create a new message. */ export declare const OperationMappingSchema: GenMessage; /** * Defines mapping for entity resolution * * @generated from message wg.cosmo.node.v1.EntityMapping */ export type EntityMapping = Message<"wg.cosmo.node.v1.EntityMapping"> & { /** * GraphQL type name * * @generated from field: string type_name = 1; */ typeName: string; /** * Kind of entity mapping: "entity", "requires", or "with_arguments" * * @generated from field: string kind = 2; */ kind: string; /** * Key field that uniquely identifies the entity * * @generated from field: string key = 3; */ key: string; /** * gRPC method name for entity resolution * * @generated from field: string rpc = 4; */ rpc: string; /** * gRPC request message type name * * @generated from field: string request = 5; */ request: string; /** * gRPC response message type name * * @generated from field: string response = 6; */ response: string; /** * Mappings for required fields * * @generated from field: repeated wg.cosmo.node.v1.RequiredFieldMapping required_field_mappings = 7; */ requiredFieldMappings: RequiredFieldMapping[]; }; /** * Describes the message wg.cosmo.node.v1.EntityMapping. * Use `create(EntityMappingSchema)` to create a new message. */ export declare const EntityMappingSchema: GenMessage; /** * Defines mapping for required fields * * @generated from message wg.cosmo.node.v1.RequiredFieldMapping */ export type RequiredFieldMapping = Message<"wg.cosmo.node.v1.RequiredFieldMapping"> & { /** * @generated from field: wg.cosmo.node.v1.FieldMapping field_mapping = 1; */ fieldMapping?: FieldMapping | undefined; /** * Mapped gRPC method name * * @generated from field: string rpc = 2; */ rpc: string; /** * gRPC request message type name * * @generated from field: string request = 3; */ request: string; /** * gRPC response message type name * * @generated from field: string response = 4; */ response: string; }; /** * Describes the message wg.cosmo.node.v1.RequiredFieldMapping. * Use `create(RequiredFieldMappingSchema)` to create a new message. */ export declare const RequiredFieldMappingSchema: GenMessage; /** * Defines mapping between GraphQL type fields and gRPC message fields * * @generated from message wg.cosmo.node.v1.TypeFieldMapping */ export type TypeFieldMapping = Message<"wg.cosmo.node.v1.TypeFieldMapping"> & { /** * GraphQL type name * * @generated from field: string type = 1; */ type: string; /** * Mappings for each field in the type * * @generated from field: repeated wg.cosmo.node.v1.FieldMapping field_mappings = 2; */ fieldMappings: FieldMapping[]; }; /** * Describes the message wg.cosmo.node.v1.TypeFieldMapping. * Use `create(TypeFieldMappingSchema)` to create a new message. */ export declare const TypeFieldMappingSchema: GenMessage; /** * Defines mapping for a single field * * @generated from message wg.cosmo.node.v1.FieldMapping */ export type FieldMapping = Message<"wg.cosmo.node.v1.FieldMapping"> & { /** * Original GraphQL field name * * @generated from field: string original = 1; */ original: string; /** * Mapped gRPC field name * * @generated from field: string mapped = 2; */ mapped: string; /** * Mappings for field arguments * * @generated from field: repeated wg.cosmo.node.v1.ArgumentMapping argument_mappings = 3; */ argumentMappings: ArgumentMapping[]; }; /** * Describes the message wg.cosmo.node.v1.FieldMapping. * Use `create(FieldMappingSchema)` to create a new message. */ export declare const FieldMappingSchema: GenMessage; /** * Defines mapping for a field argument * * @generated from message wg.cosmo.node.v1.ArgumentMapping */ export type ArgumentMapping = Message<"wg.cosmo.node.v1.ArgumentMapping"> & { /** * Original GraphQL argument name * * @generated from field: string original = 1; */ original: string; /** * Mapped gRPC field name * * @generated from field: string mapped = 2; */ mapped: string; }; /** * Describes the message wg.cosmo.node.v1.ArgumentMapping. * Use `create(ArgumentMappingSchema)` to create a new message. */ export declare const ArgumentMappingSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.EnumMapping */ export type EnumMapping = Message<"wg.cosmo.node.v1.EnumMapping"> & { /** * @generated from field: string type = 1; */ type: string; /** * @generated from field: repeated wg.cosmo.node.v1.EnumValueMapping values = 2; */ values: EnumValueMapping[]; }; /** * Describes the message wg.cosmo.node.v1.EnumMapping. * Use `create(EnumMappingSchema)` to create a new message. */ export declare const EnumMappingSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.EnumValueMapping */ export type EnumValueMapping = Message<"wg.cosmo.node.v1.EnumValueMapping"> & { /** * @generated from field: string original = 1; */ original: string; /** * @generated from field: string mapped = 2; */ mapped: string; }; /** * Describes the message wg.cosmo.node.v1.EnumValueMapping. * Use `create(EnumValueMappingSchema)` to create a new message. */ export declare const EnumValueMappingSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.NatsStreamConfiguration */ export type NatsStreamConfiguration = Message<"wg.cosmo.node.v1.NatsStreamConfiguration"> & { /** * @generated from field: string consumer_name = 1; */ consumerName: string; /** * @generated from field: string stream_name = 2; */ streamName: string; /** * @generated from field: int32 consumer_inactive_threshold = 3; */ consumerInactiveThreshold: number; }; /** * Describes the message wg.cosmo.node.v1.NatsStreamConfiguration. * Use `create(NatsStreamConfigurationSchema)` to create a new message. */ export declare const NatsStreamConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.NatsEventConfiguration */ export type NatsEventConfiguration = Message<"wg.cosmo.node.v1.NatsEventConfiguration"> & { /** * @generated from field: wg.cosmo.node.v1.EngineEventConfiguration engine_event_configuration = 1; */ engineEventConfiguration?: EngineEventConfiguration | undefined; /** * @generated from field: repeated string subjects = 2; */ subjects: string[]; /** * @generated from field: wg.cosmo.node.v1.NatsStreamConfiguration stream_configuration = 3; */ streamConfiguration?: NatsStreamConfiguration | undefined; }; /** * Describes the message wg.cosmo.node.v1.NatsEventConfiguration. * Use `create(NatsEventConfigurationSchema)` to create a new message. */ export declare const NatsEventConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.KafkaEventConfiguration */ export type KafkaEventConfiguration = Message<"wg.cosmo.node.v1.KafkaEventConfiguration"> & { /** * @generated from field: wg.cosmo.node.v1.EngineEventConfiguration engine_event_configuration = 1; */ engineEventConfiguration?: EngineEventConfiguration | undefined; /** * @generated from field: repeated string topics = 2; */ topics: string[]; }; /** * Describes the message wg.cosmo.node.v1.KafkaEventConfiguration. * Use `create(KafkaEventConfigurationSchema)` to create a new message. */ export declare const KafkaEventConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.RedisEventConfiguration */ export type RedisEventConfiguration = Message<"wg.cosmo.node.v1.RedisEventConfiguration"> & { /** * @generated from field: wg.cosmo.node.v1.EngineEventConfiguration engine_event_configuration = 1; */ engineEventConfiguration?: EngineEventConfiguration | undefined; /** * @generated from field: repeated string channels = 2; */ channels: string[]; }; /** * Describes the message wg.cosmo.node.v1.RedisEventConfiguration. * Use `create(RedisEventConfigurationSchema)` to create a new message. */ export declare const RedisEventConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.EngineEventConfiguration */ export type EngineEventConfiguration = Message<"wg.cosmo.node.v1.EngineEventConfiguration"> & { /** * @generated from field: string provider_id = 1; */ providerId: string; /** * @generated from field: wg.cosmo.node.v1.EventType type = 2; */ type: EventType; /** * @generated from field: string type_name = 3; */ typeName: string; /** * @generated from field: string field_name = 4; */ fieldName: string; }; /** * Describes the message wg.cosmo.node.v1.EngineEventConfiguration. * Use `create(EngineEventConfigurationSchema)` to create a new message. */ export declare const EngineEventConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.DataSourceCustomEvents */ export type DataSourceCustomEvents = Message<"wg.cosmo.node.v1.DataSourceCustomEvents"> & { /** * @generated from field: repeated wg.cosmo.node.v1.NatsEventConfiguration nats = 1; */ nats: NatsEventConfiguration[]; /** * @generated from field: repeated wg.cosmo.node.v1.KafkaEventConfiguration kafka = 2; */ kafka: KafkaEventConfiguration[]; /** * @generated from field: repeated wg.cosmo.node.v1.RedisEventConfiguration redis = 3; */ redis: RedisEventConfiguration[]; }; /** * Describes the message wg.cosmo.node.v1.DataSourceCustomEvents. * Use `create(DataSourceCustomEventsSchema)` to create a new message. */ export declare const DataSourceCustomEventsSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.DataSourceCustom_Static */ export type DataSourceCustom_Static = Message<"wg.cosmo.node.v1.DataSourceCustom_Static"> & { /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable data = 1; */ data?: ConfigurationVariable | undefined; }; /** * Describes the message wg.cosmo.node.v1.DataSourceCustom_Static. * Use `create(DataSourceCustom_StaticSchema)` to create a new message. */ export declare const DataSourceCustom_StaticSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.ConfigurationVariable */ export type ConfigurationVariable = Message<"wg.cosmo.node.v1.ConfigurationVariable"> & { /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariableKind kind = 1; */ kind: ConfigurationVariableKind; /** * @generated from field: string static_variable_content = 2; */ staticVariableContent: string; /** * @generated from field: string environment_variable_name = 3; */ environmentVariableName: string; /** * @generated from field: string environment_variable_default_value = 4; */ environmentVariableDefaultValue: string; /** * @generated from field: string placeholder_variable_name = 5; */ placeholderVariableName: string; }; /** * Describes the message wg.cosmo.node.v1.ConfigurationVariable. * Use `create(ConfigurationVariableSchema)` to create a new message. */ export declare const ConfigurationVariableSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.DirectiveConfiguration */ export type DirectiveConfiguration = Message<"wg.cosmo.node.v1.DirectiveConfiguration"> & { /** * @generated from field: string directive_name = 1; */ directiveName: string; /** * @generated from field: string rename_to = 2; */ renameTo: string; }; /** * Describes the message wg.cosmo.node.v1.DirectiveConfiguration. * Use `create(DirectiveConfigurationSchema)` to create a new message. */ export declare const DirectiveConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.URLQueryConfiguration */ export type URLQueryConfiguration = Message<"wg.cosmo.node.v1.URLQueryConfiguration"> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string value = 2; */ value: string; }; /** * Describes the message wg.cosmo.node.v1.URLQueryConfiguration. * Use `create(URLQueryConfigurationSchema)` to create a new message. */ export declare const URLQueryConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.HTTPHeader */ export type HTTPHeader = Message<"wg.cosmo.node.v1.HTTPHeader"> & { /** * @generated from field: repeated wg.cosmo.node.v1.ConfigurationVariable values = 1; */ values: ConfigurationVariable[]; }; /** * Describes the message wg.cosmo.node.v1.HTTPHeader. * Use `create(HTTPHeaderSchema)` to create a new message. */ export declare const HTTPHeaderSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.MTLSConfiguration */ export type MTLSConfiguration = Message<"wg.cosmo.node.v1.MTLSConfiguration"> & { /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable key = 1; */ key?: ConfigurationVariable | undefined; /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable cert = 2; */ cert?: ConfigurationVariable | undefined; /** * @generated from field: bool insecureSkipVerify = 3; */ insecureSkipVerify: boolean; }; /** * Describes the message wg.cosmo.node.v1.MTLSConfiguration. * Use `create(MTLSConfigurationSchema)` to create a new message. */ export declare const MTLSConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.GraphQLSubscriptionConfiguration */ export type GraphQLSubscriptionConfiguration = Message<"wg.cosmo.node.v1.GraphQLSubscriptionConfiguration"> & { /** * @generated from field: bool enabled = 1; */ enabled: boolean; /** * @generated from field: wg.cosmo.node.v1.ConfigurationVariable url = 2; */ url?: ConfigurationVariable | undefined; /** * @deprecated - Kept for backwards compatibility when decoding. Use protocol instead. * * @generated from field: optional bool useSSE = 3; */ useSSE?: boolean | undefined; /** * @generated from field: optional wg.cosmo.common.GraphQLSubscriptionProtocol protocol = 4; */ protocol?: GraphQLSubscriptionProtocol | undefined; /** * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocketSubprotocol = 5; */ websocketSubprotocol?: GraphQLWebsocketSubprotocol | undefined; }; /** * Describes the message wg.cosmo.node.v1.GraphQLSubscriptionConfiguration. * Use `create(GraphQLSubscriptionConfigurationSchema)` to create a new message. */ export declare const GraphQLSubscriptionConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.GraphQLFederationConfiguration */ export type GraphQLFederationConfiguration = Message<"wg.cosmo.node.v1.GraphQLFederationConfiguration"> & { /** * @generated from field: bool enabled = 1; */ enabled: boolean; /** * @generated from field: string serviceSdl = 2; */ serviceSdl: string; }; /** * Describes the message wg.cosmo.node.v1.GraphQLFederationConfiguration. * Use `create(GraphQLFederationConfigurationSchema)` to create a new message. */ export declare const GraphQLFederationConfigurationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.InternedString */ export type InternedString = Message<"wg.cosmo.node.v1.InternedString"> & { /** * key to index into EngineConfiguration.stringStorage * * @generated from field: string key = 1; */ key: string; }; /** * Describes the message wg.cosmo.node.v1.InternedString. * Use `create(InternedStringSchema)` to create a new message. */ export declare const InternedStringSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.SingleTypeField */ export type SingleTypeField = Message<"wg.cosmo.node.v1.SingleTypeField"> & { /** * @generated from field: string type_name = 1; */ typeName: string; /** * @generated from field: string field_name = 2; */ fieldName: string; }; /** * Describes the message wg.cosmo.node.v1.SingleTypeField. * Use `create(SingleTypeFieldSchema)` to create a new message. */ export declare const SingleTypeFieldSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.SubscriptionFieldCondition */ export type SubscriptionFieldCondition = Message<"wg.cosmo.node.v1.SubscriptionFieldCondition"> & { /** * @generated from field: repeated string field_path = 1; */ fieldPath: string[]; /** * @generated from field: string json = 2; */ json: string; }; /** * Describes the message wg.cosmo.node.v1.SubscriptionFieldCondition. * Use `create(SubscriptionFieldConditionSchema)` to create a new message. */ export declare const SubscriptionFieldConditionSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.SubscriptionFilterCondition */ export type SubscriptionFilterCondition = Message<"wg.cosmo.node.v1.SubscriptionFilterCondition"> & { /** * @generated from field: repeated wg.cosmo.node.v1.SubscriptionFilterCondition and = 1; */ and: SubscriptionFilterCondition[]; /** * @generated from field: optional wg.cosmo.node.v1.SubscriptionFieldCondition in = 2; */ in?: SubscriptionFieldCondition | undefined; /** * @generated from field: optional wg.cosmo.node.v1.SubscriptionFilterCondition not = 3; */ not?: SubscriptionFilterCondition | undefined; /** * @generated from field: repeated wg.cosmo.node.v1.SubscriptionFilterCondition or = 4; */ or: SubscriptionFilterCondition[]; }; /** * Describes the message wg.cosmo.node.v1.SubscriptionFilterCondition. * Use `create(SubscriptionFilterConditionSchema)` to create a new message. */ export declare const SubscriptionFilterConditionSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.CacheWarmerOperations */ export type CacheWarmerOperations = Message<"wg.cosmo.node.v1.CacheWarmerOperations"> & { /** * @generated from field: repeated wg.cosmo.node.v1.Operation operations = 1; */ operations: Operation[]; }; /** * Describes the message wg.cosmo.node.v1.CacheWarmerOperations. * Use `create(CacheWarmerOperationsSchema)` to create a new message. */ export declare const CacheWarmerOperationsSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.Operation */ export type Operation = Message<"wg.cosmo.node.v1.Operation"> & { /** * @generated from field: wg.cosmo.node.v1.OperationRequest request = 1; */ request?: OperationRequest | undefined; /** * @generated from field: wg.cosmo.node.v1.ClientInfo client = 2; */ client?: ClientInfo | undefined; }; /** * Describes the message wg.cosmo.node.v1.Operation. * Use `create(OperationSchema)` to create a new message. */ export declare const OperationSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.OperationRequest */ export type OperationRequest = Message<"wg.cosmo.node.v1.OperationRequest"> & { /** * @generated from field: string operation_name = 1; */ operationName: string; /** * @generated from field: string query = 2; */ query: string; /** * @generated from field: wg.cosmo.node.v1.Extension extensions = 3; */ extensions?: Extension | undefined; }; /** * Describes the message wg.cosmo.node.v1.OperationRequest. * Use `create(OperationRequestSchema)` to create a new message. */ export declare const OperationRequestSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.Extension */ export type Extension = Message<"wg.cosmo.node.v1.Extension"> & { /** * @generated from field: wg.cosmo.node.v1.PersistedQuery persisted_query = 1; */ persistedQuery?: PersistedQuery | undefined; }; /** * Describes the message wg.cosmo.node.v1.Extension. * Use `create(ExtensionSchema)` to create a new message. */ export declare const ExtensionSchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.PersistedQuery */ export type PersistedQuery = Message<"wg.cosmo.node.v1.PersistedQuery"> & { /** * @generated from field: string sha256_hash = 1; */ sha256Hash: string; /** * @generated from field: int32 version = 2; */ version: number; }; /** * Describes the message wg.cosmo.node.v1.PersistedQuery. * Use `create(PersistedQuerySchema)` to create a new message. */ export declare const PersistedQuerySchema: GenMessage; /** * @generated from message wg.cosmo.node.v1.ClientInfo */ export type ClientInfo = Message<"wg.cosmo.node.v1.ClientInfo"> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string version = 2; */ version: string; }; /** * Describes the message wg.cosmo.node.v1.ClientInfo. * Use `create(ClientInfoSchema)` to create a new message. */ export declare const ClientInfoSchema: GenMessage; /** * @generated from enum wg.cosmo.node.v1.ArgumentRenderConfiguration */ export declare enum ArgumentRenderConfiguration { /** * @generated from enum value: RENDER_ARGUMENT_DEFAULT = 0; */ RENDER_ARGUMENT_DEFAULT = 0, /** * @generated from enum value: RENDER_ARGUMENT_AS_GRAPHQL_VALUE = 1; */ RENDER_ARGUMENT_AS_GRAPHQL_VALUE = 1, /** * @generated from enum value: RENDER_ARGUMENT_AS_ARRAY_CSV = 2; */ RENDER_ARGUMENT_AS_ARRAY_CSV = 2 } /** * Describes the enum wg.cosmo.node.v1.ArgumentRenderConfiguration. */ export declare const ArgumentRenderConfigurationSchema: GenEnum; /** * @generated from enum wg.cosmo.node.v1.ArgumentSource */ export declare enum ArgumentSource { /** * @generated from enum value: OBJECT_FIELD = 0; */ OBJECT_FIELD = 0, /** * @generated from enum value: FIELD_ARGUMENT = 1; */ FIELD_ARGUMENT = 1 } /** * Describes the enum wg.cosmo.node.v1.ArgumentSource. */ export declare const ArgumentSourceSchema: GenEnum; /** * @generated from enum wg.cosmo.node.v1.DataSourceKind */ export declare enum DataSourceKind { /** * @generated from enum value: STATIC = 0; */ STATIC = 0, /** * @generated from enum value: GRAPHQL = 1; */ GRAPHQL = 1, /** * @generated from enum value: PUBSUB = 2; */ PUBSUB = 2 } /** * Describes the enum wg.cosmo.node.v1.DataSourceKind. */ export declare const DataSourceKindSchema: GenEnum; /** * Defines the type of lookup operation * * @generated from enum wg.cosmo.node.v1.LookupType */ export declare enum LookupType { /** * Unspecified lookup type * * @generated from enum value: LOOKUP_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Lookup type for field resolution * * @generated from enum value: LOOKUP_TYPE_RESOLVE = 1; */ RESOLVE = 1, /** * Lookup type for the @requires directive * * @generated from enum value: LOOKUP_TYPE_REQUIRES = 2; */ REQUIRES = 2 } /** * Describes the enum wg.cosmo.node.v1.LookupType. */ export declare const LookupTypeSchema: GenEnum; /** * Defines the type of GraphQL operation * * @generated from enum wg.cosmo.node.v1.OperationType */ export declare enum OperationType { /** * @generated from enum value: OPERATION_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Query operation * * @generated from enum value: OPERATION_TYPE_QUERY = 1; */ QUERY = 1, /** * Mutation operation * * @generated from enum value: OPERATION_TYPE_MUTATION = 2; */ MUTATION = 2, /** * Subscription operation * * @generated from enum value: OPERATION_TYPE_SUBSCRIPTION = 3; */ SUBSCRIPTION = 3 } /** * Describes the enum wg.cosmo.node.v1.OperationType. */ export declare const OperationTypeSchema: GenEnum; /** * @generated from enum wg.cosmo.node.v1.EventType */ export declare enum EventType { /** * @generated from enum value: PUBLISH = 0; */ PUBLISH = 0, /** * @generated from enum value: REQUEST = 1; */ REQUEST = 1, /** * @generated from enum value: SUBSCRIBE = 2; */ SUBSCRIBE = 2 } /** * Describes the enum wg.cosmo.node.v1.EventType. */ export declare const EventTypeSchema: GenEnum; /** * @generated from enum wg.cosmo.node.v1.ConfigurationVariableKind */ export declare enum ConfigurationVariableKind { /** * @generated from enum value: STATIC_CONFIGURATION_VARIABLE = 0; */ STATIC_CONFIGURATION_VARIABLE = 0, /** * @generated from enum value: ENV_CONFIGURATION_VARIABLE = 1; */ ENV_CONFIGURATION_VARIABLE = 1, /** * @generated from enum value: PLACEHOLDER_CONFIGURATION_VARIABLE = 2; */ PLACEHOLDER_CONFIGURATION_VARIABLE = 2 } /** * Describes the enum wg.cosmo.node.v1.ConfigurationVariableKind. */ export declare const ConfigurationVariableKindSchema: GenEnum; /** * @generated from enum wg.cosmo.node.v1.HTTPMethod */ export declare enum HTTPMethod { /** * @generated from enum value: GET = 0; */ GET = 0, /** * @generated from enum value: POST = 1; */ POST = 1, /** * @generated from enum value: PUT = 2; */ PUT = 2, /** * @generated from enum value: DELETE = 3; */ DELETE = 3, /** * @generated from enum value: OPTIONS = 4; */ OPTIONS = 4 } /** * Describes the enum wg.cosmo.node.v1.HTTPMethod. */ export declare const HTTPMethodSchema: GenEnum; /** * @generated from service wg.cosmo.node.v1.NodeService */ export declare const NodeService: GenService<{ /** * @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister */ selfRegister: { methodKind: "unary"; input: typeof SelfRegisterRequestSchema; output: typeof SelfRegisterResponseSchema; }; }>;