mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
chore: update dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { CommonSelector } from '@gkd-kit/selector';
|
||||
import { MultiplatformSelector } from '@gkd-kit/selector';
|
||||
|
||||
export const parseSelector = (source: string) => {
|
||||
const selector = CommonSelector.Companion.parse(source);
|
||||
const selector = MultiplatformSelector.Companion.parse(source);
|
||||
selector.propertyNames.forEach((name: string) => {
|
||||
if (!allowPropertyNames.has(name)) {
|
||||
throw new Error(`Property ${name} is not allowed in selector`);
|
||||
|
||||
Reference in New Issue
Block a user