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

Typed Dart and Flutter client for a Zonai backend: auth, CRUD, file uploads, and live SQLite query streams over HTTP.

100/ 160
pub points
635
downloads

We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

41 out of 445 API elements (9.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: client, client.AdminDataSourceImpl, client.AdminDataSourceImpl.AdminDataSourceImpl.new, client.AdminDataSourceImpl.invite, client.AdminDataSourceImpl.members.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:zonai_client/zonai_client.dart that imports:
  • package:zonai_client/src/zonai_client.dart that imports:
  • package:zonai_client/src/utils/interceptor.dart that imports:
  • package:zonai_client/src/auth.dart that imports:
  • package:zonai_schema/src/types/jwt.dart that imports:
  • package:zonai_schema/src/types/api_token_jwt.dart that imports:
  • package:zonai_schema/src/types/api_token_scope.dart that imports:
  • package:zonai_schema/src/handlers/rules/rule_request.dart that imports:
  • package:zonai_schema/src/handlers/messages/message_handler.dart that imports:
  • package:zonai_schema/src/handlers/messages/message_io.dart that imports:
  • package:zonai_schema/src/handlers/messages/stdout.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

WARNING: Unused import: 'package:http/http.dart'.

lib/gen/client.dart:2:8

  ╷
2 │ import 'package:http/http.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/gen/client.dart

WARNING: Unused import: 'package:revali_client/revali_client.dart'.

lib/gen/interfaces.dart:1:8

  ╷
1 │ import 'package:revali_client/revali_client.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/gen/interfaces.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
file ^7.0.1 7.0.1 7.0.1
http ^1.6.0 1.6.0 1.6.0
revali_client ^3.0.0 3.0.1 3.0.1
zonai_schema >=0.1.0 <0.5.0 0.4.2 0.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
cron - 0.6.2 0.6.2
crypto - 3.0.7 3.0.7
equatable - 2.1.0 2.1.0
http_parser - 4.1.2 4.1.2
meta - 1.19.0 1.19.0
msgpack_dart - 1.0.1 1.0.1
path - 1.9.1 1.9.1
revali_core - 3.2.0 3.2.0
scoped_deps - 0.2.1 0.2.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 39 errors:

  • URI_DOES_NOT_EXIST - lib/gen/client.dart:4:8 - Target of URI doesn't exist: 'package:zonai_schema/src/payloads/admin_invite_body.dart'.
  • URI_DOES_NOT_EXIST - lib/gen/client.dart:15:8 - Target of URI doesn't exist: 'package:zonai_schema/src/payloads/maintenance_actions.dart'.
  • URI_DOES_NOT_EXIST - lib/gen/client.dart:16:8 - Target of URI doesn't exist: 'package:zonai_schema/src/payloads/oauth_body.dart'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
635
downloads

Documentation

Documentation
API reference

Publisher

verified publisherzonai.dev

Weekly Downloads

Typed Dart and Flutter client for a Zonai backend: auth, CRUD, file uploads, and live SQLite query streams over HTTP.

Homepage
Repository (GitHub)
View/report issues

Topics

#backend #api-client #sqlite #streaming #authentication

License

(pending) (license)

Dependencies

file, http, revali_client, zonai_schema

More

Packages that depend on zonai_client