@echovisionlab/geul-proto 0.1.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/LICENSE.md +6 -0
- package/README.md +6 -0
- package/eslint.config.mjs +15 -0
- package/gen/api/common/v1/common_pb.ts +391 -0
- package/gen/api/common/v1/media_pb.ts +578 -0
- package/gen/api/content/v1/block_catalog.ts +5978 -0
- package/gen/api/content/v1/block_content_pb.ts +11420 -0
- package/gen/api/intra/v1/artist_pb.ts +597 -0
- package/gen/api/intra/v1/campaign_pb.ts +383 -0
- package/gen/api/intra/v1/collaboration_pb.ts +661 -0
- package/gen/api/intra/v1/email_courier_pb.ts +98 -0
- package/gen/api/intra/v1/email_layout_pb.ts +295 -0
- package/gen/api/intra/v1/email_template_pb.ts +384 -0
- package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
- package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
- package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
- package/gen/api/intra/v1/form_pb.ts +276 -0
- package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
- package/gen/api/intra/v1/label_pb.ts +558 -0
- package/gen/api/intra/v1/map_pb.ts +382 -0
- package/gen/api/intra/v1/menu_pb.ts +282 -0
- package/gen/api/intra/v1/og_pb.ts +335 -0
- package/gen/api/intra/v1/page_pb.ts +572 -0
- package/gen/api/intra/v1/post_pb.ts +657 -0
- package/gen/api/intra/v1/post_series_pb.ts +217 -0
- package/gen/api/intra/v1/privacy_pb.ts +384 -0
- package/gen/api/intra/v1/program_event_pb.ts +390 -0
- package/gen/api/intra/v1/release_pb.ts +462 -0
- package/gen/api/intra/v1/terms_pb.ts +384 -0
- package/gen/api/intra/v1/work_pb.ts +477 -0
- package/gen/api/manage/v1/account_pb.ts +1311 -0
- package/gen/api/manage/v1/admin_pb.ts +681 -0
- package/gen/api/manage/v1/ai_pb.ts +2621 -0
- package/gen/api/manage/v1/artist_pb.ts +1271 -0
- package/gen/api/manage/v1/audience_pb.ts +597 -0
- package/gen/api/manage/v1/campaign_pb.ts +1289 -0
- package/gen/api/manage/v1/category_pb.ts +351 -0
- package/gen/api/manage/v1/client_pb.ts +512 -0
- package/gen/api/manage/v1/collaboration_pb.ts +112 -0
- package/gen/api/manage/v1/comment_pb.ts +530 -0
- package/gen/api/manage/v1/common_pb.ts +192 -0
- package/gen/api/manage/v1/email_layout_pb.ts +487 -0
- package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
- package/gen/api/manage/v1/email_template_pb.ts +683 -0
- package/gen/api/manage/v1/events_pb.ts +3251 -0
- package/gen/api/manage/v1/file_pb.ts +2810 -0
- package/gen/api/manage/v1/form_pb.ts +1046 -0
- package/gen/api/manage/v1/format_pb.ts +321 -0
- package/gen/api/manage/v1/genre_pb.ts +340 -0
- package/gen/api/manage/v1/label_pb.ts +1105 -0
- package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
- package/gen/api/manage/v1/map_place_pb.ts +572 -0
- package/gen/api/manage/v1/map_theme_pb.ts +691 -0
- package/gen/api/manage/v1/member_pb.ts +1281 -0
- package/gen/api/manage/v1/menu_pb.ts +535 -0
- package/gen/api/manage/v1/page_pb.ts +894 -0
- package/gen/api/manage/v1/post_pb.ts +1475 -0
- package/gen/api/manage/v1/privacy_pb.ts +518 -0
- package/gen/api/manage/v1/program_event_pb.ts +2234 -0
- package/gen/api/manage/v1/release_pb.ts +1168 -0
- package/gen/api/manage/v1/series_pb.ts +1033 -0
- package/gen/api/manage/v1/share_link_pb.ts +351 -0
- package/gen/api/manage/v1/site_setting_pb.ts +623 -0
- package/gen/api/manage/v1/style_pb.ts +340 -0
- package/gen/api/manage/v1/tag_pb.ts +323 -0
- package/gen/api/manage/v1/terms_pb.ts +517 -0
- package/gen/api/manage/v1/track_pb.ts +543 -0
- package/gen/api/manage/v1/translation_pb.ts +1838 -0
- package/gen/api/manage/v1/work_pb.ts +1662 -0
- package/gen/api/open/v1/account_pb.ts +243 -0
- package/gen/api/open/v1/artist_pb.ts +732 -0
- package/gen/api/open/v1/category_pb.ts +143 -0
- package/gen/api/open/v1/client_pb.ts +190 -0
- package/gen/api/open/v1/file_pb.ts +244 -0
- package/gen/api/open/v1/form_pb.ts +698 -0
- package/gen/api/open/v1/label_pb.ts +512 -0
- package/gen/api/open/v1/manifest_pb.ts +326 -0
- package/gen/api/open/v1/map_place_pb.ts +228 -0
- package/gen/api/open/v1/map_theme_pb.ts +400 -0
- package/gen/api/open/v1/member_pb.ts +200 -0
- package/gen/api/open/v1/newsletter_pb.ts +77 -0
- package/gen/api/open/v1/page_pb.ts +236 -0
- package/gen/api/open/v1/post_pb.ts +834 -0
- package/gen/api/open/v1/privacy_pb.ts +257 -0
- package/gen/api/open/v1/program_event_pb.ts +1024 -0
- package/gen/api/open/v1/release_pb.ts +758 -0
- package/gen/api/open/v1/series_pb.ts +210 -0
- package/gen/api/open/v1/share_link_pb.ts +106 -0
- package/gen/api/open/v1/sitemap_pb.ts +188 -0
- package/gen/api/open/v1/tag_pb.ts +136 -0
- package/gen/api/open/v1/terms_pb.ts +257 -0
- package/gen/api/open/v1/translation_pb.ts +103 -0
- package/gen/api/open/v1/work_pb.ts +904 -0
- package/gen/api/policy/v1/access_pb.ts +105 -0
- package/gen/api/policy/v1/spicedb/artist.ts +101 -0
- package/gen/api/policy/v1/spicedb/audience.ts +64 -0
- package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
- package/gen/api/policy/v1/spicedb/core.ts +196 -0
- package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
- package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
- package/gen/api/policy/v1/spicedb/file.ts +49 -0
- package/gen/api/policy/v1/spicedb/form.ts +54 -0
- package/gen/api/policy/v1/spicedb/internal.ts +350 -0
- package/gen/api/policy/v1/spicedb/label.ts +98 -0
- package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
- package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
- package/gen/api/policy/v1/spicedb/member.ts +47 -0
- package/gen/api/policy/v1/spicedb/menu.ts +48 -0
- package/gen/api/policy/v1/spicedb/page.ts +54 -0
- package/gen/api/policy/v1/spicedb/post.ts +105 -0
- package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
- package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
- package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
- package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
- package/gen/api/policy/v1/spicedb/release.ts +81 -0
- package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
- package/gen/api/policy/v1/spicedb/translation.ts +46 -0
- package/gen/api/policy/v1/spicedb/work.ts +58 -0
- package/package.json +66 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/series.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenFile,
|
|
5
|
+
GenMessage,
|
|
6
|
+
GenService,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import {
|
|
9
|
+
fileDesc,
|
|
10
|
+
messageDesc,
|
|
11
|
+
serviceDesc,
|
|
12
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import type {
|
|
14
|
+
FilterSpec,
|
|
15
|
+
PaginationRequest,
|
|
16
|
+
PaginationResponse,
|
|
17
|
+
SortSpec,
|
|
18
|
+
} from "../../common/v1/common_pb.ts";
|
|
19
|
+
import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
|
|
20
|
+
import type { AssetRef } from "../../common/v1/media_pb.ts";
|
|
21
|
+
import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
|
|
22
|
+
import type { LocalizationInfo } from "./translation_pb.ts";
|
|
23
|
+
import { file_api_open_v1_translation } from "./translation_pb.ts";
|
|
24
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file api/open/v1/series.proto.
|
|
28
|
+
*/
|
|
29
|
+
export const file_api_open_v1_series: GenFile =
|
|
30
|
+
/*@__PURE__*/
|
|
31
|
+
fileDesc(
|
|
32
|
+
"ChhhcGkvb3Blbi92MS9zZXJpZXMucHJvdG8SC2FwaS5vcGVuLnYxIiAKEEdldFNlcmllc1JlcXVlc3QSDAoEc2x1ZxgBIAEoCSJIChFHZXRTZXJpZXNSZXNwb25zZRIoCgZzZXJpZXMYASABKAsyEy5hcGkub3Blbi52MS5TZXJpZXNIAIgBAUIJCgdfc2VyaWVzIp0BChFMaXN0U2VyaWVzUmVxdWVzdBI0CgpwYWdpbmF0aW9uGAEgASgLMiAuYXBpLmNvbW1vbi52MS5QYWdpbmF0aW9uUmVxdWVzdBIqCgdmaWx0ZXJzGAIgAygLMhkuYXBpLmNvbW1vbi52MS5GaWx0ZXJTcGVjEiYKBXNvcnRzGAMgAygLMhcuYXBpLmNvbW1vbi52MS5Tb3J0U3BlYyJwChJMaXN0U2VyaWVzUmVzcG9uc2USIwoGc2VyaWVzGAEgAygLMhMuYXBpLm9wZW4udjEuU2VyaWVzEjUKCnBhZ2luYXRpb24YAiABKAsyIS5hcGkuY29tbW9uLnYxLlBhZ2luYXRpb25SZXNwb25zZSLWAgoGU2VyaWVzEgoKAmlkGAEgASgJEg0KBXRpdGxlGAIgASgJEgwKBHNsdWcYAyABKAkSGAoLZGVzY3JpcHRpb24YBCABKAlIAIgBARISCgpwb3N0X2NvdW50GAUgASgFEi4KCG9nX2Fzc2V0GAYgASgLMhcuYXBpLmNvbW1vbi52MS5Bc3NldFJlZkgBiAEBEjoKFGZlYXR1cmVkX2ltYWdlX2Fzc2V0GAcgASgLMhcuYXBpLmNvbW1vbi52MS5Bc3NldFJlZkgCiAEBEj0KEWxvY2FsaXphdGlvbl9pbmZvGAggASgLMh0uYXBpLm9wZW4udjEuTG9jYWxpemF0aW9uSW5mb0gDiAEBQg4KDF9kZXNjcmlwdGlvbkILCglfb2dfYXNzZXRCFwoVX2ZlYXR1cmVkX2ltYWdlX2Fzc2V0QhQKEl9sb2NhbGl6YXRpb25faW5mbzKeAQoNU2VyaWVzU2VydmljZRJHCgRMaXN0Eh4uYXBpLm9wZW4udjEuTGlzdFNlcmllc1JlcXVlc3QaHy5hcGkub3Blbi52MS5MaXN0U2VyaWVzUmVzcG9uc2USRAoDR2V0Eh0uYXBpLm9wZW4udjEuR2V0U2VyaWVzUmVxdWVzdBoeLmFwaS5vcGVuLnYxLkdldFNlcmllc1Jlc3BvbnNlQqcBCg9jb20uYXBpLm9wZW4udjFCC1Nlcmllc1Byb3RvUAFaOWdpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9vcGVuL3YxO29wZW52MaICA0FPWKoCC0FwaS5PcGVuLlYxygILQXBpXE9wZW5cVjHiAhdBcGlcT3BlblxWMVxHUEJNZXRhZGF0YeoCDUFwaTo6T3Blbjo6VjFiBnByb3RvMw",
|
|
33
|
+
[
|
|
34
|
+
file_api_common_v1_common,
|
|
35
|
+
file_api_common_v1_media,
|
|
36
|
+
file_api_open_v1_translation,
|
|
37
|
+
],
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message api.open.v1.GetSeriesRequest
|
|
42
|
+
*/
|
|
43
|
+
export type GetSeriesRequest = Message<"api.open.v1.GetSeriesRequest"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string slug = 1;
|
|
46
|
+
*/
|
|
47
|
+
slug: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message api.open.v1.GetSeriesRequest.
|
|
52
|
+
* Use `create(GetSeriesRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const GetSeriesRequestSchema: GenMessage<GetSeriesRequest> =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
messageDesc(file_api_open_v1_series, 0);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from message api.open.v1.GetSeriesResponse
|
|
60
|
+
*/
|
|
61
|
+
export type GetSeriesResponse = Message<"api.open.v1.GetSeriesResponse"> & {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: optional api.open.v1.Series series = 1;
|
|
64
|
+
*/
|
|
65
|
+
series?: Series | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.open.v1.GetSeriesResponse.
|
|
70
|
+
* Use `create(GetSeriesResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const GetSeriesResponseSchema: GenMessage<GetSeriesResponse> =
|
|
73
|
+
/*@__PURE__*/
|
|
74
|
+
messageDesc(file_api_open_v1_series, 1);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message api.open.v1.ListSeriesRequest
|
|
78
|
+
*/
|
|
79
|
+
export type ListSeriesRequest = Message<"api.open.v1.ListSeriesRequest"> & {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
82
|
+
*/
|
|
83
|
+
pagination?: PaginationRequest | undefined;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* (none for now)
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
89
|
+
*/
|
|
90
|
+
filters: FilterSpec[];
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* title, post_count
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
96
|
+
*/
|
|
97
|
+
sorts: SortSpec[];
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message api.open.v1.ListSeriesRequest.
|
|
102
|
+
* Use `create(ListSeriesRequestSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const ListSeriesRequestSchema: GenMessage<ListSeriesRequest> =
|
|
105
|
+
/*@__PURE__*/
|
|
106
|
+
messageDesc(file_api_open_v1_series, 2);
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message api.open.v1.ListSeriesResponse
|
|
110
|
+
*/
|
|
111
|
+
export type ListSeriesResponse = Message<"api.open.v1.ListSeriesResponse"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: repeated api.open.v1.Series series = 1;
|
|
114
|
+
*/
|
|
115
|
+
series: Series[];
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
119
|
+
*/
|
|
120
|
+
pagination?: PaginationResponse | undefined;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message api.open.v1.ListSeriesResponse.
|
|
125
|
+
* Use `create(ListSeriesResponseSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export const ListSeriesResponseSchema: GenMessage<ListSeriesResponse> =
|
|
128
|
+
/*@__PURE__*/
|
|
129
|
+
messageDesc(file_api_open_v1_series, 3);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message api.open.v1.Series
|
|
133
|
+
*/
|
|
134
|
+
export type Series = Message<"api.open.v1.Series"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string id = 1;
|
|
137
|
+
*/
|
|
138
|
+
id: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string title = 2;
|
|
142
|
+
*/
|
|
143
|
+
title: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: string slug = 3;
|
|
147
|
+
*/
|
|
148
|
+
slug: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: optional string description = 4;
|
|
152
|
+
*/
|
|
153
|
+
description?: string | undefined;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: int32 post_count = 5;
|
|
157
|
+
*/
|
|
158
|
+
postCount: number;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: optional api.common.v1.AssetRef og_asset = 6;
|
|
162
|
+
*/
|
|
163
|
+
ogAsset?: AssetRef | undefined;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: optional api.common.v1.AssetRef featured_image_asset = 7;
|
|
167
|
+
*/
|
|
168
|
+
featuredImageAsset?: AssetRef | undefined;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: optional api.open.v1.LocalizationInfo localization_info = 8;
|
|
172
|
+
*/
|
|
173
|
+
localizationInfo?: LocalizationInfo | undefined;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message api.open.v1.Series.
|
|
178
|
+
* Use `create(SeriesSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export const SeriesSchema: GenMessage<Series> =
|
|
181
|
+
/*@__PURE__*/
|
|
182
|
+
messageDesc(file_api_open_v1_series, 4);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* SeriesService provides public access to series
|
|
186
|
+
*
|
|
187
|
+
* @generated from service api.open.v1.SeriesService
|
|
188
|
+
*/
|
|
189
|
+
export const SeriesService: GenService<{
|
|
190
|
+
/**
|
|
191
|
+
* List returns all series with post counts
|
|
192
|
+
*
|
|
193
|
+
* @generated from rpc api.open.v1.SeriesService.List
|
|
194
|
+
*/
|
|
195
|
+
list: {
|
|
196
|
+
methodKind: "unary";
|
|
197
|
+
input: typeof ListSeriesRequestSchema;
|
|
198
|
+
output: typeof ListSeriesResponseSchema;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Get returns one published Series by slug or ID using locale fallback.
|
|
202
|
+
*
|
|
203
|
+
* @generated from rpc api.open.v1.SeriesService.Get
|
|
204
|
+
*/
|
|
205
|
+
get: {
|
|
206
|
+
methodKind: "unary";
|
|
207
|
+
input: typeof GetSeriesRequestSchema;
|
|
208
|
+
output: typeof GetSeriesResponseSchema;
|
|
209
|
+
};
|
|
210
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_series, 0);
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/share_link.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenFile,
|
|
5
|
+
GenMessage,
|
|
6
|
+
GenService,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import {
|
|
9
|
+
fileDesc,
|
|
10
|
+
messageDesc,
|
|
11
|
+
serviceDesc,
|
|
12
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import type { ShareLinkEntityType } from "../../manage/v1/share_link_pb.ts";
|
|
14
|
+
import { file_api_manage_v1_share_link } from "../../manage/v1/share_link_pb.ts";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file api/open/v1/share_link.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_api_open_v1_share_link: GenFile =
|
|
21
|
+
/*@__PURE__*/
|
|
22
|
+
fileDesc(
|
|
23
|
+
"ChxhcGkvb3Blbi92MS9zaGFyZV9saW5rLnByb3RvEgthcGkub3Blbi52MSJNChhWYWxpZGF0ZVNoYXJlTGlua1JlcXVlc3QSDQoFdG9rZW4YASABKAkSFQoIcGFzc3dvcmQYAiABKAlIAIgBAUILCglfcGFzc3dvcmQi1QEKGVZhbGlkYXRlU2hhcmVMaW5rUmVzcG9uc2USDQoFdmFsaWQYASABKAgSPAoLZW50aXR5X3R5cGUYAiABKA4yIi5hcGkubWFuYWdlLnYxLlNoYXJlTGlua0VudGl0eVR5cGVIAIgBARIWCgllbnRpdHlfaWQYAyABKAlIAYgBARIRCgRzbHVnGAQgASgJSAKIAQESGQoRcGFzc3dvcmRfcmVxdWlyZWQYBSABKAhCDgoMX2VudGl0eV90eXBlQgwKCl9lbnRpdHlfaWRCBwoFX3NsdWcybQoQU2hhcmVMaW5rU2VydmljZRJZCghWYWxpZGF0ZRIlLmFwaS5vcGVuLnYxLlZhbGlkYXRlU2hhcmVMaW5rUmVxdWVzdBomLmFwaS5vcGVuLnYxLlZhbGlkYXRlU2hhcmVMaW5rUmVzcG9uc2VCqgEKD2NvbS5hcGkub3Blbi52MUIOU2hhcmVMaW5rUHJvdG9QAVo5Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL29wZW4vdjE7b3BlbnYxogIDQU9YqgILQXBpLk9wZW4uVjHKAgtBcGlcT3BlblxWMeICF0FwaVxPcGVuXFYxXEdQQk1ldGFkYXRh6gINQXBpOjpPcGVuOjpWMWIGcHJvdG8z",
|
|
24
|
+
[file_api_manage_v1_share_link],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message api.open.v1.ValidateShareLinkRequest
|
|
29
|
+
*/
|
|
30
|
+
export type ValidateShareLinkRequest =
|
|
31
|
+
Message<"api.open.v1.ValidateShareLinkRequest"> & {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string token = 1;
|
|
34
|
+
*/
|
|
35
|
+
token: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: optional string password = 2;
|
|
39
|
+
*/
|
|
40
|
+
password?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message api.open.v1.ValidateShareLinkRequest.
|
|
45
|
+
* Use `create(ValidateShareLinkRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ValidateShareLinkRequestSchema: GenMessage<ValidateShareLinkRequest> =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
messageDesc(file_api_open_v1_share_link, 0);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message api.open.v1.ValidateShareLinkResponse
|
|
53
|
+
*/
|
|
54
|
+
export type ValidateShareLinkResponse =
|
|
55
|
+
Message<"api.open.v1.ValidateShareLinkResponse"> & {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: bool valid = 1;
|
|
58
|
+
*/
|
|
59
|
+
valid: boolean;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: optional api.manage.v1.ShareLinkEntityType entity_type = 2;
|
|
63
|
+
*/
|
|
64
|
+
entityType?: ShareLinkEntityType | undefined;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: optional string entity_id = 3;
|
|
68
|
+
*/
|
|
69
|
+
entityId?: string | undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: optional string slug = 4;
|
|
73
|
+
*/
|
|
74
|
+
slug?: string | undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: bool password_required = 5;
|
|
78
|
+
*/
|
|
79
|
+
passwordRequired: boolean;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message api.open.v1.ValidateShareLinkResponse.
|
|
84
|
+
* Use `create(ValidateShareLinkResponseSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const ValidateShareLinkResponseSchema: GenMessage<ValidateShareLinkResponse> =
|
|
87
|
+
/*@__PURE__*/
|
|
88
|
+
messageDesc(file_api_open_v1_share_link, 1);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* ShareLinkService provides public access to validate share links
|
|
92
|
+
*
|
|
93
|
+
* @generated from service api.open.v1.ShareLinkService
|
|
94
|
+
*/
|
|
95
|
+
export const ShareLinkService: GenService<{
|
|
96
|
+
/**
|
|
97
|
+
* Validate validates a share link token and returns entity info if valid
|
|
98
|
+
*
|
|
99
|
+
* @generated from rpc api.open.v1.ShareLinkService.Validate
|
|
100
|
+
*/
|
|
101
|
+
validate: {
|
|
102
|
+
methodKind: "unary";
|
|
103
|
+
input: typeof ValidateShareLinkRequestSchema;
|
|
104
|
+
output: typeof ValidateShareLinkResponseSchema;
|
|
105
|
+
};
|
|
106
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_share_link, 0);
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/sitemap.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenEnum,
|
|
5
|
+
GenFile,
|
|
6
|
+
GenMessage,
|
|
7
|
+
GenService,
|
|
8
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
9
|
+
import {
|
|
10
|
+
enumDesc,
|
|
11
|
+
fileDesc,
|
|
12
|
+
messageDesc,
|
|
13
|
+
serviceDesc,
|
|
14
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
15
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
16
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
17
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file api/open/v1/sitemap.proto.
|
|
21
|
+
*/
|
|
22
|
+
export const file_api_open_v1_sitemap: GenFile =
|
|
23
|
+
/*@__PURE__*/
|
|
24
|
+
fileDesc(
|
|
25
|
+
"ChlhcGkvb3Blbi92MS9zaXRlbWFwLnByb3RvEgthcGkub3Blbi52MSJLChlHZXRTaXRlbWFwRG9jdW1lbnRSZXF1ZXN0Ei4KBGtpbmQYASABKA4yIC5hcGkub3Blbi52MS5TaXRlbWFwRG9jdW1lbnRLaW5kIvkBChpHZXRTaXRlbWFwRG9jdW1lbnRSZXNwb25zZRIyCgZzdGF0dXMYASABKA4yIi5hcGkub3Blbi52MS5TaXRlbWFwRG9jdW1lbnRTdGF0dXMSDwoHY29udGVudBgCIAEoCRIUCgxjb250ZW50X3R5cGUYAyABKAkSIAoTcmV0cnlfYWZ0ZXJfc2Vjb25kcxgEIAEoBUgAiAEBEjUKDGdlbmVyYXRlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAYgBAUIWChRfcmV0cnlfYWZ0ZXJfc2Vjb25kc0IPCg1fZ2VuZXJhdGVkX2F0KscCChNTaXRlbWFwRG9jdW1lbnRLaW5kEiUKIVNJVEVNQVBfRE9DVU1FTlRfS0lORF9VTlNQRUNJRklFRBAAEh8KG1NJVEVNQVBfRE9DVU1FTlRfS0lORF9JTkRFWBABEh4KGlNJVEVNQVBfRE9DVU1FTlRfS0lORF9QQUdFEAISHgoaU0lURU1BUF9ET0NVTUVOVF9LSU5EX1BPU1QQAxIeChpTSVRFTUFQX0RPQ1VNRU5UX0tJTkRfV09SSxAEEiAKHFNJVEVNQVBfRE9DVU1FTlRfS0lORF9BUlRJU1QQBRIfChtTSVRFTUFQX0RPQ1VNRU5UX0tJTkRfTEFCRUwQBhIhCh1TSVRFTUFQX0RPQ1VNRU5UX0tJTkRfUkVMRUFTRRAHEiIKHlNJVEVNQVBfRE9DVU1FTlRfS0lORF9UQVhPTk9NWRAIKq8BChVTaXRlbWFwRG9jdW1lbnRTdGF0dXMSJwojU0lURU1BUF9ET0NVTUVOVF9TVEFUVVNfVU5TUEVDSUZJRUQQABIhCh1TSVRFTUFQX0RPQ1VNRU5UX1NUQVRVU19GUkVTSBABEiEKHVNJVEVNQVBfRE9DVU1FTlRfU1RBVFVTX1NUQUxFEAISJwojU0lURU1BUF9ET0NVTUVOVF9TVEFUVVNfVU5BVkFJTEFCTEUQAzJwCg5TaXRlbWFwU2VydmljZRJeCgtHZXREb2N1bWVudBImLmFwaS5vcGVuLnYxLkdldFNpdGVtYXBEb2N1bWVudFJlcXVlc3QaJy5hcGkub3Blbi52MS5HZXRTaXRlbWFwRG9jdW1lbnRSZXNwb25zZUKoAQoPY29tLmFwaS5vcGVuLnYxQgxTaXRlbWFwUHJvdG9QAVo5Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL29wZW4vdjE7b3BlbnYxogIDQU9YqgILQXBpLk9wZW4uVjHKAgtBcGlcT3BlblxWMeICF0FwaVxPcGVuXFYxXEdQQk1ldGFkYXRh6gINQXBpOjpPcGVuOjpWMWIGcHJvdG8z",
|
|
26
|
+
[file_google_protobuf_timestamp],
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message api.open.v1.GetSitemapDocumentRequest
|
|
31
|
+
*/
|
|
32
|
+
export type GetSitemapDocumentRequest =
|
|
33
|
+
Message<"api.open.v1.GetSitemapDocumentRequest"> & {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: api.open.v1.SitemapDocumentKind kind = 1;
|
|
36
|
+
*/
|
|
37
|
+
kind: SitemapDocumentKind;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.open.v1.GetSitemapDocumentRequest.
|
|
42
|
+
* Use `create(GetSitemapDocumentRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetSitemapDocumentRequestSchema: GenMessage<GetSitemapDocumentRequest> =
|
|
45
|
+
/*@__PURE__*/
|
|
46
|
+
messageDesc(file_api_open_v1_sitemap, 0);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from message api.open.v1.GetSitemapDocumentResponse
|
|
50
|
+
*/
|
|
51
|
+
export type GetSitemapDocumentResponse =
|
|
52
|
+
Message<"api.open.v1.GetSitemapDocumentResponse"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: api.open.v1.SitemapDocumentStatus status = 1;
|
|
55
|
+
*/
|
|
56
|
+
status: SitemapDocumentStatus;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: string content = 2;
|
|
60
|
+
*/
|
|
61
|
+
content: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string content_type = 3;
|
|
65
|
+
*/
|
|
66
|
+
contentType: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: optional int32 retry_after_seconds = 4;
|
|
70
|
+
*/
|
|
71
|
+
retryAfterSeconds?: number | undefined;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: optional google.protobuf.Timestamp generated_at = 5;
|
|
75
|
+
*/
|
|
76
|
+
generatedAt?: Timestamp | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message api.open.v1.GetSitemapDocumentResponse.
|
|
81
|
+
* Use `create(GetSitemapDocumentResponseSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const GetSitemapDocumentResponseSchema: GenMessage<GetSitemapDocumentResponse> =
|
|
84
|
+
/*@__PURE__*/
|
|
85
|
+
messageDesc(file_api_open_v1_sitemap, 1);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum api.open.v1.SitemapDocumentKind
|
|
89
|
+
*/
|
|
90
|
+
export enum SitemapDocumentKind {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_UNSPECIFIED = 0;
|
|
93
|
+
*/
|
|
94
|
+
UNSPECIFIED = 0,
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_INDEX = 1;
|
|
98
|
+
*/
|
|
99
|
+
INDEX = 1,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_PAGE = 2;
|
|
103
|
+
*/
|
|
104
|
+
PAGE = 2,
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_POST = 3;
|
|
108
|
+
*/
|
|
109
|
+
POST = 3,
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_WORK = 4;
|
|
113
|
+
*/
|
|
114
|
+
WORK = 4,
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_ARTIST = 5;
|
|
118
|
+
*/
|
|
119
|
+
ARTIST = 5,
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_LABEL = 6;
|
|
123
|
+
*/
|
|
124
|
+
LABEL = 6,
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_RELEASE = 7;
|
|
128
|
+
*/
|
|
129
|
+
RELEASE = 7,
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: SITEMAP_DOCUMENT_KIND_TAXONOMY = 8;
|
|
133
|
+
*/
|
|
134
|
+
TAXONOMY = 8,
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the enum api.open.v1.SitemapDocumentKind.
|
|
139
|
+
*/
|
|
140
|
+
export const SitemapDocumentKindSchema: GenEnum<SitemapDocumentKind> =
|
|
141
|
+
/*@__PURE__*/
|
|
142
|
+
enumDesc(file_api_open_v1_sitemap, 0);
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from enum api.open.v1.SitemapDocumentStatus
|
|
146
|
+
*/
|
|
147
|
+
export enum SitemapDocumentStatus {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum value: SITEMAP_DOCUMENT_STATUS_UNSPECIFIED = 0;
|
|
150
|
+
*/
|
|
151
|
+
UNSPECIFIED = 0,
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from enum value: SITEMAP_DOCUMENT_STATUS_FRESH = 1;
|
|
155
|
+
*/
|
|
156
|
+
FRESH = 1,
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from enum value: SITEMAP_DOCUMENT_STATUS_STALE = 2;
|
|
160
|
+
*/
|
|
161
|
+
STALE = 2,
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from enum value: SITEMAP_DOCUMENT_STATUS_UNAVAILABLE = 3;
|
|
165
|
+
*/
|
|
166
|
+
UNAVAILABLE = 3,
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Describes the enum api.open.v1.SitemapDocumentStatus.
|
|
171
|
+
*/
|
|
172
|
+
export const SitemapDocumentStatusSchema: GenEnum<SitemapDocumentStatus> =
|
|
173
|
+
/*@__PURE__*/
|
|
174
|
+
enumDesc(file_api_open_v1_sitemap, 1);
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @generated from service api.open.v1.SitemapService
|
|
178
|
+
*/
|
|
179
|
+
export const SitemapService: GenService<{
|
|
180
|
+
/**
|
|
181
|
+
* @generated from rpc api.open.v1.SitemapService.GetDocument
|
|
182
|
+
*/
|
|
183
|
+
getDocument: {
|
|
184
|
+
methodKind: "unary";
|
|
185
|
+
input: typeof GetSitemapDocumentRequestSchema;
|
|
186
|
+
output: typeof GetSitemapDocumentResponseSchema;
|
|
187
|
+
};
|
|
188
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_sitemap, 0);
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/tag.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenFile,
|
|
5
|
+
GenMessage,
|
|
6
|
+
GenService,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import {
|
|
9
|
+
fileDesc,
|
|
10
|
+
messageDesc,
|
|
11
|
+
serviceDesc,
|
|
12
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import type {
|
|
14
|
+
FilterSpec,
|
|
15
|
+
PaginationRequest,
|
|
16
|
+
PaginationResponse,
|
|
17
|
+
SortSpec,
|
|
18
|
+
} from "../../common/v1/common_pb.ts";
|
|
19
|
+
import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file api/open/v1/tag.proto.
|
|
24
|
+
*/
|
|
25
|
+
export const file_api_open_v1_tag: GenFile =
|
|
26
|
+
/*@__PURE__*/
|
|
27
|
+
fileDesc(
|
|
28
|
+
"ChVhcGkvb3Blbi92MS90YWcucHJvdG8SC2FwaS5vcGVuLnYxIpsBCg9MaXN0VGFnc1JlcXVlc3QSNAoKcGFnaW5hdGlvbhgBIAEoCzIgLmFwaS5jb21tb24udjEuUGFnaW5hdGlvblJlcXVlc3QSKgoHZmlsdGVycxgCIAMoCzIZLmFwaS5jb21tb24udjEuRmlsdGVyU3BlYxImCgVzb3J0cxgDIAMoCzIXLmFwaS5jb21tb24udjEuU29ydFNwZWMiaQoQTGlzdFRhZ3NSZXNwb25zZRIeCgR0YWdzGAEgAygLMhAuYXBpLm9wZW4udjEuVGFnEjUKCnBhZ2luYXRpb24YAiABKAsyIS5hcGkuY29tbW9uLnYxLlBhZ2luYXRpb25SZXNwb25zZSJBCgNUYWcSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRzbHVnGAMgASgJEhIKCnBvc3RfY291bnQYBCABKAUyUQoKVGFnU2VydmljZRJDCgRMaXN0EhwuYXBpLm9wZW4udjEuTGlzdFRhZ3NSZXF1ZXN0Gh0uYXBpLm9wZW4udjEuTGlzdFRhZ3NSZXNwb25zZUKkAQoPY29tLmFwaS5vcGVuLnYxQghUYWdQcm90b1ABWjlnaXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvb3Blbi92MTtvcGVudjGiAgNBT1iqAgtBcGkuT3Blbi5WMcoCC0FwaVxPcGVuXFYx4gIXQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
|
|
29
|
+
[file_api_common_v1_common],
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from message api.open.v1.ListTagsRequest
|
|
34
|
+
*/
|
|
35
|
+
export type ListTagsRequest = Message<"api.open.v1.ListTagsRequest"> & {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
38
|
+
*/
|
|
39
|
+
pagination?: PaginationRequest | undefined;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* (none for now)
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
45
|
+
*/
|
|
46
|
+
filters: FilterSpec[];
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* name, post_count
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
52
|
+
*/
|
|
53
|
+
sorts: SortSpec[];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message api.open.v1.ListTagsRequest.
|
|
58
|
+
* Use `create(ListTagsRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const ListTagsRequestSchema: GenMessage<ListTagsRequest> =
|
|
61
|
+
/*@__PURE__*/
|
|
62
|
+
messageDesc(file_api_open_v1_tag, 0);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from message api.open.v1.ListTagsResponse
|
|
66
|
+
*/
|
|
67
|
+
export type ListTagsResponse = Message<"api.open.v1.ListTagsResponse"> & {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: repeated api.open.v1.Tag tags = 1;
|
|
70
|
+
*/
|
|
71
|
+
tags: Tag[];
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
75
|
+
*/
|
|
76
|
+
pagination?: PaginationResponse | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message api.open.v1.ListTagsResponse.
|
|
81
|
+
* Use `create(ListTagsResponseSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const ListTagsResponseSchema: GenMessage<ListTagsResponse> =
|
|
84
|
+
/*@__PURE__*/
|
|
85
|
+
messageDesc(file_api_open_v1_tag, 1);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message api.open.v1.Tag
|
|
89
|
+
*/
|
|
90
|
+
export type Tag = Message<"api.open.v1.Tag"> & {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string id = 1;
|
|
93
|
+
*/
|
|
94
|
+
id: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string name = 2;
|
|
98
|
+
*/
|
|
99
|
+
name: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: string slug = 3;
|
|
103
|
+
*/
|
|
104
|
+
slug: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: int32 post_count = 4;
|
|
108
|
+
*/
|
|
109
|
+
postCount: number;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message api.open.v1.Tag.
|
|
114
|
+
* Use `create(TagSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const TagSchema: GenMessage<Tag> =
|
|
117
|
+
/*@__PURE__*/
|
|
118
|
+
messageDesc(file_api_open_v1_tag, 2);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* TagService provides public access to tags
|
|
122
|
+
*
|
|
123
|
+
* @generated from service api.open.v1.TagService
|
|
124
|
+
*/
|
|
125
|
+
export const TagService: GenService<{
|
|
126
|
+
/**
|
|
127
|
+
* List returns all tags with post counts
|
|
128
|
+
*
|
|
129
|
+
* @generated from rpc api.open.v1.TagService.List
|
|
130
|
+
*/
|
|
131
|
+
list: {
|
|
132
|
+
methodKind: "unary";
|
|
133
|
+
input: typeof ListTagsRequestSchema;
|
|
134
|
+
output: typeof ListTagsResponseSchema;
|
|
135
|
+
};
|
|
136
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_tag, 0);
|