mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
14 lines
676 B
Dart
14 lines
676 B
Dart
import 'package:build/build.dart';
|
|
import 'package:np_codegen_build/src/drift_table_sort_generator.dart';
|
|
import 'package:np_codegen_build/src/np_log_generator.dart';
|
|
import 'package:np_codegen_build/src/np_subject_accessor_generator.dart';
|
|
import 'package:source_gen/source_gen.dart';
|
|
|
|
Builder driftTableSortBuilder(BuilderOptions options) =>
|
|
SharedPartBuilder([const DriftTableSortGenerator()], "drift_table_sort");
|
|
|
|
Builder npLogBuilder(BuilderOptions options) =>
|
|
SharedPartBuilder([const NpLogGenerator()], "np_log");
|
|
|
|
Builder npSubjectAccessorBuilder(BuilderOptions options) => SharedPartBuilder(
|
|
[const NpSubjectAccessorGenerator()], "np_subject_accessor");
|