Skip to content

Commit

Permalink
refactor: update djangoflow_openapi dependency
Browse files Browse the repository at this point in the history
- ran latest build_runner as well
  • Loading branch information
adar2378 committed Oct 13, 2023
1 parent 7abb1a4 commit 993a8c5
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ class _$SocialLoginTypeCopyWithImpl<$Res, $Val extends SocialLoginType>
}

/// @nodoc
abstract class _$$_SocialLoginTypeCopyWith<$Res>
abstract class _$$SocialLoginTypeImplCopyWith<$Res>
implements $SocialLoginTypeCopyWith<$Res> {
factory _$$_SocialLoginTypeCopyWith(
_$_SocialLoginType value, $Res Function(_$_SocialLoginType) then) =
__$$_SocialLoginTypeCopyWithImpl<$Res>;
factory _$$SocialLoginTypeImplCopyWith(_$SocialLoginTypeImpl value,
$Res Function(_$SocialLoginTypeImpl) then) =
__$$SocialLoginTypeImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({ProviderEnum provider, String id});
}

/// @nodoc
class __$$_SocialLoginTypeCopyWithImpl<$Res>
extends _$SocialLoginTypeCopyWithImpl<$Res, _$_SocialLoginType>
implements _$$_SocialLoginTypeCopyWith<$Res> {
__$$_SocialLoginTypeCopyWithImpl(
_$_SocialLoginType _value, $Res Function(_$_SocialLoginType) _then)
class __$$SocialLoginTypeImplCopyWithImpl<$Res>
extends _$SocialLoginTypeCopyWithImpl<$Res, _$SocialLoginTypeImpl>
implements _$$SocialLoginTypeImplCopyWith<$Res> {
__$$SocialLoginTypeImplCopyWithImpl(
_$SocialLoginTypeImpl _value, $Res Function(_$SocialLoginTypeImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -92,7 +92,7 @@ class __$$_SocialLoginTypeCopyWithImpl<$Res>
Object? provider = null,
Object? id = null,
}) {
return _then(_$_SocialLoginType(
return _then(_$SocialLoginTypeImpl(
provider: null == provider
? _value.provider
: provider // ignore: cast_nullable_to_non_nullable
Expand All @@ -107,11 +107,11 @@ class __$$_SocialLoginTypeCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_SocialLoginType implements _SocialLoginType {
const _$_SocialLoginType({required this.provider, required this.id});
class _$SocialLoginTypeImpl implements _SocialLoginType {
const _$SocialLoginTypeImpl({required this.provider, required this.id});

factory _$_SocialLoginType.fromJson(Map<String, dynamic> json) =>
_$$_SocialLoginTypeFromJson(json);
factory _$SocialLoginTypeImpl.fromJson(Map<String, dynamic> json) =>
_$$SocialLoginTypeImplFromJson(json);

@override
final ProviderEnum provider;
Expand All @@ -127,7 +127,7 @@ class _$_SocialLoginType implements _SocialLoginType {
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_SocialLoginType &&
other is _$SocialLoginTypeImpl &&
(identical(other.provider, provider) ||
other.provider == provider) &&
(identical(other.id, id) || other.id == id));
Expand All @@ -140,12 +140,13 @@ class _$_SocialLoginType implements _SocialLoginType {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_SocialLoginTypeCopyWith<_$_SocialLoginType> get copyWith =>
__$$_SocialLoginTypeCopyWithImpl<_$_SocialLoginType>(this, _$identity);
_$$SocialLoginTypeImplCopyWith<_$SocialLoginTypeImpl> get copyWith =>
__$$SocialLoginTypeImplCopyWithImpl<_$SocialLoginTypeImpl>(
this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_SocialLoginTypeToJson(
return _$$SocialLoginTypeImplToJson(
this,
);
}
Expand All @@ -154,17 +155,17 @@ class _$_SocialLoginType implements _SocialLoginType {
abstract class _SocialLoginType implements SocialLoginType {
const factory _SocialLoginType(
{required final ProviderEnum provider,
required final String id}) = _$_SocialLoginType;
required final String id}) = _$SocialLoginTypeImpl;

factory _SocialLoginType.fromJson(Map<String, dynamic> json) =
_$_SocialLoginType.fromJson;
_$SocialLoginTypeImpl.fromJson;

@override
ProviderEnum get provider;
@override
String get id;
@override
@JsonKey(ignore: true)
_$$_SocialLoginTypeCopyWith<_$_SocialLoginType> get copyWith =>
_$$SocialLoginTypeImplCopyWith<_$SocialLoginTypeImpl> get copyWith =>
throw _privateConstructorUsedError;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/djangoflow_auth/djangoflow_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
bloc: ^8.1.2
collection: ^1.17.1
dio: ^5.3.2
djangoflow_openapi: ^0.0.21
djangoflow_openapi: ^0.0.24
flutter:
sdk: flutter
freezed_annotation: ^2.2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
djangoflow_auth: ^0.3.0+1
djangoflow_openapi: ^0.0.21
djangoflow_openapi: ^0.0.24
sign_in_with_apple: ^5.0.0

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
djangoflow_auth: ^0.3.0+1
djangoflow_openapi: ^0.0.21
djangoflow_openapi: ^0.0.24
oauth2_client: ^3.2.1
http: ^1.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.Response>);

@override
_i4.Future<_i2.Response> get(
Uri? url, {
Expand All @@ -121,6 +122,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.Response>);

@override
_i4.Future<_i2.Response> post(
Uri? url, {
Expand Down Expand Up @@ -151,6 +153,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.Response>);

@override
_i4.Future<_i2.Response> put(
Uri? url, {
Expand Down Expand Up @@ -181,6 +184,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.Response>);

@override
_i4.Future<_i2.Response> patch(
Uri? url, {
Expand Down Expand Up @@ -211,6 +215,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.Response>);

@override
_i4.Future<_i2.Response> delete(
Uri? url, {
Expand Down Expand Up @@ -241,6 +246,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.Response>);

@override
_i4.Future<String> read(
Uri? url, {
Expand All @@ -254,6 +260,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
returnValue: _i4.Future<String>.value(''),
) as _i4.Future<String>);

@override
_i4.Future<_i6.Uint8List> readBytes(
Uri? url, {
Expand All @@ -267,6 +274,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
returnValue: _i4.Future<_i6.Uint8List>.value(_i6.Uint8List(0)),
) as _i4.Future<_i6.Uint8List>);

@override
_i4.Future<_i2.StreamedResponse> send(_i2.BaseRequest? request) =>
(super.noSuchMethod(
Expand All @@ -283,6 +291,7 @@ class MockClient extends _i1.Mock implements _i2.Client {
),
)),
) as _i4.Future<_i2.StreamedResponse>);

@override
void close() => super.noSuchMethod(
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
djangoflow_auth: ^0.3.0+1
djangoflow_openapi: ^0.0.21
djangoflow_openapi: ^0.0.24
flutter_facebook_auth: ^6.0.1

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,12 @@ class _$GSIButtonConfigWrapperCopyWithImpl<$Res,
}

/// @nodoc
abstract class _$$_GSIButtonConfigWrapperCopyWith<$Res>
abstract class _$$GSIButtonConfigWrapperImplCopyWith<$Res>
implements $GSIButtonConfigWrapperCopyWith<$Res> {
factory _$$_GSIButtonConfigWrapperCopyWith(_$_GSIButtonConfigWrapper value,
$Res Function(_$_GSIButtonConfigWrapper) then) =
__$$_GSIButtonConfigWrapperCopyWithImpl<$Res>;
factory _$$GSIButtonConfigWrapperImplCopyWith(
_$GSIButtonConfigWrapperImpl value,
$Res Function(_$GSIButtonConfigWrapperImpl) then) =
__$$GSIButtonConfigWrapperImplCopyWithImpl<$Res>;
@override
@useResult
$Res call(
Expand All @@ -134,12 +135,13 @@ abstract class _$$_GSIButtonConfigWrapperCopyWith<$Res>
}

/// @nodoc
class __$$_GSIButtonConfigWrapperCopyWithImpl<$Res>
class __$$GSIButtonConfigWrapperImplCopyWithImpl<$Res>
extends _$GSIButtonConfigWrapperCopyWithImpl<$Res,
_$_GSIButtonConfigWrapper>
implements _$$_GSIButtonConfigWrapperCopyWith<$Res> {
__$$_GSIButtonConfigWrapperCopyWithImpl(_$_GSIButtonConfigWrapper _value,
$Res Function(_$_GSIButtonConfigWrapper) _then)
_$GSIButtonConfigWrapperImpl>
implements _$$GSIButtonConfigWrapperImplCopyWith<$Res> {
__$$GSIButtonConfigWrapperImplCopyWithImpl(
_$GSIButtonConfigWrapperImpl _value,
$Res Function(_$GSIButtonConfigWrapperImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -154,7 +156,7 @@ class __$$_GSIButtonConfigWrapperCopyWithImpl<$Res>
Object? locale = freezed,
Object? minimumWidth = freezed,
}) {
return _then(_$_GSIButtonConfigWrapper(
return _then(_$GSIButtonConfigWrapperImpl(
type: freezed == type
? _value.type
: type // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -193,8 +195,8 @@ class __$$_GSIButtonConfigWrapperCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_GSIButtonConfigWrapper extends _GSIButtonConfigWrapper {
const _$_GSIButtonConfigWrapper(
class _$GSIButtonConfigWrapperImpl extends _GSIButtonConfigWrapper {
const _$GSIButtonConfigWrapperImpl(
{this.type,
this.theme,
this.size,
Expand All @@ -205,8 +207,8 @@ class _$_GSIButtonConfigWrapper extends _GSIButtonConfigWrapper {
this.minimumWidth})
: super._();

factory _$_GSIButtonConfigWrapper.fromJson(Map<String, dynamic> json) =>
_$$_GSIButtonConfigWrapperFromJson(json);
factory _$GSIButtonConfigWrapperImpl.fromJson(Map<String, dynamic> json) =>
_$$GSIButtonConfigWrapperImplFromJson(json);

@override
final GSIWrapperButtonType? type;
Expand Down Expand Up @@ -234,7 +236,7 @@ class _$_GSIButtonConfigWrapper extends _GSIButtonConfigWrapper {
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_GSIButtonConfigWrapper &&
other is _$GSIButtonConfigWrapperImpl &&
(identical(other.type, type) || other.type == type) &&
(identical(other.theme, theme) || other.theme == theme) &&
(identical(other.size, size) || other.size == size) &&
Expand All @@ -255,13 +257,13 @@ class _$_GSIButtonConfigWrapper extends _GSIButtonConfigWrapper {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_GSIButtonConfigWrapperCopyWith<_$_GSIButtonConfigWrapper> get copyWith =>
__$$_GSIButtonConfigWrapperCopyWithImpl<_$_GSIButtonConfigWrapper>(
this, _$identity);
_$$GSIButtonConfigWrapperImplCopyWith<_$GSIButtonConfigWrapperImpl>
get copyWith => __$$GSIButtonConfigWrapperImplCopyWithImpl<
_$GSIButtonConfigWrapperImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_GSIButtonConfigWrapperToJson(
return _$$GSIButtonConfigWrapperImplToJson(
this,
);
}
Expand All @@ -276,11 +278,11 @@ abstract class _GSIButtonConfigWrapper extends GSIButtonConfigWrapper {
final GSIWrapperButtonShape? shape,
final GSIWrapperButtonLogoAlignment? logoAlignment,
final String? locale,
final double? minimumWidth}) = _$_GSIButtonConfigWrapper;
final double? minimumWidth}) = _$GSIButtonConfigWrapperImpl;
const _GSIButtonConfigWrapper._() : super._();

factory _GSIButtonConfigWrapper.fromJson(Map<String, dynamic> json) =
_$_GSIButtonConfigWrapper.fromJson;
_$GSIButtonConfigWrapperImpl.fromJson;

@override
GSIWrapperButtonType? get type;
Expand All @@ -300,6 +302,6 @@ abstract class _GSIButtonConfigWrapper extends GSIButtonConfigWrapper {
double? get minimumWidth;
@override
@JsonKey(ignore: true)
_$$_GSIButtonConfigWrapperCopyWith<_$_GSIButtonConfigWrapper> get copyWith =>
throw _privateConstructorUsedError;
_$$GSIButtonConfigWrapperImplCopyWith<_$GSIButtonConfigWrapperImpl>
get copyWith => throw _privateConstructorUsedError;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
djangoflow_auth: ^0.3.0+1
djangoflow_openapi: ^0.0.21
djangoflow_openapi: ^0.0.24
freezed_annotation: ^2.4.1
google_sign_in: ^6.1.4
google_sign_in_platform_interface: ^2.4.1
Expand Down
4 changes: 2 additions & 2 deletions packages/djangoflow_local_notification/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies:
sdk: flutter
djangoflow_local_notification:
path: ../
flutter_local_notifications: ^15.1.0+1
djangoflow_openapi: ^0.0.21
flutter_local_notifications: ^16.1.0
djangoflow_openapi: ^0.0.24
flutter_bloc: ^8.1.3
dev_dependencies:
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion packages/djangoflow_local_notification/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
collection: ^1.17.1
dio: ^5.3.2
djangoflow_bloc_extensions: ^0.0.2+1
djangoflow_openapi: ^0.0.21
djangoflow_openapi: ^0.0.24
flutter:
sdk: flutter
flutter_bloc: ^8.1.3
Expand Down
Loading

0 comments on commit 993a8c5

Please sign in to comment.