Move Post/Author/Tag/PostAuthor/PostTag/PostUser models from
shared/models/ghost_content.py to blog/models/content.py so blog-domain
models no longer live in the shared layer. Replace the shared
SqlBlogService + BlogService protocol with a blog-local singleton
(blog_service), and switch entry_associations.py from direct DB access
to HTTP fetch_data("blog", "post-by-id") to respect the inter-service
boundary.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
from .user import User
|
|
from .kv import KV
|
|
from .magic_link import MagicLink
|
|
from .oauth_code import OAuthCode
|
|
from .oauth_grant import OAuthGrant
|
|
from .menu_item import MenuItem
|
|
|
|
from .ghost_membership_entities import (
|
|
GhostLabel, UserLabel,
|
|
GhostNewsletter, UserNewsletter,
|
|
GhostTier, GhostSubscription,
|
|
)
|
|
from .page_config import PageConfig
|
|
from .order import Order, OrderItem
|
|
from .market import (
|
|
Product, ProductImage, ProductSection,
|
|
NavTop, NavSub, Listing, ListingItem,
|
|
LinkError, LinkExternal, SubcategoryRedirect, ProductLog,
|
|
ProductLabel, ProductSticker, ProductAttribute, ProductNutrition, ProductAllergen,
|
|
CartItem,
|
|
)
|
|
from .market_place import MarketPlace
|
|
from .calendars import (
|
|
Calendar, CalendarEntry, CalendarSlot,
|
|
TicketType, Ticket, CalendarEntryPost,
|
|
)
|
|
from .container_relation import ContainerRelation
|
|
from .menu_node import MenuNode
|
|
from .federation import (
|
|
ActorProfile, APActivity, APFollower, APInboxItem, APAnchor, IPFSPin,
|
|
RemoteActor, APFollowing, APRemotePost, APLocalPost, APInteraction, APNotification,
|
|
)
|