Skip to content

Commit adc286f

Browse files
committed
Merge branch 'main' of https://github.com/weaviate/typescript-client into fix/regression-in-vector-index-create
2 parents d09b587 + 0c4506f commit adc286f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020-2023, Weaviate B.V.
1+
Copyright (c) 2020-2025, Weaviate B.V.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"weaviate"
4646
],
4747
"author": "Weaviate",
48-
"license": "SEE LICENSE IN LICENSE",
48+
"license": "BSD-3-Clause",
4949
"bugs": {
5050
"url": "https://github.com/weaviate/typescript-client/issues"
5151
},

src/collections/filters/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ describe('Testing of the filter class with a simple collection', () => {
112112

113113
it('should filter a fetch objects query with a single filter and non-generic collection', async () => {
114114
const res = await client.collections.use(collectionName).query.fetchObjects({
115-
filters: client.collections.use(collectionName).filter.byProperty('text').equal('two'),
115+
filters: weaviate.filter.byProperty('text').equal('two'),
116116
});
117117
expect(res.objects.length).toEqual(1);
118118
const obj = res.objects[0];

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import { LiveChecker, OpenidConfigurationGetter, ReadyChecker } from './misc/ind
3838

3939
import weaviateV2 from './v2/index.js';
4040

41+
import filter from './collections/filters/index.js';
4142
import { ConsistencyLevel } from './data/replication.js';
4243
import users, { Users } from './users/index.js';
4344

@@ -254,6 +255,7 @@ const app = {
254255
AuthClientCredentials,
255256
configure,
256257
configGuards,
258+
filter: filter<any>(),
257259
reconfigure,
258260
permissions,
259261
};

0 commit comments

Comments
 (0)