jitera_proto 0.0.5 → 0.0.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c83b0d3c9276997cea6afa1a43492bcea067a7dcdc09d05269864d090f62ee8
4
- data.tar.gz: dc7f01360d2a3faf1abaac521167add5b83a6e97c50ae5792e6a69e500c38882
3
+ metadata.gz: d9b8c007094c72420cb6e6ad3274862fe0279cc15ae08d75a0466430991c9bcf
4
+ data.tar.gz: e0b61fa8a123eb812843bcc4ced41f908b5ca010a9e4ef836054139007202905
5
5
  SHA512:
6
- metadata.gz: c436ebd3294de9227fc8eebc64f19abb4b98a4a49011ab91083f4fc09ca5b6e0562d5f790ac82b9bb53aa3021fb7fdc679e70dcaeb7b027f7e9d1517759bf3c8
7
- data.tar.gz: 0f562321c103211c676b9519227d3a63fe289882e7739fa3ba9c46932b66124bcd5b1db38e6b3474702d2995f4ae8d7209f439c89857ebffb5f21883bf6daef2
6
+ metadata.gz: 8af41a6c5588b8acea1516e8f60812b3baa19dd8a5f8c34e4e44b51e8eafc84b27c74cf9a3d88beffd9736e1312a03ad2354dd14d9ca3dca71a972dac3c6a6ce
7
+ data.tar.gz: 444f5c02e1f92b3f7d85582e2008a7164b8f0e7b5910547640faea494135b42d79081efaa1bac61480e218c394f3fa8fec7b5e7895af254f74b9dd190c99127a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jitera_proto (0.0.4)
4
+ jitera_proto (0.0.7)
5
5
  google-protobuf (~> 3.21.12)
6
6
  grpc (~> 1.50.0)
7
7
 
@@ -267,6 +267,8 @@ message Controller {
267
267
  Response responses = 12;
268
268
  RequestContent params = 13;
269
269
  bool writable = 14;
270
+ optional string feature_action = 15;
271
+ optional string feature_table = 16;
270
272
 
271
273
  message List {
272
274
  RequestContent queries = 1;
@@ -189,6 +189,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
189
189
  optional :responses, :message, 12, "schema.v1.Controller.Response"
190
190
  optional :params, :message, 13, "schema.v1.Controller.RequestContent"
191
191
  optional :writable, :bool, 14
192
+ proto3_optional :feature_action, :string, 15
193
+ proto3_optional :feature_table, :string, 16
192
194
  oneof :resource do
193
195
  optional :table, :string, 3
194
196
  optional :feature, :enum, 4, "schema.v1.Feature.FeatureName"
@@ -6,6 +6,19 @@ import "google/protobuf/struct.proto";
6
6
  message WebApp {
7
7
  repeated AppPage app_pages = 1;
8
8
  repeated Asset assets = 2;
9
+ repeated Variable variables = 3;
10
+ repeated AppPageCategory categories = 4;
11
+
12
+ message Variable {
13
+ VariableType type = 1;
14
+ string name = 2;
15
+ string value = 3;
16
+ }
17
+
18
+ enum VariableType {
19
+ JS = 0;
20
+ CSS = 1;
21
+ }
9
22
  }
10
23
 
11
24
  message Asset {
@@ -22,6 +35,7 @@ message AppPage {
22
35
  string slug = 3;
23
36
  PageType page_type = 4;
24
37
  repeated PageNode nodes = 5;
38
+ string category_id = 6;
25
39
 
26
40
  enum PageType {
27
41
  SCREEN = 0;
@@ -29,6 +43,11 @@ message AppPage {
29
43
  }
30
44
  }
31
45
 
46
+ message AppPageCategory {
47
+ string id = 1;
48
+ string name = 2;
49
+ }
50
+
32
51
  message PageNode {
33
52
  string id = 1;
34
53
  string display_name = 2;
@@ -10,6 +10,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_message "schema.v1.WebApp" do
11
11
  repeated :app_pages, :message, 1, "schema.v1.AppPage"
12
12
  repeated :assets, :message, 2, "schema.v1.Asset"
13
+ repeated :variables, :message, 3, "schema.v1.WebApp.Variable"
14
+ repeated :categories, :message, 4, "schema.v1.AppPageCategory"
15
+ end
16
+ add_message "schema.v1.WebApp.Variable" do
17
+ optional :type, :enum, 1, "schema.v1.WebApp.VariableType"
18
+ optional :name, :string, 2
19
+ optional :value, :string, 3
20
+ end
21
+ add_enum "schema.v1.WebApp.VariableType" do
22
+ value :JS, 0
23
+ value :CSS, 1
13
24
  end
14
25
  add_message "schema.v1.Asset" do
15
26
  optional :id, :string, 1
@@ -24,11 +35,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
35
  optional :slug, :string, 3
25
36
  optional :page_type, :enum, 4, "schema.v1.AppPage.PageType"
26
37
  repeated :nodes, :message, 5, "schema.v1.PageNode"
38
+ optional :category_id, :string, 6
27
39
  end
28
40
  add_enum "schema.v1.AppPage.PageType" do
29
41
  value :SCREEN, 0
30
42
  value :MOLECULE, 1
31
43
  end
44
+ add_message "schema.v1.AppPageCategory" do
45
+ optional :id, :string, 1
46
+ optional :name, :string, 2
47
+ end
32
48
  add_message "schema.v1.PageNode" do
33
49
  optional :id, :string, 1
34
50
  optional :display_name, :string, 2
@@ -435,9 +451,12 @@ end
435
451
  module Schema
436
452
  module V1
437
453
  WebApp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebApp").msgclass
454
+ WebApp::Variable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebApp.Variable").msgclass
455
+ WebApp::VariableType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebApp.VariableType").enummodule
438
456
  Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Asset").msgclass
439
457
  AppPage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage").msgclass
440
458
  AppPage::PageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage.PageType").enummodule
459
+ AppPageCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPageCategory").msgclass
441
460
  PageNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.PageNode").msgclass
442
461
  WebNodeProps = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebNodeProps").msgclass
443
462
  WebNodeProps::TableColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebNodeProps.TableColumn").msgclass
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JiteraProto
4
- VERSION = "0.0.5"
4
+ VERSION = '0.0.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jitera_proto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - MQuy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-16 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc