@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,834 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/post.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 {
|
|
16
|
+
DocumentLayout,
|
|
17
|
+
FilterSpec,
|
|
18
|
+
MemberSummary,
|
|
19
|
+
PaginationRequest,
|
|
20
|
+
PaginationResponse,
|
|
21
|
+
SortSpec,
|
|
22
|
+
} from "../../common/v1/common_pb.ts";
|
|
23
|
+
import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
|
|
24
|
+
import type { AssetRef, MediaDelivery } from "../../common/v1/media_pb.ts";
|
|
25
|
+
import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
|
|
26
|
+
import type {
|
|
27
|
+
ContentBlockMediaItem,
|
|
28
|
+
LocalizedRichTextDocument,
|
|
29
|
+
} from "../../content/v1/block_content_pb.ts";
|
|
30
|
+
import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
|
|
31
|
+
import type { MapPlaceBasic } from "./map_place_pb.ts";
|
|
32
|
+
import { file_api_open_v1_map_place } from "./map_place_pb.ts";
|
|
33
|
+
import type { LocalizationInfo } from "./translation_pb.ts";
|
|
34
|
+
import { file_api_open_v1_translation } from "./translation_pb.ts";
|
|
35
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
36
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
37
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the file api/open/v1/post.proto.
|
|
41
|
+
*/
|
|
42
|
+
export const file_api_open_v1_post: GenFile =
|
|
43
|
+
/*@__PURE__*/
|
|
44
|
+
fileDesc(
|
|
45
|
+
"ChZhcGkvb3Blbi92MS9wb3N0LnByb3RvEgthcGkub3Blbi52MSJ4Cg5HZXRQb3N0UmVxdWVzdBIMCgRzbHVnGAEgASgJEhgKC3NoYXJlX3Rva2VuGAIgASgJSACIAQESGwoOc2hhcmVfcGFzc3dvcmQYAyABKAlIAYgBAUIOCgxfc2hhcmVfdG9rZW5CEQoPX3NoYXJlX3Bhc3N3b3JkInwKD0dldFBvc3RSZXNwb25zZRIkCgRwb3N0GAEgASgLMhEuYXBpLm9wZW4udjEuUG9zdEgAiAEBEjoKC2Jsb2NrX21lZGlhGAIgAygLMiUuYXBpLmNvbnRlbnQudjEuQ29udGVudEJsb2NrTWVkaWFJdGVtQgcKBV9wb3N0IqsJCgRQb3N0EgoKAmlkGAEgASgJEg0KBXRpdGxlGAIgASgJEhEKBHNsdWcYAyABKAlIAIgBARIUCgdzdW1tYXJ5GAQgASgJSAGIAQESJwoGc3RhdHVzGAUgASgOMhcuYXBpLm9wZW4udjEuUG9zdF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AxIZChVQT1NUX1NUQVRVU19TQ0hFRFVMRUQQBDLJAgoLUG9zdFNlcnZpY2USQAoDR2V0EhsuYXBpLm9wZW4udjEuR2V0UG9zdFJlcXVlc3QaHC5hcGkub3Blbi52MS5HZXRQb3N0UmVzcG9uc2USRQoETGlzdBIdLmFwaS5vcGVuLnYxLkxpc3RQb3N0c1JlcXVlc3QaHi5hcGkub3Blbi52MS5MaXN0UG9zdHNSZXNwb25zZRJkCg9MaXN0TWFwRmVhdHVyZXMSJy5hcGkub3Blbi52MS5MaXN0UG9zdE1hcEZlYXR1cmVzUmVxdWVzdBooLmFwaS5vcGVuLnYxLkxpc3RQb3N0TWFwRmVhdHVyZXNSZXNwb25zZRJLCgZTZWFyY2gSHy5hcGkub3Blbi52MS5TZWFyY2hQb3N0c1JlcXVlc3QaIC5hcGkub3Blbi52MS5TZWFyY2hQb3N0c1Jlc3BvbnNlQqUBCg9jb20uYXBpLm9wZW4udjFCCVBvc3RQcm90b1ABWjlnaXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvb3Blbi92MTtvcGVudjGiAgNBT1iqAgtBcGkuT3Blbi5WMcoCC0FwaVxPcGVuXFYx4gIXQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
|
|
46
|
+
[
|
|
47
|
+
file_api_common_v1_common,
|
|
48
|
+
file_api_common_v1_media,
|
|
49
|
+
file_api_content_v1_block_content,
|
|
50
|
+
file_api_open_v1_map_place,
|
|
51
|
+
file_api_open_v1_translation,
|
|
52
|
+
file_google_protobuf_timestamp,
|
|
53
|
+
],
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message api.open.v1.GetPostRequest
|
|
58
|
+
*/
|
|
59
|
+
export type GetPostRequest = Message<"api.open.v1.GetPostRequest"> & {
|
|
60
|
+
/**
|
|
61
|
+
* slug or ID (server handles both)
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: string slug = 1;
|
|
64
|
+
*/
|
|
65
|
+
slug: string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: optional string share_token = 2;
|
|
69
|
+
*/
|
|
70
|
+
shareToken?: string | undefined;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: optional string share_password = 3;
|
|
74
|
+
*/
|
|
75
|
+
sharePassword?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message api.open.v1.GetPostRequest.
|
|
80
|
+
* Use `create(GetPostRequestSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export const GetPostRequestSchema: GenMessage<GetPostRequest> =
|
|
83
|
+
/*@__PURE__*/
|
|
84
|
+
messageDesc(file_api_open_v1_post, 0);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from message api.open.v1.GetPostResponse
|
|
88
|
+
*/
|
|
89
|
+
export type GetPostResponse = Message<"api.open.v1.GetPostResponse"> & {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: optional api.open.v1.Post post = 1;
|
|
92
|
+
*/
|
|
93
|
+
post?: Post | undefined;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Exact Block selector + attachment state + authorized delivery. Consumers
|
|
97
|
+
* must not collapse distinct references to the same File into a File-ID map.
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: repeated api.content.v1.ContentBlockMediaItem block_media = 2;
|
|
100
|
+
*/
|
|
101
|
+
blockMedia: ContentBlockMediaItem[];
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message api.open.v1.GetPostResponse.
|
|
106
|
+
* Use `create(GetPostResponseSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export const GetPostResponseSchema: GenMessage<GetPostResponse> =
|
|
109
|
+
/*@__PURE__*/
|
|
110
|
+
messageDesc(file_api_open_v1_post, 1);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Post for Get includes the authoritative typed Block document.
|
|
114
|
+
* share_token can access drafts, so published_at is optional
|
|
115
|
+
*
|
|
116
|
+
* @generated from message api.open.v1.Post
|
|
117
|
+
*/
|
|
118
|
+
export type Post = Message<"api.open.v1.Post"> & {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string id = 1;
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: string title = 2;
|
|
126
|
+
*/
|
|
127
|
+
title: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: optional string slug = 3;
|
|
131
|
+
*/
|
|
132
|
+
slug?: string | undefined;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: optional string summary = 4;
|
|
136
|
+
*/
|
|
137
|
+
summary?: string | undefined;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: api.open.v1.PostStatus status = 5;
|
|
141
|
+
*/
|
|
142
|
+
status: PostStatus;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: bool comments_enabled = 6;
|
|
146
|
+
*/
|
|
147
|
+
commentsEnabled: boolean;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
151
|
+
*/
|
|
152
|
+
createdAt?: Timestamp | undefined;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
156
|
+
*/
|
|
157
|
+
updatedAt?: Timestamp | undefined;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: optional google.protobuf.Timestamp published_at = 9;
|
|
161
|
+
*/
|
|
162
|
+
publishedAt?: Timestamp | undefined;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Relations
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: repeated api.common.v1.MemberSummary author_members = 10;
|
|
168
|
+
*/
|
|
169
|
+
authorMembers: MemberSummary[];
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: repeated api.open.v1.PostCategory categories = 11;
|
|
173
|
+
*/
|
|
174
|
+
categories: PostCategory[];
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: repeated api.open.v1.PostTag tags = 12;
|
|
178
|
+
*/
|
|
179
|
+
tags: PostTag[];
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: optional api.open.v1.PostSeries series = 13;
|
|
183
|
+
*/
|
|
184
|
+
series?: PostSeries | undefined;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: optional int32 series_order = 14;
|
|
188
|
+
*/
|
|
189
|
+
seriesOrder?: number | undefined;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: api.content.v1.LocalizedRichTextDocument document = 15;
|
|
193
|
+
*/
|
|
194
|
+
document?: LocalizedRichTextDocument | undefined;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: optional api.common.v1.AssetRef og_asset = 16;
|
|
198
|
+
*/
|
|
199
|
+
ogAsset?: AssetRef | undefined;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: optional string map_place_id = 17;
|
|
203
|
+
*/
|
|
204
|
+
mapPlaceId?: string | undefined;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: optional api.open.v1.MapPlaceBasic location_place = 18;
|
|
208
|
+
*/
|
|
209
|
+
locationPlace?: MapPlaceBasic | undefined;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: optional api.open.v1.LocalizationInfo localization_info = 19;
|
|
213
|
+
*/
|
|
214
|
+
localizationInfo?: LocalizationInfo | undefined;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: api.common.v1.DocumentLayout document_layout = 20;
|
|
218
|
+
*/
|
|
219
|
+
documentLayout?: DocumentLayout | undefined;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: optional google.protobuf.Timestamp scheduled_at = 21;
|
|
223
|
+
*/
|
|
224
|
+
scheduledAt?: Timestamp | undefined;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: optional string scheduled_time_zone = 22;
|
|
228
|
+
*/
|
|
229
|
+
scheduledTimeZone?: string | undefined;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: optional api.common.v1.MediaDelivery featured_image_delivery = 23;
|
|
233
|
+
*/
|
|
234
|
+
featuredImageDelivery?: MediaDelivery | undefined;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string revision = 24;
|
|
238
|
+
*/
|
|
239
|
+
revision: string;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Describes the message api.open.v1.Post.
|
|
244
|
+
* Use `create(PostSchema)` to create a new message.
|
|
245
|
+
*/
|
|
246
|
+
export const PostSchema: GenMessage<Post> =
|
|
247
|
+
/*@__PURE__*/
|
|
248
|
+
messageDesc(file_api_open_v1_post, 2);
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @generated from message api.open.v1.ListPostsRequest
|
|
252
|
+
*/
|
|
253
|
+
export type ListPostsRequest = Message<"api.open.v1.ListPostsRequest"> & {
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
256
|
+
*/
|
|
257
|
+
pagination?: PaginationRequest | undefined;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* category_id, tag_id, author_id, series_id, map_place_id, published_at
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
263
|
+
*/
|
|
264
|
+
filters: FilterSpec[];
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* title, published_at, series_order
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
270
|
+
*/
|
|
271
|
+
sorts: SortSpec[];
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Describes the message api.open.v1.ListPostsRequest.
|
|
276
|
+
* Use `create(ListPostsRequestSchema)` to create a new message.
|
|
277
|
+
*/
|
|
278
|
+
export const ListPostsRequestSchema: GenMessage<ListPostsRequest> =
|
|
279
|
+
/*@__PURE__*/
|
|
280
|
+
messageDesc(file_api_open_v1_post, 3);
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @generated from message api.open.v1.ListPostsResponse
|
|
284
|
+
*/
|
|
285
|
+
export type ListPostsResponse = Message<"api.open.v1.ListPostsResponse"> & {
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: repeated api.open.v1.PostSummary posts = 1;
|
|
288
|
+
*/
|
|
289
|
+
posts: PostSummary[];
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
293
|
+
*/
|
|
294
|
+
pagination?: PaginationResponse | undefined;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Describes the message api.open.v1.ListPostsResponse.
|
|
299
|
+
* Use `create(ListPostsResponseSchema)` to create a new message.
|
|
300
|
+
*/
|
|
301
|
+
export const ListPostsResponseSchema: GenMessage<ListPostsResponse> =
|
|
302
|
+
/*@__PURE__*/
|
|
303
|
+
messageDesc(file_api_open_v1_post, 4);
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from message api.open.v1.MapBounds
|
|
307
|
+
*/
|
|
308
|
+
export type MapBounds = Message<"api.open.v1.MapBounds"> & {
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: double west = 1;
|
|
311
|
+
*/
|
|
312
|
+
west: number;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: double south = 2;
|
|
316
|
+
*/
|
|
317
|
+
south: number;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: double east = 3;
|
|
321
|
+
*/
|
|
322
|
+
east: number;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: double north = 4;
|
|
326
|
+
*/
|
|
327
|
+
north: number;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Describes the message api.open.v1.MapBounds.
|
|
332
|
+
* Use `create(MapBoundsSchema)` to create a new message.
|
|
333
|
+
*/
|
|
334
|
+
export const MapBoundsSchema: GenMessage<MapBounds> =
|
|
335
|
+
/*@__PURE__*/
|
|
336
|
+
messageDesc(file_api_open_v1_post, 5);
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @generated from message api.open.v1.PostMapViewport
|
|
340
|
+
*/
|
|
341
|
+
export type PostMapViewport = Message<"api.open.v1.PostMapViewport"> & {
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: api.open.v1.MapBounds bounds = 1;
|
|
344
|
+
*/
|
|
345
|
+
bounds?: MapBounds | undefined;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @generated from field: double zoom = 2;
|
|
349
|
+
*/
|
|
350
|
+
zoom: number;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* @generated from field: int32 width_px = 3;
|
|
354
|
+
*/
|
|
355
|
+
widthPx: number;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: int32 height_px = 4;
|
|
359
|
+
*/
|
|
360
|
+
heightPx: number;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: int32 cluster_radius_px = 5;
|
|
364
|
+
*/
|
|
365
|
+
clusterRadiusPx: number;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: int32 min_cluster_points = 6;
|
|
369
|
+
*/
|
|
370
|
+
minClusterPoints: number;
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Describes the message api.open.v1.PostMapViewport.
|
|
375
|
+
* Use `create(PostMapViewportSchema)` to create a new message.
|
|
376
|
+
*/
|
|
377
|
+
export const PostMapViewportSchema: GenMessage<PostMapViewport> =
|
|
378
|
+
/*@__PURE__*/
|
|
379
|
+
messageDesc(file_api_open_v1_post, 6);
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @generated from message api.open.v1.ListPostMapFeaturesRequest
|
|
383
|
+
*/
|
|
384
|
+
export type ListPostMapFeaturesRequest =
|
|
385
|
+
Message<"api.open.v1.ListPostMapFeaturesRequest"> & {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: api.open.v1.PostMapViewport viewport = 1;
|
|
388
|
+
*/
|
|
389
|
+
viewport?: PostMapViewport | undefined;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* category_id, tag_id, author_id, series_id, map_place_id
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
395
|
+
*/
|
|
396
|
+
filters: FilterSpec[];
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* title, published_at
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
402
|
+
*/
|
|
403
|
+
sorts: SortSpec[];
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Describes the message api.open.v1.ListPostMapFeaturesRequest.
|
|
408
|
+
* Use `create(ListPostMapFeaturesRequestSchema)` to create a new message.
|
|
409
|
+
*/
|
|
410
|
+
export const ListPostMapFeaturesRequestSchema: GenMessage<ListPostMapFeaturesRequest> =
|
|
411
|
+
/*@__PURE__*/
|
|
412
|
+
messageDesc(file_api_open_v1_post, 7);
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @generated from message api.open.v1.PostMapCluster
|
|
416
|
+
*/
|
|
417
|
+
export type PostMapCluster = Message<"api.open.v1.PostMapCluster"> & {
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: string id = 1;
|
|
420
|
+
*/
|
|
421
|
+
id: string;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: double lat = 2;
|
|
425
|
+
*/
|
|
426
|
+
lat: number;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: double lng = 3;
|
|
430
|
+
*/
|
|
431
|
+
lng: number;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: int32 place_count = 4;
|
|
435
|
+
*/
|
|
436
|
+
placeCount: number;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: int32 post_count = 5;
|
|
440
|
+
*/
|
|
441
|
+
postCount: number;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from field: api.open.v1.MapBounds bounds = 6;
|
|
445
|
+
*/
|
|
446
|
+
bounds?: MapBounds | undefined;
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* @generated from field: optional double min_breakout_zoom = 7;
|
|
450
|
+
*/
|
|
451
|
+
minBreakoutZoom?: number | undefined;
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Describes the message api.open.v1.PostMapCluster.
|
|
456
|
+
* Use `create(PostMapClusterSchema)` to create a new message.
|
|
457
|
+
*/
|
|
458
|
+
export const PostMapClusterSchema: GenMessage<PostMapCluster> =
|
|
459
|
+
/*@__PURE__*/
|
|
460
|
+
messageDesc(file_api_open_v1_post, 8);
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* @generated from message api.open.v1.PostMapItem
|
|
464
|
+
*/
|
|
465
|
+
export type PostMapItem = Message<"api.open.v1.PostMapItem"> & {
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: string place_id = 1;
|
|
468
|
+
*/
|
|
469
|
+
placeId: string;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @generated from field: string name = 2;
|
|
473
|
+
*/
|
|
474
|
+
name: string;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: string address = 3;
|
|
478
|
+
*/
|
|
479
|
+
address: string;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: double lat = 4;
|
|
483
|
+
*/
|
|
484
|
+
lat: number;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @generated from field: double lng = 5;
|
|
488
|
+
*/
|
|
489
|
+
lng: number;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @generated from field: int32 post_count = 6;
|
|
493
|
+
*/
|
|
494
|
+
postCount: number;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @generated from field: string primary_post_id = 7;
|
|
498
|
+
*/
|
|
499
|
+
primaryPostId: string;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @generated from field: optional string primary_post_slug = 8;
|
|
503
|
+
*/
|
|
504
|
+
primaryPostSlug?: string | undefined;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string primary_post_title = 9;
|
|
508
|
+
*/
|
|
509
|
+
primaryPostTitle: string;
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Describes the message api.open.v1.PostMapItem.
|
|
514
|
+
* Use `create(PostMapItemSchema)` to create a new message.
|
|
515
|
+
*/
|
|
516
|
+
export const PostMapItemSchema: GenMessage<PostMapItem> =
|
|
517
|
+
/*@__PURE__*/
|
|
518
|
+
messageDesc(file_api_open_v1_post, 9);
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @generated from message api.open.v1.ListPostMapFeaturesResponse
|
|
522
|
+
*/
|
|
523
|
+
export type ListPostMapFeaturesResponse =
|
|
524
|
+
Message<"api.open.v1.ListPostMapFeaturesResponse"> & {
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: repeated api.open.v1.PostMapCluster clusters = 1;
|
|
527
|
+
*/
|
|
528
|
+
clusters: PostMapCluster[];
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: repeated api.open.v1.PostMapItem items = 2;
|
|
532
|
+
*/
|
|
533
|
+
items: PostMapItem[];
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Describes the message api.open.v1.ListPostMapFeaturesResponse.
|
|
538
|
+
* Use `create(ListPostMapFeaturesResponseSchema)` to create a new message.
|
|
539
|
+
*/
|
|
540
|
+
export const ListPostMapFeaturesResponseSchema: GenMessage<ListPostMapFeaturesResponse> =
|
|
541
|
+
/*@__PURE__*/
|
|
542
|
+
messageDesc(file_api_open_v1_post, 10);
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* PostSummary for List - metadata only, no content
|
|
546
|
+
* Public lists only return items that have been published, so published_at is NOT optional
|
|
547
|
+
*
|
|
548
|
+
* @generated from message api.open.v1.PostSummary
|
|
549
|
+
*/
|
|
550
|
+
export type PostSummary = Message<"api.open.v1.PostSummary"> & {
|
|
551
|
+
/**
|
|
552
|
+
* @generated from field: string id = 1;
|
|
553
|
+
*/
|
|
554
|
+
id: string;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: string title = 2;
|
|
558
|
+
*/
|
|
559
|
+
title: string;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @generated from field: optional string slug = 3;
|
|
563
|
+
*/
|
|
564
|
+
slug?: string | undefined;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @generated from field: optional string summary = 4;
|
|
568
|
+
*/
|
|
569
|
+
summary?: string | undefined;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Both public states were published.
|
|
573
|
+
*
|
|
574
|
+
* @generated from field: google.protobuf.Timestamp published_at = 5;
|
|
575
|
+
*/
|
|
576
|
+
publishedAt?: Timestamp | undefined;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: repeated api.common.v1.MemberSummary author_members = 6;
|
|
580
|
+
*/
|
|
581
|
+
authorMembers: MemberSummary[];
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @generated from field: repeated api.open.v1.PostCategory categories = 7;
|
|
585
|
+
*/
|
|
586
|
+
categories: PostCategory[];
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @generated from field: repeated api.open.v1.PostTag tags = 8;
|
|
590
|
+
*/
|
|
591
|
+
tags: PostTag[];
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* @generated from field: optional string map_place_id = 9;
|
|
595
|
+
*/
|
|
596
|
+
mapPlaceId?: string | undefined;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* @generated from field: optional api.common.v1.MediaDelivery featured_image_delivery = 10;
|
|
600
|
+
*/
|
|
601
|
+
featuredImageDelivery?: MediaDelivery | undefined;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @generated from field: optional int32 series_order = 11;
|
|
605
|
+
*/
|
|
606
|
+
seriesOrder?: number | undefined;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Describes the message api.open.v1.PostSummary.
|
|
611
|
+
* Use `create(PostSummarySchema)` to create a new message.
|
|
612
|
+
*/
|
|
613
|
+
export const PostSummarySchema: GenMessage<PostSummary> =
|
|
614
|
+
/*@__PURE__*/
|
|
615
|
+
messageDesc(file_api_open_v1_post, 11);
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* @generated from message api.open.v1.SearchPostsRequest
|
|
619
|
+
*/
|
|
620
|
+
export type SearchPostsRequest = Message<"api.open.v1.SearchPostsRequest"> & {
|
|
621
|
+
/**
|
|
622
|
+
* min 2 chars
|
|
623
|
+
*
|
|
624
|
+
* @generated from field: string query = 1;
|
|
625
|
+
*/
|
|
626
|
+
query: string;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* default 10
|
|
630
|
+
*
|
|
631
|
+
* @generated from field: int32 limit = 2;
|
|
632
|
+
*/
|
|
633
|
+
limit: number;
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Describes the message api.open.v1.SearchPostsRequest.
|
|
638
|
+
* Use `create(SearchPostsRequestSchema)` to create a new message.
|
|
639
|
+
*/
|
|
640
|
+
export const SearchPostsRequestSchema: GenMessage<SearchPostsRequest> =
|
|
641
|
+
/*@__PURE__*/
|
|
642
|
+
messageDesc(file_api_open_v1_post, 12);
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* @generated from message api.open.v1.SearchPostsResponse
|
|
646
|
+
*/
|
|
647
|
+
export type SearchPostsResponse = Message<"api.open.v1.SearchPostsResponse"> & {
|
|
648
|
+
/**
|
|
649
|
+
* @generated from field: repeated api.open.v1.PostSummary posts = 1;
|
|
650
|
+
*/
|
|
651
|
+
posts: PostSummary[];
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Describes the message api.open.v1.SearchPostsResponse.
|
|
656
|
+
* Use `create(SearchPostsResponseSchema)` to create a new message.
|
|
657
|
+
*/
|
|
658
|
+
export const SearchPostsResponseSchema: GenMessage<SearchPostsResponse> =
|
|
659
|
+
/*@__PURE__*/
|
|
660
|
+
messageDesc(file_api_open_v1_post, 13);
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @generated from message api.open.v1.PostCategory
|
|
664
|
+
*/
|
|
665
|
+
export type PostCategory = Message<"api.open.v1.PostCategory"> & {
|
|
666
|
+
/**
|
|
667
|
+
* @generated from field: string id = 1;
|
|
668
|
+
*/
|
|
669
|
+
id: string;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* @generated from field: string name = 2;
|
|
673
|
+
*/
|
|
674
|
+
name: string;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* @generated from field: optional string slug = 3;
|
|
678
|
+
*/
|
|
679
|
+
slug?: string | undefined;
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Describes the message api.open.v1.PostCategory.
|
|
684
|
+
* Use `create(PostCategorySchema)` to create a new message.
|
|
685
|
+
*/
|
|
686
|
+
export const PostCategorySchema: GenMessage<PostCategory> =
|
|
687
|
+
/*@__PURE__*/
|
|
688
|
+
messageDesc(file_api_open_v1_post, 14);
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @generated from message api.open.v1.PostTag
|
|
692
|
+
*/
|
|
693
|
+
export type PostTag = Message<"api.open.v1.PostTag"> & {
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: string id = 1;
|
|
696
|
+
*/
|
|
697
|
+
id: string;
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @generated from field: string name = 2;
|
|
701
|
+
*/
|
|
702
|
+
name: string;
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* @generated from field: optional string slug = 3;
|
|
706
|
+
*/
|
|
707
|
+
slug?: string | undefined;
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Describes the message api.open.v1.PostTag.
|
|
712
|
+
* Use `create(PostTagSchema)` to create a new message.
|
|
713
|
+
*/
|
|
714
|
+
export const PostTagSchema: GenMessage<PostTag> =
|
|
715
|
+
/*@__PURE__*/
|
|
716
|
+
messageDesc(file_api_open_v1_post, 15);
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @generated from message api.open.v1.PostSeries
|
|
720
|
+
*/
|
|
721
|
+
export type PostSeries = Message<"api.open.v1.PostSeries"> & {
|
|
722
|
+
/**
|
|
723
|
+
* @generated from field: string id = 1;
|
|
724
|
+
*/
|
|
725
|
+
id: string;
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* @generated from field: string title = 2;
|
|
729
|
+
*/
|
|
730
|
+
title: string;
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* @generated from field: optional string slug = 3;
|
|
734
|
+
*/
|
|
735
|
+
slug?: string | undefined;
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Describes the message api.open.v1.PostSeries.
|
|
740
|
+
* Use `create(PostSeriesSchema)` to create a new message.
|
|
741
|
+
*/
|
|
742
|
+
export const PostSeriesSchema: GenMessage<PostSeries> =
|
|
743
|
+
/*@__PURE__*/
|
|
744
|
+
messageDesc(file_api_open_v1_post, 16);
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* @generated from enum api.open.v1.PostStatus
|
|
748
|
+
*/
|
|
749
|
+
export enum PostStatus {
|
|
750
|
+
/**
|
|
751
|
+
* @generated from enum value: POST_STATUS_UNSPECIFIED = 0;
|
|
752
|
+
*/
|
|
753
|
+
UNSPECIFIED = 0,
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* @generated from enum value: POST_STATUS_DRAFT = 1;
|
|
757
|
+
*/
|
|
758
|
+
DRAFT = 1,
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* @generated from enum value: POST_STATUS_PUBLISHED = 2;
|
|
762
|
+
*/
|
|
763
|
+
PUBLISHED = 2,
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* @generated from enum value: POST_STATUS_ARCHIVED = 3;
|
|
767
|
+
*/
|
|
768
|
+
ARCHIVED = 3,
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* @generated from enum value: POST_STATUS_SCHEDULED = 4;
|
|
772
|
+
*/
|
|
773
|
+
SCHEDULED = 4,
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Describes the enum api.open.v1.PostStatus.
|
|
778
|
+
*/
|
|
779
|
+
export const PostStatusSchema: GenEnum<PostStatus> =
|
|
780
|
+
/*@__PURE__*/
|
|
781
|
+
enumDesc(file_api_open_v1_post, 0);
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* PostService provides public post access
|
|
785
|
+
*
|
|
786
|
+
* @generated from service api.open.v1.PostService
|
|
787
|
+
*/
|
|
788
|
+
export const PostService: GenService<{
|
|
789
|
+
/**
|
|
790
|
+
* Get retrieves a post by slug or ID
|
|
791
|
+
* - Server tries slug first, then ID (same as Page pattern)
|
|
792
|
+
* - share_token allows access to draft posts
|
|
793
|
+
*
|
|
794
|
+
* @generated from rpc api.open.v1.PostService.Get
|
|
795
|
+
*/
|
|
796
|
+
get: {
|
|
797
|
+
methodKind: "unary";
|
|
798
|
+
input: typeof GetPostRequestSchema;
|
|
799
|
+
output: typeof GetPostResponseSchema;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* List returns published and archived Posts for public list/table blocks.
|
|
803
|
+
* - Filters by category, tag, author, series
|
|
804
|
+
*
|
|
805
|
+
* @generated from rpc api.open.v1.PostService.List
|
|
806
|
+
*/
|
|
807
|
+
list: {
|
|
808
|
+
methodKind: "unary";
|
|
809
|
+
input: typeof ListPostsRequestSchema;
|
|
810
|
+
output: typeof ListPostsResponseSchema;
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* ListMapFeatures returns published and archived viewport-scoped Post map features.
|
|
814
|
+
* - Filters by category, tag, author, series
|
|
815
|
+
* - Clusters/items are computed server-side from place-grouped posts
|
|
816
|
+
*
|
|
817
|
+
* @generated from rpc api.open.v1.PostService.ListMapFeatures
|
|
818
|
+
*/
|
|
819
|
+
listMapFeatures: {
|
|
820
|
+
methodKind: "unary";
|
|
821
|
+
input: typeof ListPostMapFeaturesRequestSchema;
|
|
822
|
+
output: typeof ListPostMapFeaturesResponseSchema;
|
|
823
|
+
};
|
|
824
|
+
/**
|
|
825
|
+
* Search for posts by query (for PostSpotlight search component)
|
|
826
|
+
*
|
|
827
|
+
* @generated from rpc api.open.v1.PostService.Search
|
|
828
|
+
*/
|
|
829
|
+
search: {
|
|
830
|
+
methodKind: "unary";
|
|
831
|
+
input: typeof SearchPostsRequestSchema;
|
|
832
|
+
output: typeof SearchPostsResponseSchema;
|
|
833
|
+
};
|
|
834
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_post, 0);
|