dart_desk_client 0.2.1
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 bydocumentTypein a single call
0.2.0 #
Breaking: Primary keys migrated from
inttoUuidValueacross all models and endpoints. Consumers must update any code that handled IDs as integers (e.g. cached IDs, route params, filter args).
Features #
ClientEndpoint.getClientsForUserandClientWithRolemodelMemberEndpointandProjectMemberEndpointwith full CRUDClientRoleandProjectRoleenums;ProjectMembermodel- 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.getContentsByDataContainsfor JSONB containment lookups (e.g. deviceId → deviceGroup)- Single-pass server-side image upload with metadata extraction
Breaking #
User.rolemigrated toClientRoleenum- Old list response models removed in favor of typed paginated equivalents
- Auth layer uses
UuidValuefor 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)