2022-12-16 16:01:04 +01:00
|
|
|
import 'package:build/build.dart';
|
2023-07-16 12:01:09 +02:00
|
|
|
import 'package:np_codegen_build/src/drift_table_sort_generator.dart';
|
2022-12-22 15:07:29 +01:00
|
|
|
import 'package:np_codegen_build/src/np_log_generator.dart';
|
2024-02-25 05:09:57 +01:00
|
|
|
import 'package:np_codegen_build/src/np_subject_accessor_generator.dart';
|
2022-12-16 16:01:04 +01:00
|
|
|
import 'package:source_gen/source_gen.dart';
|
|
|
|
|
2023-07-16 12:01:09 +02:00
|
|
|
Builder driftTableSortBuilder(BuilderOptions options) =>
|
2023-08-15 18:44:49 +02:00
|
|
|
SharedPartBuilder([const DriftTableSortGenerator()], "drift_table_sort");
|
2023-07-16 12:01:09 +02:00
|
|
|
|
2022-12-16 16:01:04 +01:00
|
|
|
Builder npLogBuilder(BuilderOptions options) =>
|
2023-08-15 18:44:49 +02:00
|
|
|
SharedPartBuilder([const NpLogGenerator()], "np_log");
|
2024-02-25 05:09:57 +01:00
|
|
|
|
|
|
|
Builder npSubjectAccessorBuilder(BuilderOptions options) => SharedPartBuilder(
|
|
|
|
[const NpSubjectAccessorGenerator()], "np_subject_accessor");
|