1+ // dart format width=80
12// ignore_for_file: type=lint
23import 'package:drift/drift.dart' as i0;
34import 'package:celest_cloud_auth/src/crypto/crypto_key_model.dart' as i1;
@@ -10,6 +11,8 @@ import 'package:celest_cloud_auth/src/database/schema/converters/auth_converters
1011 as i6;
1112import 'package:drift/internal/modular.dart' as i7;
1213import 'dart:async' as i8;
14+ import 'package:celest_cloud_auth/src/database/schema/cedar.drift.dart' as i9;
15+ import 'package:celest_cloud_auth/src/database/schema/users.drift.dart' as i10;
1316
1417typedef $CryptoKeysCreateCompanionBuilder = i3.CryptoKeysCompanion Function ({
1518 required i2.Uint8List cryptoKeyId,
@@ -1875,30 +1878,30 @@ class Cork extends i0.DataClass implements i0.Insertable<i3.Cork> {
18751878 /// The unique identifier for the cork and its root key.
18761879 final i2.Uint8List corkId;
18771880
1878- /// This is typically derived from the organization's root key.
1879- ///
18801881 /// The ID of the HMAC key used to sign the cork.
1882+ ///
1883+ /// This is typically derived from the organization's root key.
18811884 final i2.Uint8List cryptoKeyId;
18821885
1883- /// For example, `Celest::User` or `Celest::ServiceAccount` .
1884- ///
18851886 /// The Cedar type of the bearer entity.
1887+ ///
1888+ /// For example, `Celest::User` or `Celest::ServiceAccount` .
18861889 final String ? bearerType;
18871890
18881891 /// The unique identifier of the bearer entity.
18891892 final String ? bearerId;
18901893
1891- /// For example, `Celest::Service` or `Celest::Api` .
1892- ///
18931894 /// The Cedar type of the audience entity.
1895+ ///
1896+ /// For example, `Celest::Service` or `Celest::Api` .
18941897 final String ? audienceType;
18951898
18961899 /// The unique identifier of the audience entity.
18971900 final String ? audienceId;
18981901
1899- /// For example, `Celest::Organization` or `Celest::Service` .
1900- ///
19011902 /// The Cedar type of the issuer entity.
1903+ ///
1904+ /// For example, `Celest::Organization` or `Celest::Service` .
19021905 final String ? issuerType;
19031906
19041907 /// The unique identifier of the issuer entity.
@@ -2525,4 +2528,6 @@ class AuthDrift extends i7.ModularAccessor {
25252528 i7.ReadDatabaseContainer (attachedDatabase).resultSet< i3.Corks > ('corks' );
25262529 i3.OtpCodes get otpCodes => i7.ReadDatabaseContainer (attachedDatabase)
25272530 .resultSet< i3.OtpCodes > ('otp_codes' );
2531+ i9.CedarDrift get cedarDrift => this .accessor (i9.CedarDrift .new );
2532+ i10.UsersDrift get usersDrift => this .accessor (i10.UsersDrift .new );
25282533}
0 commit comments