dart_desk_client 0.2.1 copy "dart_desk_client: ^0.2.1" to clipboard
dart_desk_client: ^0.2.1 copied to clipboard

Dart client SDK for the Dart Desk headless CMS backend, providing typed API access to documents, media, and collaboration endpoints.

0.2.1 #

  • feat: add PublicContentEndpoint.getAllContentsByDataContains — cross-type JSONB containment lookup; returns matching published documents grouped by documentType in a single call

0.2.0 #

Breaking: Primary keys migrated from int to UuidValue across all models and endpoints. Consumers must update any code that handled IDs as integers (e.g. cached IDs, route params, filter args).

Features #

  • ClientEndpoint.getClientsForUser and ClientWithRole model
  • MemberEndpoint and ProjectMemberEndpoint with full CRUD
  • ClientRole and ProjectRole enums; ProjectMember model
  • Restore endpoints for documents, projects, and users
  • Soft delete + audit fields (createdAt, updatedAt, deletedAt) on models
  • Typed paginated response models (replaces old list models)
  • Health check endpoint
  • PublicContentEndpoint.getContentsByDataContains for JSONB containment lookups (e.g. deviceId → deviceGroup)
  • Single-pass server-side image upload with metadata extraction

Breaking #

  • User.role migrated to ClientRole enum
  • Old list response models removed in favor of typed paginated equivalents
  • Auth layer uses UuidValue for client/project IDs

0.1.1 #

  • feat: add ApiException for client-visible errors
  • feat: add CompoundTokenParser support
  • feat: add MigrationHistory model and migration endpoint types
  • fix: api token parser
  • chore: add melos workspace

0.1.0 #

  • Initial release
  • Typed client SDK for documents, media, collaboration, and versioning endpoints
  • Pure Dart package (no Flutter dependency)
0
likes
140
points
137
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart client SDK for the Dart Desk headless CMS backend, providing typed API access to documents, media, and collaboration endpoints.

Repository (GitHub)
View/report issues

Topics

#cms #serverpod #headless-cms

License

unknown (license)

Dependencies

serverpod_auth_core_client, serverpod_auth_idp_client, serverpod_client

More

Packages that depend on dart_desk_client