Skip to content

Commit

Permalink
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
mlejva committed Oct 15, 2024
2 parents 91eee6b + 23ea4ad commit 4636869
Show file tree
Hide file tree
Showing 21 changed files with 481 additions and 152 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ generate: generate-js generate-python
generate-js:
cd packages/js-sdk && pnpm generate
cd packages/js-sdk && pnpm generate-envd-api
buf generate --template spec/envd/buf-js.gen.yaml
cd spec/envd && buf generate --template buf-js.gen.yaml

generate-python:
cd packages/python-sdk && make generate-api
Expand Down
41 changes: 35 additions & 6 deletions packages/js-sdk/src/envd/filesystem/filesystem_connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */
// @ts-nocheck

import { ListDirRequest, ListDirResponse, MakeDirRequest, MakeDirResponse, MoveRequest, MoveResponse, RemoveRequest, RemoveResponse, StatRequest, StatResponse, WatchDirRequest, WatchDirResponse } from "./filesystem_pb.js";
import { CreateWatcherRequest, CreateWatcherResponse, GetWatcherEventsRequest, GetWatcherEventsResponse, ListDirRequest, ListDirResponse, MakeDirRequest, MakeDirResponse, MoveRequest, MoveResponse, RemoveRequest, RemoveResponse, RemoveWatcherRequest, RemoveWatcherResponse, StatRequest, StatResponse, WatchDirRequest, WatchDirResponse } from "./filesystem_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
Expand Down Expand Up @@ -48,6 +48,15 @@ export const Filesystem = {
O: ListDirResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc filesystem.Filesystem.Remove
*/
remove: {
name: "Remove",
I: RemoveRequest,
O: RemoveResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc filesystem.Filesystem.WatchDir
*/
Expand All @@ -58,12 +67,32 @@ export const Filesystem = {
kind: MethodKind.ServerStreaming,
},
/**
* @generated from rpc filesystem.Filesystem.Remove
* Non-streaming versions of WatchDir
*
* @generated from rpc filesystem.Filesystem.CreateWatcher
*/
remove: {
name: "Remove",
I: RemoveRequest,
O: RemoveResponse,
createWatcher: {
name: "CreateWatcher",
I: CreateWatcherRequest,
O: CreateWatcherResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc filesystem.Filesystem.GetWatcherEvents
*/
getWatcherEvents: {
name: "GetWatcherEvents",
I: GetWatcherEventsRequest,
O: GetWatcherEventsResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc filesystem.Filesystem.RemoveWatcher
*/
removeWatcher: {
name: "RemoveWatcher",
I: RemoveWatcherRequest,
O: RemoveWatcherResponse,
kind: MethodKind.Unary,
},
}
Expand Down
Loading

0 comments on commit 4636869

Please sign in to comment.