jitera_proto 0.0.7 → 0.0.9
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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/payloads/v1/backend.proto +8 -1
- data/lib/payloads/v1/backend_pb.rb +8 -1
- data/lib/payloads/v1/frontend.proto +7 -0
- data/lib/payloads/v1/frontend_pb.rb +7 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 6c72945b714a10237fa29f57edad55cd7856861ce2ea18a5b50e7f50a13e8a73
         | 
| 4 | 
            +
              data.tar.gz: 70b60d0e8cc4a4ac35deef93b3e8c7a9a3b45f65f7e1fff5c566bdad42e8bba5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 2739b1df977960da9154479c2fdba0da8929d09612c8de1117693cfaaa28b36dced52185a1d5155034600c59bf9b298813fc4a953e37be2befebb6ea7369d54c
         | 
| 7 | 
            +
              data.tar.gz: 520928ef8dc48d8c26178e22ace576140bd71651441fd566ae5ad3d85037732c1fb6650cb88f04d413b1f417e2d9bd54678c338d759c2c89848af7692d5e42a4
         | 
    
        data/Gemfile.lock
    CHANGED
    
    
| @@ -157,6 +157,7 @@ message Feature { | |
| 157 157 | 
             
            		DeepLink deep_link = 8;
         | 
| 158 158 | 
             
            		Stripe stripe = 9;
         | 
| 159 159 | 
             
            		LineLogin line_login = 10;
         | 
| 160 | 
            +
            		GoogleAnalytics google_analytics = 11;
         | 
| 160 161 | 
             
            	}
         | 
| 161 162 |  | 
| 162 163 | 
             
            	message EmailLogin {
         | 
| @@ -224,6 +225,10 @@ message Feature { | |
| 224 225 | 
             
            		string secret_key = 3;
         | 
| 225 226 | 
             
            	}
         | 
| 226 227 |  | 
| 228 | 
            +
            	message GoogleAnalytics {
         | 
| 229 | 
            +
            		string measurement_id = 1;
         | 
| 230 | 
            +
            	}
         | 
| 231 | 
            +
             | 
| 227 232 | 
             
            	enum FeatureName {
         | 
| 228 233 | 
             
            		NIL = 0;
         | 
| 229 234 | 
             
            		EMAIL_LOGIN = 1;
         | 
| @@ -234,6 +239,7 @@ message Feature { | |
| 234 239 | 
             
            		DEEP_LINK = 6;
         | 
| 235 240 | 
             
            		STRIPE = 7;
         | 
| 236 241 | 
             
            		LINE_LOGIN = 8;
         | 
| 242 | 
            +
            		GOOGLE_ANALYTICS = 9;
         | 
| 237 243 | 
             
            	}
         | 
| 238 244 |  | 
| 239 245 | 
             
            	enum Environment {
         | 
| @@ -267,7 +273,8 @@ message Controller { | |
| 267 273 | 
             
            		Response responses = 12;
         | 
| 268 274 | 
             
            		RequestContent params = 13;
         | 
| 269 275 | 
             
            		bool writable = 14;
         | 
| 270 | 
            -
            		optional string  | 
| 276 | 
            +
            		optional string feature_action = 15;
         | 
| 277 | 
            +
            		optional string feature_table = 16;
         | 
| 271 278 |  | 
| 272 279 | 
             
            		message List {
         | 
| 273 280 | 
             
            			RequestContent queries = 1;
         | 
| @@ -101,6 +101,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 101 101 | 
             
                    optional :deep_link, :message, 8, "schema.v1.Feature.DeepLink"
         | 
| 102 102 | 
             
                    optional :stripe, :message, 9, "schema.v1.Feature.Stripe"
         | 
| 103 103 | 
             
                    optional :line_login, :message, 10, "schema.v1.Feature.LineLogin"
         | 
| 104 | 
            +
                    optional :google_analytics, :message, 11, "schema.v1.Feature.GoogleAnalytics"
         | 
| 104 105 | 
             
                  end
         | 
| 105 106 | 
             
                end
         | 
| 106 107 | 
             
                add_message "schema.v1.Feature.EmailLogin" do
         | 
| @@ -160,6 +161,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 160 161 | 
             
                  optional :client_id, :string, 2
         | 
| 161 162 | 
             
                  optional :secret_key, :string, 3
         | 
| 162 163 | 
             
                end
         | 
| 164 | 
            +
                add_message "schema.v1.Feature.GoogleAnalytics" do
         | 
| 165 | 
            +
                  optional :measurement_id, :string, 1
         | 
| 166 | 
            +
                end
         | 
| 163 167 | 
             
                add_enum "schema.v1.Feature.FeatureName" do
         | 
| 164 168 | 
             
                  value :NIL, 0
         | 
| 165 169 | 
             
                  value :EMAIL_LOGIN, 1
         | 
| @@ -170,6 +174,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 170 174 | 
             
                  value :DEEP_LINK, 6
         | 
| 171 175 | 
             
                  value :STRIPE, 7
         | 
| 172 176 | 
             
                  value :LINE_LOGIN, 8
         | 
| 177 | 
            +
                  value :GOOGLE_ANALYTICS, 9
         | 
| 173 178 | 
             
                end
         | 
| 174 179 | 
             
                add_enum "schema.v1.Feature.Environment" do
         | 
| 175 180 | 
             
                  value :DEVELOPMENT, 0
         | 
| @@ -189,7 +194,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 189 194 | 
             
                  optional :responses, :message, 12, "schema.v1.Controller.Response"
         | 
| 190 195 | 
             
                  optional :params, :message, 13, "schema.v1.Controller.RequestContent"
         | 
| 191 196 | 
             
                  optional :writable, :bool, 14
         | 
| 192 | 
            -
                  proto3_optional : | 
| 197 | 
            +
                  proto3_optional :feature_action, :string, 15
         | 
| 198 | 
            +
                  proto3_optional :feature_table, :string, 16
         | 
| 193 199 | 
             
                  oneof :resource do
         | 
| 194 200 | 
             
                    optional :table, :string, 3
         | 
| 195 201 | 
             
                    optional :feature, :enum, 4, "schema.v1.Feature.FeatureName"
         | 
| @@ -731,6 +737,7 @@ module Schema | |
| 731 737 | 
             
                Feature::DeepLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Feature.DeepLink").msgclass
         | 
| 732 738 | 
             
                Feature::Stripe = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Feature.Stripe").msgclass
         | 
| 733 739 | 
             
                Feature::LineLogin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Feature.LineLogin").msgclass
         | 
| 740 | 
            +
                Feature::GoogleAnalytics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Feature.GoogleAnalytics").msgclass
         | 
| 734 741 | 
             
                Feature::FeatureName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Feature.FeatureName").enummodule
         | 
| 735 742 | 
             
                Feature::Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Feature.Environment").enummodule
         | 
| 736 743 | 
             
                Controller = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Controller").msgclass
         | 
| @@ -7,6 +7,7 @@ message WebApp { | |
| 7 7 | 
             
            	repeated AppPage app_pages = 1;
         | 
| 8 8 | 
             
            	repeated Asset assets = 2;
         | 
| 9 9 | 
             
            	repeated Variable variables = 3;
         | 
| 10 | 
            +
            	repeated AppPageCategory categories = 4;
         | 
| 10 11 |  | 
| 11 12 | 
             
            	message Variable {
         | 
| 12 13 | 
             
            		VariableType type = 1;
         | 
| @@ -34,6 +35,7 @@ message AppPage { | |
| 34 35 | 
             
            	string slug = 3;
         | 
| 35 36 | 
             
            	PageType page_type = 4;
         | 
| 36 37 | 
             
            	repeated PageNode nodes = 5;
         | 
| 38 | 
            +
            	string category_id = 6;
         | 
| 37 39 |  | 
| 38 40 | 
             
            	enum PageType {
         | 
| 39 41 | 
             
            		SCREEN = 0;
         | 
| @@ -41,6 +43,11 @@ message AppPage { | |
| 41 43 | 
             
            	}
         | 
| 42 44 | 
             
            }
         | 
| 43 45 |  | 
| 46 | 
            +
            message AppPageCategory {
         | 
| 47 | 
            +
            	string id = 1;
         | 
| 48 | 
            +
            	string name = 2;
         | 
| 49 | 
            +
            }
         | 
| 50 | 
            +
             | 
| 44 51 | 
             
            message PageNode {
         | 
| 45 52 | 
             
            	string id = 1;
         | 
| 46 53 | 
             
            	string display_name = 2;
         | 
| @@ -11,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 11 11 | 
             
                  repeated :app_pages, :message, 1, "schema.v1.AppPage"
         | 
| 12 12 | 
             
                  repeated :assets, :message, 2, "schema.v1.Asset"
         | 
| 13 13 | 
             
                  repeated :variables, :message, 3, "schema.v1.WebApp.Variable"
         | 
| 14 | 
            +
                  repeated :categories, :message, 4, "schema.v1.AppPageCategory"
         | 
| 14 15 | 
             
                end
         | 
| 15 16 | 
             
                add_message "schema.v1.WebApp.Variable" do
         | 
| 16 17 | 
             
                  optional :type, :enum, 1, "schema.v1.WebApp.VariableType"
         | 
| @@ -34,11 +35,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 34 35 | 
             
                  optional :slug, :string, 3
         | 
| 35 36 | 
             
                  optional :page_type, :enum, 4, "schema.v1.AppPage.PageType"
         | 
| 36 37 | 
             
                  repeated :nodes, :message, 5, "schema.v1.PageNode"
         | 
| 38 | 
            +
                  optional :category_id, :string, 6
         | 
| 37 39 | 
             
                end
         | 
| 38 40 | 
             
                add_enum "schema.v1.AppPage.PageType" do
         | 
| 39 41 | 
             
                  value :SCREEN, 0
         | 
| 40 42 | 
             
                  value :MOLECULE, 1
         | 
| 41 43 | 
             
                end
         | 
| 44 | 
            +
                add_message "schema.v1.AppPageCategory" do
         | 
| 45 | 
            +
                  optional :id, :string, 1
         | 
| 46 | 
            +
                  optional :name, :string, 2
         | 
| 47 | 
            +
                end
         | 
| 42 48 | 
             
                add_message "schema.v1.PageNode" do
         | 
| 43 49 | 
             
                  optional :id, :string, 1
         | 
| 44 50 | 
             
                  optional :display_name, :string, 2
         | 
| @@ -450,6 +456,7 @@ module Schema | |
| 450 456 | 
             
                Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Asset").msgclass
         | 
| 451 457 | 
             
                AppPage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage").msgclass
         | 
| 452 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
         | 
| 453 460 | 
             
                PageNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.PageNode").msgclass
         | 
| 454 461 | 
             
                WebNodeProps = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebNodeProps").msgclass
         | 
| 455 462 | 
             
                WebNodeProps::TableColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebNodeProps.TableColumn").msgclass
         | 
    
        data/lib/version.rb
    CHANGED
    
    
    
        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. | 
| 4 | 
            +
              version: 0.0.9
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - MQuy
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-03-01 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: grpc
         |