chore: filterTargetKey getter in collection

This commit is contained in:
Chareice 2024-08-12 21:22:57 +08:00
parent b3ad75be0a
commit d6796ac758
No known key found for this signature in database

View File

@ -30,6 +30,10 @@ export class Collection implements ICollection {
return this.options.name;
}
get filterTargetKey() {
return this.options.filterTargetKey;
}
updateOptions(options: CollectionOptions, mergeOptions?: any) {
const newOptions = {
...this.options,