Template
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed. Refs #1 Refs #2 Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
226 B
Python
11 lines
226 B
Python
from typing import Protocol
|
|
|
|
|
|
class SocialConnector(Protocol):
|
|
platform: str
|
|
|
|
def publish(self, post, target) -> str:
|
|
"""Publish and return remote post id."""
|
|
|
|
def refresh_token(self, account) -> None: ...
|