location #20

Merged
defnotken merged 5 commits from location into main 2025-12-31 14:12:12 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit f1817c5974 - Show all commits

View File

@@ -6,4 +6,7 @@ namespace LightlessSync.API.Dto.User;
[MessagePackObject(keyAsPropertyName: true)]
public record LocationDto(UserData User, LocationInfo Location);
public record LocationDto(UserData User, LocationInfo Location);
[MessagePackObject(keyAsPropertyName: true)]
public record LocationWithTimeDto(LocationDto Location, DateTimeOffset ExpireAt);

View File

@@ -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);
}