yavsc/src/Yavsc.Abstract
Paul Schneider 0e95e28327
refactor(model): move BlogPost DTO from PostIt.Models to Yavsc.Blogspot
BlogPost is shared between the server (Yavsc.Server/Models/Blog/
BlogPost.cs is the EF entity) and any client that talks to the
blogs API. Keeping the client-side DTO in PostIt.Models made
sense when there was only one consumer; now that the
Yavsc.Api.Client project is about to host BlogApiClient alongside
CircleApiClient and BlogAclApiClient, the DTO has to live in a
layer both the client project and PostIt can reference without
inverting the dependency.

Yavsc.Abstract is the existing home for cross-tier interfaces
and DTOs (IBlogPost, IBlogPostPayLoad, IApplicationUser).
Yavsc.Blogspot is the sub-namespace already used by the
matching interface, so the new concrete class follows.

Why not move Circle and CircleAuthorizationToBlogPost at the
same time? Both depend on the concrete ApplicationUser class
(via the Owner and Target/Allowed navigation properties) which
lives in Yavsc.Server. Moving them would mean either dragging
ApplicationUser into the abstract layer (huge blast radius —
auth, billing, chat, etc.) or weakening the navigation
properties (breaks EF Core shaping). They're staying where
they are; the new Yavsc.Api.Client will get DTO counterparts
instead.

Updated call sites:
- 4 .cs files: replace 'using PostIt.Models;' with
  'using Yavsc.Blogspot;' where the file was actually using
  BlogPost. Files that only used SignaturePadData keep their
  'using PostIt.Models;' — that type stays put.
- 1 .axaml file: xmlns:models="using:PostIt.Models" ->
  xmlns:models="using:Yavsc.Blogspot" (one DataTemplate for
  the post list in MainPage).

Build + tests green (51/51).
2026-08-17 23:45:45 +01:00
..
Attributes reorg 2026-02-28 21:17:54 +00:00
Authentication refact 2026-05-30 19:34:22 +01:00
Billing better 2026-04-19 20:36:03 +01:00
Blogspot refactor(model): move BlogPost DTO from PostIt.Models to Yavsc.Blogspot 2026-08-17 23:45:45 +01:00
Chat refacto chathub 2026-07-04 15:28:07 +01:00
domains/musical érrance 2026-06-12 12:47:04 +01:00
FileSystem refacts and PostIt Nav 2026-06-11 20:02:32 +01:00
Google reorg 2026-02-28 21:17:54 +00:00
Identity refacto BlogPost serialization 2026-08-05 21:05:14 +01:00
Interfaces re-refacto BlogPost serialization 2026-08-05 21:11:22 +01:00
IT refacts and PostIt Nav 2026-06-11 20:02:32 +01:00
Manage reorg 2026-02-28 21:17:54 +00:00
Messaging reorg 2026-02-28 21:17:54 +00:00
Moderation IModerationService 2026-05-30 18:20:17 +01:00
Relationship refact and login 2026-03-09 02:07:42 +00:00
Resources drop the deigner.cs 2026-07-04 16:06:02 +01:00
Streaming reorg 2026-02-28 21:17:54 +00:00
Templates reorg 2026-02-28 21:17:54 +00:00
Workflow tests 2026-07-06 00:47:35 +01:00
Constants.cs WIP audiences 2026-07-12 02:42:13 +01:00
Makefile reorg 2026-02-28 21:17:54 +00:00
Yavsc.Abstract.csproj Exploiting GitVersion 2026-06-28 14:11:26 +01:00