wikipaddle_api 1.1.0 → 1.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95ade0dc3a4acd2ea2ad70f5472f1837e251e8a9c129b45531f696bd0ed6185b
|
4
|
+
data.tar.gz: 7679769a7f30e02e98a504f8cd0d67134d85760c9c3abbc43d60c10ed8891e5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 822f8dc3cef6c3c1d894291ce3cff6e8cc7581574cbc775147542247fea5fbe80a5d7990ce98892f7fde9bad75c73a6dd86fa4e1d260e14eb7175c2fe74bd140
|
7
|
+
data.tar.gz: 2adf23a8f2ed17a2b8ba86c34e98f1a7148198911ae390fe2725f7f65ec18b831339c334abb0ac846dbdf6171eb4c55afd41f71749ccda4b1ec3a7f8aa8c6242
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n\x16public/v1/mobile.proto\x12\x18wikipaddle_api.public.v1\"0\n\x1aGetGuidesCollectionRequest\x12\x12\n\x04page\x18\x01 \x01(\x05R\x04page\"\xaa\x01\n\x1bGetGuidesCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x45\n\x06guides\x18\x02 \x03(\x0b\x32-.wikipaddle_api.public.v1.GuideCollectionItemR\x06guides\",\n\x18GuideCollectionItemPhoto\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url\"\x85\x02\n\x13GuideCollectionItem\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x18\n\x07\x63ountry\x18\x03 \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\x04 \x01(\tR\x05state\x12,\n\x11localizedDistance\x18\x05 \x01(\tR\x11localizedDistance\x12\x1e\n\nstarRating\x18\x06 \x01(\tR\nstarRating\x12J\n\x06photos\x18\x07 \x03(\x0b\x32\x32.wikipaddle_api.public.v1.GuideCollectionItemPhotoR\x06photos\"\x17\n\x15GetCurrentUserRequest\"\x8c\x01\n\nPagination\x12 \n\x0b\x63urrentPage\x18\x01 \x01(\x05R\x0b\x63urrentPage\x12\x18\n\x07perPage\x18\x02 \x01(\x05R\x07perPage\x12\"\n\x0ctotalResults\x18\x03 \x01(\x05R\x0ctotalResults\x12\x1e\n\ntotalPages\x18\x04 \x01(\x05R\ntotalPages\"\x1d\n\x0bUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8a\x01\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\tfirstName\x18\x02 \x01(\tR\tfirstName\x12\x1a\n\x08lastName\x18\x03 \x01(\tR\x08lastName\x12\x1a\n\x08\x66ullName\x18\x04 \x01(\tR\x08\x66ullName\x12\x1c\n\tavatarUrl\x18\x05 \x01(\tR\tavatarUrl\"B\n\x0cUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32\x1e.wikipaddle_api.public.v1.UserR\x04user\"\x1e\n\x0cGuideRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"F\n\rGuideResponse\x12\x35\n\x05guide\x18\x01 \x01(\x0b\x32\x1f.wikipaddle_api.public.v1.GuideR\x05guide\"B\n\x06LatLng\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"\xc9\x03\n\x05Guide\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x42\n\x0bstartLatLng\x18\x06 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x0bstartLatLng\x12>\n\tendLatLng\x18\x07 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x08 \x01(\x0cR\x08polyline\x12\x18\n\x07\x63ountry\x18\t \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\n \x01(\tR\x05state\x12,\n\x11localizedDistance\x18\x0b \x01(\tR\x11localizedDistance\x12$\n\rcommentsCount\x18\x0c \x01(\x05R\rcommentsCount\x12\"\n\x0cuploadsCount\x18\r \x01(\x05R\x0cuploadsCount\x12\x1e\n\nstarRating\x18\x0e \x01(\tR\nstarRating\"\xd5\x01\n\x0f\x46itnessActivity\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x42\n\x0bstartLatLng\x18\x03 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x0bstartLatLng\x12>\n\tendLatLng\x18\x04 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x05 \x01(\x0cR\x08polyline\"\xba\x01\n\x0cGuideComment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12\"\n\x0cuserFullName\x18\x03 \x01(\tR\x0cuserFullName\x12$\n\ruserAvatarUrl\x18\x04 \x01(\tR\ruserAvatarUrl\x12\x1c\n\tcreatedAt\x18\x05 \x01(\tR\tcreatedAt\x12\x1e\n\nstarRating\x18\x06 \x01(\x05R\nstarRating\"Q\n!GetGuideCommentsCollectionRequest\x12\x18\n\x07guideId\x18\x01 \x01(\tR\x07guideId\x12\x12\n\x04page\x18\x02 \x01(\x05R\x04page\"\xae\x01\n\"GetGuideCommentsCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x42\n\x08\x63omments\x18\x02 \x03(\x0b\x32&.wikipaddle_api.public.v1.GuideCommentR\x08\x63omments\"i\n\x19\x43reateGuideCommentRequest\x12\x18\n\x07guideId\x18\x01 \x01(\tR\x07guideId\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12\x1e\n\nstarRating\x18\x03 \x01(\x05R\nstarRating2\
|
8
|
+
descriptor_data = "\n\x16public/v1/mobile.proto\x12\x18wikipaddle_api.public.v1\"?\n\x1bGetFeatureFlagStatusRequest\x12 \n\x0b\x66\x65\x61tureName\x18\x01 \x01(\tR\x0b\x66\x65\x61tureName\"8\n\x1cGetFeatureFlagStatusResponse\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\"0\n\x1aGetGuidesCollectionRequest\x12\x12\n\x04page\x18\x01 \x01(\x05R\x04page\"\xaa\x01\n\x1bGetGuidesCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x45\n\x06guides\x18\x02 \x03(\x0b\x32-.wikipaddle_api.public.v1.GuideCollectionItemR\x06guides\",\n\x18GuideCollectionItemPhoto\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url\"\x85\x02\n\x13GuideCollectionItem\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x18\n\x07\x63ountry\x18\x03 \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\x04 \x01(\tR\x05state\x12,\n\x11localizedDistance\x18\x05 \x01(\tR\x11localizedDistance\x12\x1e\n\nstarRating\x18\x06 \x01(\tR\nstarRating\x12J\n\x06photos\x18\x07 \x03(\x0b\x32\x32.wikipaddle_api.public.v1.GuideCollectionItemPhotoR\x06photos\"\x17\n\x15GetCurrentUserRequest\"\x8c\x01\n\nPagination\x12 \n\x0b\x63urrentPage\x18\x01 \x01(\x05R\x0b\x63urrentPage\x12\x18\n\x07perPage\x18\x02 \x01(\x05R\x07perPage\x12\"\n\x0ctotalResults\x18\x03 \x01(\x05R\x0ctotalResults\x12\x1e\n\ntotalPages\x18\x04 \x01(\x05R\ntotalPages\"\x1d\n\x0bUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8a\x01\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\tfirstName\x18\x02 \x01(\tR\tfirstName\x12\x1a\n\x08lastName\x18\x03 \x01(\tR\x08lastName\x12\x1a\n\x08\x66ullName\x18\x04 \x01(\tR\x08\x66ullName\x12\x1c\n\tavatarUrl\x18\x05 \x01(\tR\tavatarUrl\"B\n\x0cUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32\x1e.wikipaddle_api.public.v1.UserR\x04user\"\x1e\n\x0cGuideRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"F\n\rGuideResponse\x12\x35\n\x05guide\x18\x01 \x01(\x0b\x32\x1f.wikipaddle_api.public.v1.GuideR\x05guide\"B\n\x06LatLng\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"\xc9\x03\n\x05Guide\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x42\n\x0bstartLatLng\x18\x06 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x0bstartLatLng\x12>\n\tendLatLng\x18\x07 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x08 \x01(\x0cR\x08polyline\x12\x18\n\x07\x63ountry\x18\t \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\n \x01(\tR\x05state\x12,\n\x11localizedDistance\x18\x0b \x01(\tR\x11localizedDistance\x12$\n\rcommentsCount\x18\x0c \x01(\x05R\rcommentsCount\x12\"\n\x0cuploadsCount\x18\r \x01(\x05R\x0cuploadsCount\x12\x1e\n\nstarRating\x18\x0e \x01(\tR\nstarRating\"\xd5\x01\n\x0f\x46itnessActivity\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x42\n\x0bstartLatLng\x18\x03 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x0bstartLatLng\x12>\n\tendLatLng\x18\x04 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x05 \x01(\x0cR\x08polyline\"\xba\x01\n\x0cGuideComment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12\"\n\x0cuserFullName\x18\x03 \x01(\tR\x0cuserFullName\x12$\n\ruserAvatarUrl\x18\x04 \x01(\tR\ruserAvatarUrl\x12\x1c\n\tcreatedAt\x18\x05 \x01(\tR\tcreatedAt\x12\x1e\n\nstarRating\x18\x06 \x01(\x05R\nstarRating\"Q\n!GetGuideCommentsCollectionRequest\x12\x18\n\x07guideId\x18\x01 \x01(\tR\x07guideId\x12\x12\n\x04page\x18\x02 \x01(\x05R\x04page\"\xae\x01\n\"GetGuideCommentsCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x42\n\x08\x63omments\x18\x02 \x03(\x0b\x32&.wikipaddle_api.public.v1.GuideCommentR\x08\x63omments\"i\n\x19\x43reateGuideCommentRequest\x12\x18\n\x07guideId\x18\x01 \x01(\tR\x07guideId\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12\x1e\n\nstarRating\x18\x03 \x01(\x05R\nstarRating2\xc4\x06\n\x06Mobile\x12X\n\x07GetUser\x12%.wikipaddle_api.public.v1.UserRequest\x1a&.wikipaddle_api.public.v1.UserResponse\x12[\n\x08GetGuide\x12&.wikipaddle_api.public.v1.GuideRequest\x1a\'.wikipaddle_api.public.v1.GuideResponse\x12\x82\x01\n\x13GetGuidesCollection\x12\x34.wikipaddle_api.public.v1.GetGuidesCollectionRequest\x1a\x35.wikipaddle_api.public.v1.GetGuidesCollectionResponse\x12i\n\x0eGetCurrentUser\x12/.wikipaddle_api.public.v1.GetCurrentUserRequest\x1a&.wikipaddle_api.public.v1.UserResponse\x12\x97\x01\n\x1aGetGuideCommentsCollection\x12;.wikipaddle_api.public.v1.GetGuideCommentsCollectionRequest\x1a<.wikipaddle_api.public.v1.GetGuideCommentsCollectionResponse\x12q\n\x12\x43reateGuideComment\x12\x33.wikipaddle_api.public.v1.CreateGuideCommentRequest\x1a&.wikipaddle_api.public.v1.GuideComment\x12\x85\x01\n\x14GetFeatureFlagStatus\x12\x35.wikipaddle_api.public.v1.GetFeatureFlagStatusRequest\x1a\x36.wikipaddle_api.public.v1.GetFeatureFlagStatusResponseB\xec\x01\n\x1c\x63om.wikipaddle_api.public.v1B\x0bMobileProtoP\x01Z?github.com/wikipaddle/protobuf/go-wikipaddle/public/v1;publicv1\xa2\x02\x03WPX\xaa\x02\x17WikipaddleApi.Public.V1\xca\x02\x18WikipaddleApi\\Public_\\V1\xe2\x02$WikipaddleApi\\Public_\\V1\\GPBMetadata\xea\x02\x19WikipaddleApi::Public::V1b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -34,6 +34,8 @@ end
|
|
34
34
|
module WikipaddleApi
|
35
35
|
module Public
|
36
36
|
module V1
|
37
|
+
GetFeatureFlagStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetFeatureFlagStatusRequest").msgclass
|
38
|
+
GetFeatureFlagStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetFeatureFlagStatusResponse").msgclass
|
37
39
|
GetGuidesCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetGuidesCollectionRequest").msgclass
|
38
40
|
GetGuidesCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetGuidesCollectionResponse").msgclass
|
39
41
|
GuideCollectionItemPhoto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GuideCollectionItemPhoto").msgclass
|
@@ -14,6 +14,7 @@ module WikipaddleApi
|
|
14
14
|
rpc :GetCurrentUser, GetCurrentUserRequest, UserResponse, :ruby_method => :get_current_user
|
15
15
|
rpc :GetGuideCommentsCollection, GetGuideCommentsCollectionRequest, GetGuideCommentsCollectionResponse, :ruby_method => :get_guide_comments_collection
|
16
16
|
rpc :CreateGuideComment, CreateGuideCommentRequest, GuideComment, :ruby_method => :create_guide_comment
|
17
|
+
rpc :GetFeatureFlagStatus, GetFeatureFlagStatusRequest, GetFeatureFlagStatusResponse, :ruby_method => :get_feature_flag_status
|
17
18
|
end
|
18
19
|
|
19
20
|
class MobileClient < ::Twirp::Client
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wikipaddle_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Drummond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|