Bundles several in-progress efforts that were sitting uncommitted: - User queue-preferences (migration 087, API route, popover component) - QBO invoice soft-delete (migration 088) and AR diagnostics route - Dashboard/mobile engagement route and page adjustments - Docker Compose log-rotation config - One-off ticket/RMM investigation scripts (scripts/) - Planning docs: phase verification/pattern notes, mobile shell design spec - .gitignore: exclude local scratch financial/inventory data and Claude Code worktree/local-settings runtime state (never meant for version control) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6RuWdiUiXrPK6FLBHjtpY
12 lines
437 B
TypeScript
12 lines
437 B
TypeScript
import { config } from 'dotenv';
|
|
import { resolve } from 'path';
|
|
config({ path: resolve('/opt/stacks/pulse/.env.local') });
|
|
|
|
import { classifyCampaign } from '../lib/services/campaign-classifier';
|
|
|
|
async function main() {
|
|
const result = await classifyCampaign('5cdb31a3-64c9-4237-8edc-7e317f4f614c');
|
|
console.log(JSON.stringify(result, null, 2));
|
|
process.exit(0);
|
|
}
|
|
main().catch((err) => { console.error(err); process.exit(1); });
|