@gkd-kit/docs 0.0.1749922244143 → 0.0.1749922662721
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vitepress/dist/404.html +7 -7
- package/.vitepress/dist/404_.md +7 -7
- package/.vitepress/dist/_config.json +1 -1
- package/.vitepress/dist/api/index.html +10 -10
- package/.vitepress/dist/api/index_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawApp.html +10 -10
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +10 -10
- package/.vitepress/dist/api/interfaces/RawAppGroup_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawAppRule.html +10 -10
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawAppRuleProps_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawAppRule_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawApp_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawCategory.html +10 -10
- package/.vitepress/dist/api/interfaces/RawCategory_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawCommonProps_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalApp_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalGroup_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalRule_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGroupProps_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawRuleProps_.md +10 -10
- package/.vitepress/dist/api/interfaces/RawSubscription.html +10 -10
- package/.vitepress/dist/api/interfaces/RawSubscription_.md +10 -10
- package/.vitepress/dist/api/type-aliases/IArray.html +10 -10
- package/.vitepress/dist/api/type-aliases/IArray_.md +10 -10
- package/.vitepress/dist/api/type-aliases/Integer.html +10 -10
- package/.vitepress/dist/api/type-aliases/Integer_.md +10 -10
- package/.vitepress/dist/api/type-aliases/Position.html +10 -10
- package/.vitepress/dist/api/type-aliases/Position_.md +10 -10
- package/.vitepress/dist/assets/{app.Cc5c-ouC.js → app.DLDTMt_Q.js} +1 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.C9wJt6xf.js +1 -0
- package/.vitepress/dist/assets/chunks/{VPLocalSearchBox.D5BfCbU_.js → VPLocalSearchBox.D8sm1aUu.js} +2 -2
- package/.vitepress/dist/assets/chunks/{theme.DNWV-fv7.js → theme.k11nSN5U.js} +1 -1
- package/.vitepress/dist/assets/{guide_example.md.Vu-CrUoO.js → guide_example.md.DX1QnTKX.js} +1 -1
- package/.vitepress/dist/assets/{guide_example.md.Vu-CrUoO.lean.js → guide_example.md.DX1QnTKX.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_external.md.C-D6TEVX.js → guide_external.md.q2RphPW4.js} +1 -1
- package/.vitepress/dist/assets/{guide_external.md.C-D6TEVX.lean.js → guide_external.md.q2RphPW4.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_faq.md.BNgBPXLm.js → guide_faq.md.BHQBqAjh.js} +1 -1
- package/.vitepress/dist/assets/{guide_faq.md.BNgBPXLm.lean.js → guide_faq.md.BHQBqAjh.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_index.md.BTd_dxbk.js → guide_index.md.BieoJ3m-.js} +1 -1
- package/.vitepress/dist/assets/{guide_index.md.BTd_dxbk.lean.js → guide_index.md.BieoJ3m-.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_node.md.D4OqsxUN.js → guide_node.md.BUPoymzs.js} +1 -1
- package/.vitepress/dist/assets/{guide_node.md.D4OqsxUN.lean.js → guide_node.md.BUPoymzs.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_optimize.md.Dnz3XUY2.js → guide_optimize.md.BSu0LvDd.js} +1 -1
- package/.vitepress/dist/assets/{guide_optimize.md.Dnz3XUY2.lean.js → guide_optimize.md.BSu0LvDd.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_privacy.md.BSmhsW7H.js → guide_privacy.md.CeNFyHDe.js} +1 -1
- package/.vitepress/dist/assets/{guide_privacy.md.BSmhsW7H.lean.js → guide_privacy.md.CeNFyHDe.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_selector.md.D0sf0_Do.js → guide_selector.md.CgQg2yWe.js} +1 -1
- package/.vitepress/dist/assets/{guide_selector.md.D0sf0_Do.lean.js → guide_selector.md.CgQg2yWe.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_snapshot.md.D-l6UTLz.js → guide_snapshot.md.C6vdUFSA.js} +1 -1
- package/.vitepress/dist/assets/{guide_snapshot.md.D-l6UTLz.lean.js → guide_snapshot.md.C6vdUFSA.lean.js} +1 -1
- package/.vitepress/dist/assets/guide_sponsor.md.B9RbUqyg.js +1 -0
- package/.vitepress/dist/assets/guide_sponsor.md.B9RbUqyg.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_subscription.md.CuYByP6P.js → guide_subscription.md.B8n8PA5G.js} +1 -1
- package/.vitepress/dist/assets/{guide_subscription.md.CuYByP6P.lean.js → guide_subscription.md.B8n8PA5G.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_what-is-gkd.md.D1FrVr8D.js → guide_what-is-gkd.md.BjPkxMEx.js} +1 -1
- package/.vitepress/dist/assets/{guide_what-is-gkd.md.D1FrVr8D.lean.js → guide_what-is-gkd.md.BjPkxMEx.lean.js} +1 -1
- package/.vitepress/dist/assets/{index.md.D6Jz_OVP.js → index.md.7t-oY7C1.js} +1 -1
- package/.vitepress/dist/assets/{index.md.D6Jz_OVP.lean.js → index.md.7t-oY7C1.lean.js} +1 -1
- package/.vitepress/dist/assets/style.CuzzImqp.css +1 -1
- package/.vitepress/dist/guide/example.html +11 -11
- package/.vitepress/dist/guide/example_.md +11 -11
- package/.vitepress/dist/guide/external.html +11 -11
- package/.vitepress/dist/guide/external_.md +11 -11
- package/.vitepress/dist/guide/faq.html +11 -11
- package/.vitepress/dist/guide/faq_.md +11 -11
- package/.vitepress/dist/guide/index.html +11 -11
- package/.vitepress/dist/guide/index_.md +11 -11
- package/.vitepress/dist/guide/node.html +11 -11
- package/.vitepress/dist/guide/node_.md +11 -11
- package/.vitepress/dist/guide/optimize.html +11 -11
- package/.vitepress/dist/guide/optimize_.md +11 -11
- package/.vitepress/dist/guide/privacy.html +11 -11
- package/.vitepress/dist/guide/privacy_.md +11 -11
- package/.vitepress/dist/guide/selector.html +11 -11
- package/.vitepress/dist/guide/selector_.md +11 -11
- package/.vitepress/dist/guide/snapshot.html +11 -11
- package/.vitepress/dist/guide/snapshot_.md +11 -11
- package/.vitepress/dist/guide/sponsor.html +11 -11
- package/.vitepress/dist/guide/sponsor_.md +11 -11
- package/.vitepress/dist/guide/subscription.html +11 -11
- package/.vitepress/dist/guide/subscription_.md +11 -11
- package/.vitepress/dist/guide/what-is-gkd.html +11 -11
- package/.vitepress/dist/guide/what-is-gkd_.md +11 -11
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +11 -11
- package/.vitepress/dist/index_.md +11 -11
- package/_config.json +1 -1
- package/package.json +1 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.-x_NYtJX.js +0 -1
- package/.vitepress/dist/assets/guide_sponsor.md.CX5V8T7u.js +0 -1
- package/.vitepress/dist/assets/guide_sponsor.md.CX5V8T7u.lean.js +0 -1
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
}
|
|
10
10
|
return rawAppendChild.call(this, node);
|
|
11
11
|
};
|
|
12
|
-
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
+
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist");</script>
|
|
13
13
|
<meta charset="utf-8">
|
|
14
14
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
15
15
|
<title>RawRuleProps | GKD</title>
|
|
16
16
|
<meta name="description" content="自定义屏幕点击应用">
|
|
17
17
|
<meta name="generator" content="VitePress v2.0.0-alpha.5">
|
|
18
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
19
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
18
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/style.CuzzImqp.css" as="style">
|
|
19
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/vp-icons.css" as="style">
|
|
20
20
|
|
|
21
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
22
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
23
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
24
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
25
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
26
|
-
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
21
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/app.DLDTMt_Q.js"></script>
|
|
22
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
23
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/theme.k11nSN5U.js">
|
|
24
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/framework.CBQNBEo4.js">
|
|
25
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.Cse8IpZV.lean.js">
|
|
26
|
+
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/icon.svg">
|
|
27
27
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
28
28
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
29
29
|
</head>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 并且当 `longClickNode` 事件没有被应用接收时, 则使用 `longClickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">`longClickNode`</span></span>
|
|
48
48
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 向系统发起一个长按无障碍节点事件,与 clickNode 类似</span></span></code></pre></div><div class="language-ts"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">`longClickCenter`</span></span>
|
|
49
49
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 与 clickCenter 类似, 长按时间为 400 毫秒</span></span></code></pre></div><hr><h3 id="position" tabindex="-1">position? <a class="header-anchor" href="#position" aria-label="Permalink to “position?”"></a></h3><blockquote><p><code>optional</code> <strong>position</strong>: <a href="./../type-aliases/Position"><code>Position</code></a></p></blockquote><p>在使用 clickCenter/longClickCenter 时的自定义点击位置</p><p>默认坐标为节点中心</p><p>如果计算出的坐标不在屏幕内部, 当作未匹配</p><p>在 position 存在的情况下, <a href="#action">action</a> 的默认值为 <code>clickCenter</code></p><hr><h3 id="matches" tabindex="-1">matches? <a class="header-anchor" href="#matches" aria-label="Permalink to “matches?”"></a></h3><blockquote><p><code>optional</code> <strong>matches</strong>: <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果所有选择器都能匹配上节点, 那么点击最后一个选择器的目标节点</p><p>点击优先级大于 <a href="#anymatches">anyMatches</a></p><hr><h3 id="anymatches" tabindex="-1">anyMatches? <a class="header-anchor" href="#anymatches" aria-label="Permalink to “anyMatches?”"></a></h3><blockquote><p><code>optional</code> <strong>anyMatches</strong>: <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器能匹配上节点, 那么点击这个节点</p><p>如果 anyMatches 的所有选择器都无法匹配, 则停止匹配此规则</p><p>与 <a href="#matches">matches</a> 一起使用时, 仍然点击 <a href="#matches">matches</a> 的最后一项</p><hr><h3 id="excludematches" tabindex="-1">excludeMatches? <a class="header-anchor" href="#excludematches" aria-label="Permalink to “excludeMatches?”"></a></h3><blockquote><p><code>optional</code> <strong>excludeMatches</strong>: <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器匹配上节点, 则停止匹配此规则</p><hr><h3 id="excludeallmatches" tabindex="-1">excludeAllMatches? <a class="header-anchor" href="#excludeallmatches" aria-label="Permalink to “excludeAllMatches?”"></a></h3><blockquote><p><code>optional</code> <strong>excludeAllMatches</strong>: <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果所有选择器匹配上节点, 则停止匹配此规则</p></div></div></main><footer class="VPDocFooter" data-v-886f3717="" data-v-66086e2d=""><!--[--><!--]--><div class="edit-info" data-v-66086e2d=""><div class="edit-link" data-v-66086e2d=""><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/api/interfaces/RawRuleProps.md" target="_blank" rel="noreferrer" data-v-66086e2d=""><!--[--><span class="vpi-square-pen edit-link-icon" data-v-66086e2d=""></span> 为此页提供修改建议<!--]--></a></div><!----></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-66086e2d=""><span class="visually-hidden" id="doc-footer-aria-label" data-v-66086e2d="">Pager</span><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link prev" href="/api/interfaces/RawCommonProps" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">上一页</span><span class="title" data-v-66086e2d="">RawCommonProps</span><!--]--></a></div><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link next" href="/api/interfaces/RawGroupProps" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">下一页</span><span class="title" data-v-66086e2d="">RawGroupProps</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-2b37b52b="" data-v-ac1ee35a=""><div class="container" data-v-ac1ee35a=""><p class="message" data-v-ac1ee35a="">Released under the GPL-v3 License.</p><p class="copyright" data-v-ac1ee35a="">Copyright © 2025 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div><!----><!----><!--]--></div>
|
|
50
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"
|
|
50
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"DX1QnTKX\",\"guide_external.md\":\"q2RphPW4\",\"guide_faq.md\":\"BHQBqAjh\",\"guide_index.md\":\"BieoJ3m-\",\"guide_node.md\":\"BUPoymzs\",\"guide_optimize.md\":\"BSu0LvDd\",\"guide_privacy.md\":\"CeNFyHDe\",\"guide_selector.md\":\"CgQg2yWe\",\"guide_snapshot.md\":\"C6vdUFSA\",\"guide_sponsor.md\":\"B9RbUqyg\",\"guide_subscription.md\":\"B8n8PA5G\",\"guide_what-is-gkd.md\":\"BjPkxMEx\",\"index.md\":\"7t-oY7C1\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outlineTitle\":\"页面导航\",\"returnToTopLabel\":\"回到顶部\",\"darkModeSwitchLabel\":\"深色主题\",\"sidebarMenuLabel\":\"菜单\",\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"outline\":[2,3],\"nav\":[{\"text\":\"指引\",\"link\":\"/guide/\",\"activeMatch\":\"/guide/\"},{\"text\":\"API\",\"link\":\"/api/\",\"activeMatch\":\"/api/\"},{\"text\":\"审查工具\",\"link\":\"https://i.gkd.li\"},{\"text\":\"讨论交流\",\"link\":\"https://github.com/orgs/gkd-kit/discussions\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"指引\",\"items\":[{\"text\":\"什么是 GKD?\",\"link\":\"/guide/what-is-gkd\"},{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"快照审查\",\"link\":\"/guide/snapshot\"},{\"text\":\"订阅规则\",\"link\":\"/guide/subscription\"},{\"text\":\"外部交互\",\"link\":\"/guide/external\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"隐私政策\",\"link\":\"/guide/privacy\"},{\"text\":\"捐赠支持\",\"link\":\"/guide/sponsor\"}]},{\"text\":\"选择器\",\"items\":[{\"text\":\"语法介绍\",\"link\":\"/guide/selector\"},{\"text\":\"属性方法\",\"link\":\"/guide/node\"},{\"text\":\"选择示例\",\"link\":\"/guide/example\"},{\"text\":\"查询优化\",\"link\":\"/guide/optimize\"}]}],\"/api/\":[{\"link\":\"/api/\",\"text\":\"API Reference\"},{\"text\":\"Interfaces\",\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2025 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true,\"additionalConfig\":{}}");</script>
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
</body></html>
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
}
|
|
10
10
|
return rawAppendChild.call(this, node);
|
|
11
11
|
};
|
|
12
|
-
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
+
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist");</script>
|
|
13
13
|
<meta charset="utf-8">
|
|
14
14
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
15
15
|
<title>RawSubscription | GKD</title>
|
|
16
16
|
<meta name="description" content="自定义屏幕点击应用">
|
|
17
17
|
<meta name="generator" content="VitePress v2.0.0-alpha.5">
|
|
18
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
19
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
18
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/style.CuzzImqp.css" as="style">
|
|
19
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/vp-icons.css" as="style">
|
|
20
20
|
|
|
21
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
22
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
23
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
24
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
25
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
26
|
-
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
21
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/app.DLDTMt_Q.js"></script>
|
|
22
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
23
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/theme.k11nSN5U.js">
|
|
24
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/framework.CBQNBEo4.js">
|
|
25
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DNuJq1Hc.lean.js">
|
|
26
|
+
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/icon.svg">
|
|
27
27
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
28
28
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
29
29
|
</head>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">114514</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
33
33
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> version</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1919810</span></span>
|
|
34
34
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>支持相对地址, 如果 <a href="#updateurl">updateUrl</a> 或者用户添加订阅时填写的链接是 <code>https://gkd.li/gkd.json5</code> 并且 <a href="#checkupdateurl">checkUpdateUrl</a> 是 <code>./gkd.version.json5</code></p><p>那么最终请求的链接是 <code>https://gkd.li/gkd.version.json5</code></p><hr><h3 id="apps" tabindex="-1">apps? <a class="header-anchor" href="#apps" aria-label="Permalink to “apps?”"></a></h3><blockquote><p><code>optional</code> <strong>apps</strong>: <a href="./RawApp"><code>RawApp</code></a>[]</p></blockquote><p>此订阅的应用列表</p><hr><h3 id="globalgroups" tabindex="-1">globalGroups? <a class="header-anchor" href="#globalgroups" aria-label="Permalink to “globalGroups?”"></a></h3><blockquote><p><code>optional</code> <strong>globalGroups</strong>: <a href="./RawGlobalGroup"><code>RawGlobalGroup</code></a>[]</p></blockquote><p>此订阅的全局规则组列表</p><hr><h3 id="categories" tabindex="-1">categories? <a class="header-anchor" href="#categories" aria-label="Permalink to “categories?”"></a></h3><blockquote><p><code>optional</code> <strong>categories</strong>: <a href="./RawCategory"><code>RawCategory</code></a>[]</p></blockquote><p>此订阅的应用规则分类列表</p></div></div></main><footer class="VPDocFooter" data-v-886f3717="" data-v-66086e2d=""><!--[--><!--]--><div class="edit-info" data-v-66086e2d=""><div class="edit-link" data-v-66086e2d=""><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/api/interfaces/RawSubscription.md" target="_blank" rel="noreferrer" data-v-66086e2d=""><!--[--><span class="vpi-square-pen edit-link-icon" data-v-66086e2d=""></span> 为此页提供修改建议<!--]--></a></div><!----></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-66086e2d=""><span class="visually-hidden" id="doc-footer-aria-label" data-v-66086e2d="">Pager</span><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link prev" href="/api/" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">上一页</span><span class="title" data-v-66086e2d="">API Reference</span><!--]--></a></div><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link next" href="/api/interfaces/RawApp" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">下一页</span><span class="title" data-v-66086e2d="">RawApp</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-2b37b52b="" data-v-ac1ee35a=""><div class="container" data-v-ac1ee35a=""><p class="message" data-v-ac1ee35a="">Released under the GPL-v3 License.</p><p class="copyright" data-v-ac1ee35a="">Copyright © 2025 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div><!----><!----><!--]--></div>
|
|
35
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"
|
|
35
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"DX1QnTKX\",\"guide_external.md\":\"q2RphPW4\",\"guide_faq.md\":\"BHQBqAjh\",\"guide_index.md\":\"BieoJ3m-\",\"guide_node.md\":\"BUPoymzs\",\"guide_optimize.md\":\"BSu0LvDd\",\"guide_privacy.md\":\"CeNFyHDe\",\"guide_selector.md\":\"CgQg2yWe\",\"guide_snapshot.md\":\"C6vdUFSA\",\"guide_sponsor.md\":\"B9RbUqyg\",\"guide_subscription.md\":\"B8n8PA5G\",\"guide_what-is-gkd.md\":\"BjPkxMEx\",\"index.md\":\"7t-oY7C1\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outlineTitle\":\"页面导航\",\"returnToTopLabel\":\"回到顶部\",\"darkModeSwitchLabel\":\"深色主题\",\"sidebarMenuLabel\":\"菜单\",\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"outline\":[2,3],\"nav\":[{\"text\":\"指引\",\"link\":\"/guide/\",\"activeMatch\":\"/guide/\"},{\"text\":\"API\",\"link\":\"/api/\",\"activeMatch\":\"/api/\"},{\"text\":\"审查工具\",\"link\":\"https://i.gkd.li\"},{\"text\":\"讨论交流\",\"link\":\"https://github.com/orgs/gkd-kit/discussions\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"指引\",\"items\":[{\"text\":\"什么是 GKD?\",\"link\":\"/guide/what-is-gkd\"},{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"快照审查\",\"link\":\"/guide/snapshot\"},{\"text\":\"订阅规则\",\"link\":\"/guide/subscription\"},{\"text\":\"外部交互\",\"link\":\"/guide/external\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"隐私政策\",\"link\":\"/guide/privacy\"},{\"text\":\"捐赠支持\",\"link\":\"/guide/sponsor\"}]},{\"text\":\"选择器\",\"items\":[{\"text\":\"语法介绍\",\"link\":\"/guide/selector\"},{\"text\":\"属性方法\",\"link\":\"/guide/node\"},{\"text\":\"选择示例\",\"link\":\"/guide/example\"},{\"text\":\"查询优化\",\"link\":\"/guide/optimize\"}]}],\"/api/\":[{\"link\":\"/api/\",\"text\":\"API Reference\"},{\"text\":\"Interfaces\",\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2025 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true,\"additionalConfig\":{}}");</script>
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
</body></html>
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
}
|
|
10
10
|
return rawAppendChild.call(this, node);
|
|
11
11
|
};
|
|
12
|
-
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
+
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist");</script>
|
|
13
13
|
<meta charset="utf-8">
|
|
14
14
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
15
15
|
<title>RawSubscription | GKD</title>
|
|
16
16
|
<meta name="description" content="自定义屏幕点击应用">
|
|
17
17
|
<meta name="generator" content="VitePress v2.0.0-alpha.5">
|
|
18
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
19
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
18
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/style.CuzzImqp.css" as="style">
|
|
19
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/vp-icons.css" as="style">
|
|
20
20
|
|
|
21
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
22
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
23
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
24
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
25
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
26
|
-
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
21
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/app.DLDTMt_Q.js"></script>
|
|
22
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
23
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/theme.k11nSN5U.js">
|
|
24
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/framework.CBQNBEo4.js">
|
|
25
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DNuJq1Hc.lean.js">
|
|
26
|
+
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/icon.svg">
|
|
27
27
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
28
28
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
29
29
|
</head>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">114514</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
33
33
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> version</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1919810</span></span>
|
|
34
34
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>支持相对地址, 如果 <a href="#updateurl">updateUrl</a> 或者用户添加订阅时填写的链接是 <code>https://gkd.li/gkd.json5</code> 并且 <a href="#checkupdateurl">checkUpdateUrl</a> 是 <code>./gkd.version.json5</code></p><p>那么最终请求的链接是 <code>https://gkd.li/gkd.version.json5</code></p><hr><h3 id="apps" tabindex="-1">apps? <a class="header-anchor" href="#apps" aria-label="Permalink to “apps?”"></a></h3><blockquote><p><code>optional</code> <strong>apps</strong>: <a href="./RawApp"><code>RawApp</code></a>[]</p></blockquote><p>此订阅的应用列表</p><hr><h3 id="globalgroups" tabindex="-1">globalGroups? <a class="header-anchor" href="#globalgroups" aria-label="Permalink to “globalGroups?”"></a></h3><blockquote><p><code>optional</code> <strong>globalGroups</strong>: <a href="./RawGlobalGroup"><code>RawGlobalGroup</code></a>[]</p></blockquote><p>此订阅的全局规则组列表</p><hr><h3 id="categories" tabindex="-1">categories? <a class="header-anchor" href="#categories" aria-label="Permalink to “categories?”"></a></h3><blockquote><p><code>optional</code> <strong>categories</strong>: <a href="./RawCategory"><code>RawCategory</code></a>[]</p></blockquote><p>此订阅的应用规则分类列表</p></div></div></main><footer class="VPDocFooter" data-v-886f3717="" data-v-66086e2d=""><!--[--><!--]--><div class="edit-info" data-v-66086e2d=""><div class="edit-link" data-v-66086e2d=""><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/api/interfaces/RawSubscription.md" target="_blank" rel="noreferrer" data-v-66086e2d=""><!--[--><span class="vpi-square-pen edit-link-icon" data-v-66086e2d=""></span> 为此页提供修改建议<!--]--></a></div><!----></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-66086e2d=""><span class="visually-hidden" id="doc-footer-aria-label" data-v-66086e2d="">Pager</span><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link prev" href="/api/" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">上一页</span><span class="title" data-v-66086e2d="">API Reference</span><!--]--></a></div><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link next" href="/api/interfaces/RawApp" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">下一页</span><span class="title" data-v-66086e2d="">RawApp</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-2b37b52b="" data-v-ac1ee35a=""><div class="container" data-v-ac1ee35a=""><p class="message" data-v-ac1ee35a="">Released under the GPL-v3 License.</p><p class="copyright" data-v-ac1ee35a="">Copyright © 2025 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div><!----><!----><!--]--></div>
|
|
35
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"
|
|
35
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"DX1QnTKX\",\"guide_external.md\":\"q2RphPW4\",\"guide_faq.md\":\"BHQBqAjh\",\"guide_index.md\":\"BieoJ3m-\",\"guide_node.md\":\"BUPoymzs\",\"guide_optimize.md\":\"BSu0LvDd\",\"guide_privacy.md\":\"CeNFyHDe\",\"guide_selector.md\":\"CgQg2yWe\",\"guide_snapshot.md\":\"C6vdUFSA\",\"guide_sponsor.md\":\"B9RbUqyg\",\"guide_subscription.md\":\"B8n8PA5G\",\"guide_what-is-gkd.md\":\"BjPkxMEx\",\"index.md\":\"7t-oY7C1\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outlineTitle\":\"页面导航\",\"returnToTopLabel\":\"回到顶部\",\"darkModeSwitchLabel\":\"深色主题\",\"sidebarMenuLabel\":\"菜单\",\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"outline\":[2,3],\"nav\":[{\"text\":\"指引\",\"link\":\"/guide/\",\"activeMatch\":\"/guide/\"},{\"text\":\"API\",\"link\":\"/api/\",\"activeMatch\":\"/api/\"},{\"text\":\"审查工具\",\"link\":\"https://i.gkd.li\"},{\"text\":\"讨论交流\",\"link\":\"https://github.com/orgs/gkd-kit/discussions\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"指引\",\"items\":[{\"text\":\"什么是 GKD?\",\"link\":\"/guide/what-is-gkd\"},{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"快照审查\",\"link\":\"/guide/snapshot\"},{\"text\":\"订阅规则\",\"link\":\"/guide/subscription\"},{\"text\":\"外部交互\",\"link\":\"/guide/external\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"隐私政策\",\"link\":\"/guide/privacy\"},{\"text\":\"捐赠支持\",\"link\":\"/guide/sponsor\"}]},{\"text\":\"选择器\",\"items\":[{\"text\":\"语法介绍\",\"link\":\"/guide/selector\"},{\"text\":\"属性方法\",\"link\":\"/guide/node\"},{\"text\":\"选择示例\",\"link\":\"/guide/example\"},{\"text\":\"查询优化\",\"link\":\"/guide/optimize\"}]}],\"/api/\":[{\"link\":\"/api/\",\"text\":\"API Reference\"},{\"text\":\"Interfaces\",\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2025 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true,\"additionalConfig\":{}}");</script>
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
</body></html>
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
}
|
|
10
10
|
return rawAppendChild.call(this, node);
|
|
11
11
|
};
|
|
12
|
-
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
+
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist");</script>
|
|
13
13
|
<meta charset="utf-8">
|
|
14
14
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
15
15
|
<title>IArray<T> | GKD</title>
|
|
16
16
|
<meta name="description" content="自定义屏幕点击应用">
|
|
17
17
|
<meta name="generator" content="VitePress v2.0.0-alpha.5">
|
|
18
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
19
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
18
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/style.CuzzImqp.css" as="style">
|
|
19
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/vp-icons.css" as="style">
|
|
20
20
|
|
|
21
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
22
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
23
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
24
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
25
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
26
|
-
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
21
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/app.DLDTMt_Q.js"></script>
|
|
22
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
23
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/theme.k11nSN5U.js">
|
|
24
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/framework.CBQNBEo4.js">
|
|
25
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/api_type-aliases_IArray.md.DkP49flf.lean.js">
|
|
26
|
+
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/icon.svg">
|
|
27
27
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
28
28
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
29
29
|
</head>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> n2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span>
|
|
33
33
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> s1</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'hello'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span>
|
|
34
34
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> a2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'hello'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-886f3717="" data-v-66086e2d=""><!--[--><!--]--><div class="edit-info" data-v-66086e2d=""><div class="edit-link" data-v-66086e2d=""><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/api/type-aliases/IArray.md" target="_blank" rel="noreferrer" data-v-66086e2d=""><!--[--><span class="vpi-square-pen edit-link-icon" data-v-66086e2d=""></span> 为此页提供修改建议<!--]--></a></div><!----></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-66086e2d=""><span class="visually-hidden" id="doc-footer-aria-label" data-v-66086e2d="">Pager</span><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link prev" href="/api/type-aliases/Position" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">上一页</span><span class="title" data-v-66086e2d="">Position</span><!--]--></a></div><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link next" href="/api/type-aliases/Integer" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">下一页</span><span class="title" data-v-66086e2d="">Integer</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-2b37b52b="" data-v-ac1ee35a=""><div class="container" data-v-ac1ee35a=""><p class="message" data-v-ac1ee35a="">Released under the GPL-v3 License.</p><p class="copyright" data-v-ac1ee35a="">Copyright © 2025 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div><!----><!----><!--]--></div>
|
|
35
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"
|
|
35
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"DX1QnTKX\",\"guide_external.md\":\"q2RphPW4\",\"guide_faq.md\":\"BHQBqAjh\",\"guide_index.md\":\"BieoJ3m-\",\"guide_node.md\":\"BUPoymzs\",\"guide_optimize.md\":\"BSu0LvDd\",\"guide_privacy.md\":\"CeNFyHDe\",\"guide_selector.md\":\"CgQg2yWe\",\"guide_snapshot.md\":\"C6vdUFSA\",\"guide_sponsor.md\":\"B9RbUqyg\",\"guide_subscription.md\":\"B8n8PA5G\",\"guide_what-is-gkd.md\":\"BjPkxMEx\",\"index.md\":\"7t-oY7C1\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outlineTitle\":\"页面导航\",\"returnToTopLabel\":\"回到顶部\",\"darkModeSwitchLabel\":\"深色主题\",\"sidebarMenuLabel\":\"菜单\",\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"outline\":[2,3],\"nav\":[{\"text\":\"指引\",\"link\":\"/guide/\",\"activeMatch\":\"/guide/\"},{\"text\":\"API\",\"link\":\"/api/\",\"activeMatch\":\"/api/\"},{\"text\":\"审查工具\",\"link\":\"https://i.gkd.li\"},{\"text\":\"讨论交流\",\"link\":\"https://github.com/orgs/gkd-kit/discussions\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"指引\",\"items\":[{\"text\":\"什么是 GKD?\",\"link\":\"/guide/what-is-gkd\"},{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"快照审查\",\"link\":\"/guide/snapshot\"},{\"text\":\"订阅规则\",\"link\":\"/guide/subscription\"},{\"text\":\"外部交互\",\"link\":\"/guide/external\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"隐私政策\",\"link\":\"/guide/privacy\"},{\"text\":\"捐赠支持\",\"link\":\"/guide/sponsor\"}]},{\"text\":\"选择器\",\"items\":[{\"text\":\"语法介绍\",\"link\":\"/guide/selector\"},{\"text\":\"属性方法\",\"link\":\"/guide/node\"},{\"text\":\"选择示例\",\"link\":\"/guide/example\"},{\"text\":\"查询优化\",\"link\":\"/guide/optimize\"}]}],\"/api/\":[{\"link\":\"/api/\",\"text\":\"API Reference\"},{\"text\":\"Interfaces\",\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2025 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true,\"additionalConfig\":{}}");</script>
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
</body></html>
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
}
|
|
10
10
|
return rawAppendChild.call(this, node);
|
|
11
11
|
};
|
|
12
|
-
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
+
})("https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist");</script>
|
|
13
13
|
<meta charset="utf-8">
|
|
14
14
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
15
15
|
<title>IArray<T> | GKD</title>
|
|
16
16
|
<meta name="description" content="自定义屏幕点击应用">
|
|
17
17
|
<meta name="generator" content="VitePress v2.0.0-alpha.5">
|
|
18
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
19
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
18
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/style.CuzzImqp.css" as="style">
|
|
19
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/vp-icons.css" as="style">
|
|
20
20
|
|
|
21
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
22
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
23
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
24
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
25
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
26
|
-
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
21
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/app.DLDTMt_Q.js"></script>
|
|
22
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
23
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/theme.k11nSN5U.js">
|
|
24
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/chunks/framework.CBQNBEo4.js">
|
|
25
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/assets/api_type-aliases_IArray.md.DkP49flf.lean.js">
|
|
26
|
+
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1749922662721/files/.vitepress/dist/icon.svg">
|
|
27
27
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
28
28
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
29
29
|
</head>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> n2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span>
|
|
33
33
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> s1</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'hello'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span>
|
|
34
34
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> a2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'hello'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-886f3717="" data-v-66086e2d=""><!--[--><!--]--><div class="edit-info" data-v-66086e2d=""><div class="edit-link" data-v-66086e2d=""><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/api/type-aliases/IArray.md" target="_blank" rel="noreferrer" data-v-66086e2d=""><!--[--><span class="vpi-square-pen edit-link-icon" data-v-66086e2d=""></span> 为此页提供修改建议<!--]--></a></div><!----></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-66086e2d=""><span class="visually-hidden" id="doc-footer-aria-label" data-v-66086e2d="">Pager</span><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link prev" href="/api/type-aliases/Position" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">上一页</span><span class="title" data-v-66086e2d="">Position</span><!--]--></a></div><div class="pager" data-v-66086e2d=""><a class="VPLink link pager-link next" href="/api/type-aliases/Integer" data-v-66086e2d=""><!--[--><span class="desc" data-v-66086e2d="">下一页</span><span class="title" data-v-66086e2d="">Integer</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-2b37b52b="" data-v-ac1ee35a=""><div class="container" data-v-ac1ee35a=""><p class="message" data-v-ac1ee35a="">Released under the GPL-v3 License.</p><p class="copyright" data-v-ac1ee35a="">Copyright © 2025 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div><!----><!----><!--]--></div>
|
|
35
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"
|
|
35
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"Bf0KFfJx\",\"api_interfaces_rawapp.md\":\"IBITM3kc\",\"api_interfaces_rawappgroup.md\":\"DlrzQSMp\",\"api_interfaces_rawapprule.md\":\"BGTrTyD8\",\"api_interfaces_rawappruleprops.md\":\"DO-QMZAC\",\"api_interfaces_rawcategory.md\":\"e9LIHsw-\",\"api_interfaces_rawcommonprops.md\":\"TMMLhcZl\",\"api_interfaces_rawglobalapp.md\":\"CinQMLSN\",\"api_interfaces_rawglobalgroup.md\":\"CDGg91fU\",\"api_interfaces_rawglobalrule.md\":\"WCVG1mMt\",\"api_interfaces_rawglobalruleprops.md\":\"DcNlku1G\",\"api_interfaces_rawgroupprops.md\":\"Dp8VprzN\",\"api_interfaces_rawruleprops.md\":\"Cse8IpZV\",\"api_interfaces_rawsubscription.md\":\"DNuJq1Hc\",\"api_type-aliases_iarray.md\":\"DkP49flf\",\"api_type-aliases_integer.md\":\"Pjff9oE4\",\"api_type-aliases_position.md\":\"Idumrk8e\",\"guide_example.md\":\"DX1QnTKX\",\"guide_external.md\":\"q2RphPW4\",\"guide_faq.md\":\"BHQBqAjh\",\"guide_index.md\":\"BieoJ3m-\",\"guide_node.md\":\"BUPoymzs\",\"guide_optimize.md\":\"BSu0LvDd\",\"guide_privacy.md\":\"CeNFyHDe\",\"guide_selector.md\":\"CgQg2yWe\",\"guide_snapshot.md\":\"C6vdUFSA\",\"guide_sponsor.md\":\"B9RbUqyg\",\"guide_subscription.md\":\"B8n8PA5G\",\"guide_what-is-gkd.md\":\"BjPkxMEx\",\"index.md\":\"7t-oY7C1\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outlineTitle\":\"页面导航\",\"returnToTopLabel\":\"回到顶部\",\"darkModeSwitchLabel\":\"深色主题\",\"sidebarMenuLabel\":\"菜单\",\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"outline\":[2,3],\"nav\":[{\"text\":\"指引\",\"link\":\"/guide/\",\"activeMatch\":\"/guide/\"},{\"text\":\"API\",\"link\":\"/api/\",\"activeMatch\":\"/api/\"},{\"text\":\"审查工具\",\"link\":\"https://i.gkd.li\"},{\"text\":\"讨论交流\",\"link\":\"https://github.com/orgs/gkd-kit/discussions\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"指引\",\"items\":[{\"text\":\"什么是 GKD?\",\"link\":\"/guide/what-is-gkd\"},{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"快照审查\",\"link\":\"/guide/snapshot\"},{\"text\":\"订阅规则\",\"link\":\"/guide/subscription\"},{\"text\":\"外部交互\",\"link\":\"/guide/external\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"隐私政策\",\"link\":\"/guide/privacy\"},{\"text\":\"捐赠支持\",\"link\":\"/guide/sponsor\"}]},{\"text\":\"选择器\",\"items\":[{\"text\":\"语法介绍\",\"link\":\"/guide/selector\"},{\"text\":\"属性方法\",\"link\":\"/guide/node\"},{\"text\":\"选择示例\",\"link\":\"/guide/example\"},{\"text\":\"查询优化\",\"link\":\"/guide/optimize\"}]}],\"/api/\":[{\"link\":\"/api/\",\"text\":\"API Reference\"},{\"text\":\"Interfaces\",\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2025 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true,\"additionalConfig\":{}}");</script>
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
</body></html>
|