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

Function normalizePartialRuleSet

scripts/sync/build.ts:269–274  ·  view source on GitHub ↗
(rules: Partial<RuleSet> | undefined)

Source from the content-addressed store, hash-verified

267}
268
269function normalizePartialRuleSet(rules: Partial<RuleSet> | undefined): RuleSet {
270 return normalizeRuleSet({
271 ...emptyRuleSet(),
272 ...rules
273 });
274}

Callers 1

buildProviderDataFunction · 0.85

Calls 2

normalizeRuleSetFunction · 0.85
emptyRuleSetFunction · 0.85

Tested by

no test coverage detected