File size: 526 Bytes
e0454ce | 1 2 3 4 5 6 7 8 9 10 11 12 13 | // Registro central das plataformas. Cada modulo expoe a mesma interface:
// name, label, manual, connectUrl(state), handleCallback(query), publish({...})
import * as youtube from './youtube.js';
import * as instagram from './instagram.js';
import * as facebook from './facebook.js';
import * as tiktok from './tiktok.js';
export const platforms = { youtube, instagram, facebook, tiktok };
export const PLATFORM_LIST = Object.values(platforms).map((p) => ({
name: p.name, label: p.label, manual: Boolean(p.manual),
}));
|