This commit is contained in:
parent
5a8c7803d6
commit
116950b463
@ -1,7 +1,5 @@
|
||||
package dev.struchkov.godfather.quarkus.context.service;
|
||||
|
||||
import dev.struchkov.godfather.quarkus.domain.BoxAnswer;
|
||||
import dev.struchkov.godfather.quarkus.domain.SentBox;
|
||||
import dev.struchkov.godfather.quarkus.domain.action.PreSendProcessing;
|
||||
import io.smallrye.mutiny.Uni;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@ -17,6 +15,4 @@ public interface SendingService extends Sending {
|
||||
|
||||
Uni<Void> deleteMessage(@NotNull String personId, @NotNull String messageId);
|
||||
|
||||
Uni<SentBox> replaceMessage(@NotNull String personId, @NotNull String messageId, @NotNull BoxAnswer newAnswer);
|
||||
|
||||
}
|
||||
|
@ -1,12 +1,8 @@
|
||||
package dev.struchkov.godfather.simple.context.service;
|
||||
|
||||
import dev.struchkov.godfather.simple.domain.BoxAnswer;
|
||||
import dev.struchkov.godfather.simple.domain.SentBox;
|
||||
import dev.struchkov.godfather.simple.domain.action.PreSendProcessing;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* Интерфейс для отправки ответов пользователю.
|
||||
*
|
||||
@ -18,6 +14,4 @@ public interface SendingService extends Sending {
|
||||
|
||||
void deleteMessage(@NotNull String personId, @NotNull String messageId);
|
||||
|
||||
Optional<SentBox> replaceMessage(@NotNull String personId, @NotNull String messageId, @NotNull BoxAnswer newAnswer);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user