masamune_model_firebase_data_connect_builder library
Define a builder to describe Firestore rules; build using the masamune_annotation annotation.
To use, import package:masamune_model_firebase_data_connect_builder/masamune_model_firebase_data_connect_builder.dart
.
Classes
- AdapterGenerator
- Automatic generation of ModelAdapter for FirebaseDataConnect.
- FirebaseDataConnectAnnotationValue
- Class for storing annotation values.
- SchemaValue
- Class for storing schema values.
Enums
- AuthType
- FirebaseDataConnect authentication type.
- IgnoredValue
- Name of the variable to exclude.
- SchemaModelFieldValueType
-
The type of
ModelFieldValue
in the FirebaseDataConnect rules. - SchemaType
- FirebaseDataConnect rule value type.
Extensions
- ModelPermissionQueryTypeExtension on ModelPermissionQueryType
-
Extension method of
ModelPermissionQueryType
. - ModelPermissionQueryUserTypeExtension on ModelPermissionQueryUserType
-
Extension method of
ModelPermissionQueryUserType
. -
QueryConditionValueListExtension
on List<
QueryConditionValue> -
Extension method of
ModelDatabaseQuery
.
Functions
-
adapterClass(
ClassValue classValue, List< SchemaValue> schemas) → List<Spec> - Create an Adapter class.
-
masamuneModelFirebaseDataConnectAdapterBuilderFactory(
BuilderOptions options) → Builder - Builder to generate ModelAdapter for FirebaseDataConnect.
-
masamuneModelFirebaseDataConnectBuilderFactory(
BuilderOptions options) → Builder - Builder to generate schema for FirebaseDataConnect.