volcano-sdk 0.25.0 → 0.26.0
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/volcano/version.rb +1 -1
- data/sig/realtime_postgres_change.rbs +30 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e26069349b6225f4e5f73670a8dcfabcdbefa0cc82d10efc942ba36cc49531f
|
|
4
|
+
data.tar.gz: ad8fa6b001a0b8efb649209682abadafbcf1b037d4d860fa284e839896e9e5ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76e130d7e4c62e4936582c3f1b55f78aeb954ca997a3082969ce9a7037a808b2d5d53ed8e734ed05be04a1b45f666398a7e39cfe067bfbe3d0eed564b8ef48e1
|
|
7
|
+
data.tar.gz: 3135ff1067f5968ee19502b35827c79ace462dd72a276288fec97b223a2e5a7b02daee4c6c1b89dbbc0ebae02d466425a7c71f1fef31bca539feb104ffaafed9
|
data/lib/volcano/version.rb
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Volcano
|
|
2
|
+
class Realtime
|
|
3
|
+
class PostgresChange < Data
|
|
4
|
+
attr_reader type: String
|
|
5
|
+
attr_reader schema: String
|
|
6
|
+
attr_reader table: String
|
|
7
|
+
attr_reader record: Hash[String, json_value]?
|
|
8
|
+
attr_reader old_record: Hash[String, json_value]?
|
|
9
|
+
attr_reader columns: Array[json_value]?
|
|
10
|
+
attr_reader timestamp: String
|
|
11
|
+
attr_reader id: json_value
|
|
12
|
+
attr_reader mode: String?
|
|
13
|
+
|
|
14
|
+
def self.new: (String type, String schema, String table, Hash[String, json_value]? record, Hash[String, json_value]? old_record, Array[json_value]? columns, String timestamp, json_value id, String? mode) -> PostgresChange
|
|
15
|
+
| (type: String, schema: String, table: String, timestamp: String, ?record: Hash[String, json_value]?, ?old_record: Hash[String, json_value]?, ?columns: Array[json_value]?, ?id: json_value, ?mode: String?) -> PostgresChange
|
|
16
|
+
def self.[]: (String type, String schema, String table, Hash[String, json_value]? record, Hash[String, json_value]? old_record, Array[json_value]? columns, String timestamp, json_value id, String? mode) -> PostgresChange
|
|
17
|
+
| (type: String, schema: String, table: String, timestamp: String, ?record: Hash[String, json_value]?, ?old_record: Hash[String, json_value]?, ?columns: Array[json_value]?, ?id: json_value, ?mode: String?) -> PostgresChange
|
|
18
|
+
def self.members: () -> [:type, :schema, :table, :record, :old_record, :columns, :timestamp, :id, :mode]
|
|
19
|
+
|
|
20
|
+
def initialize: (type: String, schema: String, table: String, timestamp: String, ?record: Hash[String, json_value]?, ?old_record: Hash[String, json_value]?, ?columns: Array[json_value]?, ?id: json_value, ?mode: String?) -> void
|
|
21
|
+
| (String type, String schema, String table, Hash[String, json_value]? record, Hash[String, json_value]? old_record, Array[json_value]? columns, String timestamp, json_value id, String? mode) -> void
|
|
22
|
+
def members: () -> [:type, :schema, :table, :record, :old_record, :columns, :timestamp, :id, :mode]
|
|
23
|
+
def with: (?type: String, ?schema: String, ?table: String, ?record: Hash[String, json_value]?, ?old_record: Hash[String, json_value]?, ?columns: Array[json_value]?, ?timestamp: String, ?id: json_value, ?mode: String?) -> PostgresChange
|
|
24
|
+
def to_h: () -> { type: String, schema: String, table: String, record: Hash[String, json_value]?, old_record: Hash[String, json_value]?, columns: Array[json_value]?, timestamp: String, id: json_value, mode: String? }
|
|
25
|
+
| [K, V] () { (Symbol, json_value) -> [K, V] } -> Hash[K, V]
|
|
26
|
+
def deconstruct: () -> [String, String, String, Hash[String, json_value]?, Hash[String, json_value]?, Array[json_value]?, String, json_value, String?]
|
|
27
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, json_value]
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: volcano-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kong
|
|
@@ -613,6 +613,7 @@ files:
|
|
|
613
613
|
- sig/log_responses.rbs
|
|
614
614
|
- sig/oauth_records.rbs
|
|
615
615
|
- sig/realtime_contexts.rbs
|
|
616
|
+
- sig/realtime_postgres_change.rbs
|
|
616
617
|
- sig/session.rbs
|
|
617
618
|
- sig/sign_up_result.rbs
|
|
618
619
|
- sig/storage_records.rbs
|