jitera_proto 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,461 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: v1/frontend.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/struct_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("v1/frontend.proto", :syntax => :proto3) do
10
+ add_message "schema.v1.Frontend" do
11
+ repeated :app_pages, :message, 1, "schema.v1.AppPage"
12
+ end
13
+ add_message "schema.v1.AppPage" do
14
+ optional :id, :string, 1
15
+ optional :page_name, :string, 2
16
+ optional :slug, :string, 3
17
+ optional :page_type, :enum, 4, "schema.v1.AppPage.PageType"
18
+ repeated :nodes, :message, 5, "schema.v1.PageNode"
19
+ end
20
+ add_enum "schema.v1.AppPage.PageType" do
21
+ value :SCREEN, 0
22
+ value :MOLECULE, 1
23
+ end
24
+ add_message "schema.v1.PageNode" do
25
+ optional :id, :string, 1
26
+ optional :display_name, :string, 2
27
+ optional :name, :string, 3
28
+ optional :parent, :string, 4
29
+ repeated :nodes, :string, 5
30
+ map :linked_nodes, :string, :string, 6
31
+ optional :component_name, :string, 7
32
+ optional :custom, :message, 8, "schema.v1.NodeCustom"
33
+ oneof :props do
34
+ optional :web_props, :message, 9, "schema.v1.WebNodeProps"
35
+ optional :mobile_props, :message, 10, "schema.v1.MobileNodeProps"
36
+ end
37
+ end
38
+ add_message "schema.v1.WebNodeProps" do
39
+ optional :element_key, :string, 1
40
+ proto3_optional :button_type, :string, 2
41
+ proto3_optional :span, :string, 3
42
+ proto3_optional :offset, :string, 4
43
+ proto3_optional :push_prop, :string, 5
44
+ proto3_optional :pull_prop, :string, 6
45
+ proto3_optional :order, :string, 7
46
+ repeated :gutter, :int32, 8
47
+ proto3_optional :wrap, :string, 9
48
+ proto3_optional :justify, :string, 10
49
+ proto3_optional :align, :string, 11
50
+ proto3_optional :pin_count, :int32, 12
51
+ proto3_optional :auto_focus, :bool, 13
52
+ proto3_optional :otp_input_type, :string, 14
53
+ proto3_optional :icon_name, :string, 15
54
+ proto3_optional :icon_position, :string, 16
55
+ proto3_optional :color, :string, 17
56
+ proto3_optional :active_color, :string, 18
57
+ proto3_optional :inactive_color, :string, 19
58
+ proto3_optional :check_color, :string, 20
59
+ proto3_optional :direction, :string, 21
60
+ proto3_optional :size, :string, 22
61
+ proto3_optional :label, :string, 23
62
+ proto3_optional :date_mode, :string, 24
63
+ proto3_optional :date_format, :string, 25
64
+ proto3_optional :week_format, :string, 26
65
+ proto3_optional :month_format, :string, 27
66
+ proto3_optional :time_format, :string, 28
67
+ proto3_optional :mode, :string, 29
68
+ proto3_optional :space_between, :int32, 30
69
+ proto3_optional :is_required_authentication, :bool, 31
70
+ proto3_optional :redirect_url, :string, 32
71
+ proto3_optional :flex, :string, 33
72
+ proto3_optional :source_type, :string, 34
73
+ proto3_optional :is_password_field, :bool, 35
74
+ proto3_optional :align_items, :string, 36
75
+ proto3_optional :justify_content, :string, 37
76
+ proto3_optional :xs, :int32, 38
77
+ proto3_optional :sm, :int32, 39
78
+ proto3_optional :md, :int32, 40
79
+ proto3_optional :lg, :int32, 41
80
+ proto3_optional :xl, :int32, 42
81
+ proto3_optional :xxl, :int32, 43
82
+ proto3_optional :grid, :message, 44, "google.protobuf.Struct"
83
+ proto3_optional :xl_responsive, :message, 45, "google.protobuf.Struct"
84
+ proto3_optional :md_responsive, :message, 46, "google.protobuf.Struct"
85
+ proto3_optional :xs_responsive, :message, 47, "google.protobuf.Struct"
86
+ proto3_optional :picker, :string, 48
87
+ proto3_optional :show_time, :bool, 49
88
+ proto3_optional :format, :string, 50
89
+ proto3_optional :disabled_overflow, :bool, 51
90
+ proto3_optional :multiple, :bool, 52
91
+ proto3_optional :max_count, :int32, 53
92
+ proto3_optional :placement, :string, 54
93
+ proto3_optional :width, :int32, 55
94
+ proto3_optional :closable, :bool, 56
95
+ proto3_optional :header_visible, :bool, 57
96
+ proto3_optional :type, :string, 58
97
+ proto3_optional :text_type, :string, 59
98
+ proto3_optional :slides_to_show, :int32, 60
99
+ proto3_optional :variable_width, :bool, 61
100
+ proto3_optional :infinity, :bool, 62
101
+ proto3_optional :infinite, :bool, 63
102
+ proto3_optional :centered, :bool, 64
103
+ proto3_optional :tab_position, :string, 65
104
+ proto3_optional :tabs, :message, 66, "google.protobuf.Struct"
105
+ proto3_optional :tab_label_style, :message, 67, "google.protobuf.Struct"
106
+ proto3_optional :default_active_key, :string, 68
107
+ proto3_optional :is_header_visible, :bool, 69
108
+ proto3_optional :is_footer_visible, :bool, 70
109
+ proto3_optional :is_data_sortable, :bool, 71
110
+ proto3_optional :is_pagination_enabled, :bool, 72
111
+ proto3_optional :pagination_position, :string, 73
112
+ proto3_optional :page_size, :int32, 74
113
+ proto3_optional :body_style, :message, 75, "google.protobuf.Struct"
114
+ proto3_optional :placeholder_style, :message, 76, "google.protobuf.Struct"
115
+ proto3_optional :container_style, :message, 77, "google.protobuf.Struct"
116
+ proto3_optional :dropdown_style, :message, 78, "google.protobuf.Struct"
117
+ proto3_optional :option_style, :message, 79, "google.protobuf.Struct"
118
+ proto3_optional :cell_style, :message, 80, "google.protobuf.Struct"
119
+ proto3_optional :cell_text_style, :message, 81, "google.protobuf.Struct"
120
+ proto3_optional :style, :message, 82, "google.protobuf.Struct"
121
+ proto3_optional :button_style, :message, 83, "google.protobuf.Struct"
122
+ proto3_optional :header_style, :message, 84, "google.protobuf.Struct"
123
+ proto3_optional :wrapper_style, :message, 85, "google.protobuf.Struct"
124
+ proto3_optional :table_style, :message, 86, "google.protobuf.Struct"
125
+ proto3_optional :header_row_style, :message, 87, "google.protobuf.Struct"
126
+ proto3_optional :header_column_style, :message, 88, "google.protobuf.Struct"
127
+ proto3_optional :body_row_style, :message, 89, "google.protobuf.Struct"
128
+ proto3_optional :body_column_style, :message, 90, "google.protobuf.Struct"
129
+ proto3_optional :sort_column_style, :message, 91, "google.protobuf.Struct"
130
+ proto3_optional :footer_row_style, :message, 92, "google.protobuf.Struct"
131
+ proto3_optional :footer_column_style, :message, 93, "google.protobuf.Struct"
132
+ proto3_optional :pagination_wrapper_style, :message, 94, "google.protobuf.Struct"
133
+ proto3_optional :label_style, :message, 95, "google.protobuf.Struct"
134
+ proto3_optional :input_style, :message, 96, "google.protobuf.Struct"
135
+ proto3_optional :ascending_icon_props, :message, 97, "schema.v1.WebNodeProps"
136
+ proto3_optional :descending_icon_props, :message, 98, "schema.v1.WebNodeProps"
137
+ proto3_optional :icon_props, :message, 99, "schema.v1.WebNodeProps"
138
+ proto3_optional :drawer_props, :message, 100, "schema.v1.WebNodeProps"
139
+ proto3_optional :button_props, :message, 101, "schema.v1.WebNodeProps"
140
+ proto3_optional :prefix_icon_props, :message, 102, "schema.v1.WebNodeProps"
141
+ proto3_optional :suffix_icon_props, :message, 103, "schema.v1.WebNodeProps"
142
+ proto3_optional :render_item, :message, 109, "schema.v1.RenderMolecule"
143
+ proto3_optional :header, :message, 110, "schema.v1.MoleculeComponent"
144
+ proto3_optional :footer, :message, 111, "schema.v1.MoleculeComponent"
145
+ repeated :drawer_title, :message, 112, "schema.v1.NodeVariable"
146
+ repeated :placeholder, :message, 113, "schema.v1.NodeVariable"
147
+ repeated :input_label, :message, 114, "schema.v1.NodeVariable"
148
+ repeated :href, :message, 115, "schema.v1.NodeVariable"
149
+ repeated :action, :message, 116, "schema.v1.NodeVariable"
150
+ repeated :data, :message, 117, "schema.v1.NodeVariable"
151
+ repeated :total_page, :message, 118, "schema.v1.NodeVariable"
152
+ repeated :default_value, :message, 119, "schema.v1.NodeVariable"
153
+ repeated :source, :message, 120, "schema.v1.NodeVariable"
154
+ repeated :title, :message, 121, "schema.v1.NodeVariable"
155
+ repeated :children_data, :message, 122, "schema.v1.NodeVariable"
156
+ repeated :responsive_visibility, :message, 123, "schema.v1.NodeVariable"
157
+ repeated :data_source, :message, 124, "schema.v1.NodeVariable"
158
+ repeated :table_columns, :message, 125, "schema.v1.WebNodeProps.TableColumn"
159
+ repeated :table_actions, :message, 126, "schema.v1.WebNodeProps.TableColumn"
160
+ repeated :on_pagination_change, :message, 127, "schema.v1.NodeAction"
161
+ repeated :on_data_sorting_change, :message, 128, "schema.v1.NodeAction"
162
+ end
163
+ add_message "schema.v1.WebNodeProps.TableColumn" do
164
+ optional :molecule, :message, 1, "schema.v1.RenderMolecule"
165
+ repeated :sortable, :bool, 2
166
+ repeated :filterable, :bool, 3
167
+ repeated :column_index, :int32, 4
168
+ repeated :column_name, :string, 5
169
+ repeated :column_path, :string, 6
170
+ end
171
+ add_message "schema.v1.MobileNodeProps" do
172
+ optional :element_key, :string, 1
173
+ proto3_optional :background_color, :string, 2
174
+ proto3_optional :safe_area, :string, 3
175
+ proto3_optional :placeholder_text_color, :string, 4
176
+ proto3_optional :secure_text_entry, :bool, 5
177
+ proto3_optional :auto_correct, :bool, 6
178
+ proto3_optional :show_clear_text, :bool, 7
179
+ proto3_optional :show_character_counter, :bool, 8
180
+ proto3_optional :max_length, :int32, 9
181
+ proto3_optional :clear_icon_color, :string, 10
182
+ proto3_optional :secure_eye_icon_color, :string, 11
183
+ proto3_optional :editable, :bool, 12
184
+ proto3_optional :number_of_lines, :int32, 13
185
+ proto3_optional :vertical, :bool, 14
186
+ proto3_optional :loop, :bool, 15
187
+ proto3_optional :timeout, :int32, 16
188
+ proto3_optional :horizontal, :bool, 17
189
+ proto3_optional :num_columns, :int32, 18
190
+ proto3_optional :source_type, :string, 19
191
+ proto3_optional :use_default_back_button, :bool, 20
192
+ proto3_optional :auto_focus, :bool, 21
193
+ proto3_optional :pin_count, :int32, 22
194
+ proto3_optional :position, :string, 23
195
+ proto3_optional :return_key_type, :string, 24
196
+ proto3_optional :resize_mode, :string, 25
197
+ proto3_optional :keyboard_type, :string, 26
198
+ proto3_optional :auto_capitalize, :string, 27
199
+ proto3_optional :date_mode, :string, 28
200
+ proto3_optional :mode, :string, 29
201
+ proto3_optional :infinity, :bool, 30
202
+ proto3_optional :inverted, :bool, 31
203
+ proto3_optional :name, :string, 32
204
+ proto3_optional :size, :int32, 33
205
+ proto3_optional :color, :string, 34
206
+ proto3_optional :type, :string, 35
207
+ proto3_optional :left_icon_name, :string, 36
208
+ proto3_optional :left_icon_type, :string, 37
209
+ proto3_optional :left_icon_size, :int32, 38
210
+ proto3_optional :left_icon_color, :string, 39
211
+ proto3_optional :right_icon_name, :string, 40
212
+ proto3_optional :right_icon_type, :string, 41
213
+ proto3_optional :right_icon_size, :int32, 42
214
+ proto3_optional :right_icon_color, :string, 43
215
+ proto3_optional :launcher_type, :string, 44
216
+ proto3_optional :otp_input_type, :string, 45
217
+ proto3_optional :border_bottom_width, :float, 46
218
+ proto3_optional :border_bottom_color, :string, 47
219
+ proto3_optional :style, :message, 48, "google.protobuf.Struct"
220
+ proto3_optional :content_container_style, :message, 49, "google.protobuf.Struct"
221
+ proto3_optional :input_style, :message, 50, "google.protobuf.Struct"
222
+ proto3_optional :label_style, :message, 51, "google.protobuf.Struct"
223
+ proto3_optional :character_counter_style, :message, 52, "google.protobuf.Struct"
224
+ proto3_optional :cell_style, :message, 53, "google.protobuf.Struct"
225
+ proto3_optional :cell_text_style, :message, 54, "google.protobuf.Struct"
226
+ proto3_optional :title_style, :message, 55, "google.protobuf.Struct"
227
+ proto3_optional :render_item, :message, 56, "schema.v1.RenderMolecule"
228
+ proto3_optional :preview, :message, 57, "schema.v1.RenderMolecule"
229
+ proto3_optional :component, :message, 58, "schema.v1.RenderMolecule"
230
+ proto3_optional :list_empty_component, :message, 59, "schema.v1.MoleculeComponent"
231
+ proto3_optional :list_header_component, :message, 60, "schema.v1.MoleculeComponent"
232
+ proto3_optional :list_footer_component, :message, 61, "schema.v1.MoleculeComponent"
233
+ proto3_optional :item_separator_component, :message, 62, "schema.v1.MoleculeComponent"
234
+ proto3_optional :key_extractor, :message, 63, "schema.v1.NodeReference"
235
+ repeated :placeholder, :message, 64, "schema.v1.NodeVariable"
236
+ repeated :data, :message, 65, "schema.v1.NodeVariable"
237
+ repeated :source, :message, 66, "schema.v1.NodeVariable"
238
+ repeated :title, :message, 67, "schema.v1.NodeVariable"
239
+ repeated :children_data, :message, 68, "schema.v1.NodeVariable"
240
+ end
241
+ add_message "schema.v1.RenderMolecule" do
242
+ proto3_optional :reference, :message, 1, "schema.v1.NodeReference"
243
+ repeated :arguments, :message, 2, "schema.v1.FunctionArgument"
244
+ repeated :props, :message, 3, "schema.v1.NodeParam"
245
+ end
246
+ add_message "schema.v1.NodeReference" do
247
+ optional :name, :string, 1
248
+ optional :ref_id, :string, 2
249
+ optional :ref_data, :message, 3, "google.protobuf.Struct"
250
+ optional :value, :string, 4
251
+ optional :ref_type, :enum, 5, "schema.v1.NodeReference.ReferenceRefType"
252
+ end
253
+ add_enum "schema.v1.NodeReference.ReferenceRefType" do
254
+ value :NONE, 0
255
+ value :API_REQUEST, 1
256
+ value :API_REQUEST_PARAM, 2
257
+ value :API_BUSINESS_PROCESS, 3
258
+ value :API_RESPONSE_DATA, 4
259
+ value :COLUMN_DEFINITION, 5
260
+ value :MOBILE_APP_ASSET, 6
261
+ value :MOBILE_APP_PAGE, 7
262
+ value :MOBILE_APP_PAGE_ACTION, 8
263
+ value :MOBILE_APP_PAGE_NODE, 9
264
+ value :MOBILE_APP_PAGE_PARAM, 10
265
+ value :MOBILE_APP_PAGE_FORM, 11
266
+ value :MOBILE_NAVIGATION, 12
267
+ value :MOBILE_NAVIGATION_NODE, 13
268
+ value :MOBILE_MOLECULE_PROP, 14
269
+ value :TABLE_DEFINITION, 15
270
+ end
271
+ add_message "schema.v1.FunctionArgument" do
272
+ optional :name, :string, 1
273
+ optional :argument_type, :string, 2
274
+ optional :plural, :bool, 3
275
+ optional :reference, :message, 4, "schema.v1.NodeReference"
276
+ end
277
+ add_message "schema.v1.NodeParam" do
278
+ optional :name, :string, 1
279
+ optional :param_type, :string, 2
280
+ repeated :param_type_enum, :string, 3
281
+ optional :default_value, :string, 4
282
+ optional :plural, :bool, 5
283
+ optional :automated, :bool, 6
284
+ optional :reference, :message, 7, "schema.v1.NodeReference"
285
+ optional :value, :message, 8, "schema.v1.NodeVariable"
286
+ repeated :actions, :message, 9, "schema.v1.NodeAction"
287
+ repeated :function_arguments, :message, 10, "schema.v1.FunctionArgument"
288
+ end
289
+ add_message "schema.v1.NodeVariable" do
290
+ optional :local_id, :string, 1
291
+ optional :name, :string, 2
292
+ optional :value, :string, 3
293
+ optional :value_path, :string, 4
294
+ optional :default_value, :string, 5
295
+ optional :value_type, :string, 6
296
+ optional :default_type, :enum, 7, "schema.v1.NodeVariable.VariableDefaultType"
297
+ optional :source, :enum, 8, "schema.v1.NodeVariable.VariableSource"
298
+ optional :variable_type, :enum, 9, "schema.v1.NodeVariable.VariableType"
299
+ repeated :values, :message, 10, "schema.v1.NodeReference"
300
+ end
301
+ add_enum "schema.v1.NodeVariable.VariableDefaultType" do
302
+ value :STRING, 0
303
+ value :VARIABLE, 1
304
+ end
305
+ add_enum "schema.v1.NodeVariable.VariableSource" do
306
+ value :PARAMS, 0
307
+ value :FORM_VALUES, 1
308
+ value :ACTION_RESPONSE, 2
309
+ value :STORAGE, 3
310
+ value :AUTHENTICATED_USER, 4
311
+ value :MOLECULE_PROPS, 5
312
+ value :PROJECT_ASSET, 6
313
+ value :CONTEXT_VALUES, 7
314
+ value :LOCAL_CONTEXT_RESPONSE, 8
315
+ value :FORM_VALIDATION_ERROR_MESSAGE, 9
316
+ end
317
+ add_enum "schema.v1.NodeVariable.VariableType" do
318
+ value :STATIC, 0
319
+ value :DYNAMIC, 1
320
+ end
321
+ add_message "schema.v1.NodeAction" do
322
+ optional :action, :string, 1
323
+ optional :value, :string, 2
324
+ optional :action_type, :enum, 3, "schema.v1.NodeAction.ActionType"
325
+ optional :source, :enum, 4, "schema.v1.NodeAction.ActionSource"
326
+ repeated :payload, :message, 5, "schema.v1.NodePayload"
327
+ repeated :response, :message, 6, "schema.v1.NodePayload"
328
+ repeated :values, :message, 7, "schema.v1.NodeReference"
329
+ repeated :success_actions, :message, 8, "schema.v1.NodeAction"
330
+ repeated :error_actions, :message, 9, "schema.v1.NodeAction"
331
+ end
332
+ add_enum "schema.v1.NodeAction.ActionType" do
333
+ value :API, 0
334
+ value :GENERAL, 1
335
+ end
336
+ add_enum "schema.v1.NodeAction.ActionSource" do
337
+ value :AUTHENTICATION, 0
338
+ value :BACKEND_CALL, 1
339
+ value :FORM_SUBMIT, 2
340
+ value :NAVIGATION, 3
341
+ value :SHOW_TOAST_MESSAGE, 4
342
+ value :MOLECULE_PROPS, 5
343
+ value :MODAL, 6
344
+ value :EVENT_LOG, 7
345
+ value :REQUEST_NOTIFICATION_PERMISSION, 8
346
+ value :DRAWER, 9
347
+ end
348
+ add_message "schema.v1.NodePayload" do
349
+ optional :value, :message, 1, "schema.v1.NodeVariable"
350
+ optional :reference, :message, 2, "schema.v1.NodeReference"
351
+ repeated :actions, :message, 3, "schema.v1.NodeAction"
352
+ end
353
+ add_message "schema.v1.MoleculeComponent" do
354
+ optional :reference, :message, 1, "schema.v1.NodeReference"
355
+ repeated :props, :message, 2, "schema.v1.NodeParam"
356
+ end
357
+ add_message "schema.v1.NodeCustom" do
358
+ proto3_optional :use_prop_style, :bool, 1
359
+ proto3_optional :ignore_prop_style, :bool, 2
360
+ proto3_optional :form, :message, 3, "schema.v1.NodeReference"
361
+ proto3_optional :molecule, :message, 4, "schema.v1.NodeReference"
362
+ repeated :media_queries, :message, 5, "schema.v1.NodeMediaQuery"
363
+ proto3_optional :authentication, :message, 6, "schema.v1.NodeReference"
364
+ proto3_optional :render_condition, :message, 7, "schema.v1.RenderCondition"
365
+ repeated :seo_title, :message, 8, "schema.v1.NodeVariable"
366
+ repeated :seo_description, :message, 9, "schema.v1.NodeVariable"
367
+ repeated :actions, :message, 10, "schema.v1.NodeAction"
368
+ repeated :params, :message, 11, "schema.v1.NodeParam"
369
+ repeated :props, :message, 12, "schema.v1.NodeParam"
370
+ repeated :children_data, :message, 13, "schema.v1.NodeVariable"
371
+ repeated :form_validations, :message, 14, "schema.v1.FormValidation"
372
+ end
373
+ add_message "schema.v1.NodeMediaQuery" do
374
+ optional :lower, :int32, 1
375
+ optional :upper, :int32, 2
376
+ optional :style, :message, 3, "google.protobuf.Struct"
377
+ end
378
+ add_message "schema.v1.RenderCondition" do
379
+ optional :enabled, :bool, 1
380
+ repeated :conditions, :message, 2, "schema.v1.RenderCondition.Condition"
381
+ end
382
+ add_message "schema.v1.RenderCondition.Condition" do
383
+ optional :source, :enum, 1, "schema.v1.RenderCondition.Source"
384
+ optional :operator, :enum, 2, "schema.v1.RenderCondition.Operator"
385
+ optional :left, :message, 3, "schema.v1.NodeVariable"
386
+ optional :right, :message, 4, "schema.v1.NodeVariable"
387
+ end
388
+ add_enum "schema.v1.RenderCondition.Source" do
389
+ value :BINARY, 0
390
+ value :GLOBAL, 1
391
+ end
392
+ add_enum "schema.v1.RenderCondition.Operator" do
393
+ value :LESS_THAN, 0
394
+ value :LESS_EQUAL_THAN, 1
395
+ value :EQUAL, 2
396
+ value :NOT_EQUAL, 3
397
+ value :GREATER_THAN, 4
398
+ value :GREATER_EQUAL_THAN, 5
399
+ value :EXIST, 6
400
+ value :NOT_EXIST, 7
401
+ end
402
+ add_message "schema.v1.FormValidation" do
403
+ optional :validation_type, :enum, 1, "schema.v1.FormValidation.ValidationType"
404
+ repeated :validation_rules, :message, 2, "schema.v1.FormValidation.FormValidationsRule"
405
+ end
406
+ add_message "schema.v1.FormValidation.FormValidationsRule" do
407
+ optional :value, :string, 1
408
+ optional :value_type, :string, 2
409
+ repeated :error_messages, :message, 3, "schema.v1.NodeVariable"
410
+ end
411
+ add_enum "schema.v1.FormValidation.ValidationType" do
412
+ value :TEXT, 0
413
+ value :NUMBER, 1
414
+ value :EMAIL, 2
415
+ value :PASSWORD, 3
416
+ value :PHONE_NUMBER, 4
417
+ end
418
+ add_enum "schema.v1.FormValidation.RuleType" do
419
+ value :REQUIRED, 0
420
+ value :MAXIMUM, 1
421
+ value :MINIMUM, 2
422
+ value :REGEX, 3
423
+ end
424
+ end
425
+ end
426
+
427
+ module Schema
428
+ module V1
429
+ Frontend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Frontend").msgclass
430
+ AppPage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage").msgclass
431
+ AppPage::PageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage.PageType").enummodule
432
+ PageNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.PageNode").msgclass
433
+ WebNodeProps = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebNodeProps").msgclass
434
+ WebNodeProps::TableColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebNodeProps.TableColumn").msgclass
435
+ MobileNodeProps = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.MobileNodeProps").msgclass
436
+ RenderMolecule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.RenderMolecule").msgclass
437
+ NodeReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeReference").msgclass
438
+ NodeReference::ReferenceRefType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeReference.ReferenceRefType").enummodule
439
+ FunctionArgument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.FunctionArgument").msgclass
440
+ NodeParam = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeParam").msgclass
441
+ NodeVariable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeVariable").msgclass
442
+ NodeVariable::VariableDefaultType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeVariable.VariableDefaultType").enummodule
443
+ NodeVariable::VariableSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeVariable.VariableSource").enummodule
444
+ NodeVariable::VariableType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeVariable.VariableType").enummodule
445
+ NodeAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeAction").msgclass
446
+ NodeAction::ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeAction.ActionType").enummodule
447
+ NodeAction::ActionSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeAction.ActionSource").enummodule
448
+ NodePayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodePayload").msgclass
449
+ MoleculeComponent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.MoleculeComponent").msgclass
450
+ NodeCustom = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeCustom").msgclass
451
+ NodeMediaQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.NodeMediaQuery").msgclass
452
+ RenderCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.RenderCondition").msgclass
453
+ RenderCondition::Condition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.RenderCondition.Condition").msgclass
454
+ RenderCondition::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.RenderCondition.Source").enummodule
455
+ RenderCondition::Operator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.RenderCondition.Operator").enummodule
456
+ FormValidation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.FormValidation").msgclass
457
+ FormValidation::FormValidationsRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.FormValidation.FormValidationsRule").msgclass
458
+ FormValidation::ValidationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.FormValidation.ValidationType").enummodule
459
+ FormValidation::RuleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.FormValidation.RuleType").enummodule
460
+ end
461
+ end
@@ -0,0 +1,80 @@
1
+ syntax = "proto3";
2
+ package schema.v1;
3
+
4
+ import "v1/backend.proto";
5
+ import "v1/frontend.proto";
6
+
7
+ service CoreService {
8
+ rpc ListTables (ListTablesRequest) returns (ListTablesResponse) {}
9
+ rpc ListControllers (ListControllersRequest) returns (ListControllersResponse) {}
10
+ rpc ListFeatures (ListFeaturesRequest) returns (ListFeaturesResponse) {}
11
+ rpc ListAuthorizations (ListAuthorizationsRequest) returns (ListAuthorizationsResponse) {}
12
+ rpc ListLocalizations (ListLocalizationsRequest) returns (ListLocalizationsResponse) {}
13
+ rpc GetFrontend (GetFrontendRequest) returns (GetFrontendResponse) {}
14
+ rpc ListMigrations (ListMigrationsRequest) returns (ListMigrationsResponse) {}
15
+ rpc GetBackend (GetBackendRequest) returns (GetBackendResponse) {}
16
+ }
17
+
18
+ message GetFrontendRequest {
19
+ int32 project_id = 1;
20
+ }
21
+
22
+ message GetFrontendResponse {
23
+ Frontend frontend = 1;
24
+ }
25
+
26
+ message GetBackendRequest {
27
+ int32 project_id = 1;
28
+ }
29
+
30
+ message GetBackendResponse {
31
+ Backend backend = 1;
32
+ }
33
+
34
+ message ListTablesRequest {
35
+ int32 project_id = 1;
36
+ }
37
+
38
+ message ListTablesResponse {
39
+ repeated Table tables = 1;
40
+ }
41
+
42
+ message ListMigrationsRequest {
43
+ int32 project_id = 1;
44
+ }
45
+
46
+ message ListControllersRequest {
47
+ int32 project_id = 1;
48
+ }
49
+
50
+ message ListControllersResponse {
51
+ repeated Controller controllers = 1;
52
+ }
53
+
54
+ message ListFeaturesRequest {
55
+ int32 project_id = 1;
56
+ }
57
+
58
+ message ListFeaturesResponse {
59
+ repeated Feature features = 1;
60
+ }
61
+
62
+ message ListAuthorizationsRequest {
63
+ int32 project_id = 1;
64
+ }
65
+
66
+ message ListAuthorizationsResponse {
67
+ repeated Authorization authorizations = 1;
68
+ }
69
+
70
+ message ListLocalizationsRequest {
71
+ int32 project_id = 1;
72
+ }
73
+
74
+ message ListLocalizationsResponse {
75
+ repeated Localization localizations = 1;
76
+ }
77
+
78
+ message ListMigrationsResponse {
79
+ repeated Migration migrations = 1;
80
+ }
@@ -0,0 +1,78 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: v1/service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("v1/service.proto", :syntax => :proto3) do
8
+ add_message "schema.v1.GetFrontendRequest" do
9
+ optional :project_id, :int32, 1
10
+ end
11
+ add_message "schema.v1.GetFrontendResponse" do
12
+ optional :frontend, :message, 1, "schema.v1.Frontend"
13
+ end
14
+ add_message "schema.v1.GetBackendRequest" do
15
+ optional :project_id, :int32, 1
16
+ end
17
+ add_message "schema.v1.GetBackendResponse" do
18
+ optional :backend, :message, 1, "schema.v1.Backend"
19
+ end
20
+ add_message "schema.v1.ListTablesRequest" do
21
+ optional :project_id, :int32, 1
22
+ end
23
+ add_message "schema.v1.ListTablesResponse" do
24
+ repeated :tables, :message, 1, "schema.v1.Table"
25
+ end
26
+ add_message "schema.v1.ListMigrationsRequest" do
27
+ optional :project_id, :int32, 1
28
+ end
29
+ add_message "schema.v1.ListControllersRequest" do
30
+ optional :project_id, :int32, 1
31
+ end
32
+ add_message "schema.v1.ListControllersResponse" do
33
+ repeated :controllers, :message, 1, "schema.v1.Controller"
34
+ end
35
+ add_message "schema.v1.ListFeaturesRequest" do
36
+ optional :project_id, :int32, 1
37
+ end
38
+ add_message "schema.v1.ListFeaturesResponse" do
39
+ repeated :features, :message, 1, "schema.v1.Feature"
40
+ end
41
+ add_message "schema.v1.ListAuthorizationsRequest" do
42
+ optional :project_id, :int32, 1
43
+ end
44
+ add_message "schema.v1.ListAuthorizationsResponse" do
45
+ repeated :authorizations, :message, 1, "schema.v1.Authorization"
46
+ end
47
+ add_message "schema.v1.ListLocalizationsRequest" do
48
+ optional :project_id, :int32, 1
49
+ end
50
+ add_message "schema.v1.ListLocalizationsResponse" do
51
+ repeated :localizations, :message, 1, "schema.v1.Localization"
52
+ end
53
+ add_message "schema.v1.ListMigrationsResponse" do
54
+ repeated :migrations, :message, 1, "schema.v1.Migration"
55
+ end
56
+ end
57
+ end
58
+
59
+ module Schema
60
+ module V1
61
+ GetFrontendRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetFrontendRequest").msgclass
62
+ GetFrontendResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetFrontendResponse").msgclass
63
+ GetBackendRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetBackendRequest").msgclass
64
+ GetBackendResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetBackendResponse").msgclass
65
+ ListTablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListTablesRequest").msgclass
66
+ ListTablesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListTablesResponse").msgclass
67
+ ListMigrationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListMigrationsRequest").msgclass
68
+ ListControllersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListControllersRequest").msgclass
69
+ ListControllersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListControllersResponse").msgclass
70
+ ListFeaturesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListFeaturesRequest").msgclass
71
+ ListFeaturesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListFeaturesResponse").msgclass
72
+ ListAuthorizationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListAuthorizationsRequest").msgclass
73
+ ListAuthorizationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListAuthorizationsResponse").msgclass
74
+ ListLocalizationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListLocalizationsRequest").msgclass
75
+ ListLocalizationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListLocalizationsResponse").msgclass
76
+ ListMigrationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListMigrationsResponse").msgclass
77
+ end
78
+ end
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: v1/service.proto for package 'schema.v1'
3
+
4
+ require 'grpc'
5
+
6
+ module Schema
7
+ module V1
8
+ module CoreService
9
+ class Service
10
+
11
+ include ::GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'schema.v1.CoreService'
16
+
17
+ rpc :ListTables, ::Schema::V1::ListTablesRequest, ::Schema::V1::ListTablesResponse
18
+ rpc :ListControllers, ::Schema::V1::ListControllersRequest, ::Schema::V1::ListControllersResponse
19
+ rpc :ListFeatures, ::Schema::V1::ListFeaturesRequest, ::Schema::V1::ListFeaturesResponse
20
+ rpc :ListAuthorizations, ::Schema::V1::ListAuthorizationsRequest, ::Schema::V1::ListAuthorizationsResponse
21
+ rpc :ListLocalizations, ::Schema::V1::ListLocalizationsRequest, ::Schema::V1::ListLocalizationsResponse
22
+ rpc :GetFrontend, ::Schema::V1::GetFrontendRequest, ::Schema::V1::GetFrontendResponse
23
+ rpc :ListMigrations, ::Schema::V1::ListMigrationsRequest, ::Schema::V1::ListMigrationsResponse
24
+ rpc :GetBackend, ::Schema::V1::GetBackendRequest, ::Schema::V1::GetBackendResponse
25
+ end
26
+
27
+ Stub = Service.rpc_stub_class
28
+ end
29
+ end
30
+ end
data/lib/version.rb ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module JiteraProto
4
+ VERSION = "0.0.2"
5
+ end
data/sig/proto.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module JiteraProto
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end