mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
feat: 更新选择器版本
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
"@commitlint/cli": "^17.8.1",
|
"@commitlint/cli": "^17.8.1",
|
||||||
"@commitlint/config-conventional": "^17.8.1",
|
"@commitlint/config-conventional": "^17.8.1",
|
||||||
"@commitlint/types": "^17.8.1",
|
"@commitlint/types": "^17.8.1",
|
||||||
"@gkd-kit/selector": "0.0.14",
|
"@gkd-kit/selector": "0.0.15",
|
||||||
"@types/lodash": "^4.14.201",
|
"@types/lodash": "^4.14.201",
|
||||||
"@types/node": "^20.9.0",
|
"@types/node": "^20.9.0",
|
||||||
"@typescript-eslint/eslint-plugin": "6.11.0",
|
"@typescript-eslint/eslint-plugin": "6.11.0",
|
||||||
|
|||||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@@ -15,8 +15,8 @@ devDependencies:
|
|||||||
specifier: ^17.8.1
|
specifier: ^17.8.1
|
||||||
version: 17.8.1
|
version: 17.8.1
|
||||||
'@gkd-kit/selector':
|
'@gkd-kit/selector':
|
||||||
specifier: 0.0.14
|
specifier: 0.0.15
|
||||||
version: 0.0.14
|
version: 0.0.15
|
||||||
'@types/lodash':
|
'@types/lodash':
|
||||||
specifier: ^4.14.201
|
specifier: ^4.14.201
|
||||||
version: 4.14.201
|
version: 4.14.201
|
||||||
@@ -505,8 +505,8 @@ packages:
|
|||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@gkd-kit/selector@0.0.14:
|
/@gkd-kit/selector@0.0.15:
|
||||||
resolution: {integrity: sha512-OLukim37NH+fYQrKbao02z2x7jZdYJn/qGPnu8wMalUKBKMbSq0gaw8jLlLRjSTxlR+9MYVlP1DTtbd1dbusGw==}
|
resolution: {integrity: sha512-fWFXWjfLUQ7SS9FUadEQVzq/QW/DDNAJZWJSBMRnTcHuZtS1bb0eMGS9aDa9t6hrp6YAnpoLYEkR10qzciyqTQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@humanwhocodes/config-array@0.11.13:
|
/@humanwhocodes/config-array@0.11.13:
|
||||||
|
|||||||
18
src/types.ts
18
src/types.ts
@@ -252,6 +252,24 @@ type RuleConfig = {
|
|||||||
*/
|
*/
|
||||||
action?: 'click' | 'clickNode' | 'clickCenter' | 'back';
|
action?: 'click' | 'clickNode' | 'clickCenter' | 'back';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 与这个 key 的 rule 共享次数
|
||||||
|
*
|
||||||
|
* 比如开屏广告可能需要多个 rule 去匹配, 当一个 rule 触发时, 其它 rule 的触发是无意义的
|
||||||
|
*
|
||||||
|
* 如果你对这个 key 的 rule 设置 actionMaximum=1, 那么当这个 rule 和 本 rule 触发任意一个时, 两个 rule 都将进入休眠
|
||||||
|
*/
|
||||||
|
actionMaximumKey?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 与这个 key 的 rule 共享 cd
|
||||||
|
*
|
||||||
|
* 比如开屏广告可能需要多个 rule 去匹配, 当一个 rule 触发时, 其它 rule 的触发是无意义的
|
||||||
|
*
|
||||||
|
* 如果你对这个 key 的 rule 设置 actionCd=3000, 那么当这个 rule 和 本 rule 触发任意一个时, 在 3000毫秒 内两个 rule 都将进入 cd
|
||||||
|
*/
|
||||||
|
actionCdKey?: number;
|
||||||
|
|
||||||
snapshotUrls?: IArray<string>;
|
snapshotUrls?: IArray<string>;
|
||||||
exampleUrls?: IArray<string>;
|
exampleUrls?: IArray<string>;
|
||||||
} & CommonProps;
|
} & CommonProps;
|
||||||
|
|||||||
Reference in New Issue
Block a user