@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,400 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/map_theme.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 { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
14
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file api/open/v1/map_theme.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_api_open_v1_map_theme: GenFile =
|
|
21
|
+
/*@__PURE__*/
|
|
22
|
+
fileDesc(
|
|
23
|
+
"ChthcGkvb3Blbi92MS9tYXBfdGhlbWUucHJvdG8SC2FwaS5vcGVuLnYxIooFCg9NYXBUaGVtZVZhc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VGhlbWVzQnlJZHNSZXF1ZXN0GiouYXBpLm9wZW4udjEuUmVzb2x2ZU1hcFRoZW1lc0J5SWRzUmVzcG9uc2USTQoHUmVzb2x2ZRIjLmFwaS5vcGVuLnYxLlJlc29sdmVNYXBUaGVtZVJlcXVlc3QaHS5hcGkub3Blbi52MS5SZXNvbHZlZE1hcFRoZW1lQqkBCg9jb20uYXBpLm9wZW4udjFCDU1hcFRoZW1lUHJvdG9QAVo5Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL29wZW4vdjE7b3BlbnYxogIDQU9YqgILQXBpLk9wZW4uVjHKAgtBcGlcT3BlblxWMeICF0FwaVxPcGVuXFYxXEdQQk1ldGFkYXRh6gINQXBpOjpPcGVuOjpWMWIGcHJvdG8z",
|
|
24
|
+
[file_google_protobuf_timestamp],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Map theme variant (light/dark)
|
|
29
|
+
*
|
|
30
|
+
* @generated from message api.open.v1.MapThemeVariant
|
|
31
|
+
*/
|
|
32
|
+
export type MapThemeVariant = Message<"api.open.v1.MapThemeVariant"> & {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string id = 1;
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string background_color = 2;
|
|
40
|
+
*/
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string water_color = 3;
|
|
45
|
+
*/
|
|
46
|
+
waterColor: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string land_color = 4;
|
|
50
|
+
*/
|
|
51
|
+
landColor: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: string road_color = 5;
|
|
55
|
+
*/
|
|
56
|
+
roadColor: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: string building_fill_color = 6;
|
|
60
|
+
*/
|
|
61
|
+
buildingFillColor: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: bool building_stroke_enabled = 7;
|
|
65
|
+
*/
|
|
66
|
+
buildingStrokeEnabled: boolean;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string building_stroke_color = 8;
|
|
70
|
+
*/
|
|
71
|
+
buildingStrokeColor: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string callout_line_color = 9;
|
|
75
|
+
*/
|
|
76
|
+
calloutLineColor: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string callout_text_color = 10;
|
|
80
|
+
*/
|
|
81
|
+
calloutTextColor: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string callout_background_color = 11;
|
|
85
|
+
*/
|
|
86
|
+
calloutBackgroundColor: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: string callout_description_color = 12;
|
|
90
|
+
*/
|
|
91
|
+
calloutDescriptionColor: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string attribution_color = 13;
|
|
95
|
+
*/
|
|
96
|
+
attributionColor: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string label_text_color = 14;
|
|
100
|
+
*/
|
|
101
|
+
labelTextColor: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string cluster_color = 15;
|
|
105
|
+
*/
|
|
106
|
+
clusterColor: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: string cluster_hover_color = 16;
|
|
110
|
+
*/
|
|
111
|
+
clusterHoverColor: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string cluster_text_color = 17;
|
|
115
|
+
*/
|
|
116
|
+
clusterTextColor: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string cluster_text_hover_color = 18;
|
|
120
|
+
*/
|
|
121
|
+
clusterTextHoverColor: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string callout_hover_line_color = 19;
|
|
125
|
+
*/
|
|
126
|
+
calloutHoverLineColor: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string callout_hover_text_color = 20;
|
|
130
|
+
*/
|
|
131
|
+
calloutHoverTextColor: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string callout_hover_description_color = 21;
|
|
135
|
+
*/
|
|
136
|
+
calloutHoverDescriptionColor: string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string callout_hover_background_color = 22;
|
|
140
|
+
*/
|
|
141
|
+
calloutHoverBackgroundColor: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message api.open.v1.MapThemeVariant.
|
|
146
|
+
* Use `create(MapThemeVariantSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export const MapThemeVariantSchema: GenMessage<MapThemeVariant> =
|
|
149
|
+
/*@__PURE__*/
|
|
150
|
+
messageDesc(file_api_open_v1_map_theme, 0);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Map theme settings
|
|
154
|
+
*
|
|
155
|
+
* @generated from message api.open.v1.MapThemeSettings
|
|
156
|
+
*/
|
|
157
|
+
export type MapThemeSettings = Message<"api.open.v1.MapThemeSettings"> & {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: double callout_scale = 1;
|
|
160
|
+
*/
|
|
161
|
+
calloutScale: number;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: int32 callout_offset_x = 2;
|
|
165
|
+
*/
|
|
166
|
+
calloutOffsetX: number;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: int32 callout_offset_y = 3;
|
|
170
|
+
*/
|
|
171
|
+
calloutOffsetY: number;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: repeated string callout_fields = 4;
|
|
175
|
+
*/
|
|
176
|
+
calloutFields: string[];
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: int32 attribution_font_size = 5;
|
|
180
|
+
*/
|
|
181
|
+
attributionFontSize: number;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: bool show_area_labels = 6;
|
|
185
|
+
*/
|
|
186
|
+
showAreaLabels: boolean;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: bool show_poi_labels = 7;
|
|
190
|
+
*/
|
|
191
|
+
showPoiLabels: boolean;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message api.open.v1.MapThemeSettings.
|
|
196
|
+
* Use `create(MapThemeSettingsSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
export const MapThemeSettingsSchema: GenMessage<MapThemeSettings> =
|
|
199
|
+
/*@__PURE__*/
|
|
200
|
+
messageDesc(file_api_open_v1_map_theme, 1);
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Full map theme with variants
|
|
204
|
+
*
|
|
205
|
+
* @generated from message api.open.v1.MapTheme
|
|
206
|
+
*/
|
|
207
|
+
export type MapTheme = Message<"api.open.v1.MapTheme"> & {
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: string id = 1;
|
|
210
|
+
*/
|
|
211
|
+
id: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: string name = 2;
|
|
215
|
+
*/
|
|
216
|
+
name: string;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: api.open.v1.MapThemeSettings settings = 3;
|
|
220
|
+
*/
|
|
221
|
+
settings?: MapThemeSettings | undefined;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
225
|
+
*/
|
|
226
|
+
createdAt?: Timestamp | undefined;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Always the light scheme.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: api.open.v1.MapThemeVariant light_variant = 5;
|
|
232
|
+
*/
|
|
233
|
+
lightVariant?: MapThemeVariant | undefined;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Always the dark scheme.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: api.open.v1.MapThemeVariant dark_variant = 6;
|
|
239
|
+
*/
|
|
240
|
+
darkVariant?: MapThemeVariant | undefined;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Describes the message api.open.v1.MapTheme.
|
|
245
|
+
* Use `create(MapThemeSchema)` to create a new message.
|
|
246
|
+
*/
|
|
247
|
+
export const MapThemeSchema: GenMessage<MapTheme> =
|
|
248
|
+
/*@__PURE__*/
|
|
249
|
+
messageDesc(file_api_open_v1_map_theme, 2);
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Resolved theme config (for rendering)
|
|
253
|
+
*
|
|
254
|
+
* @generated from message api.open.v1.ResolvedMapTheme
|
|
255
|
+
*/
|
|
256
|
+
export type ResolvedMapTheme = Message<"api.open.v1.ResolvedMapTheme"> & {
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string theme_id = 1;
|
|
259
|
+
*/
|
|
260
|
+
themeId: string;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string scheme = 2;
|
|
264
|
+
*/
|
|
265
|
+
scheme: string;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: api.open.v1.MapThemeSettings settings = 3;
|
|
269
|
+
*/
|
|
270
|
+
settings?: MapThemeSettings | undefined;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: api.open.v1.MapThemeVariant variant = 4;
|
|
274
|
+
*/
|
|
275
|
+
variant?: MapThemeVariant | undefined;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Describes the message api.open.v1.ResolvedMapTheme.
|
|
280
|
+
* Use `create(ResolvedMapThemeSchema)` to create a new message.
|
|
281
|
+
*/
|
|
282
|
+
export const ResolvedMapThemeSchema: GenMessage<ResolvedMapTheme> =
|
|
283
|
+
/*@__PURE__*/
|
|
284
|
+
messageDesc(file_api_open_v1_map_theme, 3);
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message api.open.v1.ResolveMapThemesByIdsRequest
|
|
288
|
+
*/
|
|
289
|
+
export type ResolveMapThemesByIdsRequest =
|
|
290
|
+
Message<"api.open.v1.ResolveMapThemesByIdsRequest"> & {
|
|
291
|
+
/**
|
|
292
|
+
* @generated from field: repeated string requested_theme_ids = 1;
|
|
293
|
+
*/
|
|
294
|
+
requestedThemeIds: string[];
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Describes the message api.open.v1.ResolveMapThemesByIdsRequest.
|
|
299
|
+
* Use `create(ResolveMapThemesByIdsRequestSchema)` to create a new message.
|
|
300
|
+
*/
|
|
301
|
+
export const ResolveMapThemesByIdsRequestSchema: GenMessage<ResolveMapThemesByIdsRequest> =
|
|
302
|
+
/*@__PURE__*/
|
|
303
|
+
messageDesc(file_api_open_v1_map_theme, 4);
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from message api.open.v1.ResolveMapThemeByIdResult
|
|
307
|
+
*/
|
|
308
|
+
export type ResolveMapThemeByIdResult =
|
|
309
|
+
Message<"api.open.v1.ResolveMapThemeByIdResult"> & {
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: string requested_theme_id = 1;
|
|
312
|
+
*/
|
|
313
|
+
requestedThemeId: string;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: api.open.v1.MapTheme theme = 2;
|
|
317
|
+
*/
|
|
318
|
+
theme?: MapTheme | undefined;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message api.open.v1.ResolveMapThemeByIdResult.
|
|
323
|
+
* Use `create(ResolveMapThemeByIdResultSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export const ResolveMapThemeByIdResultSchema: GenMessage<ResolveMapThemeByIdResult> =
|
|
326
|
+
/*@__PURE__*/
|
|
327
|
+
messageDesc(file_api_open_v1_map_theme, 5);
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from message api.open.v1.ResolveMapThemesByIdsResponse
|
|
331
|
+
*/
|
|
332
|
+
export type ResolveMapThemesByIdsResponse =
|
|
333
|
+
Message<"api.open.v1.ResolveMapThemesByIdsResponse"> & {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: repeated api.open.v1.ResolveMapThemeByIdResult results = 1;
|
|
336
|
+
*/
|
|
337
|
+
results: ResolveMapThemeByIdResult[];
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message api.open.v1.ResolveMapThemesByIdsResponse.
|
|
342
|
+
* Use `create(ResolveMapThemesByIdsResponseSchema)` to create a new message.
|
|
343
|
+
*/
|
|
344
|
+
export const ResolveMapThemesByIdsResponseSchema: GenMessage<ResolveMapThemesByIdsResponse> =
|
|
345
|
+
/*@__PURE__*/
|
|
346
|
+
messageDesc(file_api_open_v1_map_theme, 6);
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @generated from message api.open.v1.ResolveMapThemeRequest
|
|
350
|
+
*/
|
|
351
|
+
export type ResolveMapThemeRequest =
|
|
352
|
+
Message<"api.open.v1.ResolveMapThemeRequest"> & {
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: optional string theme_id = 1;
|
|
355
|
+
*/
|
|
356
|
+
themeId?: string | undefined;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: string scheme = 2;
|
|
360
|
+
*/
|
|
361
|
+
scheme: string;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message api.open.v1.ResolveMapThemeRequest.
|
|
366
|
+
* Use `create(ResolveMapThemeRequestSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export const ResolveMapThemeRequestSchema: GenMessage<ResolveMapThemeRequest> =
|
|
369
|
+
/*@__PURE__*/
|
|
370
|
+
messageDesc(file_api_open_v1_map_theme, 7);
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* MapThemeService provides public access to map themes
|
|
374
|
+
*
|
|
375
|
+
* @generated from service api.open.v1.MapThemeService
|
|
376
|
+
*/
|
|
377
|
+
export const MapThemeService: GenService<{
|
|
378
|
+
/**
|
|
379
|
+
* ResolveByIds preserves request order and duplicate IDs. Empty IDs are omitted.
|
|
380
|
+
* Every non-empty requested ID yields one result; unknown or deleted IDs resolve
|
|
381
|
+
* to the current site default Map Theme.
|
|
382
|
+
*
|
|
383
|
+
* @generated from rpc api.open.v1.MapThemeService.ResolveByIds
|
|
384
|
+
*/
|
|
385
|
+
resolveByIds: {
|
|
386
|
+
methodKind: "unary";
|
|
387
|
+
input: typeof ResolveMapThemesByIdsRequestSchema;
|
|
388
|
+
output: typeof ResolveMapThemesByIdsResponseSchema;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Resolve returns the resolved theme config for rendering
|
|
392
|
+
*
|
|
393
|
+
* @generated from rpc api.open.v1.MapThemeService.Resolve
|
|
394
|
+
*/
|
|
395
|
+
resolve: {
|
|
396
|
+
methodKind: "unary";
|
|
397
|
+
input: typeof ResolveMapThemeRequestSchema;
|
|
398
|
+
output: typeof ResolvedMapThemeSchema;
|
|
399
|
+
};
|
|
400
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_map_theme, 0);
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/member.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 { MemberSummary } from "../../common/v1/common_pb.ts";
|
|
14
|
+
import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
|
|
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/member.proto.
|
|
21
|
+
*/
|
|
22
|
+
export const file_api_open_v1_member: GenFile =
|
|
23
|
+
/*@__PURE__*/
|
|
24
|
+
fileDesc(
|
|
25
|
+
"ChhhcGkvb3Blbi92MS9tZW1iZXIucHJvdG8SC2FwaS5vcGVuLnYxIisKFkdldFB1YmxpY01lbWJlclJlcXVlc3QSEQoJbWVtYmVyX2lkGAEgASgJIlsKF0dldFB1YmxpY01lbWJlclJlc3BvbnNlEjUKBm1lbWJlchgBIAEoCzIgLmFwaS5vcGVuLnYxLlB1YmxpY01lbWJlclByb2ZpbGVIAIgBAUIJCgdfbWVtYmVyIsECChNQdWJsaWNNZW1iZXJQcm9maWxlEi0KB3N1bW1hcnkYASABKAsyHC5hcGkuY29tbW9uLnYxLk1lbWJlclN1bW1hcnkSEAoDYmlvGAIgASgJSACIAQESFAoHd2Vic2l0ZRgDIAEoCUgBiAEBEkcKDHNvY2lhbF9saW5rcxgEIAMoCzIxLmFwaS5vcGVuLnYxLlB1YmxpY01lbWJlclByb2ZpbGUuU29jaWFsTGlua3NFb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
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message api.open.v1.GetPublicMemberRequest
|
|
31
|
+
*/
|
|
32
|
+
export type GetPublicMemberRequest =
|
|
33
|
+
Message<"api.open.v1.GetPublicMemberRequest"> & {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string member_id = 1;
|
|
36
|
+
*/
|
|
37
|
+
memberId: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.open.v1.GetPublicMemberRequest.
|
|
42
|
+
* Use `create(GetPublicMemberRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetPublicMemberRequestSchema: GenMessage<GetPublicMemberRequest> =
|
|
45
|
+
/*@__PURE__*/
|
|
46
|
+
messageDesc(file_api_open_v1_member, 0);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from message api.open.v1.GetPublicMemberResponse
|
|
50
|
+
*/
|
|
51
|
+
export type GetPublicMemberResponse =
|
|
52
|
+
Message<"api.open.v1.GetPublicMemberResponse"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: optional api.open.v1.PublicMemberProfile member = 1;
|
|
55
|
+
*/
|
|
56
|
+
member?: PublicMemberProfile | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message api.open.v1.GetPublicMemberResponse.
|
|
61
|
+
* Use `create(GetPublicMemberResponseSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const GetPublicMemberResponseSchema: GenMessage<GetPublicMemberResponse> =
|
|
64
|
+
/*@__PURE__*/
|
|
65
|
+
messageDesc(file_api_open_v1_member, 1);
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Canonical public detail projection for viewing another Member. Locale,
|
|
69
|
+
* account state, email and administrator data are deliberately excluded.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message api.open.v1.PublicMemberProfile
|
|
72
|
+
*/
|
|
73
|
+
export type PublicMemberProfile = Message<"api.open.v1.PublicMemberProfile"> & {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: api.common.v1.MemberSummary summary = 1;
|
|
76
|
+
*/
|
|
77
|
+
summary?: MemberSummary | undefined;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: optional string bio = 2;
|
|
81
|
+
*/
|
|
82
|
+
bio?: string | undefined;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: optional string website = 3;
|
|
86
|
+
*/
|
|
87
|
+
website?: string | undefined;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: map<string, string> social_links = 4;
|
|
91
|
+
*/
|
|
92
|
+
socialLinks: { [key: string]: string };
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: optional google.protobuf.Timestamp created_at = 5;
|
|
96
|
+
*/
|
|
97
|
+
createdAt?: Timestamp | undefined;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message api.open.v1.PublicMemberProfile.
|
|
102
|
+
* Use `create(PublicMemberProfileSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const PublicMemberProfileSchema: GenMessage<PublicMemberProfile> =
|
|
105
|
+
/*@__PURE__*/
|
|
106
|
+
messageDesc(file_api_open_v1_member, 2);
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message api.open.v1.ListAuthorsRequest
|
|
110
|
+
*/
|
|
111
|
+
export type ListAuthorsRequest = Message<"api.open.v1.ListAuthorsRequest"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: int32 limit = 1;
|
|
114
|
+
*/
|
|
115
|
+
limit: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* When present, returns only these effective Authors in request order.
|
|
119
|
+
* The selection is capped at 24 unique Member IDs.
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: repeated string member_ids = 2;
|
|
122
|
+
*/
|
|
123
|
+
memberIds: string[];
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message api.open.v1.ListAuthorsRequest.
|
|
128
|
+
* Use `create(ListAuthorsRequestSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const ListAuthorsRequestSchema: GenMessage<ListAuthorsRequest> =
|
|
131
|
+
/*@__PURE__*/
|
|
132
|
+
messageDesc(file_api_open_v1_member, 3);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message api.open.v1.ListAuthorsResponse
|
|
136
|
+
*/
|
|
137
|
+
export type ListAuthorsResponse = Message<"api.open.v1.ListAuthorsResponse"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: repeated api.open.v1.PublicAuthorSummary authors = 1;
|
|
140
|
+
*/
|
|
141
|
+
authors: PublicAuthorSummary[];
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message api.open.v1.ListAuthorsResponse.
|
|
146
|
+
* Use `create(ListAuthorsResponseSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export const ListAuthorsResponseSchema: GenMessage<ListAuthorsResponse> =
|
|
149
|
+
/*@__PURE__*/
|
|
150
|
+
messageDesc(file_api_open_v1_member, 4);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from message api.open.v1.PublicAuthorSummary
|
|
154
|
+
*/
|
|
155
|
+
export type PublicAuthorSummary = Message<"api.open.v1.PublicAuthorSummary"> & {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: api.common.v1.MemberSummary member = 1;
|
|
158
|
+
*/
|
|
159
|
+
member?: MemberSummary | undefined;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: int32 post_count = 2;
|
|
163
|
+
*/
|
|
164
|
+
postCount: number;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: optional string bio = 3;
|
|
168
|
+
*/
|
|
169
|
+
bio?: string | undefined;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message api.open.v1.PublicAuthorSummary.
|
|
174
|
+
* Use `create(PublicAuthorSummarySchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
export const PublicAuthorSummarySchema: GenMessage<PublicAuthorSummary> =
|
|
177
|
+
/*@__PURE__*/
|
|
178
|
+
messageDesc(file_api_open_v1_member, 5);
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @generated from service api.open.v1.MemberService
|
|
182
|
+
*/
|
|
183
|
+
export const MemberService: GenService<{
|
|
184
|
+
/**
|
|
185
|
+
* @generated from rpc api.open.v1.MemberService.GetPublicMember
|
|
186
|
+
*/
|
|
187
|
+
getPublicMember: {
|
|
188
|
+
methodKind: "unary";
|
|
189
|
+
input: typeof GetPublicMemberRequestSchema;
|
|
190
|
+
output: typeof GetPublicMemberResponseSchema;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* @generated from rpc api.open.v1.MemberService.ListAuthors
|
|
194
|
+
*/
|
|
195
|
+
listAuthors: {
|
|
196
|
+
methodKind: "unary";
|
|
197
|
+
input: typeof ListAuthorsRequestSchema;
|
|
198
|
+
output: typeof ListAuthorsResponseSchema;
|
|
199
|
+
};
|
|
200
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_member, 0);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/newsletter.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 { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file api/open/v1/newsletter.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_api_open_v1_newsletter: GenFile =
|
|
19
|
+
/*@__PURE__*/
|
|
20
|
+
fileDesc(
|
|
21
|
+
"ChxhcGkvb3Blbi92MS9uZXdzbGV0dGVyLnByb3RvEgthcGkub3Blbi52MSItChxVbnN1YnNjcmliZU5ld3NsZXR0ZXJSZXF1ZXN0Eg0KBXRva2VuGAEgASgJIjAKHVVuc3Vic2NyaWJlTmV3c2xldHRlclJlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgyeQoRTmV3c2xldHRlclNlcnZpY2USZAoLVW5zdWJzY3JpYmUSKS5hcGkub3Blbi52MS5VbnN1YnNjcmliZU5ld3NsZXR0ZXJSZXF1ZXN0GiouYXBpLm9wZW4udjEuVW5zdWJzY3JpYmVOZXdzbGV0dGVyUmVzcG9uc2VCqwEKD2NvbS5hcGkub3Blbi52MUIPTmV3c2xldHRlclByb3RvUAFaOWdpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9vcGVuL3YxO29wZW52MaICA0FPWKoCC0FwaS5PcGVuLlYxygILQXBpXE9wZW5cVjHiAhdBcGlcT3BlblxWMVxHUEJNZXRhZGF0YeoCDUFwaTo6T3Blbjo6VjFiBnByb3RvMw",
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message api.open.v1.UnsubscribeNewsletterRequest
|
|
26
|
+
*/
|
|
27
|
+
export type UnsubscribeNewsletterRequest =
|
|
28
|
+
Message<"api.open.v1.UnsubscribeNewsletterRequest"> & {
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string token = 1;
|
|
31
|
+
*/
|
|
32
|
+
token: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message api.open.v1.UnsubscribeNewsletterRequest.
|
|
37
|
+
* Use `create(UnsubscribeNewsletterRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const UnsubscribeNewsletterRequestSchema: GenMessage<UnsubscribeNewsletterRequest> =
|
|
40
|
+
/*@__PURE__*/
|
|
41
|
+
messageDesc(file_api_open_v1_newsletter, 0);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message api.open.v1.UnsubscribeNewsletterResponse
|
|
45
|
+
*/
|
|
46
|
+
export type UnsubscribeNewsletterResponse =
|
|
47
|
+
Message<"api.open.v1.UnsubscribeNewsletterResponse"> & {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: bool success = 1;
|
|
50
|
+
*/
|
|
51
|
+
success: boolean;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message api.open.v1.UnsubscribeNewsletterResponse.
|
|
56
|
+
* Use `create(UnsubscribeNewsletterResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const UnsubscribeNewsletterResponseSchema: GenMessage<UnsubscribeNewsletterResponse> =
|
|
59
|
+
/*@__PURE__*/
|
|
60
|
+
messageDesc(file_api_open_v1_newsletter, 1);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* NewsletterService exposes only the signed, token-authorized unsubscribe
|
|
64
|
+
* boundary. Newsletter opt-in requires an authenticated identity.
|
|
65
|
+
*
|
|
66
|
+
* @generated from service api.open.v1.NewsletterService
|
|
67
|
+
*/
|
|
68
|
+
export const NewsletterService: GenService<{
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc api.open.v1.NewsletterService.Unsubscribe
|
|
71
|
+
*/
|
|
72
|
+
unsubscribe: {
|
|
73
|
+
methodKind: "unary";
|
|
74
|
+
input: typeof UnsubscribeNewsletterRequestSchema;
|
|
75
|
+
output: typeof UnsubscribeNewsletterResponseSchema;
|
|
76
|
+
};
|
|
77
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_newsletter, 0);
|