File: //proc/thread-self/root/tmp/check_creator_studio_markers.mjs
import fs from 'node:fs';
const page = fs.readFileSync('/home/360live.stream/services/web/app/creator/streams/page.tsx', 'utf8');
const panel = fs.readFileSync('/home/360live.stream/services/web/components/creator/CreatorRevenueUpgradePanel.tsx', 'utf8');
const required = ['CreatorRevenueUpgradePanel', 'Creator revenue ladder', '/checkout/creator-pro', '/checkout/business-event', 'fan coins'];
const haystack = `${page}\n${panel}`;
const missing = required.filter((item) => !haystack.includes(item));
if (missing.length) {
console.error(`creator studio marker check failed: ${missing.join(', ')}`);
process.exit(1);
}
console.log('creator studio markers ok');