@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.
Files changed (120) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +6 -0
  3. package/eslint.config.mjs +15 -0
  4. package/gen/api/common/v1/common_pb.ts +391 -0
  5. package/gen/api/common/v1/media_pb.ts +578 -0
  6. package/gen/api/content/v1/block_catalog.ts +5978 -0
  7. package/gen/api/content/v1/block_content_pb.ts +11420 -0
  8. package/gen/api/intra/v1/artist_pb.ts +597 -0
  9. package/gen/api/intra/v1/campaign_pb.ts +383 -0
  10. package/gen/api/intra/v1/collaboration_pb.ts +661 -0
  11. package/gen/api/intra/v1/email_courier_pb.ts +98 -0
  12. package/gen/api/intra/v1/email_layout_pb.ts +295 -0
  13. package/gen/api/intra/v1/email_template_pb.ts +384 -0
  14. package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
  15. package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
  16. package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
  17. package/gen/api/intra/v1/form_pb.ts +276 -0
  18. package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
  19. package/gen/api/intra/v1/label_pb.ts +558 -0
  20. package/gen/api/intra/v1/map_pb.ts +382 -0
  21. package/gen/api/intra/v1/menu_pb.ts +282 -0
  22. package/gen/api/intra/v1/og_pb.ts +335 -0
  23. package/gen/api/intra/v1/page_pb.ts +572 -0
  24. package/gen/api/intra/v1/post_pb.ts +657 -0
  25. package/gen/api/intra/v1/post_series_pb.ts +217 -0
  26. package/gen/api/intra/v1/privacy_pb.ts +384 -0
  27. package/gen/api/intra/v1/program_event_pb.ts +390 -0
  28. package/gen/api/intra/v1/release_pb.ts +462 -0
  29. package/gen/api/intra/v1/terms_pb.ts +384 -0
  30. package/gen/api/intra/v1/work_pb.ts +477 -0
  31. package/gen/api/manage/v1/account_pb.ts +1311 -0
  32. package/gen/api/manage/v1/admin_pb.ts +681 -0
  33. package/gen/api/manage/v1/ai_pb.ts +2621 -0
  34. package/gen/api/manage/v1/artist_pb.ts +1271 -0
  35. package/gen/api/manage/v1/audience_pb.ts +597 -0
  36. package/gen/api/manage/v1/campaign_pb.ts +1289 -0
  37. package/gen/api/manage/v1/category_pb.ts +351 -0
  38. package/gen/api/manage/v1/client_pb.ts +512 -0
  39. package/gen/api/manage/v1/collaboration_pb.ts +112 -0
  40. package/gen/api/manage/v1/comment_pb.ts +530 -0
  41. package/gen/api/manage/v1/common_pb.ts +192 -0
  42. package/gen/api/manage/v1/email_layout_pb.ts +487 -0
  43. package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
  44. package/gen/api/manage/v1/email_template_pb.ts +683 -0
  45. package/gen/api/manage/v1/events_pb.ts +3251 -0
  46. package/gen/api/manage/v1/file_pb.ts +2810 -0
  47. package/gen/api/manage/v1/form_pb.ts +1046 -0
  48. package/gen/api/manage/v1/format_pb.ts +321 -0
  49. package/gen/api/manage/v1/genre_pb.ts +340 -0
  50. package/gen/api/manage/v1/label_pb.ts +1105 -0
  51. package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
  52. package/gen/api/manage/v1/map_place_pb.ts +572 -0
  53. package/gen/api/manage/v1/map_theme_pb.ts +691 -0
  54. package/gen/api/manage/v1/member_pb.ts +1281 -0
  55. package/gen/api/manage/v1/menu_pb.ts +535 -0
  56. package/gen/api/manage/v1/page_pb.ts +894 -0
  57. package/gen/api/manage/v1/post_pb.ts +1475 -0
  58. package/gen/api/manage/v1/privacy_pb.ts +518 -0
  59. package/gen/api/manage/v1/program_event_pb.ts +2234 -0
  60. package/gen/api/manage/v1/release_pb.ts +1168 -0
  61. package/gen/api/manage/v1/series_pb.ts +1033 -0
  62. package/gen/api/manage/v1/share_link_pb.ts +351 -0
  63. package/gen/api/manage/v1/site_setting_pb.ts +623 -0
  64. package/gen/api/manage/v1/style_pb.ts +340 -0
  65. package/gen/api/manage/v1/tag_pb.ts +323 -0
  66. package/gen/api/manage/v1/terms_pb.ts +517 -0
  67. package/gen/api/manage/v1/track_pb.ts +543 -0
  68. package/gen/api/manage/v1/translation_pb.ts +1838 -0
  69. package/gen/api/manage/v1/work_pb.ts +1662 -0
  70. package/gen/api/open/v1/account_pb.ts +243 -0
  71. package/gen/api/open/v1/artist_pb.ts +732 -0
  72. package/gen/api/open/v1/category_pb.ts +143 -0
  73. package/gen/api/open/v1/client_pb.ts +190 -0
  74. package/gen/api/open/v1/file_pb.ts +244 -0
  75. package/gen/api/open/v1/form_pb.ts +698 -0
  76. package/gen/api/open/v1/label_pb.ts +512 -0
  77. package/gen/api/open/v1/manifest_pb.ts +326 -0
  78. package/gen/api/open/v1/map_place_pb.ts +228 -0
  79. package/gen/api/open/v1/map_theme_pb.ts +400 -0
  80. package/gen/api/open/v1/member_pb.ts +200 -0
  81. package/gen/api/open/v1/newsletter_pb.ts +77 -0
  82. package/gen/api/open/v1/page_pb.ts +236 -0
  83. package/gen/api/open/v1/post_pb.ts +834 -0
  84. package/gen/api/open/v1/privacy_pb.ts +257 -0
  85. package/gen/api/open/v1/program_event_pb.ts +1024 -0
  86. package/gen/api/open/v1/release_pb.ts +758 -0
  87. package/gen/api/open/v1/series_pb.ts +210 -0
  88. package/gen/api/open/v1/share_link_pb.ts +106 -0
  89. package/gen/api/open/v1/sitemap_pb.ts +188 -0
  90. package/gen/api/open/v1/tag_pb.ts +136 -0
  91. package/gen/api/open/v1/terms_pb.ts +257 -0
  92. package/gen/api/open/v1/translation_pb.ts +103 -0
  93. package/gen/api/open/v1/work_pb.ts +904 -0
  94. package/gen/api/policy/v1/access_pb.ts +105 -0
  95. package/gen/api/policy/v1/spicedb/artist.ts +101 -0
  96. package/gen/api/policy/v1/spicedb/audience.ts +64 -0
  97. package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
  98. package/gen/api/policy/v1/spicedb/core.ts +196 -0
  99. package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
  100. package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
  101. package/gen/api/policy/v1/spicedb/file.ts +49 -0
  102. package/gen/api/policy/v1/spicedb/form.ts +54 -0
  103. package/gen/api/policy/v1/spicedb/internal.ts +350 -0
  104. package/gen/api/policy/v1/spicedb/label.ts +98 -0
  105. package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
  106. package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
  107. package/gen/api/policy/v1/spicedb/member.ts +47 -0
  108. package/gen/api/policy/v1/spicedb/menu.ts +48 -0
  109. package/gen/api/policy/v1/spicedb/page.ts +54 -0
  110. package/gen/api/policy/v1/spicedb/post.ts +105 -0
  111. package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
  112. package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
  113. package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
  114. package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
  115. package/gen/api/policy/v1/spicedb/release.ts +81 -0
  116. package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
  117. package/gen/api/policy/v1/spicedb/translation.ts +46 -0
  118. package/gen/api/policy/v1/spicedb/work.ts +58 -0
  119. package/package.json +66 -0
  120. package/tsconfig.json +15 -0
@@ -0,0 +1,535 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/menu.proto (package api.manage.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
+ PaginationRequest,
17
+ PaginationResponse,
18
+ } from "../../common/v1/common_pb.ts";
19
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
20
+ import type { DeleteResponseSchema } from "./common_pb.ts";
21
+ import { file_api_manage_v1_common } from "./common_pb.ts";
22
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
23
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
24
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
25
+ import type { Message } from "@bufbuild/protobuf";
26
+
27
+ /**
28
+ * Describes the file api/manage/v1/menu.proto.
29
+ */
30
+ export const file_api_manage_v1_menu: GenFile =
31
+ /*@__PURE__*/
32
+ fileDesc(
33
+ "ChhhcGkvbWFuYWdlL3YxL21lbnUucHJvdG8SDWFwaS5tYW5hZ2UudjEiUAoOTWVudVZpc2liaWxpdHkSLwoEbW9kZRgBIAEoDjIhLmFwaS5tYW5hZ2UudjEuTWVudVZpc2liaWxpdHlNb2RlEg0KBXJvbGVzGAIgAygJItMDCghNZW51SXRlbRIKCgJpZBgBIAEoCRINCgVsYWJlbBgCIAEoCRIuCglsaW5rX3R5cGUYAyABKA4yGy5hcGkubWFuYWdlLnYxLk1lbnVMaW5rVHlwZRIQCgN1cmwYBCABKAlIAIgBARIWCgl0YXJnZXRfaWQYBSABKAlIAYgBARIYCgt0YXJnZXRfc2x1ZxgGIAEoCUgCiAEBEhwKD29wZW5faW5fbmV3X3RhYhgHIAEoCEgDiAEBEjYKCnZpc2liaWxpdHkYCCABKAsyHS5hcGkubWFuYWdlLnYxLk1lbnVWaXNpYmlsaXR5SASIAQESKQoIY2hpbGRyZW4YCSADKAsyFy5hcGkubWFuYWdlLnYxLk1lbnVJdGVtEkIKEWxvY2FsaXphdGlvbl9tb2RlGAogASgOMicuYXBpLm1hbmFnZS52MS5NZW51SXRlbUxvY2FsaXphdGlvbk1vZGUSGQoMZml4ZWRfbG9jYWxlGAsgASgJSAWIAQFCBgoEX3VybEIMCgpfdGFyZ2V0X2lkQg4KDF90YXJnZXRfc2x1Z0ISChBfb3Blbl9pbl9uZXdfdGFiQg0KC192aXNpYmlsaXR5Qg8KDV9maXhlZF9sb2NhbGUivwEKBE1lbnUSCgoCaWQYASABKAkS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51EiAuYXBpLm1hbmFnZS52MS5EZWxldGVNZW51UmVxdWVzdBodLmFwaS5tYW5hZ2UudjEuRGVsZXRlUmVzcG9uc2UiBsrzGAIIBEKzAQoRY29tLmFwaS5tYW5hZ2UudjFCCU1lbnVQcm90b1ABWj1naXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvbWFuYWdlL3YxO21hbmFnZXYxogIDQU1YqgINQXBpLk1hbmFnZS5WMcoCDUFwaVxNYW5hZ2VcVjHiAhlBcGlcTWFuYWdlXFYxXEdQQk1ldGFkYXRh6gIPQXBpOjpNYW5hZ2U6OlYxYgZwcm90bzM",
34
+ [
35
+ file_api_common_v1_common,
36
+ file_api_manage_v1_common,
37
+ file_api_policy_v1_access,
38
+ file_google_protobuf_timestamp,
39
+ ],
40
+ );
41
+
42
+ /**
43
+ * @generated from message api.manage.v1.MenuVisibility
44
+ */
45
+ export type MenuVisibility = Message<"api.manage.v1.MenuVisibility"> & {
46
+ /**
47
+ * @generated from field: api.manage.v1.MenuVisibilityMode mode = 1;
48
+ */
49
+ mode: MenuVisibilityMode;
50
+
51
+ /**
52
+ * Only used when mode is ROLES
53
+ *
54
+ * @generated from field: repeated string roles = 2;
55
+ */
56
+ roles: string[];
57
+ };
58
+
59
+ /**
60
+ * Describes the message api.manage.v1.MenuVisibility.
61
+ * Use `create(MenuVisibilitySchema)` to create a new message.
62
+ */
63
+ export const MenuVisibilitySchema: GenMessage<MenuVisibility> =
64
+ /*@__PURE__*/
65
+ messageDesc(file_api_manage_v1_menu, 0);
66
+
67
+ /**
68
+ * Menu item (stored as JSON in Menu.items)
69
+ * This matches the Next.js MenuItem type
70
+ *
71
+ * @generated from message api.manage.v1.MenuItem
72
+ */
73
+ export type MenuItem = Message<"api.manage.v1.MenuItem"> & {
74
+ /**
75
+ * @generated from field: string id = 1;
76
+ */
77
+ id: string;
78
+
79
+ /**
80
+ * @generated from field: string label = 2;
81
+ */
82
+ label: string;
83
+
84
+ /**
85
+ * @generated from field: api.manage.v1.MenuLinkType link_type = 3;
86
+ */
87
+ linkType: MenuLinkType;
88
+
89
+ /**
90
+ * For custom links
91
+ *
92
+ * @generated from field: optional string url = 4;
93
+ */
94
+ url?: string | undefined;
95
+
96
+ /**
97
+ * For page/category/tag/series
98
+ *
99
+ * @generated from field: optional string target_id = 5;
100
+ */
101
+ targetId?: string | undefined;
102
+
103
+ /**
104
+ * Resolved slug
105
+ *
106
+ * @generated from field: optional string target_slug = 6;
107
+ */
108
+ targetSlug?: string | undefined;
109
+
110
+ /**
111
+ * @generated from field: optional bool open_in_new_tab = 7;
112
+ */
113
+ openInNewTab?: boolean | undefined;
114
+
115
+ /**
116
+ * @generated from field: optional api.manage.v1.MenuVisibility visibility = 8;
117
+ */
118
+ visibility?: MenuVisibility | undefined;
119
+
120
+ /**
121
+ * @generated from field: repeated api.manage.v1.MenuItem children = 9;
122
+ */
123
+ children: MenuItem[];
124
+
125
+ /**
126
+ * @generated from field: api.manage.v1.MenuItemLocalizationMode localization_mode = 10;
127
+ */
128
+ localizationMode: MenuItemLocalizationMode;
129
+
130
+ /**
131
+ * @generated from field: optional string fixed_locale = 11;
132
+ */
133
+ fixedLocale?: string | undefined;
134
+ };
135
+
136
+ /**
137
+ * Describes the message api.manage.v1.MenuItem.
138
+ * Use `create(MenuItemSchema)` to create a new message.
139
+ */
140
+ export const MenuItemSchema: GenMessage<MenuItem> =
141
+ /*@__PURE__*/
142
+ messageDesc(file_api_manage_v1_menu, 1);
143
+
144
+ /**
145
+ * Menu entity
146
+ * Maps to: postgres/init/schema.template - menu table
147
+ *
148
+ * @generated from message api.manage.v1.Menu
149
+ */
150
+ export type Menu = Message<"api.manage.v1.Menu"> & {
151
+ /**
152
+ * @generated from field: string id = 1;
153
+ */
154
+ id: string;
155
+
156
+ /**
157
+ * e.g., "header", "footer", "sidebar"
158
+ *
159
+ * @generated from field: string name = 2;
160
+ */
161
+ name: string;
162
+
163
+ /**
164
+ * Stored as JSONB
165
+ *
166
+ * @generated from field: repeated api.manage.v1.MenuItem items = 3;
167
+ */
168
+ items: MenuItem[];
169
+
170
+ /**
171
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
172
+ */
173
+ createdAt?: Timestamp | undefined;
174
+
175
+ /**
176
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
177
+ */
178
+ updatedAt?: Timestamp | undefined;
179
+
180
+ /**
181
+ * @generated from field: string source_locale = 6;
182
+ */
183
+ sourceLocale: string;
184
+ };
185
+
186
+ /**
187
+ * Describes the message api.manage.v1.Menu.
188
+ * Use `create(MenuSchema)` to create a new message.
189
+ */
190
+ export const MenuSchema: GenMessage<Menu> =
191
+ /*@__PURE__*/
192
+ messageDesc(file_api_manage_v1_menu, 2);
193
+
194
+ /**
195
+ * @generated from message api.manage.v1.GetMenuByIdRequest
196
+ */
197
+ export type GetMenuByIdRequest = Message<"api.manage.v1.GetMenuByIdRequest"> & {
198
+ /**
199
+ * Menu ID (UUID)
200
+ *
201
+ * @generated from field: string id = 1;
202
+ */
203
+ id: string;
204
+ };
205
+
206
+ /**
207
+ * Describes the message api.manage.v1.GetMenuByIdRequest.
208
+ * Use `create(GetMenuByIdRequestSchema)` to create a new message.
209
+ */
210
+ export const GetMenuByIdRequestSchema: GenMessage<GetMenuByIdRequest> =
211
+ /*@__PURE__*/
212
+ messageDesc(file_api_manage_v1_menu, 3);
213
+
214
+ /**
215
+ * @generated from message api.manage.v1.ListMenusRequest
216
+ */
217
+ export type ListMenusRequest = Message<"api.manage.v1.ListMenusRequest"> & {
218
+ /**
219
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
220
+ */
221
+ pagination?: PaginationRequest | undefined;
222
+ };
223
+
224
+ /**
225
+ * Describes the message api.manage.v1.ListMenusRequest.
226
+ * Use `create(ListMenusRequestSchema)` to create a new message.
227
+ */
228
+ export const ListMenusRequestSchema: GenMessage<ListMenusRequest> =
229
+ /*@__PURE__*/
230
+ messageDesc(file_api_manage_v1_menu, 4);
231
+
232
+ /**
233
+ * @generated from message api.manage.v1.ListMenusResponse
234
+ */
235
+ export type ListMenusResponse = Message<"api.manage.v1.ListMenusResponse"> & {
236
+ /**
237
+ * @generated from field: repeated api.manage.v1.Menu menus = 1;
238
+ */
239
+ menus: Menu[];
240
+
241
+ /**
242
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
243
+ */
244
+ pagination?: PaginationResponse | undefined;
245
+ };
246
+
247
+ /**
248
+ * Describes the message api.manage.v1.ListMenusResponse.
249
+ * Use `create(ListMenusResponseSchema)` to create a new message.
250
+ */
251
+ export const ListMenusResponseSchema: GenMessage<ListMenusResponse> =
252
+ /*@__PURE__*/
253
+ messageDesc(file_api_manage_v1_menu, 5);
254
+
255
+ /**
256
+ * @generated from message api.manage.v1.CreateMenuRequest
257
+ */
258
+ export type CreateMenuRequest = Message<"api.manage.v1.CreateMenuRequest"> & {
259
+ /**
260
+ * @generated from field: string name = 1;
261
+ */
262
+ name: string;
263
+
264
+ /**
265
+ * @generated from field: repeated api.manage.v1.MenuItem items = 2;
266
+ */
267
+ items: MenuItem[];
268
+
269
+ /**
270
+ * Required initial source locale for the new Menu.
271
+ *
272
+ * @generated from field: string source_locale = 3;
273
+ */
274
+ sourceLocale: string;
275
+ };
276
+
277
+ /**
278
+ * Describes the message api.manage.v1.CreateMenuRequest.
279
+ * Use `create(CreateMenuRequestSchema)` to create a new message.
280
+ */
281
+ export const CreateMenuRequestSchema: GenMessage<CreateMenuRequest> =
282
+ /*@__PURE__*/
283
+ messageDesc(file_api_manage_v1_menu, 6);
284
+
285
+ /**
286
+ * Wrapper for menu items update (enables distinguishing between "not provided" and "clear all")
287
+ *
288
+ * @generated from message api.manage.v1.MenuItemsUpdate
289
+ */
290
+ export type MenuItemsUpdate = Message<"api.manage.v1.MenuItemsUpdate"> & {
291
+ /**
292
+ * @generated from field: repeated api.manage.v1.MenuItem items = 1;
293
+ */
294
+ items: MenuItem[];
295
+ };
296
+
297
+ /**
298
+ * Describes the message api.manage.v1.MenuItemsUpdate.
299
+ * Use `create(MenuItemsUpdateSchema)` to create a new message.
300
+ */
301
+ export const MenuItemsUpdateSchema: GenMessage<MenuItemsUpdate> =
302
+ /*@__PURE__*/
303
+ messageDesc(file_api_manage_v1_menu, 7);
304
+
305
+ /**
306
+ * @generated from message api.manage.v1.UpdateMenuRequest
307
+ */
308
+ export type UpdateMenuRequest = Message<"api.manage.v1.UpdateMenuRequest"> & {
309
+ /**
310
+ * @generated from field: string id = 1;
311
+ */
312
+ id: string;
313
+
314
+ /**
315
+ * @generated from field: optional string name = 2;
316
+ */
317
+ name?: string | undefined;
318
+
319
+ /**
320
+ * Full replacement of items (use wrapper to distinguish nil vs empty)
321
+ *
322
+ * @generated from field: optional api.manage.v1.MenuItemsUpdate items = 3;
323
+ */
324
+ items?: MenuItemsUpdate | undefined;
325
+ };
326
+
327
+ /**
328
+ * Describes the message api.manage.v1.UpdateMenuRequest.
329
+ * Use `create(UpdateMenuRequestSchema)` to create a new message.
330
+ */
331
+ export const UpdateMenuRequestSchema: GenMessage<UpdateMenuRequest> =
332
+ /*@__PURE__*/
333
+ messageDesc(file_api_manage_v1_menu, 8);
334
+
335
+ /**
336
+ * @generated from message api.manage.v1.DeleteMenuRequest
337
+ */
338
+ export type DeleteMenuRequest = Message<"api.manage.v1.DeleteMenuRequest"> & {
339
+ /**
340
+ * @generated from field: string id = 1;
341
+ */
342
+ id: string;
343
+ };
344
+
345
+ /**
346
+ * Describes the message api.manage.v1.DeleteMenuRequest.
347
+ * Use `create(DeleteMenuRequestSchema)` to create a new message.
348
+ */
349
+ export const DeleteMenuRequestSchema: GenMessage<DeleteMenuRequest> =
350
+ /*@__PURE__*/
351
+ messageDesc(file_api_manage_v1_menu, 9);
352
+
353
+ /**
354
+ * Menu visibility mode
355
+ *
356
+ * @generated from enum api.manage.v1.MenuVisibilityMode
357
+ */
358
+ export enum MenuVisibilityMode {
359
+ /**
360
+ * @generated from enum value: MENU_VISIBILITY_MODE_UNSPECIFIED = 0;
361
+ */
362
+ UNSPECIFIED = 0,
363
+
364
+ /**
365
+ * All users
366
+ *
367
+ * @generated from enum value: MENU_VISIBILITY_MODE_ALL = 1;
368
+ */
369
+ ALL = 1,
370
+
371
+ /**
372
+ * Logged in only
373
+ *
374
+ * @generated from enum value: MENU_VISIBILITY_MODE_AUTHENTICATED = 2;
375
+ */
376
+ AUTHENTICATED = 2,
377
+
378
+ /**
379
+ * Not logged in only
380
+ *
381
+ * @generated from enum value: MENU_VISIBILITY_MODE_GUEST = 3;
382
+ */
383
+ GUEST = 3,
384
+
385
+ /**
386
+ * Specific roles
387
+ *
388
+ * @generated from enum value: MENU_VISIBILITY_MODE_ROLES = 4;
389
+ */
390
+ ROLES = 4,
391
+ }
392
+
393
+ /**
394
+ * Describes the enum api.manage.v1.MenuVisibilityMode.
395
+ */
396
+ export const MenuVisibilityModeSchema: GenEnum<MenuVisibilityMode> =
397
+ /*@__PURE__*/
398
+ enumDesc(file_api_manage_v1_menu, 0);
399
+
400
+ /**
401
+ * Menu item link type
402
+ *
403
+ * @generated from enum api.manage.v1.MenuLinkType
404
+ */
405
+ export enum MenuLinkType {
406
+ /**
407
+ * @generated from enum value: MENU_LINK_TYPE_UNSPECIFIED = 0;
408
+ */
409
+ UNSPECIFIED = 0,
410
+
411
+ /**
412
+ * Custom URL
413
+ *
414
+ * @generated from enum value: MENU_LINK_TYPE_CUSTOM = 1;
415
+ */
416
+ CUSTOM = 1,
417
+
418
+ /**
419
+ * Internal page
420
+ *
421
+ * @generated from enum value: MENU_LINK_TYPE_PAGE = 2;
422
+ */
423
+ PAGE = 2,
424
+
425
+ /**
426
+ * Category archive
427
+ *
428
+ * @generated from enum value: MENU_LINK_TYPE_CATEGORY = 3;
429
+ */
430
+ CATEGORY = 3,
431
+
432
+ /**
433
+ * Tag archive
434
+ *
435
+ * @generated from enum value: MENU_LINK_TYPE_TAG = 4;
436
+ */
437
+ TAG = 4,
438
+
439
+ /**
440
+ * Series
441
+ *
442
+ * @generated from enum value: MENU_LINK_TYPE_SERIES = 5;
443
+ */
444
+ SERIES = 5,
445
+ }
446
+
447
+ /**
448
+ * Describes the enum api.manage.v1.MenuLinkType.
449
+ */
450
+ export const MenuLinkTypeSchema: GenEnum<MenuLinkType> =
451
+ /*@__PURE__*/
452
+ enumDesc(file_api_manage_v1_menu, 1);
453
+
454
+ /**
455
+ * @generated from enum api.manage.v1.MenuItemLocalizationMode
456
+ */
457
+ export enum MenuItemLocalizationMode {
458
+ /**
459
+ * @generated from enum value: MENU_ITEM_LOCALIZATION_MODE_UNSPECIFIED = 0;
460
+ */
461
+ UNSPECIFIED = 0,
462
+
463
+ /**
464
+ * Follow requested locale translation/fallback
465
+ *
466
+ * @generated from enum value: MENU_ITEM_LOCALIZATION_MODE_TRANSLATED = 1;
467
+ */
468
+ TRANSLATED = 1,
469
+
470
+ /**
471
+ * Always use one locale label
472
+ *
473
+ * @generated from enum value: MENU_ITEM_LOCALIZATION_MODE_FIXED_LOCALE = 2;
474
+ */
475
+ FIXED_LOCALE = 2,
476
+ }
477
+
478
+ /**
479
+ * Describes the enum api.manage.v1.MenuItemLocalizationMode.
480
+ */
481
+ export const MenuItemLocalizationModeSchema: GenEnum<MenuItemLocalizationMode> =
482
+ /*@__PURE__*/
483
+ enumDesc(file_api_manage_v1_menu, 2);
484
+
485
+ /**
486
+ * Menu Service
487
+ *
488
+ * @generated from service api.manage.v1.MenuService
489
+ */
490
+ export const MenuService: GenService<{
491
+ /**
492
+ * Public
493
+ *
494
+ * @generated from rpc api.manage.v1.MenuService.GetMenuById
495
+ */
496
+ getMenuById: {
497
+ methodKind: "unary";
498
+ input: typeof GetMenuByIdRequestSchema;
499
+ output: typeof MenuSchema;
500
+ };
501
+ /**
502
+ * Admin
503
+ *
504
+ * @generated from rpc api.manage.v1.MenuService.ListMenus
505
+ */
506
+ listMenus: {
507
+ methodKind: "unary";
508
+ input: typeof ListMenusRequestSchema;
509
+ output: typeof ListMenusResponseSchema;
510
+ };
511
+ /**
512
+ * @generated from rpc api.manage.v1.MenuService.CreateMenu
513
+ */
514
+ createMenu: {
515
+ methodKind: "unary";
516
+ input: typeof CreateMenuRequestSchema;
517
+ output: typeof MenuSchema;
518
+ };
519
+ /**
520
+ * @generated from rpc api.manage.v1.MenuService.UpdateMenu
521
+ */
522
+ updateMenu: {
523
+ methodKind: "unary";
524
+ input: typeof UpdateMenuRequestSchema;
525
+ output: typeof MenuSchema;
526
+ };
527
+ /**
528
+ * @generated from rpc api.manage.v1.MenuService.DeleteMenu
529
+ */
530
+ deleteMenu: {
531
+ methodKind: "unary";
532
+ input: typeof DeleteMenuRequestSchema;
533
+ output: typeof DeleteResponseSchema;
534
+ };
535
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_menu, 0);