Skip to content

Commit

Permalink
Update [vald sha: dee4c3fa77ba33c45af36b746eeef0d6d1c2e6df]
Browse files Browse the repository at this point in the history
Signed-off-by: Vdaas CI <vald@vdaas.org>
  • Loading branch information
vdaas-ci committed Oct 15, 2024
1 parent eec5957 commit 195ca3f
Show file tree
Hide file tree
Showing 14 changed files with 1,133 additions and 657 deletions.
2 changes: 1 addition & 1 deletion VALD_CLIENT_NODE_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.13
1.7.14
2 changes: 1 addition & 1 deletion VALD_SHA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f072c79c1bf7848af0a752c438f970ae567e66b6
dee4c3fa77ba33c45af36b746eeef0d6d1c2e6df
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import v1_vald = require("./src/vald/v1/vald");
import v1_agent_core = require("./src/vald/v1/agent/core");
import v1_vald = require("./src/vald/v1/vald");
import v1_payload = require("./src/vald/v1/payload");
declare const _default: {
v1_vald: typeof v1_vald,
v1_agent_core: typeof v1_agent_core,
v1_vald: typeof v1_vald,
v1_payload: typeof v1_payload,
};
export = _default;
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports.v1_vald = require("./src/vald/v1/vald");
module.exports.v1_agent_core = require("./src/vald/v1/agent/core");
module.exports.v1_vald = require("./src/vald/v1/vald");
module.exports.v1_payload = require("./src/vald/v1/payload");
790 changes: 148 additions & 642 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vald-client-node",
"version": "1.7.13",
"version": "1.7.14",
"description": "A gRPC client library for Vald",
"main": "index.js",
"types": "index.d.ts",
Expand Down
295 changes: 295 additions & 0 deletions src/vald/v1/payload/payload_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { Any } from "../../../google/protobuf/any_pb";
import { Status } from "../../../google/rpc/status_pb";
import { FloatValue } from "../../../google/protobuf/wrappers_pb";
/**
Expand Down Expand Up @@ -203,6 +204,12 @@ export interface Search_Config {
* @generated from protobuf field: google.protobuf.FloatValue ratio = 10;
*/
ratio?: FloatValue;
/**
* Search nprobe.
*
* @generated from protobuf field: uint32 nprobe = 11;
*/
nprobe: number;
}
/**
* Represent a search response.
Expand Down Expand Up @@ -510,6 +517,31 @@ export interface Update_MultiObjectRequest {
*/
requests: Update_ObjectRequest[];
}
/**
* Represent a vector meta data.
*
* @generated from protobuf message payload.v1.Update.TimestampRequest
*/
export interface Update_TimestampRequest {
/**
* The vector ID.
*
* @generated from protobuf field: string id = 1;
*/
id: string;
/**
* timestamp represents when this vector inserted.
*
* @generated from protobuf field: int64 timestamp = 2;
*/
timestamp: bigint;
/**
* force represents forcefully update the timestamp.
*
* @generated from protobuf field: bool force = 3;
*/
force: boolean;
}
/**
* Represent the update configuration.
*
Expand Down Expand Up @@ -1470,6 +1502,162 @@ export interface Info_Index_StatisticsDetail {
[key: string]: Info_Index_Statistics;
};
}
/**
* Represents index Property
*
* @generated from protobuf message payload.v1.Info.Index.Property
*/
export interface Info_Index_Property {
/**
* @generated from protobuf field: int32 dimension = 1;
*/
dimension: number;
/**
* @generated from protobuf field: int32 thread_pool_size = 2;
*/
thread_pool_size: number;
/**
* @generated from protobuf field: string object_type = 3;
*/
object_type: string;
/**
* @generated from protobuf field: string distance_type = 4;
*/
distance_type: string;
/**
* @generated from protobuf field: string index_type = 5;
*/
index_type: string;
/**
* @generated from protobuf field: string database_type = 6;
*/
database_type: string;
/**
* @generated from protobuf field: string object_alignment = 7;
*/
object_alignment: string;
/**
* @generated from protobuf field: int32 path_adjustment_interval = 8;
*/
path_adjustment_interval: number;
/**
* @generated from protobuf field: int32 graph_shared_memory_size = 9;
*/
graph_shared_memory_size: number;
/**
* @generated from protobuf field: int32 tree_shared_memory_size = 10;
*/
tree_shared_memory_size: number;
/**
* @generated from protobuf field: int32 object_shared_memory_size = 11;
*/
object_shared_memory_size: number;
/**
* @generated from protobuf field: int32 prefetch_offset = 12;
*/
prefetch_offset: number;
/**
* @generated from protobuf field: int32 prefetch_size = 13;
*/
prefetch_size: number;
/**
* @generated from protobuf field: string accuracy_table = 14;
*/
accuracy_table: string;
/**
* @generated from protobuf field: string search_type = 15;
*/
search_type: string;
/**
* @generated from protobuf field: float max_magnitude = 16;
*/
max_magnitude: number;
/**
* @generated from protobuf field: int32 n_of_neighbors_for_insertion_order = 17;
*/
n_of_neighbors_for_insertion_order: number;
/**
* @generated from protobuf field: float epsilon_for_insertion_order = 18;
*/
epsilon_for_insertion_order: number;
/**
* @generated from protobuf field: string refinement_object_type = 19;
*/
refinement_object_type: string;
/**
* @generated from protobuf field: int32 truncation_threshold = 20;
*/
truncation_threshold: number;
/**
* @generated from protobuf field: int32 edge_size_for_creation = 21;
*/
edge_size_for_creation: number;
/**
* @generated from protobuf field: int32 edge_size_for_search = 22;
*/
edge_size_for_search: number;
/**
* @generated from protobuf field: int32 edge_size_limit_for_creation = 23;
*/
edge_size_limit_for_creation: number;
/**
* @generated from protobuf field: double insertion_radius_coefficient = 24;
*/
insertion_radius_coefficient: number;
/**
* @generated from protobuf field: int32 seed_size = 25;
*/
seed_size: number;
/**
* @generated from protobuf field: string seed_type = 26;
*/
seed_type: string;
/**
* @generated from protobuf field: int32 truncation_thread_pool_size = 27;
*/
truncation_thread_pool_size: number;
/**
* @generated from protobuf field: int32 batch_size_for_creation = 28;
*/
batch_size_for_creation: number;
/**
* @generated from protobuf field: string graph_type = 29;
*/
graph_type: string;
/**
* @generated from protobuf field: int32 dynamic_edge_size_base = 30;
*/
dynamic_edge_size_base: number;
/**
* @generated from protobuf field: int32 dynamic_edge_size_rate = 31;
*/
dynamic_edge_size_rate: number;
/**
* @generated from protobuf field: float build_time_limit = 32;
*/
build_time_limit: number;
/**
* @generated from protobuf field: int32 outgoing_edge = 33;
*/
outgoing_edge: number;
/**
* @generated from protobuf field: int32 incoming_edge = 34;
*/
incoming_edge: number;
}
/**
* Represents index Properties for each Agents
*
* @generated from protobuf message payload.v1.Info.Index.PropertyDetail
*/
export interface Info_Index_PropertyDetail {
/**
* @generated from protobuf field: map<string, payload.v1.Info.Index.Property> details = 1;
*/
details: {
[key: string]: Info_Index_Property;
};
}
/**
* Represent the pod information message.
*
Expand Down Expand Up @@ -1789,6 +1977,42 @@ export interface Mirror_Targets {
*/
targets: Mirror_Target[];
}
/**
* @generated from protobuf message payload.v1.Meta
*/
export interface Meta {
}
/**
* @generated from protobuf message payload.v1.Meta.Key
*/
export interface Meta_Key {
/**
* @generated from protobuf field: string key = 1;
*/
key: string;
}
/**
* @generated from protobuf message payload.v1.Meta.Value
*/
export interface Meta_Value {
/**
* @generated from protobuf field: google.protobuf.Any value = 1;
*/
value?: Any;
}
/**
* @generated from protobuf message payload.v1.Meta.KeyValue
*/
export interface Meta_KeyValue {
/**
* @generated from protobuf field: payload.v1.Meta.Key key = 1;
*/
key?: Meta_Key;
/**
* @generated from protobuf field: payload.v1.Meta.Value value = 2;
*/
value?: Meta_Value;
}
/**
* Represent an empty message.
*
Expand Down Expand Up @@ -2046,6 +2270,16 @@ declare class Update_MultiObjectRequest$Type extends MessageType<Update_MultiObj
* @generated MessageType for protobuf message payload.v1.Update.MultiObjectRequest
*/
export declare const Update_MultiObjectRequest: Update_MultiObjectRequest$Type;
declare class Update_TimestampRequest$Type extends MessageType<Update_TimestampRequest> {
constructor();
create(value?: PartialMessage<Update_TimestampRequest>): Update_TimestampRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Update_TimestampRequest): Update_TimestampRequest;
internalBinaryWrite(message: Update_TimestampRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Update.TimestampRequest
*/
export declare const Update_TimestampRequest: Update_TimestampRequest$Type;
declare class Update_Config$Type extends MessageType<Update_Config> {
constructor();
create(value?: PartialMessage<Update_Config>): Update_Config;
Expand Down Expand Up @@ -2528,6 +2762,27 @@ declare class Info_Index_StatisticsDetail$Type extends MessageType<Info_Index_St
* @generated MessageType for protobuf message payload.v1.Info.Index.StatisticsDetail
*/
export declare const Info_Index_StatisticsDetail: Info_Index_StatisticsDetail$Type;
declare class Info_Index_Property$Type extends MessageType<Info_Index_Property> {
constructor();
create(value?: PartialMessage<Info_Index_Property>): Info_Index_Property;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Info_Index_Property): Info_Index_Property;
internalBinaryWrite(message: Info_Index_Property, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Info.Index.Property
*/
export declare const Info_Index_Property: Info_Index_Property$Type;
declare class Info_Index_PropertyDetail$Type extends MessageType<Info_Index_PropertyDetail> {
constructor();
create(value?: PartialMessage<Info_Index_PropertyDetail>): Info_Index_PropertyDetail;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Info_Index_PropertyDetail): Info_Index_PropertyDetail;
private binaryReadMap1;
internalBinaryWrite(message: Info_Index_PropertyDetail, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Info.Index.PropertyDetail
*/
export declare const Info_Index_PropertyDetail: Info_Index_PropertyDetail$Type;
declare class Info_Pod$Type extends MessageType<Info_Pod> {
constructor();
create(value?: PartialMessage<Info_Pod>): Info_Pod;
Expand Down Expand Up @@ -2680,6 +2935,46 @@ declare class Mirror_Targets$Type extends MessageType<Mirror_Targets> {
* @generated MessageType for protobuf message payload.v1.Mirror.Targets
*/
export declare const Mirror_Targets: Mirror_Targets$Type;
declare class Meta$Type extends MessageType<Meta> {
constructor();
create(value?: PartialMessage<Meta>): Meta;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Meta): Meta;
internalBinaryWrite(message: Meta, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Meta
*/
export declare const Meta: Meta$Type;
declare class Meta_Key$Type extends MessageType<Meta_Key> {
constructor();
create(value?: PartialMessage<Meta_Key>): Meta_Key;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Meta_Key): Meta_Key;
internalBinaryWrite(message: Meta_Key, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Meta.Key
*/
export declare const Meta_Key: Meta_Key$Type;
declare class Meta_Value$Type extends MessageType<Meta_Value> {
constructor();
create(value?: PartialMessage<Meta_Value>): Meta_Value;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Meta_Value): Meta_Value;
internalBinaryWrite(message: Meta_Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Meta.Value
*/
export declare const Meta_Value: Meta_Value$Type;
declare class Meta_KeyValue$Type extends MessageType<Meta_KeyValue> {
constructor();
create(value?: PartialMessage<Meta_KeyValue>): Meta_KeyValue;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Meta_KeyValue): Meta_KeyValue;
internalBinaryWrite(message: Meta_KeyValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message payload.v1.Meta.KeyValue
*/
export declare const Meta_KeyValue: Meta_KeyValue$Type;
declare class Empty$Type extends MessageType<Empty> {
constructor();
create(value?: PartialMessage<Empty>): Empty;
Expand Down
Loading

0 comments on commit 195ca3f

Please sign in to comment.