MCPcopy Create free account
hub / github.com/VPSDance/ai-proxy-rules / emptyRuleSet

Function emptyRuleSet

scripts/rules.ts:15–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13export type RuleKey = (typeof ruleKeys)[number];
14
15export function emptyRuleSet(): RuleSet {
16 return {
17 domain: [],
18 domainSuffix: [],
19 domainKeyword: [],
20 domainRegex: [],
21 ipCidr: [],
22 ipCidr6: [],
23 asn: []
24 };
25}
26
27export function mergeRuleSets(ruleSets: RuleSet[]): RuleSet {
28 return normalizeRuleSet({

Callers 6

parseProviderFileFunction · 0.85
pickRuleKeysFunction · 0.85
parseClassicalRulesFunction · 0.85
compactGroupsFunction · 0.85
normalizePartialRuleSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected