refactor(server, web): create shared link (#2879)

* refactor: shared links

* chore: open api

* fix: tsc error
This commit is contained in:
Jason Rasmussen
2023-06-20 21:08:43 -04:00
committed by GitHub
parent 746ca5d5ed
commit 868f629f32
61 changed files with 2150 additions and 2642 deletions

View File

@@ -15,7 +15,7 @@ class SharedLinkResponseDto {
SharedLinkResponseDto({
required this.type,
required this.id,
this.description,
required this.description,
required this.userId,
required this.key,
required this.createdAt,
@@ -31,12 +31,6 @@ class SharedLinkResponseDto {
String id;
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
String? description;
String userId;
@@ -206,6 +200,7 @@ class SharedLinkResponseDto {
static const requiredKeys = <String>{
'type',
'id',
'description',
'userId',
'key',
'createdAt',