Clean up dependencies
This commit is contained in:
parent
f4273ebfd6
commit
01f6509c99
@ -2,40 +2,6 @@ PODS:
|
||||
- connectivity (0.0.1):
|
||||
- Flutter
|
||||
- Reachability
|
||||
- DKImagePickerController/Core (4.3.2):
|
||||
- DKImagePickerController/ImageDataManager
|
||||
- DKImagePickerController/Resource
|
||||
- DKImagePickerController/ImageDataManager (4.3.2)
|
||||
- DKImagePickerController/PhotoGallery (4.3.2):
|
||||
- DKImagePickerController/Core
|
||||
- DKPhotoGallery
|
||||
- DKImagePickerController/Resource (4.3.2)
|
||||
- DKPhotoGallery (0.0.17):
|
||||
- DKPhotoGallery/Core (= 0.0.17)
|
||||
- DKPhotoGallery/Model (= 0.0.17)
|
||||
- DKPhotoGallery/Preview (= 0.0.17)
|
||||
- DKPhotoGallery/Resource (= 0.0.17)
|
||||
- SDWebImage
|
||||
- SwiftyGif
|
||||
- DKPhotoGallery/Core (0.0.17):
|
||||
- DKPhotoGallery/Model
|
||||
- DKPhotoGallery/Preview
|
||||
- SDWebImage
|
||||
- SwiftyGif
|
||||
- DKPhotoGallery/Model (0.0.17):
|
||||
- SDWebImage
|
||||
- SwiftyGif
|
||||
- DKPhotoGallery/Preview (0.0.17):
|
||||
- DKPhotoGallery/Model
|
||||
- DKPhotoGallery/Resource
|
||||
- SDWebImage
|
||||
- SwiftyGif
|
||||
- DKPhotoGallery/Resource (0.0.17):
|
||||
- SDWebImage
|
||||
- SwiftyGif
|
||||
- file_picker (0.0.1):
|
||||
- DKImagePickerController/PhotoGallery
|
||||
- Flutter
|
||||
- Flutter (1.0.0)
|
||||
- flutter_secure_storage (3.3.1):
|
||||
- Flutter
|
||||
@ -47,43 +13,26 @@ PODS:
|
||||
- path_provider (0.0.1):
|
||||
- Flutter
|
||||
- Reachability (3.2)
|
||||
- SDWebImage (5.10.2):
|
||||
- SDWebImage/Core (= 5.10.2)
|
||||
- SDWebImage/Core (5.10.2)
|
||||
- shared_preferences (0.0.1):
|
||||
- Flutter
|
||||
- sqflite (0.0.2):
|
||||
- Flutter
|
||||
- FMDB (>= 2.7.5)
|
||||
- SwiftyGif (5.3.0)
|
||||
- url_launcher (0.0.1):
|
||||
- Flutter
|
||||
|
||||
DEPENDENCIES:
|
||||
- connectivity (from `.symlinks/plugins/connectivity/ios`)
|
||||
- file_picker (from `.symlinks/plugins/file_picker/ios`)
|
||||
- Flutter (from `Flutter`)
|
||||
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
|
||||
- integration_test (from `.symlinks/plugins/integration_test/ios`)
|
||||
- path_provider (from `.symlinks/plugins/path_provider/ios`)
|
||||
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
|
||||
- sqflite (from `.symlinks/plugins/sqflite/ios`)
|
||||
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- DKImagePickerController
|
||||
- DKPhotoGallery
|
||||
- FMDB
|
||||
- Reachability
|
||||
- SDWebImage
|
||||
- SwiftyGif
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
connectivity:
|
||||
:path: ".symlinks/plugins/connectivity/ios"
|
||||
file_picker:
|
||||
:path: ".symlinks/plugins/file_picker/ios"
|
||||
Flutter:
|
||||
:path: Flutter
|
||||
flutter_secure_storage:
|
||||
@ -92,29 +41,18 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/integration_test/ios"
|
||||
path_provider:
|
||||
:path: ".symlinks/plugins/path_provider/ios"
|
||||
shared_preferences:
|
||||
:path: ".symlinks/plugins/shared_preferences/ios"
|
||||
sqflite:
|
||||
:path: ".symlinks/plugins/sqflite/ios"
|
||||
url_launcher:
|
||||
:path: ".symlinks/plugins/url_launcher/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
connectivity: c4130b2985d4ef6fd26f9702e886bd5260681467
|
||||
DKImagePickerController: b5eb7f7a388e4643264105d648d01f727110fc3d
|
||||
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
|
||||
file_picker: 3e6c3790de664ccf9b882732d9db5eaf6b8d4eb1
|
||||
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
|
||||
flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec
|
||||
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
|
||||
integration_test: 6eb66a19f7104200dcfdd62bc0077e1b09686e4f
|
||||
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
|
||||
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
|
||||
SDWebImage: b969dcfc02c40a5da71eac0b03b8f1a0c794a86f
|
||||
shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
|
||||
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
|
||||
SwiftyGif: e466e86c660d343357ab944a819a101c4127cb40
|
||||
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
|
||||
|
||||
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
|
||||
|
||||
|
@ -9,6 +9,62 @@ import 'package:http/http.dart';
|
||||
import 'package:imagini/helpers/upload_serializer.dart';
|
||||
part 'imagini_graphql.graphql.g.dart';
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class Me$Query$User with EquatableMixin {
|
||||
Me$Query$User();
|
||||
|
||||
factory Me$Query$User.fromJson(Map<String, dynamic> json) =>
|
||||
_$Me$Query$UserFromJson(json);
|
||||
|
||||
String id;
|
||||
|
||||
DateTime createdAt;
|
||||
|
||||
DateTime updatedAt;
|
||||
|
||||
String email;
|
||||
|
||||
String username;
|
||||
|
||||
String firstName;
|
||||
|
||||
String lastName;
|
||||
|
||||
@JsonKey(unknownEnumValue: Role.artemisUnknown)
|
||||
Role role;
|
||||
|
||||
@JsonKey(unknownEnumValue: AuthType.artemisUnknown)
|
||||
AuthType authType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [
|
||||
id,
|
||||
createdAt,
|
||||
updatedAt,
|
||||
email,
|
||||
username,
|
||||
firstName,
|
||||
lastName,
|
||||
role,
|
||||
authType
|
||||
];
|
||||
Map<String, dynamic> toJson() => _$Me$Query$UserToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class Me$Query with EquatableMixin {
|
||||
Me$Query();
|
||||
|
||||
factory Me$Query.fromJson(Map<String, dynamic> json) =>
|
||||
_$Me$QueryFromJson(json);
|
||||
|
||||
Me$Query$User me;
|
||||
|
||||
@override
|
||||
List<Object> get props => [me];
|
||||
Map<String, dynamic> toJson() => _$Me$QueryToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class Login$Query$AuthResponse$Device with EquatableMixin {
|
||||
Login$Query$AuthResponse$Device();
|
||||
@ -114,62 +170,6 @@ class CreateMediaItem$Mutation with EquatableMixin {
|
||||
Map<String, dynamic> toJson() => _$CreateMediaItem$MutationToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class Me$Query$User with EquatableMixin {
|
||||
Me$Query$User();
|
||||
|
||||
factory Me$Query$User.fromJson(Map<String, dynamic> json) =>
|
||||
_$Me$Query$UserFromJson(json);
|
||||
|
||||
String id;
|
||||
|
||||
DateTime createdAt;
|
||||
|
||||
DateTime updatedAt;
|
||||
|
||||
String email;
|
||||
|
||||
String username;
|
||||
|
||||
String firstName;
|
||||
|
||||
String lastName;
|
||||
|
||||
@JsonKey(unknownEnumValue: Role.artemisUnknown)
|
||||
Role role;
|
||||
|
||||
@JsonKey(unknownEnumValue: AuthType.artemisUnknown)
|
||||
AuthType authType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [
|
||||
id,
|
||||
createdAt,
|
||||
updatedAt,
|
||||
email,
|
||||
username,
|
||||
firstName,
|
||||
lastName,
|
||||
role,
|
||||
authType
|
||||
];
|
||||
Map<String, dynamic> toJson() => _$Me$Query$UserToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class Me$Query with EquatableMixin {
|
||||
Me$Query();
|
||||
|
||||
factory Me$Query.fromJson(Map<String, dynamic> json) =>
|
||||
_$Me$QueryFromJson(json);
|
||||
|
||||
Me$Query$User me;
|
||||
|
||||
@override
|
||||
List<Object> get props => [me];
|
||||
Map<String, dynamic> toJson() => _$Me$QueryToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class MediaItems$Query$MediaItemResponse$MediaItem with EquatableMixin {
|
||||
MediaItems$Query$MediaItemResponse$MediaItem();
|
||||
@ -526,14 +526,6 @@ class Order with EquatableMixin {
|
||||
Map<String, dynamic> toJson() => _$OrderToJson(this);
|
||||
}
|
||||
|
||||
enum AuthResult {
|
||||
@JsonValue('Success')
|
||||
success,
|
||||
@JsonValue('Failure')
|
||||
failure,
|
||||
@JsonValue('ARTEMIS_UNKNOWN')
|
||||
artemisUnknown,
|
||||
}
|
||||
enum Role {
|
||||
@JsonValue('Admin')
|
||||
admin,
|
||||
@ -550,6 +542,14 @@ enum AuthType {
|
||||
@JsonValue('ARTEMIS_UNKNOWN')
|
||||
artemisUnknown,
|
||||
}
|
||||
enum AuthResult {
|
||||
@JsonValue('Success')
|
||||
success,
|
||||
@JsonValue('Failure')
|
||||
failure,
|
||||
@JsonValue('ARTEMIS_UNKNOWN')
|
||||
artemisUnknown,
|
||||
}
|
||||
enum OrderDirection {
|
||||
@JsonValue('ASC')
|
||||
asc,
|
||||
@ -559,6 +559,90 @@ enum OrderDirection {
|
||||
artemisUnknown,
|
||||
}
|
||||
|
||||
class MeQuery extends GraphQLQuery<Me$Query, JsonSerializable> {
|
||||
MeQuery();
|
||||
|
||||
@override
|
||||
final DocumentNode document = DocumentNode(definitions: [
|
||||
OperationDefinitionNode(
|
||||
type: OperationType.query,
|
||||
name: NameNode(value: 'me'),
|
||||
variableDefinitions: [],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'me'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'id'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'createdAt'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'updatedAt'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'email'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'username'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'firstName'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'lastName'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'role'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'authType'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null)
|
||||
]))
|
||||
]))
|
||||
]);
|
||||
|
||||
@override
|
||||
final String operationName = 'me';
|
||||
|
||||
@override
|
||||
List<Object> get props => [document, operationName];
|
||||
@override
|
||||
Me$Query parse(Map<String, dynamic> json) => Me$Query.fromJson(json);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class LoginArguments extends JsonSerializable with EquatableMixin {
|
||||
LoginArguments({@required this.user, @required this.password, this.deviceID});
|
||||
@ -789,90 +873,6 @@ class CreateMediaItemMutation
|
||||
CreateMediaItem$Mutation.fromJson(json);
|
||||
}
|
||||
|
||||
class MeQuery extends GraphQLQuery<Me$Query, JsonSerializable> {
|
||||
MeQuery();
|
||||
|
||||
@override
|
||||
final DocumentNode document = DocumentNode(definitions: [
|
||||
OperationDefinitionNode(
|
||||
type: OperationType.query,
|
||||
name: NameNode(value: 'me'),
|
||||
variableDefinitions: [],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'me'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'id'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'createdAt'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'updatedAt'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'email'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'username'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'firstName'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'lastName'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'role'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'authType'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null)
|
||||
]))
|
||||
]))
|
||||
]);
|
||||
|
||||
@override
|
||||
final String operationName = 'me';
|
||||
|
||||
@override
|
||||
List<Object> get props => [document, operationName];
|
||||
@override
|
||||
Me$Query parse(Map<String, dynamic> json) => Me$Query.fromJson(json);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class MediaItemsArguments extends JsonSerializable with EquatableMixin {
|
||||
MediaItemsArguments({this.order, this.page, this.filter});
|
||||
|
@ -6,33 +6,36 @@ part of 'imagini_graphql.graphql.dart';
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Login$Query$AuthResponse$Device _$Login$Query$AuthResponse$DeviceFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return Login$Query$AuthResponse$Device()..id = json['id'] as String;
|
||||
Me$Query$User _$Me$Query$UserFromJson(Map<String, dynamic> json) {
|
||||
return Me$Query$User()
|
||||
..id = json['id'] as String
|
||||
..createdAt = json['createdAt'] == null
|
||||
? null
|
||||
: DateTime.parse(json['createdAt'] as String)
|
||||
..updatedAt = json['updatedAt'] == null
|
||||
? null
|
||||
: DateTime.parse(json['updatedAt'] as String)
|
||||
..email = json['email'] as String
|
||||
..username = json['username'] as String
|
||||
..firstName = json['firstName'] as String
|
||||
..lastName = json['lastName'] as String
|
||||
..role = _$enumDecodeNullable(_$RoleEnumMap, json['role'],
|
||||
unknownValue: Role.artemisUnknown)
|
||||
..authType = _$enumDecodeNullable(_$AuthTypeEnumMap, json['authType'],
|
||||
unknownValue: AuthType.artemisUnknown);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Login$Query$AuthResponse$DeviceToJson(
|
||||
Login$Query$AuthResponse$Device instance) =>
|
||||
Map<String, dynamic> _$Me$Query$UserToJson(Me$Query$User instance) =>
|
||||
<String, dynamic>{
|
||||
'id': instance.id,
|
||||
};
|
||||
|
||||
Login$Query$AuthResponse _$Login$Query$AuthResponseFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return Login$Query$AuthResponse()
|
||||
..result = _$enumDecodeNullable(_$AuthResultEnumMap, json['result'],
|
||||
unknownValue: AuthResult.artemisUnknown)
|
||||
..device = json['device'] == null
|
||||
? null
|
||||
: Login$Query$AuthResponse$Device.fromJson(
|
||||
json['device'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Login$Query$AuthResponseToJson(
|
||||
Login$Query$AuthResponse instance) =>
|
||||
<String, dynamic>{
|
||||
'result': _$AuthResultEnumMap[instance.result],
|
||||
'device': instance.device?.toJson(),
|
||||
'createdAt': instance.createdAt?.toIso8601String(),
|
||||
'updatedAt': instance.updatedAt?.toIso8601String(),
|
||||
'email': instance.email,
|
||||
'username': instance.username,
|
||||
'firstName': instance.firstName,
|
||||
'lastName': instance.lastName,
|
||||
'role': _$RoleEnumMap[instance.role],
|
||||
'authType': _$AuthTypeEnumMap[instance.authType],
|
||||
};
|
||||
|
||||
T _$enumDecode<T>(
|
||||
@ -67,6 +70,58 @@ T _$enumDecodeNullable<T>(
|
||||
return _$enumDecode<T>(enumValues, source, unknownValue: unknownValue);
|
||||
}
|
||||
|
||||
const _$RoleEnumMap = {
|
||||
Role.admin: 'Admin',
|
||||
Role.user: 'User',
|
||||
Role.artemisUnknown: 'ARTEMIS_UNKNOWN',
|
||||
};
|
||||
|
||||
const _$AuthTypeEnumMap = {
|
||||
AuthType.local: 'Local',
|
||||
AuthType.ldap: 'LDAP',
|
||||
AuthType.artemisUnknown: 'ARTEMIS_UNKNOWN',
|
||||
};
|
||||
|
||||
Me$Query _$Me$QueryFromJson(Map<String, dynamic> json) {
|
||||
return Me$Query()
|
||||
..me = json['me'] == null
|
||||
? null
|
||||
: Me$Query$User.fromJson(json['me'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Me$QueryToJson(Me$Query instance) => <String, dynamic>{
|
||||
'me': instance.me?.toJson(),
|
||||
};
|
||||
|
||||
Login$Query$AuthResponse$Device _$Login$Query$AuthResponse$DeviceFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return Login$Query$AuthResponse$Device()..id = json['id'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Login$Query$AuthResponse$DeviceToJson(
|
||||
Login$Query$AuthResponse$Device instance) =>
|
||||
<String, dynamic>{
|
||||
'id': instance.id,
|
||||
};
|
||||
|
||||
Login$Query$AuthResponse _$Login$Query$AuthResponseFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return Login$Query$AuthResponse()
|
||||
..result = _$enumDecodeNullable(_$AuthResultEnumMap, json['result'],
|
||||
unknownValue: AuthResult.artemisUnknown)
|
||||
..device = json['device'] == null
|
||||
? null
|
||||
: Login$Query$AuthResponse$Device.fromJson(
|
||||
json['device'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Login$Query$AuthResponseToJson(
|
||||
Login$Query$AuthResponse instance) =>
|
||||
<String, dynamic>{
|
||||
'result': _$AuthResultEnumMap[instance.result],
|
||||
'device': instance.device?.toJson(),
|
||||
};
|
||||
|
||||
const _$AuthResultEnumMap = {
|
||||
AuthResult.success: 'Success',
|
||||
AuthResult.failure: 'Failure',
|
||||
@ -137,61 +192,6 @@ Map<String, dynamic> _$CreateMediaItem$MutationToJson(
|
||||
'createMediaItem': instance.createMediaItem?.toJson(),
|
||||
};
|
||||
|
||||
Me$Query$User _$Me$Query$UserFromJson(Map<String, dynamic> json) {
|
||||
return Me$Query$User()
|
||||
..id = json['id'] as String
|
||||
..createdAt = json['createdAt'] == null
|
||||
? null
|
||||
: DateTime.parse(json['createdAt'] as String)
|
||||
..updatedAt = json['updatedAt'] == null
|
||||
? null
|
||||
: DateTime.parse(json['updatedAt'] as String)
|
||||
..email = json['email'] as String
|
||||
..username = json['username'] as String
|
||||
..firstName = json['firstName'] as String
|
||||
..lastName = json['lastName'] as String
|
||||
..role = _$enumDecodeNullable(_$RoleEnumMap, json['role'],
|
||||
unknownValue: Role.artemisUnknown)
|
||||
..authType = _$enumDecodeNullable(_$AuthTypeEnumMap, json['authType'],
|
||||
unknownValue: AuthType.artemisUnknown);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Me$Query$UserToJson(Me$Query$User instance) =>
|
||||
<String, dynamic>{
|
||||
'id': instance.id,
|
||||
'createdAt': instance.createdAt?.toIso8601String(),
|
||||
'updatedAt': instance.updatedAt?.toIso8601String(),
|
||||
'email': instance.email,
|
||||
'username': instance.username,
|
||||
'firstName': instance.firstName,
|
||||
'lastName': instance.lastName,
|
||||
'role': _$RoleEnumMap[instance.role],
|
||||
'authType': _$AuthTypeEnumMap[instance.authType],
|
||||
};
|
||||
|
||||
const _$RoleEnumMap = {
|
||||
Role.admin: 'Admin',
|
||||
Role.user: 'User',
|
||||
Role.artemisUnknown: 'ARTEMIS_UNKNOWN',
|
||||
};
|
||||
|
||||
const _$AuthTypeEnumMap = {
|
||||
AuthType.local: 'Local',
|
||||
AuthType.ldap: 'LDAP',
|
||||
AuthType.artemisUnknown: 'ARTEMIS_UNKNOWN',
|
||||
};
|
||||
|
||||
Me$Query _$Me$QueryFromJson(Map<String, dynamic> json) {
|
||||
return Me$Query()
|
||||
..me = json['me'] == null
|
||||
? null
|
||||
: Me$Query$User.fromJson(json['me'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$Me$QueryToJson(Me$Query instance) => <String, dynamic>{
|
||||
'me': instance.me?.toJson(),
|
||||
};
|
||||
|
||||
MediaItems$Query$MediaItemResponse$MediaItem
|
||||
_$MediaItems$Query$MediaItemResponse$MediaItemFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
|
@ -30,12 +30,12 @@ packages:
|
||||
source: hosted
|
||||
version: "1.6.0"
|
||||
artemis:
|
||||
dependency: "direct main"
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: artemis
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.18.3"
|
||||
version: "6.18.4"
|
||||
async:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -43,13 +43,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.5.0-nullsafety.3"
|
||||
bloc:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: bloc
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.1.1"
|
||||
boolean_selector:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -253,13 +246,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.0.0-nullsafety.4"
|
||||
file_picker:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: file_picker
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.6"
|
||||
fixnum:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -279,13 +265,6 @@ packages:
|
||||
description: flutter
|
||||
source: sdk
|
||||
version: "0.0.0"
|
||||
flutter_bloc:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: flutter_bloc
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.1.2"
|
||||
flutter_blurhash:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -312,13 +291,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.80.0-beta.0"
|
||||
flutter_plugin_android_lifecycle:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_plugin_android_lifecycle
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.11"
|
||||
flutter_secure_storage:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -528,13 +500,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
nested:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: nested
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.4"
|
||||
node_interop:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -654,13 +619,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.0.0-nullsafety.4"
|
||||
provider:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: provider
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.3.3"
|
||||
pub_semver:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -689,48 +647,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.24.1"
|
||||
shared_preferences:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: shared_preferences
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.5.12+4"
|
||||
shared_preferences_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_linux
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.2+4"
|
||||
shared_preferences_macos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_macos
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1+11"
|
||||
shared_preferences_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.4"
|
||||
shared_preferences_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_web
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.2+7"
|
||||
shared_preferences_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_windows
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.2+3"
|
||||
shelf:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -848,48 +764,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0-nullsafety.5"
|
||||
url_launcher:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: url_launcher
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.7.10"
|
||||
url_launcher_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_linux
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1+4"
|
||||
url_launcher_macos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_macos
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1+9"
|
||||
url_launcher_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.9"
|
||||
url_launcher_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_web
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.5+3"
|
||||
url_launcher_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_windows
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1+3"
|
||||
uuid:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -1,21 +1,8 @@
|
||||
name: imagini
|
||||
description: A new Flutter project.
|
||||
description: Imagini Client
|
||||
|
||||
# The following line prevents the package from being accidentally published to
|
||||
# pub.dev using `pub publish`. This is preferred for private packages.
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
|
||||
# The following defines the version and build number for your application.
|
||||
# A version number is three numbers separated by dots, like 1.2.43
|
||||
# followed by an optional build number separated by a +.
|
||||
# Both the version and the builder number may be overridden in flutter
|
||||
# build by specifying --build-name and --build-number, respectively.
|
||||
# In Android, build-name is used as versionName while build-number used as versionCode.
|
||||
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.0.0+1
|
||||
version: 0.0.1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.7.0 <3.0.0"
|
||||
@ -28,18 +15,13 @@ dependencies:
|
||||
fluro: ^1.7.8
|
||||
equatable: ^1.2.5
|
||||
http: ^0.12.2
|
||||
shared_preferences: ^0.5.12+4
|
||||
flutter_secure_storage: ^3.3.5
|
||||
flutter_platform_widgets: ^0.80.0-beta.0
|
||||
flutter_bloc: ^6.1.1
|
||||
file_picker: ^2.1.5
|
||||
url_launcher: ^5.7.10
|
||||
cupertino_icons: ^1.0.1
|
||||
artemis: '>=6.0.0 <7.0.0' # only if you're using ArtemisClient!
|
||||
json_annotation: ^3.1.0
|
||||
meta: '>=1.0.0 <2.0.0' # only if you have non nullable fields
|
||||
meta: '>=1.0.0 <2.0.0'
|
||||
gql: '>=0.12.3 <1.0.0'
|
||||
cached_network_image: ^2.5.0
|
||||
cupertino_icons: ^1.0.1
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
@ -50,44 +32,5 @@ dev_dependencies:
|
||||
build_runner: ^1.10.4
|
||||
json_serializable: ^3.5.0
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
# The following section is specific to Flutter.
|
||||
flutter:
|
||||
|
||||
# The following line ensures that the Material Icons font is
|
||||
# included with your application, so that you can use the icons in
|
||||
# the material Icons class.
|
||||
uses-material-design: true
|
||||
|
||||
# To add assets to your application, add an assets section, like this:
|
||||
# assets:
|
||||
# - images/a_dot_burr.jpeg
|
||||
# - images/a_dot_ham.jpeg
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
# https://flutter.dev/assets-and-images/#resolution-aware.
|
||||
|
||||
# For details regarding adding assets from package dependencies, see
|
||||
# https://flutter.dev/assets-and-images/#from-packages
|
||||
|
||||
# To add custom fonts to your application, add a fonts section here,
|
||||
# in this "flutter" section. Each entry in this list should have a
|
||||
# "family" key with the font family name, and a "fonts" key with a
|
||||
# list giving the asset and other descriptors for the font. For
|
||||
# example:
|
||||
# fonts:
|
||||
# - family: Schyler
|
||||
# fonts:
|
||||
# - asset: fonts/Schyler-Regular.ttf
|
||||
# - asset: fonts/Schyler-Italic.ttf
|
||||
# style: italic
|
||||
# - family: Trajan Pro
|
||||
# fonts:
|
||||
# - asset: fonts/TrajanPro.ttf
|
||||
# - asset: fonts/TrajanPro_Bold.ttf
|
||||
# weight: 700
|
||||
#
|
||||
# For details regarding fonts from package dependencies,
|
||||
# see https://flutter.dev/custom-fonts/#from-packages
|
||||
|
Reference in New Issue
Block a user