@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.
@@ -2,4 +2,5 @@ export declare const PROTO_PATHS: {
2
2
  readonly AUTH: string;
3
3
  readonly ACCOUNT: string;
4
4
  readonly USERS: string;
5
+ readonly MEDIA: string;
5
6
  };
@@ -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
  };
@@ -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.DeleteResponseB6P\x01Z2github.com/DanilMU/StackCine/contracts/media;mediab\x06proto3"
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
@@ -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.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": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
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