transfer LocationWithTimeDto
This commit is contained in:
@@ -7,3 +7,6 @@ namespace LightlessSync.API.Dto.User;
|
||||
|
||||
[MessagePackObject(keyAsPropertyName: true)]
|
||||
public record LocationDto(UserData User, LocationInfo Location);
|
||||
|
||||
[MessagePackObject(keyAsPropertyName: true)]
|
||||
public record LocationWithTimeDto(LocationDto Location, DateTimeOffset ExpireAt);
|
||||
@@ -118,7 +118,7 @@ public interface ILightlessHub
|
||||
Task SetChatParticipantMute(ChatParticipantMuteRequestDto request);
|
||||
|
||||
Task UpdateLocation(LocationDto locationDto, bool offline);
|
||||
Task<List<LocationDto>> RequestAllLocationInfo();
|
||||
Task<List<LocationWithTimeDto>> RequestAllLocationInfo();
|
||||
Task ToggleLocationSharing(LocationSharingToggleDto dto);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user