chore: Upgrade Serverpod to 4.0.0-beta.1 (#105)
This commit is contained in:
parent
8e7e6551e0
commit
40dbd7a73a
63 changed files with 1635 additions and 2852 deletions
|
|
@ -17,7 +17,8 @@ import 'person.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class Address implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Address
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Address._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -95,6 +96,18 @@ abstract class Address implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Address',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'street': street,
|
||||
if (inhabitantId != null) 'inhabitantId': inhabitantId?.toJson(),
|
||||
if (inhabitant != null) 'inhabitant': inhabitant?.toJsonForProtocol(),
|
||||
};
|
||||
}
|
||||
|
||||
static AddressInclude include({_i3.PersonInclude? inhabitant}) {
|
||||
return AddressInclude._(inhabitant: inhabitant);
|
||||
}
|
||||
|
|
@ -104,8 +117,6 @@ abstract class Address implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<AddressTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<AddressTable>? orderByList,
|
||||
AddressInclude? include,
|
||||
}) {
|
||||
|
|
@ -114,8 +125,6 @@ abstract class Address implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Address.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Address.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -268,8 +277,6 @@ class AddressIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -318,8 +325,6 @@ class AddressRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<AddressTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<AddressTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
AddressInclude? include,
|
||||
|
|
@ -330,8 +335,6 @@ class AddressRepository {
|
|||
where: where?.call(Address.t),
|
||||
orderBy: orderBy?.call(Address.t),
|
||||
orderByList: orderByList?.call(Address.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -363,8 +366,6 @@ class AddressRepository {
|
|||
_i1.WhereExpressionBuilder<AddressTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<AddressTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<AddressTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
AddressInclude? include,
|
||||
|
|
@ -375,8 +376,6 @@ class AddressRepository {
|
|||
where: where?.call(Address.t),
|
||||
orderBy: orderBy?.call(Address.t),
|
||||
orderByList: orderByList?.call(Address.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -584,8 +583,6 @@ class AddressRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<AddressTable>? orderBy,
|
||||
_i1.OrderByListBuilder<AddressTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -596,8 +593,6 @@ class AddressRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Address.t),
|
||||
orderByList: orderByList?.call(Address.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -618,8 +613,6 @@ class AddressRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Address> rows, {
|
||||
_i1.OrderByBuilder<AddressTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<AddressTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -628,8 +621,6 @@ class AddressRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Address.t),
|
||||
orderByList: orderByList?.call(Address.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -659,8 +650,6 @@ class AddressRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<AddressTable> where,
|
||||
_i1.OrderByBuilder<AddressTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<AddressTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -669,8 +658,6 @@ class AddressRepository {
|
|||
where: where(Address.t),
|
||||
orderBy: orderBy?.call(Address.t),
|
||||
orderByList: orderByList?.call(Address.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ import 'organization.dart' as _i4;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i5;
|
||||
|
||||
abstract class City implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class City
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
City._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -98,6 +99,22 @@ abstract class City implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'City',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (citizens != null)
|
||||
'citizens': citizens?.toJson(valueToJson: (v) => v.toJsonForProtocol()),
|
||||
if (organizations != null)
|
||||
'organizations': organizations?.toJson(
|
||||
valueToJson: (v) => v.toJsonForProtocol(),
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
static CityInclude include({
|
||||
_i3.PersonIncludeList? citizens,
|
||||
_i4.OrganizationIncludeList? organizations,
|
||||
|
|
@ -113,8 +130,6 @@ abstract class City implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<CityTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CityTable>? orderByList,
|
||||
CityInclude? include,
|
||||
}) {
|
||||
|
|
@ -123,8 +138,6 @@ abstract class City implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(City.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(City.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -332,8 +345,6 @@ class CityIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -386,8 +397,6 @@ class CityRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<CityTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CityTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
CityInclude? include,
|
||||
|
|
@ -398,8 +407,6 @@ class CityRepository {
|
|||
where: where?.call(City.t),
|
||||
orderBy: orderBy?.call(City.t),
|
||||
orderByList: orderByList?.call(City.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -431,8 +438,6 @@ class CityRepository {
|
|||
_i1.WhereExpressionBuilder<CityTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<CityTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CityTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
CityInclude? include,
|
||||
|
|
@ -443,8 +448,6 @@ class CityRepository {
|
|||
where: where?.call(City.t),
|
||||
orderBy: orderBy?.call(City.t),
|
||||
orderByList: orderByList?.call(City.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -652,8 +655,6 @@ class CityRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<CityTable>? orderBy,
|
||||
_i1.OrderByListBuilder<CityTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -664,8 +665,6 @@ class CityRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(City.t),
|
||||
orderByList: orderByList?.call(City.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -686,8 +685,6 @@ class CityRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<City> rows, {
|
||||
_i1.OrderByBuilder<CityTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CityTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -696,8 +693,6 @@ class CityRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(City.t),
|
||||
orderByList: orderByList?.call(City.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -727,8 +722,6 @@ class CityRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<CityTable> where,
|
||||
_i1.OrderByBuilder<CityTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CityTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -737,8 +730,6 @@ class CityRepository {
|
|||
where: where(City.t),
|
||||
orderBy: orderBy?.call(City.t),
|
||||
orderByList: orderByList?.call(City.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import 'town.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class Company implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Company
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Company._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -93,6 +94,18 @@ abstract class Company implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Company',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (town != null) 'town': town?.toJsonForProtocol(),
|
||||
'townId': townId.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static CompanyInclude include({_i3.TownInclude? town}) {
|
||||
return CompanyInclude._(town: town);
|
||||
}
|
||||
|
|
@ -102,8 +115,6 @@ abstract class Company implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<CompanyTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CompanyTable>? orderByList,
|
||||
CompanyInclude? include,
|
||||
}) {
|
||||
|
|
@ -112,8 +123,6 @@ abstract class Company implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Company.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Company.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -262,8 +271,6 @@ class CompanyIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -310,8 +317,6 @@ class CompanyRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<CompanyTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CompanyTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
CompanyInclude? include,
|
||||
|
|
@ -322,8 +327,6 @@ class CompanyRepository {
|
|||
where: where?.call(Company.t),
|
||||
orderBy: orderBy?.call(Company.t),
|
||||
orderByList: orderByList?.call(Company.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -355,8 +358,6 @@ class CompanyRepository {
|
|||
_i1.WhereExpressionBuilder<CompanyTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<CompanyTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CompanyTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
CompanyInclude? include,
|
||||
|
|
@ -367,8 +368,6 @@ class CompanyRepository {
|
|||
where: where?.call(Company.t),
|
||||
orderBy: orderBy?.call(Company.t),
|
||||
orderByList: orderByList?.call(Company.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -576,8 +575,6 @@ class CompanyRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<CompanyTable>? orderBy,
|
||||
_i1.OrderByListBuilder<CompanyTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -588,8 +585,6 @@ class CompanyRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Company.t),
|
||||
orderByList: orderByList?.call(Company.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -610,8 +605,6 @@ class CompanyRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Company> rows, {
|
||||
_i1.OrderByBuilder<CompanyTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CompanyTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -620,8 +613,6 @@ class CompanyRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Company.t),
|
||||
orderByList: orderByList?.call(Company.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -651,8 +642,6 @@ class CompanyRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<CompanyTable> where,
|
||||
_i1.OrderByBuilder<CompanyTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<CompanyTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -661,8 +650,6 @@ class CompanyRepository {
|
|||
where: where(Company.t),
|
||||
orderBy: orderBy?.call(Company.t),
|
||||
orderByList: orderByList?.call(Company.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import '../fk_chain/root.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class FkChainCascadeMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class FkChainCascadeMiddle
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainCascadeMiddle._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -95,6 +96,18 @@ abstract class FkChainCascadeMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainCascadeMiddle',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (root != null) 'root': root?.toJsonForProtocol(),
|
||||
if (rootId != null) 'rootId': rootId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainCascadeMiddleInclude include({_i3.FkChainRootInclude? root}) {
|
||||
return FkChainCascadeMiddleInclude._(root: root);
|
||||
}
|
||||
|
|
@ -104,8 +117,6 @@ abstract class FkChainCascadeMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainCascadeMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainCascadeMiddleTable>? orderByList,
|
||||
FkChainCascadeMiddleInclude? include,
|
||||
}) {
|
||||
|
|
@ -114,8 +125,6 @@ abstract class FkChainCascadeMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainCascadeMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainCascadeMiddle.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -265,8 +274,6 @@ class FkChainCascadeMiddleIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -315,8 +322,6 @@ class FkChainCascadeMiddleRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainCascadeMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainCascadeMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainCascadeMiddleInclude? include,
|
||||
|
|
@ -327,8 +332,6 @@ class FkChainCascadeMiddleRepository {
|
|||
where: where?.call(FkChainCascadeMiddle.t),
|
||||
orderBy: orderBy?.call(FkChainCascadeMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainCascadeMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -360,8 +363,6 @@ class FkChainCascadeMiddleRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainCascadeMiddleTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainCascadeMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainCascadeMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainCascadeMiddleInclude? include,
|
||||
|
|
@ -372,8 +373,6 @@ class FkChainCascadeMiddleRepository {
|
|||
where: where?.call(FkChainCascadeMiddle.t),
|
||||
orderBy: orderBy?.call(FkChainCascadeMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainCascadeMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -583,8 +582,6 @@ class FkChainCascadeMiddleRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainCascadeMiddleTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainCascadeMiddleTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -595,8 +592,6 @@ class FkChainCascadeMiddleRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainCascadeMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainCascadeMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -617,8 +612,6 @@ class FkChainCascadeMiddleRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainCascadeMiddle> rows, {
|
||||
_i1.OrderByBuilder<FkChainCascadeMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainCascadeMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -627,8 +620,6 @@ class FkChainCascadeMiddleRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainCascadeMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainCascadeMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -658,8 +649,6 @@ class FkChainCascadeMiddleRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainCascadeMiddleTable> where,
|
||||
_i1.OrderByBuilder<FkChainCascadeMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainCascadeMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -668,8 +657,6 @@ class FkChainCascadeMiddleRepository {
|
|||
where: where(FkChainCascadeMiddle.t),
|
||||
orderBy: orderBy?.call(FkChainCascadeMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainCascadeMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
|||
as _i4;
|
||||
|
||||
abstract class FkChainMiddleCascadeChild
|
||||
implements _i1.TableRow<_i2.UuidValue?> {
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainMiddleCascadeChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -99,6 +99,20 @@ abstract class FkChainMiddleCascadeChild
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainMiddleCascadeChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (restrictBlocker != null)
|
||||
'restrictBlocker': restrictBlocker?.toJsonForProtocol(),
|
||||
if (restrictBlockerId != null)
|
||||
'restrictBlockerId': restrictBlockerId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainMiddleCascadeChildInclude include({
|
||||
_i3.FkChainRestrictBlockerInclude? restrictBlocker,
|
||||
}) {
|
||||
|
|
@ -110,8 +124,6 @@ abstract class FkChainMiddleCascadeChild
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleCascadeChildTable>? orderByList,
|
||||
FkChainMiddleCascadeChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -120,8 +132,6 @@ abstract class FkChainMiddleCascadeChild
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainMiddleCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainMiddleCascadeChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -280,8 +290,6 @@ class FkChainMiddleCascadeChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -330,8 +338,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainMiddleCascadeChildInclude? include,
|
||||
|
|
@ -342,8 +348,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
where: where?.call(FkChainMiddleCascadeChild.t),
|
||||
orderBy: orderBy?.call(FkChainMiddleCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -375,8 +379,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainMiddleCascadeChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainMiddleCascadeChildInclude? include,
|
||||
|
|
@ -387,8 +389,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
where: where?.call(FkChainMiddleCascadeChild.t),
|
||||
orderBy: orderBy?.call(FkChainMiddleCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -600,8 +600,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleCascadeChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainMiddleCascadeChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -612,8 +610,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainMiddleCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -634,8 +630,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainMiddleCascadeChild> rows, {
|
||||
_i1.OrderByBuilder<FkChainMiddleCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -644,8 +638,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainMiddleCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -675,8 +667,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainMiddleCascadeChildTable> where,
|
||||
_i1.OrderByBuilder<FkChainMiddleCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -685,8 +675,6 @@ class FkChainMiddleCascadeChildRepository {
|
|||
where: where(FkChainMiddleCascadeChild.t),
|
||||
orderBy: orderBy?.call(FkChainMiddleCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
|||
as _i4;
|
||||
|
||||
abstract class FkChainMiddleSetNullChild
|
||||
implements _i1.TableRow<_i2.UuidValue?> {
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainMiddleSetNullChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -99,6 +99,20 @@ abstract class FkChainMiddleSetNullChild
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainMiddleSetNullChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (restrictBlocker != null)
|
||||
'restrictBlocker': restrictBlocker?.toJsonForProtocol(),
|
||||
if (restrictBlockerId != null)
|
||||
'restrictBlockerId': restrictBlockerId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainMiddleSetNullChildInclude include({
|
||||
_i3.FkChainRestrictBlockerInclude? restrictBlocker,
|
||||
}) {
|
||||
|
|
@ -110,8 +124,6 @@ abstract class FkChainMiddleSetNullChild
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleSetNullChildTable>? orderByList,
|
||||
FkChainMiddleSetNullChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -120,8 +132,6 @@ abstract class FkChainMiddleSetNullChild
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainMiddleSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainMiddleSetNullChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -280,8 +290,6 @@ class FkChainMiddleSetNullChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -330,8 +338,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainMiddleSetNullChildInclude? include,
|
||||
|
|
@ -342,8 +348,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
where: where?.call(FkChainMiddleSetNullChild.t),
|
||||
orderBy: orderBy?.call(FkChainMiddleSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -375,8 +379,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainMiddleSetNullChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainMiddleSetNullChildInclude? include,
|
||||
|
|
@ -387,8 +389,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
where: where?.call(FkChainMiddleSetNullChild.t),
|
||||
orderBy: orderBy?.call(FkChainMiddleSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -600,8 +600,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainMiddleSetNullChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainMiddleSetNullChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -612,8 +610,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainMiddleSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -634,8 +630,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainMiddleSetNullChild> rows, {
|
||||
_i1.OrderByBuilder<FkChainMiddleSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -644,8 +638,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainMiddleSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -675,8 +667,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainMiddleSetNullChildTable> where,
|
||||
_i1.OrderByBuilder<FkChainMiddleSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainMiddleSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -685,8 +675,6 @@ class FkChainMiddleSetNullChildRepository {
|
|||
where: where(FkChainMiddleSetNullChild.t),
|
||||
orderBy: orderBy?.call(FkChainMiddleSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainMiddleSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import '../fk_chain/cascade_middle.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class FkChainRestrictBlocker implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class FkChainRestrictBlocker
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainRestrictBlocker._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -97,6 +98,19 @@ abstract class FkChainRestrictBlocker implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainRestrictBlocker',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (cascadeMiddle != null)
|
||||
'cascadeMiddle': cascadeMiddle?.toJsonForProtocol(),
|
||||
if (cascadeMiddleId != null) 'cascadeMiddleId': cascadeMiddleId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainRestrictBlockerInclude include({
|
||||
_i3.FkChainCascadeMiddleInclude? cascadeMiddle,
|
||||
}) {
|
||||
|
|
@ -108,8 +122,6 @@ abstract class FkChainRestrictBlocker implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRestrictBlockerTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRestrictBlockerTable>? orderByList,
|
||||
FkChainRestrictBlockerInclude? include,
|
||||
}) {
|
||||
|
|
@ -118,8 +130,6 @@ abstract class FkChainRestrictBlocker implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainRestrictBlocker.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainRestrictBlocker.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -276,8 +286,6 @@ class FkChainRestrictBlockerIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -326,8 +334,6 @@ class FkChainRestrictBlockerRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRestrictBlockerTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRestrictBlockerTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainRestrictBlockerInclude? include,
|
||||
|
|
@ -338,8 +344,6 @@ class FkChainRestrictBlockerRepository {
|
|||
where: where?.call(FkChainRestrictBlocker.t),
|
||||
orderBy: orderBy?.call(FkChainRestrictBlocker.t),
|
||||
orderByList: orderByList?.call(FkChainRestrictBlocker.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -371,8 +375,6 @@ class FkChainRestrictBlockerRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainRestrictBlockerTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRestrictBlockerTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRestrictBlockerTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainRestrictBlockerInclude? include,
|
||||
|
|
@ -383,8 +385,6 @@ class FkChainRestrictBlockerRepository {
|
|||
where: where?.call(FkChainRestrictBlocker.t),
|
||||
orderBy: orderBy?.call(FkChainRestrictBlocker.t),
|
||||
orderByList: orderByList?.call(FkChainRestrictBlocker.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -594,8 +594,6 @@ class FkChainRestrictBlockerRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRestrictBlockerTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainRestrictBlockerTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -606,8 +604,6 @@ class FkChainRestrictBlockerRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainRestrictBlocker.t),
|
||||
orderByList: orderByList?.call(FkChainRestrictBlocker.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -628,8 +624,6 @@ class FkChainRestrictBlockerRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainRestrictBlocker> rows, {
|
||||
_i1.OrderByBuilder<FkChainRestrictBlockerTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRestrictBlockerTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -638,8 +632,6 @@ class FkChainRestrictBlockerRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainRestrictBlocker.t),
|
||||
orderByList: orderByList?.call(FkChainRestrictBlocker.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -669,8 +661,6 @@ class FkChainRestrictBlockerRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainRestrictBlockerTable> where,
|
||||
_i1.OrderByBuilder<FkChainRestrictBlockerTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRestrictBlockerTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -679,8 +669,6 @@ class FkChainRestrictBlockerRepository {
|
|||
where: where(FkChainRestrictBlocker.t),
|
||||
orderBy: orderBy?.call(FkChainRestrictBlocker.t),
|
||||
orderByList: orderByList?.call(FkChainRestrictBlocker.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@
|
|||
import 'package:serverpod_database/serverpod_database.dart' as _i1;
|
||||
import 'package:serverpod_client/serverpod_client.dart' as _i2;
|
||||
|
||||
abstract class FkChainRoot implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class FkChainRoot
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainRoot._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -69,6 +70,16 @@ abstract class FkChainRoot implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainRoot',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainRootInclude include() {
|
||||
return FkChainRootInclude._();
|
||||
}
|
||||
|
|
@ -78,8 +89,6 @@ abstract class FkChainRoot implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRootTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRootTable>? orderByList,
|
||||
FkChainRootInclude? include,
|
||||
}) {
|
||||
|
|
@ -88,8 +97,6 @@ abstract class FkChainRoot implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainRoot.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainRoot.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -189,8 +196,6 @@ class FkChainRootIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -235,8 +240,6 @@ class FkChainRootRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRootTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRootTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
_i1.LockMode? lockMode,
|
||||
|
|
@ -246,8 +249,6 @@ class FkChainRootRepository {
|
|||
where: where?.call(FkChainRoot.t),
|
||||
orderBy: orderBy?.call(FkChainRoot.t),
|
||||
orderByList: orderByList?.call(FkChainRoot.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -278,8 +279,6 @@ class FkChainRootRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainRootTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRootTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRootTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
_i1.LockMode? lockMode,
|
||||
|
|
@ -289,8 +288,6 @@ class FkChainRootRepository {
|
|||
where: where?.call(FkChainRoot.t),
|
||||
orderBy: orderBy?.call(FkChainRoot.t),
|
||||
orderByList: orderByList?.call(FkChainRoot.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
lockMode: lockMode,
|
||||
|
|
@ -495,8 +492,6 @@ class FkChainRootRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainRootTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainRootTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -507,8 +502,6 @@ class FkChainRootRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainRoot.t),
|
||||
orderByList: orderByList?.call(FkChainRoot.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -529,8 +522,6 @@ class FkChainRootRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainRoot> rows, {
|
||||
_i1.OrderByBuilder<FkChainRootTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRootTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -539,8 +530,6 @@ class FkChainRootRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainRoot.t),
|
||||
orderByList: orderByList?.call(FkChainRoot.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -570,8 +559,6 @@ class FkChainRootRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainRootTable> where,
|
||||
_i1.OrderByBuilder<FkChainRootTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainRootTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -580,8 +567,6 @@ class FkChainRootRepository {
|
|||
where: where(FkChainRoot.t),
|
||||
orderBy: orderBy?.call(FkChainRoot.t),
|
||||
orderByList: orderByList?.call(FkChainRoot.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
|||
as _i4;
|
||||
|
||||
abstract class FkChainSetNullCascadeChild
|
||||
implements _i1.TableRow<_i2.UuidValue?> {
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainSetNullCascadeChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -98,6 +98,19 @@ abstract class FkChainSetNullCascadeChild
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainSetNullCascadeChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (setNullMiddle != null)
|
||||
'setNullMiddle': setNullMiddle?.toJsonForProtocol(),
|
||||
if (setNullMiddleId != null) 'setNullMiddleId': setNullMiddleId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainSetNullCascadeChildInclude include({
|
||||
_i3.FkChainSetNullMiddleInclude? setNullMiddle,
|
||||
}) {
|
||||
|
|
@ -109,8 +122,6 @@ abstract class FkChainSetNullCascadeChild
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullCascadeChildTable>? orderByList,
|
||||
FkChainSetNullCascadeChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -119,8 +130,6 @@ abstract class FkChainSetNullCascadeChild
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainSetNullCascadeChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -277,8 +286,6 @@ class FkChainSetNullCascadeChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -327,8 +334,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullCascadeChildInclude? include,
|
||||
|
|
@ -339,8 +344,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
where: where?.call(FkChainSetNullCascadeChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -372,8 +375,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainSetNullCascadeChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullCascadeChildInclude? include,
|
||||
|
|
@ -384,8 +385,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
where: where?.call(FkChainSetNullCascadeChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -597,8 +596,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullCascadeChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainSetNullCascadeChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -609,8 +606,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -631,8 +626,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainSetNullCascadeChild> rows, {
|
||||
_i1.OrderByBuilder<FkChainSetNullCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -641,8 +634,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainSetNullCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -672,8 +663,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainSetNullCascadeChildTable> where,
|
||||
_i1.OrderByBuilder<FkChainSetNullCascadeChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullCascadeChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -682,8 +671,6 @@ class FkChainSetNullCascadeChildRepository {
|
|||
where: where(FkChainSetNullCascadeChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullCascadeChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullCascadeChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import '../fk_chain/cascade_middle.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class FkChainSetNullMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class FkChainSetNullMiddle
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainSetNullMiddle._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -97,6 +98,19 @@ abstract class FkChainSetNullMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainSetNullMiddle',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (cascadeMiddle != null)
|
||||
'cascadeMiddle': cascadeMiddle?.toJsonForProtocol(),
|
||||
if (cascadeMiddleId != null) 'cascadeMiddleId': cascadeMiddleId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainSetNullMiddleInclude include({
|
||||
_i3.FkChainCascadeMiddleInclude? cascadeMiddle,
|
||||
}) {
|
||||
|
|
@ -108,8 +122,6 @@ abstract class FkChainSetNullMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullMiddleTable>? orderByList,
|
||||
FkChainSetNullMiddleInclude? include,
|
||||
}) {
|
||||
|
|
@ -118,8 +130,6 @@ abstract class FkChainSetNullMiddle implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainSetNullMiddle.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -276,8 +286,6 @@ class FkChainSetNullMiddleIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -326,8 +334,6 @@ class FkChainSetNullMiddleRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullMiddleInclude? include,
|
||||
|
|
@ -338,8 +344,6 @@ class FkChainSetNullMiddleRepository {
|
|||
where: where?.call(FkChainSetNullMiddle.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -371,8 +375,6 @@ class FkChainSetNullMiddleRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainSetNullMiddleTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullMiddleInclude? include,
|
||||
|
|
@ -383,8 +385,6 @@ class FkChainSetNullMiddleRepository {
|
|||
where: where?.call(FkChainSetNullMiddle.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -594,8 +594,6 @@ class FkChainSetNullMiddleRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullMiddleTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainSetNullMiddleTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -606,8 +604,6 @@ class FkChainSetNullMiddleRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -628,8 +624,6 @@ class FkChainSetNullMiddleRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainSetNullMiddle> rows, {
|
||||
_i1.OrderByBuilder<FkChainSetNullMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -638,8 +632,6 @@ class FkChainSetNullMiddleRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainSetNullMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -669,8 +661,6 @@ class FkChainSetNullMiddleRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainSetNullMiddleTable> where,
|
||||
_i1.OrderByBuilder<FkChainSetNullMiddleTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullMiddleTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -679,8 +669,6 @@ class FkChainSetNullMiddleRepository {
|
|||
where: where(FkChainSetNullMiddle.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullMiddle.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullMiddle.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
|||
as _i4;
|
||||
|
||||
abstract class FkChainSetNullRestrictChild
|
||||
implements _i1.TableRow<_i2.UuidValue?> {
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainSetNullRestrictChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -98,6 +98,19 @@ abstract class FkChainSetNullRestrictChild
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainSetNullRestrictChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (setNullMiddle != null)
|
||||
'setNullMiddle': setNullMiddle?.toJsonForProtocol(),
|
||||
if (setNullMiddleId != null) 'setNullMiddleId': setNullMiddleId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainSetNullRestrictChildInclude include({
|
||||
_i3.FkChainSetNullMiddleInclude? setNullMiddle,
|
||||
}) {
|
||||
|
|
@ -109,8 +122,6 @@ abstract class FkChainSetNullRestrictChild
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullRestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullRestrictChildTable>? orderByList,
|
||||
FkChainSetNullRestrictChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -119,8 +130,6 @@ abstract class FkChainSetNullRestrictChild
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullRestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainSetNullRestrictChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -277,8 +286,6 @@ class FkChainSetNullRestrictChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -327,8 +334,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullRestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullRestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullRestrictChildInclude? include,
|
||||
|
|
@ -339,8 +344,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
where: where?.call(FkChainSetNullRestrictChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullRestrictChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullRestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -372,8 +375,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainSetNullRestrictChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullRestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullRestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullRestrictChildInclude? include,
|
||||
|
|
@ -384,8 +385,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
where: where?.call(FkChainSetNullRestrictChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullRestrictChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullRestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -597,8 +596,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullRestrictChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainSetNullRestrictChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -609,8 +606,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullRestrictChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullRestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -631,8 +626,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainSetNullRestrictChild> rows, {
|
||||
_i1.OrderByBuilder<FkChainSetNullRestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullRestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -641,8 +634,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainSetNullRestrictChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullRestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -672,8 +663,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainSetNullRestrictChildTable> where,
|
||||
_i1.OrderByBuilder<FkChainSetNullRestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullRestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -682,8 +671,6 @@ class FkChainSetNullRestrictChildRepository {
|
|||
where: where(FkChainSetNullRestrictChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullRestrictChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullRestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
|||
as _i4;
|
||||
|
||||
abstract class FkChainSetNullSetNullChild
|
||||
implements _i1.TableRow<_i2.UuidValue?> {
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
FkChainSetNullSetNullChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -98,6 +98,19 @@ abstract class FkChainSetNullSetNullChild
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'FkChainSetNullSetNullChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (setNullMiddle != null)
|
||||
'setNullMiddle': setNullMiddle?.toJsonForProtocol(),
|
||||
if (setNullMiddleId != null) 'setNullMiddleId': setNullMiddleId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static FkChainSetNullSetNullChildInclude include({
|
||||
_i3.FkChainSetNullMiddleInclude? setNullMiddle,
|
||||
}) {
|
||||
|
|
@ -109,8 +122,6 @@ abstract class FkChainSetNullSetNullChild
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullSetNullChildTable>? orderByList,
|
||||
FkChainSetNullSetNullChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -119,8 +130,6 @@ abstract class FkChainSetNullSetNullChild
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(FkChainSetNullSetNullChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -277,8 +286,6 @@ class FkChainSetNullSetNullChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -327,8 +334,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullSetNullChildInclude? include,
|
||||
|
|
@ -339,8 +344,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
where: where?.call(FkChainSetNullSetNullChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -372,8 +375,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
_i1.WhereExpressionBuilder<FkChainSetNullSetNullChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
FkChainSetNullSetNullChildInclude? include,
|
||||
|
|
@ -384,8 +385,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
where: where?.call(FkChainSetNullSetNullChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -597,8 +596,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<FkChainSetNullSetNullChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<FkChainSetNullSetNullChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -609,8 +606,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(FkChainSetNullSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -631,8 +626,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<FkChainSetNullSetNullChild> rows, {
|
||||
_i1.OrderByBuilder<FkChainSetNullSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -641,8 +634,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(FkChainSetNullSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -672,8 +663,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<FkChainSetNullSetNullChildTable> where,
|
||||
_i1.OrderByBuilder<FkChainSetNullSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<FkChainSetNullSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -682,8 +671,6 @@ class FkChainSetNullSetNullChildRepository {
|
|||
where: where(FkChainSetNullSetNullChild.t),
|
||||
orderBy: orderBy?.call(FkChainSetNullSetNullChild.t),
|
||||
orderByList: orderByList?.call(FkChainSetNullSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ import 'city.dart' as _i4;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i5;
|
||||
|
||||
abstract class Organization implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Organization
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Organization._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -104,6 +105,20 @@ abstract class Organization implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Organization',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (people != null)
|
||||
'people': people?.toJson(valueToJson: (v) => v.toJsonForProtocol()),
|
||||
if (cityId != null) 'cityId': cityId?.toJson(),
|
||||
if (city != null) 'city': city?.toJsonForProtocol(),
|
||||
};
|
||||
}
|
||||
|
||||
static OrganizationInclude include({
|
||||
_i3.PersonIncludeList? people,
|
||||
_i4.CityInclude? city,
|
||||
|
|
@ -119,8 +134,6 @@ abstract class Organization implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<OrganizationTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<OrganizationTable>? orderByList,
|
||||
OrganizationInclude? include,
|
||||
}) {
|
||||
|
|
@ -129,8 +142,6 @@ abstract class Organization implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Organization.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Organization.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -332,8 +343,6 @@ class OrganizationIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -386,8 +395,6 @@ class OrganizationRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<OrganizationTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<OrganizationTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
OrganizationInclude? include,
|
||||
|
|
@ -398,8 +405,6 @@ class OrganizationRepository {
|
|||
where: where?.call(Organization.t),
|
||||
orderBy: orderBy?.call(Organization.t),
|
||||
orderByList: orderByList?.call(Organization.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -431,8 +436,6 @@ class OrganizationRepository {
|
|||
_i1.WhereExpressionBuilder<OrganizationTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<OrganizationTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<OrganizationTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
OrganizationInclude? include,
|
||||
|
|
@ -443,8 +446,6 @@ class OrganizationRepository {
|
|||
where: where?.call(Organization.t),
|
||||
orderBy: orderBy?.call(Organization.t),
|
||||
orderByList: orderByList?.call(Organization.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -652,8 +653,6 @@ class OrganizationRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<OrganizationTable>? orderBy,
|
||||
_i1.OrderByListBuilder<OrganizationTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -664,8 +663,6 @@ class OrganizationRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Organization.t),
|
||||
orderByList: orderByList?.call(Organization.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -686,8 +683,6 @@ class OrganizationRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Organization> rows, {
|
||||
_i1.OrderByBuilder<OrganizationTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<OrganizationTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -696,8 +691,6 @@ class OrganizationRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Organization.t),
|
||||
orderByList: orderByList?.call(Organization.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -727,8 +720,6 @@ class OrganizationRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<OrganizationTable> where,
|
||||
_i1.OrderByBuilder<OrganizationTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<OrganizationTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -737,8 +728,6 @@ class OrganizationRepository {
|
|||
where: where(Organization.t),
|
||||
orderBy: orderBy?.call(Organization.t),
|
||||
orderByList: orderByList?.call(Organization.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ import 'company.dart' as _i5;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i6;
|
||||
|
||||
abstract class Person implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Person
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Person._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -146,6 +147,23 @@ abstract class Person implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Person',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (surname != null) 'surname': surname,
|
||||
if (address != null) 'address': address?.toJsonForProtocol(),
|
||||
if (organizationId != null) 'organizationId': organizationId?.toJson(),
|
||||
if (organization != null)
|
||||
'organization': organization?.toJsonForProtocol(),
|
||||
if (oldCompanyId != null) 'oldCompanyId': oldCompanyId?.toJson(),
|
||||
if (oldCompany != null) 'oldCompany': oldCompany?.toJsonForProtocol(),
|
||||
};
|
||||
}
|
||||
|
||||
static PersonInclude include({
|
||||
_i3.AddressInclude? address,
|
||||
_i4.OrganizationInclude? organization,
|
||||
|
|
@ -163,8 +181,6 @@ abstract class Person implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<PersonTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<PersonTable>? orderByList,
|
||||
PersonInclude? include,
|
||||
}) {
|
||||
|
|
@ -173,8 +189,6 @@ abstract class Person implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Person.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Person.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -495,8 +509,6 @@ class PersonIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -545,8 +557,6 @@ class PersonRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<PersonTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<PersonTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
PersonInclude? include,
|
||||
|
|
@ -557,8 +567,6 @@ class PersonRepository {
|
|||
where: where?.call(Person.t),
|
||||
orderBy: orderBy?.call(Person.t),
|
||||
orderByList: orderByList?.call(Person.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -590,8 +598,6 @@ class PersonRepository {
|
|||
_i1.WhereExpressionBuilder<PersonTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<PersonTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<PersonTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
PersonInclude? include,
|
||||
|
|
@ -602,8 +608,6 @@ class PersonRepository {
|
|||
where: where?.call(Person.t),
|
||||
orderBy: orderBy?.call(Person.t),
|
||||
orderByList: orderByList?.call(Person.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -811,8 +815,6 @@ class PersonRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<PersonTable>? orderBy,
|
||||
_i1.OrderByListBuilder<PersonTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -823,8 +825,6 @@ class PersonRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Person.t),
|
||||
orderByList: orderByList?.call(Person.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -845,8 +845,6 @@ class PersonRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Person> rows, {
|
||||
_i1.OrderByBuilder<PersonTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<PersonTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -855,8 +853,6 @@ class PersonRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Person.t),
|
||||
orderByList: orderByList?.call(Person.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -886,8 +882,6 @@ class PersonRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<PersonTable> where,
|
||||
_i1.OrderByBuilder<PersonTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<PersonTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -896,8 +890,6 @@ class PersonRepository {
|
|||
where: where(Person.t),
|
||||
orderBy: orderBy?.call(Person.t),
|
||||
orderByList: orderByList?.call(Person.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
// ignore_for_file: type_literal_in_constant_pattern
|
||||
// ignore_for_file: use_super_parameters
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
// ignore_for_file: dead_code, unnecessary_type_check
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'package:serverpod_database/serverpod_database.dart' as _i1;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import 'person.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class RequiredSetNullChild implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class RequiredSetNullChild
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
RequiredSetNullChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -93,6 +94,18 @@ abstract class RequiredSetNullChild implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'RequiredSetNullChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (parent != null) 'parent': parent?.toJsonForProtocol(),
|
||||
'parentId': parentId.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static RequiredSetNullChildInclude include({_i3.PersonInclude? parent}) {
|
||||
return RequiredSetNullChildInclude._(parent: parent);
|
||||
}
|
||||
|
|
@ -102,8 +115,6 @@ abstract class RequiredSetNullChild implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<RequiredSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RequiredSetNullChildTable>? orderByList,
|
||||
RequiredSetNullChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -112,8 +123,6 @@ abstract class RequiredSetNullChild implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(RequiredSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(RequiredSetNullChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -263,8 +272,6 @@ class RequiredSetNullChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -311,8 +318,6 @@ class RequiredSetNullChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<RequiredSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RequiredSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
RequiredSetNullChildInclude? include,
|
||||
|
|
@ -323,8 +328,6 @@ class RequiredSetNullChildRepository {
|
|||
where: where?.call(RequiredSetNullChild.t),
|
||||
orderBy: orderBy?.call(RequiredSetNullChild.t),
|
||||
orderByList: orderByList?.call(RequiredSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -356,8 +359,6 @@ class RequiredSetNullChildRepository {
|
|||
_i1.WhereExpressionBuilder<RequiredSetNullChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<RequiredSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RequiredSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
RequiredSetNullChildInclude? include,
|
||||
|
|
@ -368,8 +369,6 @@ class RequiredSetNullChildRepository {
|
|||
where: where?.call(RequiredSetNullChild.t),
|
||||
orderBy: orderBy?.call(RequiredSetNullChild.t),
|
||||
orderByList: orderByList?.call(RequiredSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -579,8 +578,6 @@ class RequiredSetNullChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<RequiredSetNullChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<RequiredSetNullChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -591,8 +588,6 @@ class RequiredSetNullChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(RequiredSetNullChild.t),
|
||||
orderByList: orderByList?.call(RequiredSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -613,8 +608,6 @@ class RequiredSetNullChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<RequiredSetNullChild> rows, {
|
||||
_i1.OrderByBuilder<RequiredSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RequiredSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -623,8 +616,6 @@ class RequiredSetNullChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(RequiredSetNullChild.t),
|
||||
orderByList: orderByList?.call(RequiredSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -654,8 +645,6 @@ class RequiredSetNullChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<RequiredSetNullChildTable> where,
|
||||
_i1.OrderByBuilder<RequiredSetNullChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RequiredSetNullChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -664,8 +653,6 @@ class RequiredSetNullChildRepository {
|
|||
where: where(RequiredSetNullChild.t),
|
||||
orderBy: orderBy?.call(RequiredSetNullChild.t),
|
||||
orderByList: orderByList?.call(RequiredSetNullChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import 'person.dart' as _i3;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i4;
|
||||
|
||||
abstract class RestrictChild implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class RestrictChild
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
RestrictChild._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -91,6 +92,18 @@ abstract class RestrictChild implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'RestrictChild',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (parent != null) 'parent': parent?.toJsonForProtocol(),
|
||||
if (parentId != null) 'parentId': parentId?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static RestrictChildInclude include({_i3.PersonInclude? parent}) {
|
||||
return RestrictChildInclude._(parent: parent);
|
||||
}
|
||||
|
|
@ -100,8 +113,6 @@ abstract class RestrictChild implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<RestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RestrictChildTable>? orderByList,
|
||||
RestrictChildInclude? include,
|
||||
}) {
|
||||
|
|
@ -110,8 +121,6 @@ abstract class RestrictChild implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(RestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(RestrictChild.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -261,8 +270,6 @@ class RestrictChildIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -311,8 +318,6 @@ class RestrictChildRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<RestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
RestrictChildInclude? include,
|
||||
|
|
@ -323,8 +328,6 @@ class RestrictChildRepository {
|
|||
where: where?.call(RestrictChild.t),
|
||||
orderBy: orderBy?.call(RestrictChild.t),
|
||||
orderByList: orderByList?.call(RestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -356,8 +359,6 @@ class RestrictChildRepository {
|
|||
_i1.WhereExpressionBuilder<RestrictChildTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<RestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
RestrictChildInclude? include,
|
||||
|
|
@ -368,8 +369,6 @@ class RestrictChildRepository {
|
|||
where: where?.call(RestrictChild.t),
|
||||
orderBy: orderBy?.call(RestrictChild.t),
|
||||
orderByList: orderByList?.call(RestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -577,8 +576,6 @@ class RestrictChildRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<RestrictChildTable>? orderBy,
|
||||
_i1.OrderByListBuilder<RestrictChildTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -589,8 +586,6 @@ class RestrictChildRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(RestrictChild.t),
|
||||
orderByList: orderByList?.call(RestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -611,8 +606,6 @@ class RestrictChildRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<RestrictChild> rows, {
|
||||
_i1.OrderByBuilder<RestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -621,8 +614,6 @@ class RestrictChildRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(RestrictChild.t),
|
||||
orderByList: orderByList?.call(RestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -652,8 +643,6 @@ class RestrictChildRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<RestrictChildTable> where,
|
||||
_i1.OrderByBuilder<RestrictChildTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<RestrictChildTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -662,8 +651,6 @@ class RestrictChildRepository {
|
|||
where: where(RestrictChild.t),
|
||||
orderBy: orderBy?.call(RestrictChild.t),
|
||||
orderByList: orderByList?.call(RestrictChild.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ import 'person.dart' as _i4;
|
|||
import 'package:serverpod_offline_sync_test_client/src/protocol/protocol.dart'
|
||||
as _i5;
|
||||
|
||||
abstract class Town implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Town
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Town._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -110,6 +111,20 @@ abstract class Town implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Town',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
if (cityId != null) 'cityId': cityId?.toJson(),
|
||||
if (city != null) 'city': city?.toJsonForProtocol(),
|
||||
if (mayorId != null) 'mayorId': mayorId?.toJson(),
|
||||
if (mayor != null) 'mayor': mayor?.toJsonForProtocol(),
|
||||
};
|
||||
}
|
||||
|
||||
static TownInclude include({
|
||||
_i3.CityInclude? city,
|
||||
_i4.PersonInclude? mayor,
|
||||
|
|
@ -125,8 +140,6 @@ abstract class Town implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<TownTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TownTable>? orderByList,
|
||||
TownInclude? include,
|
||||
}) {
|
||||
|
|
@ -135,8 +148,6 @@ abstract class Town implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Town.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Town.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -332,8 +343,6 @@ class TownIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -382,8 +391,6 @@ class TownRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<TownTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TownTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
TownInclude? include,
|
||||
|
|
@ -394,8 +401,6 @@ class TownRepository {
|
|||
where: where?.call(Town.t),
|
||||
orderBy: orderBy?.call(Town.t),
|
||||
orderByList: orderByList?.call(Town.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -427,8 +432,6 @@ class TownRepository {
|
|||
_i1.WhereExpressionBuilder<TownTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<TownTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TownTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
TownInclude? include,
|
||||
|
|
@ -439,8 +442,6 @@ class TownRepository {
|
|||
where: where?.call(Town.t),
|
||||
orderBy: orderBy?.call(Town.t),
|
||||
orderByList: orderByList?.call(Town.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
include: include,
|
||||
|
|
@ -648,8 +649,6 @@ class TownRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<TownTable>? orderBy,
|
||||
_i1.OrderByListBuilder<TownTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -660,8 +659,6 @@ class TownRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Town.t),
|
||||
orderByList: orderByList?.call(Town.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -682,8 +679,6 @@ class TownRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Town> rows, {
|
||||
_i1.OrderByBuilder<TownTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TownTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -692,8 +687,6 @@ class TownRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Town.t),
|
||||
orderByList: orderByList?.call(Town.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -723,8 +716,6 @@ class TownRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<TownTable> where,
|
||||
_i1.OrderByBuilder<TownTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TownTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -733,8 +724,6 @@ class TownRepository {
|
|||
where: where(Town.t),
|
||||
orderBy: orderBy?.call(Town.t),
|
||||
orderByList: orderByList?.call(Town.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@ import 'package:serverpod_client/serverpod_client.dart' as _i2;
|
|||
import 'dart:typed_data' as _i3;
|
||||
import 'types_enum.dart' as _i4;
|
||||
|
||||
abstract class Types implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Types
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Types._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -142,6 +143,25 @@ abstract class Types implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Types',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'aBool': aBool,
|
||||
'aDateTime': aDateTime.toJson(),
|
||||
'aText': aText,
|
||||
'anInt': anInt,
|
||||
'anInt64': anInt64.toJson(),
|
||||
'aReal': aReal,
|
||||
'aBlob': aBlob.toJson(),
|
||||
if (anEnum != null) 'anEnum': anEnum?.toJson(),
|
||||
if (optionalText != null) 'optionalText': optionalText,
|
||||
if (optionalUuid != null) 'optionalUuid': optionalUuid?.toJson(),
|
||||
};
|
||||
}
|
||||
|
||||
static TypesInclude include() {
|
||||
return TypesInclude._();
|
||||
}
|
||||
|
|
@ -151,8 +171,6 @@ abstract class Types implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<TypesTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TypesTable>? orderByList,
|
||||
TypesInclude? include,
|
||||
}) {
|
||||
|
|
@ -161,8 +179,6 @@ abstract class Types implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Types.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Types.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -415,8 +431,6 @@ class TypesIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -461,8 +475,6 @@ class TypesRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<TypesTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TypesTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
_i1.LockMode? lockMode,
|
||||
|
|
@ -472,8 +484,6 @@ class TypesRepository {
|
|||
where: where?.call(Types.t),
|
||||
orderBy: orderBy?.call(Types.t),
|
||||
orderByList: orderByList?.call(Types.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -504,8 +514,6 @@ class TypesRepository {
|
|||
_i1.WhereExpressionBuilder<TypesTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<TypesTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TypesTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
_i1.LockMode? lockMode,
|
||||
|
|
@ -515,8 +523,6 @@ class TypesRepository {
|
|||
where: where?.call(Types.t),
|
||||
orderBy: orderBy?.call(Types.t),
|
||||
orderByList: orderByList?.call(Types.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
lockMode: lockMode,
|
||||
|
|
@ -721,8 +727,6 @@ class TypesRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<TypesTable>? orderBy,
|
||||
_i1.OrderByListBuilder<TypesTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -733,8 +737,6 @@ class TypesRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Types.t),
|
||||
orderByList: orderByList?.call(Types.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -755,8 +757,6 @@ class TypesRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Types> rows, {
|
||||
_i1.OrderByBuilder<TypesTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TypesTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -765,8 +765,6 @@ class TypesRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Types.t),
|
||||
orderByList: orderByList?.call(Types.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -796,8 +794,6 @@ class TypesRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<TypesTable> where,
|
||||
_i1.OrderByBuilder<TypesTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<TypesTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -806,8 +802,6 @@ class TypesRepository {
|
|||
where: where(Types.t),
|
||||
orderBy: orderBy?.call(Types.t),
|
||||
orderByList: orderByList?.call(Types.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@
|
|||
import 'package:serverpod_database/serverpod_database.dart' as _i1;
|
||||
import 'package:serverpod_client/serverpod_client.dart' as _i2;
|
||||
|
||||
abstract class Unique implements _i1.TableRow<_i2.UuidValue?> {
|
||||
abstract class Unique
|
||||
implements _i1.TableRow<_i2.UuidValue?>, _i2.ProtocolSerialization {
|
||||
Unique._({
|
||||
this.id,
|
||||
this.scopeId,
|
||||
|
|
@ -69,6 +70,16 @@ abstract class Unique implements _i1.TableRow<_i2.UuidValue?> {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJsonForProtocol() {
|
||||
return {
|
||||
'__className__': 'Unique',
|
||||
if (id != null) 'id': id?.toJson(),
|
||||
if (scopeId != null) 'scopeId': scopeId,
|
||||
'name': name,
|
||||
};
|
||||
}
|
||||
|
||||
static UniqueInclude include() {
|
||||
return UniqueInclude._();
|
||||
}
|
||||
|
|
@ -78,8 +89,6 @@ abstract class Unique implements _i1.TableRow<_i2.UuidValue?> {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<UniqueTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<UniqueTable>? orderByList,
|
||||
UniqueInclude? include,
|
||||
}) {
|
||||
|
|
@ -88,8 +97,6 @@ abstract class Unique implements _i1.TableRow<_i2.UuidValue?> {
|
|||
limit: limit,
|
||||
offset: offset,
|
||||
orderBy: orderBy?.call(Unique.t),
|
||||
orderDescending: // ignore: deprecated_member_use_from_same_package
|
||||
orderDescending,
|
||||
orderByList: orderByList?.call(Unique.t),
|
||||
include: include,
|
||||
);
|
||||
|
|
@ -189,8 +196,6 @@ class UniqueIncludeList extends _i1.IncludeList {
|
|||
super.limit,
|
||||
super.offset,
|
||||
super.orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
super.orderDescending,
|
||||
super.orderByList,
|
||||
super.include,
|
||||
}) {
|
||||
|
|
@ -235,8 +240,6 @@ class UniqueRepository {
|
|||
int? limit,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<UniqueTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<UniqueTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
_i1.LockMode? lockMode,
|
||||
|
|
@ -246,8 +249,6 @@ class UniqueRepository {
|
|||
where: where?.call(Unique.t),
|
||||
orderBy: orderBy?.call(Unique.t),
|
||||
orderByList: orderByList?.call(Unique.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
|
|
@ -278,8 +279,6 @@ class UniqueRepository {
|
|||
_i1.WhereExpressionBuilder<UniqueTable>? where,
|
||||
int? offset,
|
||||
_i1.OrderByBuilder<UniqueTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<UniqueTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
_i1.LockMode? lockMode,
|
||||
|
|
@ -289,8 +288,6 @@ class UniqueRepository {
|
|||
where: where?.call(Unique.t),
|
||||
orderBy: orderBy?.call(Unique.t),
|
||||
orderByList: orderByList?.call(Unique.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
offset: offset,
|
||||
transaction: transaction,
|
||||
lockMode: lockMode,
|
||||
|
|
@ -495,8 +492,6 @@ class UniqueRepository {
|
|||
int? offset,
|
||||
_i1.OrderByBuilder<UniqueTable>? orderBy,
|
||||
_i1.OrderByListBuilder<UniqueTable>? orderByList,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
}) async {
|
||||
|
|
@ -507,8 +502,6 @@ class UniqueRepository {
|
|||
offset: offset,
|
||||
orderBy: orderBy?.call(Unique.t),
|
||||
orderByList: orderByList?.call(Unique.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -529,8 +522,6 @@ class UniqueRepository {
|
|||
_i1.DatabaseSession session,
|
||||
List<Unique> rows, {
|
||||
_i1.OrderByBuilder<UniqueTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<UniqueTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -539,8 +530,6 @@ class UniqueRepository {
|
|||
rows,
|
||||
orderBy: orderBy?.call(Unique.t),
|
||||
orderByList: orderByList?.call(Unique.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
@ -570,8 +559,6 @@ class UniqueRepository {
|
|||
_i1.DatabaseSession session, {
|
||||
required _i1.WhereExpressionBuilder<UniqueTable> where,
|
||||
_i1.OrderByBuilder<UniqueTable>? orderBy,
|
||||
@Deprecated('Use desc() on the orderBy column instead.')
|
||||
bool orderDescending = false,
|
||||
_i1.OrderByListBuilder<UniqueTable>? orderByList,
|
||||
_i1.Transaction? transaction,
|
||||
bool noReturn = false,
|
||||
|
|
@ -580,8 +567,6 @@ class UniqueRepository {
|
|||
where: where(Unique.t),
|
||||
orderBy: orderBy?.call(Unique.t),
|
||||
orderByList: orderByList?.call(Unique.t),
|
||||
orderDescending: // ignore: deprecated_member_use
|
||||
orderDescending,
|
||||
transaction: transaction,
|
||||
noReturn: noReturn,
|
||||
);
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue