@trash-streamers/contracts 1.1.79 → 1.1.81
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 +4 -0
- package/dist/gen/ts/common.d.ts +5 -0
- package/dist/gen/ts/common.js +11 -0
- package/dist/gen/ts/video.d.ts +2 -0
- package/package.json +1 -1
- package/proto/category.proto +4 -2
- package/proto/common.proto +7 -0
- package/proto/video.proto +2 -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",
|
|
@@ -25,9 +26,11 @@ export interface CreateCategoryResponse {
|
|
|
25
26
|
}
|
|
26
27
|
export interface GetAllCategoriesRequest {
|
|
27
28
|
language: Language;
|
|
29
|
+
selectMask: FieldMask | undefined;
|
|
28
30
|
}
|
|
29
31
|
export interface GetAllCategoriesResponse {
|
|
30
32
|
categories: Category[];
|
|
33
|
+
selectMask: FieldMask | undefined;
|
|
31
34
|
}
|
|
32
35
|
export interface UpdateCategoryRequest {
|
|
33
36
|
slug: string;
|
|
@@ -46,6 +49,7 @@ export interface DeleteCategoryResponse {
|
|
|
46
49
|
}
|
|
47
50
|
export interface GetCategoryWithTranslationsRequest {
|
|
48
51
|
slug: string;
|
|
52
|
+
selectMask: FieldMask | undefined;
|
|
49
53
|
}
|
|
50
54
|
export interface GetCategoryWithTranslationsResponse {
|
|
51
55
|
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/dist/gen/ts/video.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
|
+
import { FieldMask as FieldMask1 } from "./common";
|
|
2
3
|
export declare const protobufPackage = "video.v1";
|
|
3
4
|
export declare enum Access {
|
|
4
5
|
PUBLIC = "PUBLIC",
|
|
@@ -24,6 +25,7 @@ export interface ConfirmVideoUploadResponse {
|
|
|
24
25
|
}
|
|
25
26
|
export interface GetAllVideosOwnerRequest {
|
|
26
27
|
ownerId: string;
|
|
28
|
+
selectMask: FieldMask1 | undefined;
|
|
27
29
|
}
|
|
28
30
|
export interface GetAllVideosOwnerResponse {
|
|
29
31
|
videos: Video[];
|
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
|
}
|
|
@@ -36,10 +35,12 @@ message CreateCategoryResponse {
|
|
|
36
35
|
|
|
37
36
|
message GetAllCategoriesRequest {
|
|
38
37
|
Language language = 1;
|
|
38
|
+
common.v1.FieldMask select_mask = 2;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
message GetAllCategoriesResponse {
|
|
42
42
|
repeated Category categories = 1;
|
|
43
|
+
common.v1.FieldMask select_mask = 2;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
message UpdateCategoryRequest {
|
|
@@ -63,6 +64,7 @@ message DeleteCategoryResponse {
|
|
|
63
64
|
|
|
64
65
|
message GetCategoryWithTranslationsRequest {
|
|
65
66
|
string slug = 1;
|
|
67
|
+
common.v1.FieldMask select_mask = 2;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
message GetCategoryWithTranslationsResponse {
|
package/proto/video.proto
CHANGED
|
@@ -3,6 +3,7 @@ syntax = "proto3";
|
|
|
3
3
|
package video.v1;
|
|
4
4
|
|
|
5
5
|
import "google/protobuf/timestamp.proto";
|
|
6
|
+
import "common.proto";
|
|
6
7
|
|
|
7
8
|
service VideoService {
|
|
8
9
|
rpc ConfirmVideoUpload (ConfirmVideoUploadRequest) returns (ConfirmVideoUploadResponse);
|
|
@@ -26,6 +27,7 @@ message ConfirmVideoUploadResponse {
|
|
|
26
27
|
|
|
27
28
|
message GetAllVideosOwnerRequest {
|
|
28
29
|
string owner_id = 1;
|
|
30
|
+
common.v1.FieldMask select_mask = 2;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
message GetAllVideosOwnerResponse {
|