mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-08 20:29:05 +00:00
refactor(server, web): create shared link (#2879)
* refactor: shared links * chore: open api * fix: tsc error
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user