Firefly Sponsor Config
Overview
Maintain sponsor page metadata, donation methods, and sponsor records.
Workflow
- •Read the current target file(s) before editing.
- •Confirm the requested behavior and map it to existing keys.
- •Apply the smallest possible change inside the declared scope.
- •Keep existing style, object structure, and value types.
- •Report changed keys and paths.
Edit Scope
- •src/config/sponsorConfig.ts
- •src/config/siteConfig.ts
Common Keys
- •title / description / usage
- •showSponsorsList / showButtonInPost
- •methods[].name / icon / qrCode / link / description / enabled
- •sponsors[].name / amount / date / message
- •siteConfig.pages.sponsor (route switch)
Guardrails
- •Do not modify files outside Edit Scope unless explicitly requested.
- •Keep booleans, numbers, arrays, enums, and URLs in valid types.
- •Preserve existing comments unless they conflict with the new behavior.
- •Prefer minimal diffs that are easy to review.