mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-23 09:46:36 +00:00
Api fixes, order fixes [stage]
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package io.xpipe.beacon.api;
|
||||
|
||||
import io.xpipe.beacon.BeaconInterface;
|
||||
import io.xpipe.core.store.FilePath;
|
||||
import lombok.Builder;
|
||||
import lombok.NonNull;
|
||||
import lombok.Value;
|
||||
import lombok.extern.jackson.Jacksonized;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class FsReadExchange extends BeaconInterface<FsReadExchange.Request> {
|
||||
|
||||
@Override
|
||||
public String getPath() {
|
||||
return "/fs/read";
|
||||
}
|
||||
|
||||
@Jacksonized
|
||||
@Builder
|
||||
@Value
|
||||
public static class Request {
|
||||
@NonNull
|
||||
UUID connection;
|
||||
@NonNull
|
||||
FilePath path;
|
||||
}
|
||||
|
||||
@Jacksonized
|
||||
@Builder
|
||||
@Value
|
||||
public static class Response {}
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
import com.fasterxml.jackson.databind.Module;
|
||||
import io.xpipe.beacon.BeaconInterface;
|
||||
import io.xpipe.beacon.BeaconJacksonModule;
|
||||
import io.xpipe.beacon.api.*;
|
||||
import io.xpipe.core.util.ModuleLayerLoader;
|
||||
|
||||
import com.fasterxml.jackson.databind.Module;
|
||||
|
||||
open module io.xpipe.beacon {
|
||||
exports io.xpipe.beacon;
|
||||
exports io.xpipe.beacon.test;
|
||||
@@ -40,5 +39,9 @@ open module io.xpipe.beacon {
|
||||
AskpassExchange,
|
||||
TerminalWaitExchange,
|
||||
TerminalLaunchExchange,
|
||||
FsReadExchange,
|
||||
FsBlobExchange,
|
||||
FsWriteExchange,
|
||||
FsScriptExchange,
|
||||
DaemonVersionExchange;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user