ncc_data_shaft 1.0.2
ncc_data_shaft: ^1.0.2 copied to clipboard
The official bridge between network_cool_client (ncc) and data_shaft. Provides standardized drivers and datasources for a clean data layer.
1.0.0 - 2026-02-23 #
Added #
- Initial Release: Complete integration between
network_cool_clientanddata_shaft. - NccConnectionDriver: Base implementation of
RemoteDriverusingncc'sBaseClient. - Specialized Drivers:
HttpDataShaftDriver: Specifically designed for public API communication usingNccClient.SessionDataShaftDriver: Specifically designed for authenticated communication usingSessionClient(handles token injection and renewal).
- Type-Safe DataSources:
- Public Context: Added
DatasourceGetHttp,DatasourcePostHttp,DatasourcePutHttp,DatasourcePatchHttp, andDatasourceDeleteHttp. - Session Context: Added
DatasourceGetSession,DatasourcePostSession,DatasourcePutSession,DatasourcePatchSession, andDatasourceDeleteSession.
- Public Context: Added
- Core Abstractions: Base classes
DatasourceNccGet,DatasourceNccPost, etc., to allow custom driver extensions. - Barrel Exports: Organized export system (
datasource_http.dart,datasource_session.dart,driver.dart) to simplify package usage. - Enhanced DX: Re-export of
Codablefromdata_shaftto reduce boilerplate in domain models.