statelydb 0.25.0 → 0.25.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 +4 -4
- data/lib/api/db/service_pb.rb +1 -2
- data/lib/api/db/service_services_pb.rb +0 -6
- data/lib/uuid.rb +1 -1
- data/rbi/db/get_pb.rbi +12 -18
- data/rbi/db/list_pb.rbi +12 -18
- data/rbi/db/put_pb.rbi +12 -18
- data/rbi/db/scan_pb.rbi +12 -15
- data/rbi/db/service_services_pb.rbi +0 -13
- data/rbi/statelydb.rbi +1 -1
- data/sig/statelydb.rbs +1 -4
- metadata +2 -3
- data/lib/api/db/scan_root_paths_pb.rb +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2afa0f57ac8e3e48e3bfc605c855453e270bdcf4f719d8716bfc9dcfb9c7170
|
4
|
+
data.tar.gz: e71fb31a96e05936f742348c8d73f1d3f1a29cf44c5bad5ec71f8d9dd29d5555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af82e33028be9c4a331474c7922c15b35dc180d67f1f81c631815570b2dc8ae8e8bfe6945f124410d038d82ebe8eaa44d408a20bac4934d004dde5e062d9ca4e
|
7
|
+
data.tar.gz: 8efef85c54caf659344db4a544b2c126653643171dbad0a8dbf687d8515965fd3d4f6b3ce419e3072ef2f1676b2e2c6c2d6f532f0361afedf8802e405167798f
|
data/lib/api/db/service_pb.rb
CHANGED
@@ -11,12 +11,11 @@ require 'api/db/get_pb'
|
|
11
11
|
require 'api/db/list_pb'
|
12
12
|
require 'api/db/put_pb'
|
13
13
|
require 'api/db/scan_pb'
|
14
|
-
require 'api/db/scan_root_paths_pb'
|
15
14
|
require 'api/db/sync_list_pb'
|
16
15
|
require 'api/db/transaction_pb'
|
17
16
|
|
18
17
|
|
19
|
-
descriptor_data = "\n\x10\x64\x62/service.proto\x12\nstately.db\x1a\x16\x64\x62/continue_list.proto\x1a\x16\x64\x62/continue_scan.proto\x1a\x0f\x64\x62/delete.proto\x1a\x0c\x64\x62/get.proto\x1a\rdb/list.proto\x1a\x0c\x64\x62/put.proto\x1a\rdb/scan.proto\x1a\
|
18
|
+
descriptor_data = "\n\x10\x64\x62/service.proto\x12\nstately.db\x1a\x16\x64\x62/continue_list.proto\x1a\x16\x64\x62/continue_scan.proto\x1a\x0f\x64\x62/delete.proto\x1a\x0c\x64\x62/get.proto\x1a\rdb/list.proto\x1a\x0c\x64\x62/put.proto\x1a\rdb/scan.proto\x1a\x12\x64\x62/sync_list.proto\x1a\x14\x64\x62/transaction.proto2\xb1\x05\n\x0f\x44\x61tabaseService\x12;\n\x03Put\x12\x16.stately.db.PutRequest\x1a\x17.stately.db.PutResponse\"\x03\x90\x02\x02\x12;\n\x03Get\x12\x16.stately.db.GetRequest\x1a\x17.stately.db.GetResponse\"\x03\x90\x02\x01\x12\x44\n\x06\x44\x65lete\x12\x19.stately.db.DeleteRequest\x1a\x1a.stately.db.DeleteResponse\"\x03\x90\x02\x02\x12J\n\tBeginList\x12\x1c.stately.db.BeginListRequest\x1a\x18.stately.db.ListResponse\"\x03\x90\x02\x01\x30\x01\x12P\n\x0c\x43ontinueList\x12\x1f.stately.db.ContinueListRequest\x1a\x18.stately.db.ListResponse\"\x03\x90\x02\x01\x30\x01\x12J\n\tBeginScan\x12\x1c.stately.db.BeginScanRequest\x1a\x18.stately.db.ListResponse\"\x03\x90\x02\x01\x30\x01\x12P\n\x0c\x43ontinueScan\x12\x1f.stately.db.ContinueScanRequest\x1a\x18.stately.db.ListResponse\"\x03\x90\x02\x01\x30\x01\x12L\n\x08SyncList\x12\x1b.stately.db.SyncListRequest\x1a\x1c.stately.db.SyncListResponse\"\x03\x90\x02\x01\x30\x01\x12T\n\x0bTransaction\x12\x1e.stately.db.TransactionRequest\x1a\x1f.stately.db.TransactionResponse\"\x00(\x01\x30\x01\x42g\n\x0e\x63om.stately.dbB\x0cServiceProtoP\x01\xa2\x02\x03SDX\xaa\x02\nStately.Db\xca\x02\nStately\\Db\xe2\x02\x16Stately\\Db\\GPBMetadata\xea\x02\x0bStately::Dbb\x06proto3"
|
20
19
|
|
21
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
21
|
pool.add_serialized_file(descriptor_data)
|
@@ -105,12 +105,6 @@ module Stately
|
|
105
105
|
# fail if another transaction commits before this one finishes - in that
|
106
106
|
# case, you should retry your transaction.
|
107
107
|
rpc :Transaction, stream(::Stately::Db::TransactionRequest), stream(::Stately::Db::TransactionResponse)
|
108
|
-
# ScanRootPaths lists root paths (Groups) in the Store. This is a very
|
109
|
-
# expensive operation, as it must consult multiple partitions and it reads
|
110
|
-
# and ignores a lot of data. It is provided for use in the web console's data
|
111
|
-
# browser and is not exposed to customers. This operation will fail if the
|
112
|
-
# caller does not have permission to read Items.
|
113
|
-
rpc :ScanRootPaths, ::Stately::Db::ScanRootPathsRequest, ::Stately::Db::ScanRootPathsResponse
|
114
108
|
end
|
115
109
|
|
116
110
|
Stub = Service.rpc_stub_class
|
data/lib/uuid.rb
CHANGED
@@ -19,7 +19,7 @@ module StatelyDB
|
|
19
19
|
to_str
|
20
20
|
end
|
21
21
|
|
22
|
-
# to_str returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096")
|
22
|
+
# to_str returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096").
|
23
23
|
#
|
24
24
|
# Note: to_str is a type coercion method that is called by Ruby when an object is coerced to a string.
|
25
25
|
# @return [String]
|
data/rbi/db/get_pb.rbi
CHANGED
@@ -81,32 +81,26 @@ class Stately::Db::GetRequest
|
|
81
81
|
def clear_allow_stale
|
82
82
|
end
|
83
83
|
|
84
|
-
# schema_version_id
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
# set this manually as your generated SDK should know its schema version
|
89
|
-
# and wire this in for you.
|
84
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
85
|
+
# items. If there is no version with this ID, the operation will error with
|
86
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
87
|
+
# your generated SDK should know its schema version and wire this in for you.
|
90
88
|
sig { returns(Integer) }
|
91
89
|
def schema_version_id
|
92
90
|
end
|
93
91
|
|
94
|
-
# schema_version_id
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
# set this manually as your generated SDK should know its schema version
|
99
|
-
# and wire this in for you.
|
92
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
93
|
+
# items. If there is no version with this ID, the operation will error with
|
94
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
95
|
+
# your generated SDK should know its schema version and wire this in for you.
|
100
96
|
sig { params(value: Integer).void }
|
101
97
|
def schema_version_id=(value)
|
102
98
|
end
|
103
99
|
|
104
|
-
# schema_version_id
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# set this manually as your generated SDK should know its schema version
|
109
|
-
# and wire this in for you.
|
100
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
101
|
+
# items. If there is no version with this ID, the operation will error with
|
102
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
103
|
+
# your generated SDK should know its schema version and wire this in for you.
|
110
104
|
sig { void }
|
111
105
|
def clear_schema_version_id
|
112
106
|
end
|
data/rbi/db/list_pb.rbi
CHANGED
@@ -150,32 +150,26 @@ class Stately::Db::BeginListRequest
|
|
150
150
|
def clear_sort_direction
|
151
151
|
end
|
152
152
|
|
153
|
-
# schema_version_id
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
# set this manually as your generated SDK should know its schema version
|
158
|
-
# and wire this in for you.
|
153
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
154
|
+
# items. If there is no version with this ID, the operation will error with
|
155
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
156
|
+
# your generated SDK should know its schema version and wire this in for you.
|
159
157
|
sig { returns(Integer) }
|
160
158
|
def schema_version_id
|
161
159
|
end
|
162
160
|
|
163
|
-
# schema_version_id
|
164
|
-
#
|
165
|
-
#
|
166
|
-
#
|
167
|
-
# set this manually as your generated SDK should know its schema version
|
168
|
-
# and wire this in for you.
|
161
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
162
|
+
# items. If there is no version with this ID, the operation will error with
|
163
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
164
|
+
# your generated SDK should know its schema version and wire this in for you.
|
169
165
|
sig { params(value: Integer).void }
|
170
166
|
def schema_version_id=(value)
|
171
167
|
end
|
172
168
|
|
173
|
-
# schema_version_id
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
# set this manually as your generated SDK should know its schema version
|
178
|
-
# and wire this in for you.
|
169
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
170
|
+
# items. If there is no version with this ID, the operation will error with
|
171
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
172
|
+
# your generated SDK should know its schema version and wire this in for you.
|
179
173
|
sig { void }
|
180
174
|
def clear_schema_version_id
|
181
175
|
end
|
data/rbi/db/put_pb.rbi
CHANGED
@@ -55,32 +55,26 @@ class Stately::Db::PutRequest
|
|
55
55
|
def clear_puts
|
56
56
|
end
|
57
57
|
|
58
|
-
# schema_version_id
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
# as your generated SDK should know its schema version and wire this in for
|
63
|
-
# you.
|
58
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
59
|
+
# items. If there is no version with this ID, the operation will error with
|
60
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
61
|
+
# your generated SDK should know its schema version and wire this in for you.
|
64
62
|
sig { returns(Integer) }
|
65
63
|
def schema_version_id
|
66
64
|
end
|
67
65
|
|
68
|
-
# schema_version_id
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# as your generated SDK should know its schema version and wire this in for
|
73
|
-
# you.
|
66
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
67
|
+
# items. If there is no version with this ID, the operation will error with
|
68
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
69
|
+
# your generated SDK should know its schema version and wire this in for you.
|
74
70
|
sig { params(value: Integer).void }
|
75
71
|
def schema_version_id=(value)
|
76
72
|
end
|
77
73
|
|
78
|
-
# schema_version_id
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
# as your generated SDK should know its schema version and wire this in for
|
83
|
-
# you.
|
74
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
75
|
+
# items. If there is no version with this ID, the operation will error with
|
76
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
77
|
+
# your generated SDK should know its schema version and wire this in for you.
|
84
78
|
sig { void }
|
85
79
|
def clear_schema_version_id
|
86
80
|
end
|
data/rbi/db/scan_pb.rbi
CHANGED
@@ -188,29 +188,26 @@ class Stately::Db::BeginScanRequest
|
|
188
188
|
def clear_segmentation_params
|
189
189
|
end
|
190
190
|
|
191
|
-
# schema_version_id
|
192
|
-
# If
|
193
|
-
#
|
194
|
-
#
|
195
|
-
# and wire this in for you.
|
191
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
192
|
+
# items. If there is no version with this ID, the operation will error with
|
193
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
194
|
+
# your generated SDK should know its schema version and wire this in for you.
|
196
195
|
sig { returns(Integer) }
|
197
196
|
def schema_version_id
|
198
197
|
end
|
199
198
|
|
200
|
-
# schema_version_id
|
201
|
-
# If
|
202
|
-
#
|
203
|
-
#
|
204
|
-
# and wire this in for you.
|
199
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
200
|
+
# items. If there is no version with this ID, the operation will error with
|
201
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
202
|
+
# your generated SDK should know its schema version and wire this in for you.
|
205
203
|
sig { params(value: Integer).void }
|
206
204
|
def schema_version_id=(value)
|
207
205
|
end
|
208
206
|
|
209
|
-
# schema_version_id
|
210
|
-
# If
|
211
|
-
#
|
212
|
-
#
|
213
|
-
# and wire this in for you.
|
207
|
+
# schema_version_id is the version of the store's schema to use to interpret
|
208
|
+
# items. If there is no version with this ID, the operation will error with
|
209
|
+
# SchemaVersionNotFound error. You should not have to set this manually as
|
210
|
+
# your generated SDK should know its schema version and wire this in for you.
|
214
211
|
sig { void }
|
215
212
|
def clear_schema_version_id
|
216
213
|
end
|
@@ -167,18 +167,5 @@ module Stately::Db::DatabaseService
|
|
167
167
|
end
|
168
168
|
def transaction(request)
|
169
169
|
end
|
170
|
-
|
171
|
-
# ScanRootPaths lists root paths (Groups) in the Store. This is a very
|
172
|
-
# expensive operation, as it must consult multiple partitions and it reads
|
173
|
-
# and ignores a lot of data. It is provided for use in the web console's data
|
174
|
-
# browser and is not exposed to customers. This operation will fail if the
|
175
|
-
# caller does not have permission to read Items.
|
176
|
-
sig do
|
177
|
-
params(
|
178
|
-
request: Stately::Db::ScanRootPathsRequest
|
179
|
-
).returns(Stately::Db::ScanRootPathsResponse)
|
180
|
-
end
|
181
|
-
def scan_root_paths(request)
|
182
|
-
end
|
183
170
|
end
|
184
171
|
end
|
data/rbi/statelydb.rbi
CHANGED
@@ -14,7 +14,7 @@ module StatelyDB
|
|
14
14
|
sig { returns(String) }
|
15
15
|
def to_s; end
|
16
16
|
|
17
|
-
# to_str returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096")
|
17
|
+
# to_str returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096").
|
18
18
|
#
|
19
19
|
# Note: to_str is a type coercion method that is called by Ruby when an object is coerced to a string.
|
20
20
|
sig { returns(String) }
|
data/sig/statelydb.rbs
CHANGED
@@ -11,7 +11,7 @@ module StatelyDB
|
|
11
11
|
# to_s returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096")
|
12
12
|
def to_s: () -> String
|
13
13
|
|
14
|
-
# to_str returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096")
|
14
|
+
# to_str returns the UUID as a base16 string (eg: "f4a8a24a-129d-411f-91d2-6d19d0eaa096").
|
15
15
|
#
|
16
16
|
# Note: to_str is a type coercion method that is called by Ruby when an object is coerced to a string.
|
17
17
|
def to_str: () -> String
|
@@ -1009,9 +1009,6 @@ module Stately
|
|
1009
1009
|
ContinueListDirection: untyped
|
1010
1010
|
ContinueScanRequest: untyped
|
1011
1011
|
SortableProperty: untyped
|
1012
|
-
ScanRootPathsRequest: untyped
|
1013
|
-
ScanRootPathsResponse: untyped
|
1014
|
-
ScanRootPathResult: untyped
|
1015
1012
|
|
1016
1013
|
module DatabaseService
|
1017
1014
|
Stub: untyped
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statelydb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.25.
|
4
|
+
version: 0.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stately Cloud, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -87,7 +87,6 @@ files:
|
|
87
87
|
- lib/api/db/list_token_pb.rb
|
88
88
|
- lib/api/db/put_pb.rb
|
89
89
|
- lib/api/db/scan_pb.rb
|
90
|
-
- lib/api/db/scan_root_paths_pb.rb
|
91
90
|
- lib/api/db/service_pb.rb
|
92
91
|
- lib/api/db/service_services_pb.rb
|
93
92
|
- lib/api/db/sync_list_pb.rb
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: db/scan_root_paths.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
|
8
|
-
descriptor_data = "\n\x18\x64\x62/scan_root_paths.proto\x12\nstately.db\"\xbb\x01\n\x14ScanRootPathsRequest\x12\x19\n\x08store_id\x18\x01 \x01(\x04R\x07storeId\x12\x14\n\x05limit\x18\x02 \x01(\rR\x05limit\x12)\n\x10pagination_token\x18\x03 \x01(\x0cR\x0fpaginationToken\x12*\n\x11schema_version_id\x18\x04 \x01(\rR\x0fschemaVersionId\x12\x1b\n\tschema_id\x18\x05 \x01(\x04R\x08schemaId\"|\n\x15ScanRootPathsResponse\x12\x38\n\x07results\x18\x01 \x03(\x0b\x32\x1e.stately.db.ScanRootPathResultR\x07results\x12)\n\x10pagination_token\x18\x02 \x01(\x0cR\x0fpaginationToken\"/\n\x12ScanRootPathResult\x12\x19\n\x08key_path\x18\x01 \x01(\tR\x07keyPathBm\n\x0e\x63om.stately.dbB\x12ScanRootPathsProtoP\x01\xa2\x02\x03SDX\xaa\x02\nStately.Db\xca\x02\nStately\\Db\xe2\x02\x16Stately\\Db\\GPBMetadata\xea\x02\x0bStately::Dbb\x06proto3"
|
9
|
-
|
10
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
pool.add_serialized_file(descriptor_data)
|
12
|
-
|
13
|
-
module Stately
|
14
|
-
module Db
|
15
|
-
ScanRootPathsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("stately.db.ScanRootPathsRequest").msgclass
|
16
|
-
ScanRootPathsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("stately.db.ScanRootPathsResponse").msgclass
|
17
|
-
ScanRootPathResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("stately.db.ScanRootPathResult").msgclass
|
18
|
-
end
|
19
|
-
end
|