jitera_proto 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9674a5f5139c62aa9f7024c8bc1cc6872480346d7033d9917f561d4997b816a8
4
- data.tar.gz: a5f3dba8c817c973f09a6621742552d16980670a0ac6795f3f4e1b90af4af90c
3
+ metadata.gz: 02e17bedeb354cf973d287a6caed26e38974f4a343c9144b1b872fc3ac46c51d
4
+ data.tar.gz: b4c748ff77a250da63766832413db8338b4e58f4cea753a6e282d421cbc111ce
5
5
  SHA512:
6
- metadata.gz: c1219995e5ca797ec31b3ec85d0d264c14b0f9e25495ebd0058e0953ef64594a8165d54bd777b8fb1a1643d1318d6eb94011e4f1020d29ff832f929560969db9
7
- data.tar.gz: 8cb96104f5bd9095d0a7f86001d33f0843bc8cdfd92dadc112932356ed32620ac22fefc48f322b445f3ab62d1cb213817242a5ca3ee02130d485371752a3c439
6
+ metadata.gz: 2075c1500240e20974232eeb08f2fb1acbfac617002e341146970fd2d974472feeb97ee3ee5a4bb81896d83c8f1a83f1bf0d8d81dd8d06f3d5823b167ea51439
7
+ data.tar.gz: f5d7527c18bde1f95b74b6ca94fd742612d34c0b329c6adf94ceefdde13fd27e8cb7cd4849ed451948177269c7df26958a51a3fe0fe7a0a27cebdfe96cd7e16d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jitera_proto (0.0.2)
4
+ jitera_proto (0.0.3)
5
5
  google-protobuf (~> 3.21.12)
6
6
  grpc (~> 1.50.0)
7
7
 
@@ -7,8 +7,16 @@ require 'google/protobuf/struct_pb'
7
7
 
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("v1/frontend.proto", :syntax => :proto3) do
10
- add_message "schema.v1.Frontend" do
10
+ add_message "schema.v1.WebApp" do
11
11
  repeated :app_pages, :message, 1, "schema.v1.AppPage"
12
+ repeated :assets, :message, 2, "schema.v1.Asset"
13
+ end
14
+ add_message "schema.v1.Asset" do
15
+ optional :id, :string, 1
16
+ optional :url, :string, 2
17
+ optional :file_name, :string, 3
18
+ optional :file_size, :int32, 4
19
+ optional :content_type, :string, 5
12
20
  end
13
21
  add_message "schema.v1.AppPage" do
14
22
  optional :id, :string, 1
@@ -426,7 +434,8 @@ end
426
434
 
427
435
  module Schema
428
436
  module V1
429
- Frontend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Frontend").msgclass
437
+ WebApp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.WebApp").msgclass
438
+ Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.Asset").msgclass
430
439
  AppPage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage").msgclass
431
440
  AppPage::PageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.AppPage.PageType").enummodule
432
441
  PageNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.PageNode").msgclass
@@ -10,17 +10,17 @@ service CoreService {
10
10
  rpc ListFeatures (ListFeaturesRequest) returns (ListFeaturesResponse) {}
11
11
  rpc ListAuthorizations (ListAuthorizationsRequest) returns (ListAuthorizationsResponse) {}
12
12
  rpc ListLocalizations (ListLocalizationsRequest) returns (ListLocalizationsResponse) {}
13
- rpc GetFrontend (GetFrontendRequest) returns (GetFrontendResponse) {}
13
+ rpc GetWebApp (GetWebAppRequest) returns (GetWebAppResponse) {}
14
14
  rpc ListMigrations (ListMigrationsRequest) returns (ListMigrationsResponse) {}
15
15
  rpc GetBackend (GetBackendRequest) returns (GetBackendResponse) {}
16
16
  }
17
17
 
18
- message GetFrontendRequest {
18
+ message GetWebAppRequest {
19
19
  int32 project_id = 1;
20
20
  }
21
21
 
22
- message GetFrontendResponse {
23
- Frontend frontend = 1;
22
+ message GetWebAppResponse {
23
+ WebApp web_app = 1;
24
24
  }
25
25
 
26
26
  message GetBackendRequest {
@@ -3,13 +3,16 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'v1/backend_pb'
7
+ require 'v1/frontend_pb'
8
+
6
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
10
  add_file("v1/service.proto", :syntax => :proto3) do
8
- add_message "schema.v1.GetFrontendRequest" do
11
+ add_message "schema.v1.GetWebAppRequest" do
9
12
  optional :project_id, :int32, 1
10
13
  end
11
- add_message "schema.v1.GetFrontendResponse" do
12
- optional :frontend, :message, 1, "schema.v1.Frontend"
14
+ add_message "schema.v1.GetWebAppResponse" do
15
+ optional :web_app, :message, 1, "schema.v1.WebApp"
13
16
  end
14
17
  add_message "schema.v1.GetBackendRequest" do
15
18
  optional :project_id, :int32, 1
@@ -58,8 +61,8 @@ end
58
61
 
59
62
  module Schema
60
63
  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
64
+ GetWebAppRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetWebAppRequest").msgclass
65
+ GetWebAppResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetWebAppResponse").msgclass
63
66
  GetBackendRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetBackendRequest").msgclass
64
67
  GetBackendResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.GetBackendResponse").msgclass
65
68
  ListTablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("schema.v1.ListTablesRequest").msgclass
@@ -2,6 +2,7 @@
2
2
  # Source: v1/service.proto for package 'schema.v1'
3
3
 
4
4
  require 'grpc'
5
+ require 'v1/service_pb'
5
6
 
6
7
  module Schema
7
8
  module V1
@@ -19,7 +20,7 @@ module Schema
19
20
  rpc :ListFeatures, ::Schema::V1::ListFeaturesRequest, ::Schema::V1::ListFeaturesResponse
20
21
  rpc :ListAuthorizations, ::Schema::V1::ListAuthorizationsRequest, ::Schema::V1::ListAuthorizationsResponse
21
22
  rpc :ListLocalizations, ::Schema::V1::ListLocalizationsRequest, ::Schema::V1::ListLocalizationsResponse
22
- rpc :GetFrontend, ::Schema::V1::GetFrontendRequest, ::Schema::V1::GetFrontendResponse
23
+ rpc :GetWebApp, ::Schema::V1::GetWebAppRequest, ::Schema::V1::GetWebAppResponse
23
24
  rpc :ListMigrations, ::Schema::V1::ListMigrationsRequest, ::Schema::V1::ListMigrationsResponse
24
25
  rpc :GetBackend, ::Schema::V1::GetBackendRequest, ::Schema::V1::GetBackendResponse
25
26
  end
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.3"
4
+ VERSION = "0.0.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jitera_proto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MQuy