File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ describe("data", () => {
609609 . withClassName ( thingClassName )
610610 . withId ( id )
611611 . withVector ( )
612- . withConsistencyLevel ( " QUORUM" )
612+ . withConsistencyLevel ( weaviate . replication . ConsistencyLevel . QUORUM )
613613 . buildPath ( )
614614 . then ( path => {
615615 expect ( path ) . toContain ( "?include=vector" ) ;
Original file line number Diff line number Diff line change 1+ export const ConsistencyLevel = {
2+ ONE : "ONE" ,
3+ QUORUM : "QUORUM" ,
4+ ALL : "ALL" ,
5+ } ;
6+
7+ const replicationConsts = {
8+ ConsistencyLevel,
9+ } ;
10+
11+ export default replicationConsts ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import batchConsts from "./batch/consts.js";
1313import filtersConsts from "./filters/consts.js" ;
1414import cluster from "./cluster/index.js" ;
1515import clusterConsts from "./cluster/consts.js" ;
16+ import replicationConsts from "./data/replication/consts.js" ;
1617
1718const app = {
1819 client : function ( params ) {
@@ -47,6 +48,7 @@ const app = {
4748 batch : batchConsts ,
4849 filters : filtersConsts ,
4950 cluster : clusterConsts ,
51+ replication : replicationConsts ,
5052} ;
5153
5254function initDbVersionProvider ( conn ) {
You can’t perform that action at this time.
0 commit comments