supabase_client_gen 0.1.0 copy "supabase_client_gen: ^0.1.0" to clipboard
supabase_client_gen: ^0.1.0 copied to clipboard

Contract-driven code generator that reads a supabase.yaml specification and produces typed Dart client code — data models, enums, repositories with CRUD and realtime streams, and edge function clients.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate supabase_client_gen

Use it

The package has the following executables:

$ generate
$ validate

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add supabase_client_gen

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  supabase_client_gen: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:supabase_client_gen/supabase_client_gen.dart';
0
likes
0
points
122
downloads

Publisher

unverified uploader

Weekly Downloads

Contract-driven code generator that reads a supabase.yaml specification and produces typed Dart client code — data models, enums, repositories with CRUD and realtime streams, and edge function clients.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

postgres, yaml

More

Packages that depend on supabase_client_gen