Skip to content

Commit

Permalink
bump websocket-ftp version
Browse files Browse the repository at this point in the history
  • Loading branch information
LQR471814 committed May 2, 2022
1 parent 5db4b97 commit 57cf8d9
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 133 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rpc:
--grpc-web_out=import_style=typescript,mode=grpcwebtext:$(WEB_PATH)$(S)api \
$(PROTO_PATH)$(S)api.proto

dist:
dist: rpc
npm run build
cd server && \
go build -o ..$(S)$(SERVER_BIN_NAME)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-app",
"version": "1.0.0",
"name": "filesharing",
"version": "1.0.2",
"private": true,
"scripts": {
"build": "rollup -c",
Expand Down Expand Up @@ -31,6 +31,6 @@
"google-protobuf": "^3.20.1-rc.1",
"grpc-web": "^1.3.1",
"sirv-cli": "^2.0.0",
"websocket-ftp": "^0.3.4"
"websocket-ftp": "^0.3.6"
}
}
144 changes: 38 additions & 106 deletions server/api/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions src/api/api_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,6 @@ export namespace PeerUpdate {
}
}

export enum DataType {
UNKNOWN = 0,
ARCHIVE = 1,
DOCUMENT = 2,
PDF = 3,
AUDIO = 4,
IMAGE = 5,
VIDEO = 6,
}
export enum Platform {
DESKTOP = 0,
MOBILE = 1,
Expand Down
14 changes: 0 additions & 14 deletions src/api/api_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ var goog = jspb;
var global = Function('return this')();

goog.exportSymbol('proto.api.Connection', null, global);
goog.exportSymbol('proto.api.DataType', null, global);
goog.exportSymbol('proto.api.Empty', null, global);
goog.exportSymbol('proto.api.Message', null, global);
goog.exportSymbol('proto.api.Peer', null, global);
Expand Down Expand Up @@ -898,19 +897,6 @@ proto.api.PeerUpdate.prototype.clearPeersList = function() {
};


/**
* @enum {number}
*/
proto.api.DataType = {
UNKNOWN: 0,
ARCHIVE: 1,
DOCUMENT: 2,
PDF: 3,
AUDIO: 4,
IMAGE: 5,
VIDEO: 6
};

/**
* @enum {number}
*/
Expand Down

0 comments on commit 57cf8d9

Please sign in to comment.