jitera_proto 0.0.2 → 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: 0cdd106df02eea6fb11ed6f799258dff379026882d4821d516c0a22787a9b230
4
- data.tar.gz: 378b7f4e60a6d9a948ba97ba32b30721f089cb0cecb5cb18848b1ae98dec4e09
3
+ metadata.gz: 02e17bedeb354cf973d287a6caed26e38974f4a343c9144b1b872fc3ac46c51d
4
+ data.tar.gz: b4c748ff77a250da63766832413db8338b4e58f4cea753a6e282d421cbc111ce
5
5
  SHA512:
6
- metadata.gz: b3e19020c5aad4ca4fb2829bbf66ff50b38bbd40b9385dd6cb47ae1dd2000eb4912c612f713ec67fba49438f6bb5e906b2307d5a6ba07a7c76b8df2882135e9e
7
- data.tar.gz: 3dee93c81c74fe176490cce44629291466d4a1874f02cbe8647f9754b79679eea3e4d6d5d4e790facee5666a0d3a6c260b5f7e2253e6af7a370ccf084cdd0ca5
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
 
@@ -6,6 +6,9 @@ message Project {
6
6
  string project_name = 2;
7
7
  int32 project_id = 3;
8
8
  optional Infra infra = 4;
9
+ string time_zone = 5;
10
+ string default_language_code = 6;
11
+ repeated string language_codes = 7;
9
12
 
10
13
  oneof generate_type {
11
14
  ProjectExport project_export = 9;
@@ -222,14 +225,15 @@ message Feature {
222
225
  }
223
226
 
224
227
  enum FeatureName {
225
- EMAIL_LOGIN = 0;
226
- JP_BANKS_DATA = 1;
227
- BASIC_AUTH = 2;
228
- TWILIO_LOGIN = 3;
229
- ROLLBAR = 4;
230
- DEEP_LINK = 5;
231
- STRIPE = 6;
232
- LINE_LOGIN = 7;
228
+ NIL = 0;
229
+ EMAIL_LOGIN = 1;
230
+ JP_BANKS_DATA = 2;
231
+ BASIC_AUTH = 3;
232
+ TWILIO_LOGIN = 4;
233
+ ROLLBAR = 5;
234
+ DEEP_LINK = 6;
235
+ STRIPE = 7;
236
+ LINE_LOGIN = 8;
233
237
  }
234
238
 
235
239
  enum Environment {
@@ -10,6 +10,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  optional :project_name, :string, 2
11
11
  optional :project_id, :int32, 3
12
12
  proto3_optional :infra, :message, 4, "schema.v1.Infra"
13
+ optional :time_zone, :string, 5
14
+ optional :default_language_code, :string, 6
15
+ repeated :language_codes, :string, 7
13
16
  oneof :generate_type do
14
17
  optional :project_export, :message, 9, "schema.v1.ProjectExport"
15
18
  optional :project_preview, :message, 10, "schema.v1.ProjectPreview"
@@ -158,14 +161,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
158
161
  optional :secret_key, :string, 3
159
162
  end
160
163
  add_enum "schema.v1.Feature.FeatureName" do
161
- value :EMAIL_LOGIN, 0
162
- value :JP_BANKS_DATA, 1
163
- value :BASIC_AUTH, 2
164
- value :TWILIO_LOGIN, 3
165
- value :ROLLBAR, 4
166
- value :DEEP_LINK, 5
167
- value :STRIPE, 6
168
- value :LINE_LOGIN, 7
164
+ value :NIL, 0
165
+ value :EMAIL_LOGIN, 1
166
+ value :JP_BANKS_DATA, 2
167
+ value :BASIC_AUTH, 3
168
+ value :TWILIO_LOGIN, 4
169
+ value :ROLLBAR, 5
170
+ value :DEEP_LINK, 6
171
+ value :STRIPE, 7
172
+ value :LINE_LOGIN, 8
169
173
  end
170
174
  add_enum "schema.v1.Feature.Environment" do
171
175
  value :DEVELOPMENT, 0
@@ -3,8 +3,17 @@ package schema.v1;
3
3
 
4
4
  import "google/protobuf/struct.proto";
5
5
 
6
- message Frontend {
6
+ message WebApp {
7
7
  repeated AppPage app_pages = 1;
8
+ repeated Asset assets = 2;
9
+ }
10
+
11
+ message Asset {
12
+ string id = 1;
13
+ string url = 2;
14
+ string file_name = 3;
15
+ int32 file_size = 4;
16
+ string content_type = 5;
8
17
  }
9
18
 
10
19
  message AppPage {
@@ -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.2"
4
+ VERSION = "0.0.4"
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.2
4
+ version: 0.0.4
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-13 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc