@trash-streamers/contracts 1.1.79 → 1.1.80

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.
@@ -1,4 +1,5 @@
1
1
  import { Observable } from "rxjs";
2
+ import { FieldMask } from "./common";
2
3
  export declare const protobufPackage = "category.v1";
3
4
  export declare enum Language {
4
5
  RU = "RU",
@@ -46,6 +47,7 @@ export interface DeleteCategoryResponse {
46
47
  }
47
48
  export interface GetCategoryWithTranslationsRequest {
48
49
  slug: string;
50
+ selectMask: FieldMask | undefined;
49
51
  }
50
52
  export interface GetCategoryWithTranslationsResponse {
51
53
  category: Category | undefined;
@@ -0,0 +1,5 @@
1
+ export declare const protobufPackage = "common.v1";
2
+ export interface FieldMask {
3
+ paths: string[];
4
+ }
5
+ export declare const COMMON_V1_PACKAGE_NAME = "common.v1";
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.10.1
5
+ // protoc v6.33.5
6
+ // source: common.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.COMMON_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
9
+ /* eslint-disable */
10
+ exports.protobufPackage = "common.v1";
11
+ exports.COMMON_V1_PACKAGE_NAME = "common.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trash-streamers/contracts",
3
- "version": "1.1.79",
3
+ "version": "1.1.80",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {
@@ -3,7 +3,7 @@ syntax = "proto3";
3
3
  package category.v1;
4
4
 
5
5
  import "google/protobuf/timestamp.proto";
6
-
6
+ import "common.proto";
7
7
  service CategoryService {
8
8
  rpc CheckAvailabilityCategory (CheckAvailabilityCategoryRequest) returns (CheckAvailabilityCategoryResponse);
9
9
  rpc CreateCategory (CreateCategoryRequest) returns (CreateCategoryResponse);
@@ -15,7 +15,6 @@ service CategoryService {
15
15
  rpc GetCategoryWithTranslations (GetCategoryWithTranslationsRequest) returns (GetCategoryWithTranslationsResponse);
16
16
  }
17
17
 
18
-
19
18
  message CheckAvailabilityCategoryRequest{
20
19
  string title = 1;
21
20
  }
@@ -63,6 +62,7 @@ message DeleteCategoryResponse {
63
62
 
64
63
  message GetCategoryWithTranslationsRequest {
65
64
  string slug = 1;
65
+ common.v1.FieldMask select_mask = 2;
66
66
  }
67
67
 
68
68
  message GetCategoryWithTranslationsResponse {
@@ -0,0 +1,7 @@
1
+
2
+ syntax = "proto3";
3
+ package common.v1;
4
+
5
+ message FieldMask {
6
+ repeated string paths = 1;
7
+ }