Frontend first draft

This commit is contained in:
Arseni
2025-11-13 15:06:15 +03:00
parent e47f343afb
commit ddb54ddfdc
504 changed files with 25498 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:pshared/api/responses/token.dart';
part 'base.g.dart';
@JsonSerializable(explicitToJson: true)
class BaseAuthorizedResponse {
final TokenData accessToken;
const BaseAuthorizedResponse({required this.accessToken});
factory BaseAuthorizedResponse.fromJson(Map<String, dynamic> json) => _$BaseAuthorizedResponseFromJson(json);
Map<String, dynamic> toJson() => _$BaseAuthorizedResponseToJson(this);
}