dakit_core 0.1.15
dakit_core: ^0.1.15 copied to clipboard
Platform-neutral domain contracts for DeviantArt client applications.
dakit_core #
Platform-neutral domain contracts for DAKit
clients. This package has no Flutter, HTTP, plugin, UI, state-management,
cache, or database dependency — it is the shared foundation that dakit_api
and dakit_flutter build on.
Install #
dependencies:
dakit_core: ^0.1.15
What it exports #
- account, full-profile, artwork, topic, folder, content, media, pagination, and transfer models;
- repository interfaces for accounts, profiles, user relationships/lookups, discovery feeds, folders, galleries, favourites, content, original media, comments, social actions, and provider messages;
- OAuth token-provider and persistence boundaries;
- structured diagnostics and typed
DAKitExceptionfailures; - a platform-neutral
TransferManagercontract.
Example #
Future<Artwork> loadArtwork(
ArtworkRepository repository,
String id,
) => repository.getById(id);
Applications may wrap these interfaces with their own cache or offline policy. Provider DTOs and platform plugin types are intentionally absent from the public API.
Documentation #
DAKit is a community project and is not affiliated with or endorsed by DeviantArt. MIT licensed.