@stackcine/contracts 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/proto/paths.d.ts +1 -0
- package/dist/proto/paths.js +1 -0
- package/gen/go/media/media.pb.go +1 -1
- package/gen/ts/.gitkeep +1 -0
- package/package.json +4 -2
- /package/gen/{account.ts → ts/account.ts} +0 -0
- /package/gen/{auth.ts → ts/auth.ts} +0 -0
- /package/gen/{google → ts/google}/protobuf/empty.ts +0 -0
- /package/gen/{media.ts → ts/media.ts} +0 -0
- /package/gen/{users.ts → ts/users.ts} +0 -0
package/dist/proto/paths.d.ts
CHANGED
package/dist/proto/paths.js
CHANGED
|
@@ -6,4 +6,5 @@ exports.PROTO_PATHS = {
|
|
|
6
6
|
AUTH: (0, path_1.join)(__dirname, "../../proto/auth.proto"),
|
|
7
7
|
ACCOUNT: (0, path_1.join)(__dirname, "../../proto/account.proto"),
|
|
8
8
|
USERS: (0, path_1.join)(__dirname, "../../proto/users.proto"),
|
|
9
|
+
MEDIA: (0, path_1.join)(__dirname, "../../proto/media.proto"),
|
|
9
10
|
};
|
package/gen/go/media/media.pb.go
CHANGED
|
@@ -362,7 +362,7 @@ const file_media_proto_rawDesc = "" +
|
|
|
362
362
|
"\fMediaService\x12;\n" +
|
|
363
363
|
"\x06Upload\x12\x17.media.v1.UploadRequest\x1a\x18.media.v1.UploadResponse\x122\n" +
|
|
364
364
|
"\x03Get\x12\x14.media.v1.GetRequest\x1a\x15.media.v1.GetResponse\x12;\n" +
|
|
365
|
-
"\x06Delete\x12\x17.media.v1.DeleteRequest\x1a\x18.media.v1.
|
|
365
|
+
"\x06Delete\x12\x17.media.v1.DeleteRequest\x1a\x18.media.v1.DeleteResponseB.P\x01Z*github.com/stackcine/contracts/media;mediab\x06proto3"
|
|
366
366
|
|
|
367
367
|
var (
|
|
368
368
|
file_media_proto_rawDescOnce sync.Once
|
package/gen/ts/.gitkeep
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# TypeScript generated contracts
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackcine/contracts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Protobuf definitions and generated Typescript types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"packageManager": "yarn@4.15.0",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "tsc -p tsconfig.build.json",
|
|
10
|
-
"generate": "
|
|
10
|
+
"generate:ts": "node ./scripts/generate_ts.js",
|
|
11
|
+
"generate:go": "node ./scripts/generate_go.js",
|
|
12
|
+
"generate": "yarn generate:ts && yarn generate:go"
|
|
11
13
|
},
|
|
12
14
|
"files": [
|
|
13
15
|
"dist",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|