diff --git a/javascript-web/index.ts b/javascript-web/index.ts index 8614b59..c418428 100644 --- a/javascript-web/index.ts +++ b/javascript-web/index.ts @@ -2,4 +2,5 @@ export * as cache from './CacheclientServiceClientPb' export * as control from './ControlclientServiceClientPb' export * as auth from './AuthServiceClientPb' export * as token from './TokenServiceClientPb' +export * as vectorindex from './VectorIndexServiceClientPb' export * as ping from './CachepingServiceClientPb' diff --git a/proto/auth.proto b/proto/auth.proto index a162a26..5b2a7fe 100644 --- a/proto/auth.proto +++ b/proto/auth.proto @@ -6,7 +6,7 @@ option go_package = "github.com/momentohq/client-sdk-go;client_sdk_go"; option java_multiple_files = true; option java_package = "momento.auth"; -package auth; +//package auth; service Auth { rpc Login (_LoginRequest) returns (stream _LoginResponse) {} @@ -73,7 +73,7 @@ message _GenerateApiTokenRequest { string auth_token = 3; - permission_messages.Permissions permissions = 4; + Permissions permissions = 4; } message _GenerateApiTokenResponse { diff --git a/proto/cacheclient.proto b/proto/cacheclient.proto index cef4d5a..07493cf 100644 --- a/proto/cacheclient.proto +++ b/proto/cacheclient.proto @@ -5,7 +5,7 @@ option java_multiple_files = true; option java_package = "grpc.cache_client"; option csharp_namespace = "Momento.Protos.CacheClient"; -package cache_client; +//package cache_client; enum ECacheResult { Invalid = 0; diff --git a/proto/cacheping.proto b/proto/cacheping.proto index 9b6ef26..c5d04e1 100644 --- a/proto/cacheping.proto +++ b/proto/cacheping.proto @@ -5,7 +5,7 @@ option java_multiple_files = true; option java_package = "grpc.cache_client"; option csharp_namespace = "Momento.Protos.CachePing"; -package cache_client; +//package cache_client; service Ping { rpc Ping (_PingRequest) returns (_PingResponse) {} diff --git a/proto/cachepubsub.proto b/proto/cachepubsub.proto index 12114c4..87e09f0 100644 --- a/proto/cachepubsub.proto +++ b/proto/cachepubsub.proto @@ -7,7 +7,7 @@ option java_multiple_files = true; option java_package = "grpc.cache_client.pubsub"; option csharp_namespace = "Momento.Protos.CacheClient.Pubsub"; -package cache_client.pubsub; +//package cache_client.pubsub; // For working with topics in a cache. diff --git a/proto/controlclient.proto b/proto/controlclient.proto index 41099b8..ed15901 100644 --- a/proto/controlclient.proto +++ b/proto/controlclient.proto @@ -6,7 +6,7 @@ option java_multiple_files = true; option java_package = "grpc.control_client"; option csharp_namespace = "Momento.Protos.ControlClient"; -package control_client; +//package control_client; service ScsControl { rpc CreateCache (_CreateCacheRequest) returns (_CreateCacheResponse) {} diff --git a/proto/permissionmessages.proto b/proto/permissionmessages.proto index f321942..b6fa50f 100644 --- a/proto/permissionmessages.proto +++ b/proto/permissionmessages.proto @@ -4,7 +4,7 @@ option go_package = "github.com/momentohq/client-sdk-go;client_sdk_go"; option java_multiple_files = true; option java_package = "grpc.permission_messages"; -package permission_messages; +//package permission_messages; // Aliases for categories of functionality. enum CacheRole { diff --git a/proto/token.proto b/proto/token.proto index f10132a..553b773 100644 --- a/proto/token.proto +++ b/proto/token.proto @@ -6,7 +6,7 @@ option go_package = "github.com/momentohq/client-sdk-go;client_sdk_go"; option java_multiple_files = true; option java_package = "momento.token"; -package token; +//package token; service Token { rpc GenerateDisposableToken (_GenerateDisposableTokenRequest) returns (_GenerateDisposableTokenResponse) {} @@ -23,7 +23,7 @@ message _GenerateDisposableTokenRequest { string auth_token = 2; - permission_messages.Permissions permissions = 3; + Permissions permissions = 3; } message _GenerateDisposableTokenResponse { diff --git a/proto/vectorindex.proto b/proto/vectorindex.proto index 23ee697..17e831c 100644 --- a/proto/vectorindex.proto +++ b/proto/vectorindex.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package vectorindex; +//package vectorindex; service VectorIndex { rpc AddItemBatch(_AddItemBatchRequest) returns (_AddItemBatchResponse) {}