@gomomento/generated-types
Advanced tools
Comparing version
@@ -10,124 +10,2 @@ /// <reference types="node" /> | ||
export declare namespace control_client { | ||
export class _CreateStoreRequest extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | { | ||
store_name?: string; | ||
}); | ||
get store_name(): string; | ||
set store_name(value: string); | ||
static fromObject(data: { | ||
store_name?: string; | ||
}): _CreateStoreRequest; | ||
toObject(): { | ||
store_name?: string; | ||
}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _CreateStoreRequest; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _CreateStoreRequest; | ||
} | ||
export class _CreateStoreResponse extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | {}); | ||
static fromObject(data: {}): _CreateStoreResponse; | ||
toObject(): {}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _CreateStoreResponse; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _CreateStoreResponse; | ||
} | ||
export class _DeleteStoreRequest extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | { | ||
store_name?: string; | ||
}); | ||
get store_name(): string; | ||
set store_name(value: string); | ||
static fromObject(data: { | ||
store_name?: string; | ||
}): _DeleteStoreRequest; | ||
toObject(): { | ||
store_name?: string; | ||
}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _DeleteStoreRequest; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _DeleteStoreRequest; | ||
} | ||
export class _DeleteStoreResponse extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | {}); | ||
static fromObject(data: {}): _DeleteStoreResponse; | ||
toObject(): {}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _DeleteStoreResponse; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _DeleteStoreResponse; | ||
} | ||
export class _ListStoresRequest extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | { | ||
next_token?: string; | ||
}); | ||
get next_token(): string; | ||
set next_token(value: string); | ||
static fromObject(data: { | ||
next_token?: string; | ||
}): _ListStoresRequest; | ||
toObject(): { | ||
next_token?: string; | ||
}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _ListStoresRequest; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _ListStoresRequest; | ||
} | ||
export class _ListStoresResponse extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | { | ||
store?: _Store[]; | ||
next_token?: string; | ||
}); | ||
get store(): _Store[]; | ||
set store(value: _Store[]); | ||
get next_token(): string; | ||
set next_token(value: string); | ||
static fromObject(data: { | ||
store?: ReturnType<typeof _Store.prototype.toObject>[]; | ||
next_token?: string; | ||
}): _ListStoresResponse; | ||
toObject(): { | ||
store?: ReturnType<typeof _Store.prototype.toObject>[]; | ||
next_token?: string; | ||
}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _ListStoresResponse; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _ListStoresResponse; | ||
} | ||
export class _Store extends pb_1.Message { | ||
#private; | ||
constructor(data?: any[] | { | ||
store_name?: string; | ||
}); | ||
get store_name(): string; | ||
set store_name(value: string); | ||
static fromObject(data: { | ||
store_name?: string; | ||
}): _Store; | ||
toObject(): { | ||
store_name?: string; | ||
}; | ||
serialize(): Uint8Array; | ||
serialize(w: pb_1.BinaryWriter): void; | ||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): _Store; | ||
serializeBinary(): Uint8Array; | ||
static deserializeBinary(bytes: Uint8Array): _Store; | ||
} | ||
export class _SimilarityMetric extends pb_1.Message { | ||
@@ -807,29 +685,2 @@ #private; | ||
}; | ||
CreateStore: { | ||
path: string; | ||
requestStream: boolean; | ||
responseStream: boolean; | ||
requestSerialize: (message: _CreateStoreRequest) => Buffer; | ||
requestDeserialize: (bytes: Buffer) => _CreateStoreRequest; | ||
responseSerialize: (message: _CreateStoreResponse) => Buffer; | ||
responseDeserialize: (bytes: Buffer) => _CreateStoreResponse; | ||
}; | ||
DeleteStore: { | ||
path: string; | ||
requestStream: boolean; | ||
responseStream: boolean; | ||
requestSerialize: (message: _DeleteStoreRequest) => Buffer; | ||
requestDeserialize: (bytes: Buffer) => _DeleteStoreRequest; | ||
responseSerialize: (message: _DeleteStoreResponse) => Buffer; | ||
responseDeserialize: (bytes: Buffer) => _DeleteStoreResponse; | ||
}; | ||
ListStores: { | ||
path: string; | ||
requestStream: boolean; | ||
responseStream: boolean; | ||
requestSerialize: (message: _ListStoresRequest) => Buffer; | ||
requestDeserialize: (bytes: Buffer) => _ListStoresRequest; | ||
responseSerialize: (message: _ListStoresResponse) => Buffer; | ||
responseDeserialize: (bytes: Buffer) => _ListStoresResponse; | ||
}; | ||
}; | ||
@@ -847,5 +698,2 @@ [method: string]: grpc_1.UntypedHandleCall; | ||
abstract ListIndexes(call: grpc_1.ServerUnaryCall<_ListIndexesRequest, _ListIndexesResponse>, callback: grpc_1.sendUnaryData<_ListIndexesResponse>): void; | ||
abstract CreateStore(call: grpc_1.ServerUnaryCall<_CreateStoreRequest, _CreateStoreResponse>, callback: grpc_1.sendUnaryData<_CreateStoreResponse>): void; | ||
abstract DeleteStore(call: grpc_1.ServerUnaryCall<_DeleteStoreRequest, _DeleteStoreResponse>, callback: grpc_1.sendUnaryData<_DeleteStoreResponse>): void; | ||
abstract ListStores(call: grpc_1.ServerUnaryCall<_ListStoresRequest, _ListStoresResponse>, callback: grpc_1.sendUnaryData<_ListStoresResponse>): void; | ||
} | ||
@@ -865,7 +713,4 @@ const ScsControlClient_base: grpc_1.ServiceClientConstructor; | ||
ListIndexes: GrpcUnaryServiceInterface<_ListIndexesRequest, _ListIndexesResponse>; | ||
CreateStore: GrpcUnaryServiceInterface<_CreateStoreRequest, _CreateStoreResponse>; | ||
DeleteStore: GrpcUnaryServiceInterface<_DeleteStoreRequest, _DeleteStoreResponse>; | ||
ListStores: GrpcUnaryServiceInterface<_ListStoresRequest, _ListStoresResponse>; | ||
} | ||
export {}; | ||
} |
@@ -9,2 +9,1 @@ export * as cache from './cacheclient'; | ||
export * as webhook from './webhook'; | ||
export * as store from './store'; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.store = exports.webhook = exports.leaderboard = exports.token = exports.auth = exports.ping = exports.pubsub = exports.control = exports.cache = void 0; | ||
exports.webhook = exports.leaderboard = exports.token = exports.auth = exports.ping = exports.pubsub = exports.control = exports.cache = void 0; | ||
exports.cache = __importStar(require("./cacheclient")); | ||
@@ -36,2 +36,1 @@ exports.control = __importStar(require("./controlclient")); | ||
exports.webhook = __importStar(require("./webhook")); | ||
exports.store = __importStar(require("./store")); |
{ | ||
"name": "@gomomento/generated-types", | ||
"description": "Types for Momento services", | ||
"version": "0.124.4", | ||
"version": "0.125.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1546251
-3.57%29
-6.45%35546
-3.79%