@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.
- package/dist/gen/ts/category.d.ts +2 -0
- package/dist/gen/ts/common.d.ts +5 -0
- package/dist/gen/ts/common.js +11 -0
- package/package.json +1 -1
- package/proto/category.proto +2 -2
- package/proto/common.proto +7 -0
|
@@ -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,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
package/proto/category.proto
CHANGED
|
@@ -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 {
|