ncc_data_shaft 1.0.2 copy "ncc_data_shaft: ^1.0.2" to clipboard
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.2 #

Added #

  • Update dependency for implement covariant on transformation and checkResponse¡

1.0.1 #

Added #

  • Update dependencies of data_shaft for cool_bedrock breaking change update

1.0.0 - 2026-02-23 #

Added #

  • Initial Release: Complete integration between network_cool_client and data_shaft.
  • NccConnectionDriver: Base implementation of RemoteDriver using ncc's BaseClient.
  • Specialized Drivers:
    • HttpDataShaftDriver: Specifically designed for public API communication using NccClient.
    • SessionDataShaftDriver: Specifically designed for authenticated communication using SessionClient (handles token injection and renewal).
  • Type-Safe DataSources:
    • Public Context: Added DatasourceGetHttp, DatasourcePostHttp, DatasourcePutHttp, DatasourcePatchHttp, and DatasourceDeleteHttp.
    • Session Context: Added DatasourceGetSession, DatasourcePostSession, DatasourcePutSession, DatasourcePatchSession, and DatasourceDeleteSession.
  • 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 Codable from data_shaft to reduce boilerplate in domain models.
0
likes
160
points
93
downloads

Documentation

API reference

Publisher

verified publisheryaminokishi.com

Weekly Downloads

The official bridge between network_cool_client (ncc) and data_shaft. Provides standardized drivers and datasources for a clean data layer.

Repository (GitHub)
View/report issues
Contributing

Topics

#clean-architecture #networking #session-management #data-layer #repository-pattern

License

MIT (license)

Dependencies

data_shaft, meta, ncc

More

Packages that depend on ncc_data_shaft