front dev update

This commit is contained in:
Stephan D
2026-01-30 16:54:56 +01:00
parent 51f5b0804a
commit 102c5d3668
31 changed files with 755 additions and 74 deletions

View File

@@ -0,0 +1,19 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:pshared/api/responses/base.dart';
import 'package:pshared/api/responses/token.dart';
part 'cursor_page.g.dart';
@JsonSerializable(explicitToJson: true)
class CursorPageResponse extends BaseAuthorizedResponse {
@JsonKey(name: 'next_cursor')
final String? nextCursor;
const CursorPageResponse({required super.accessToken, required this.nextCursor});
factory CursorPageResponse.fromJson(Map<String, dynamic> json) => _$CursorPageResponseFromJson(json);
@override
Map<String, dynamic> toJson() => _$CursorPageResponseToJson(this);
}