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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea6009c324b19c3a5fb8463b1fca575365773af9caa54972802ff1e86c3f6f69
4
- data.tar.gz: 9577e000a28111f305386ded68b3db03e33c707cbccc6af69e687127f0fae18a
3
+ metadata.gz: 4e26069349b6225f4e5f73670a8dcfabcdbefa0cc82d10efc942ba36cc49531f
4
+ data.tar.gz: ad8fa6b001a0b8efb649209682abadafbcf1b037d4d860fa284e839896e9e5ce
5
5
  SHA512:
6
- metadata.gz: f079d7f1856bd0f541027711101330a94af5e759f3f7f31b288721fc8068cd16a3c123658bce716ceec4410dbb8f05abd147073897496d22c7bfe814f0906626
7
- data.tar.gz: 5719ba35ffcc5e6da548aa0f93520c017f7d974ae0cc584db66ba4d52b8e645bcaa4ccafb9ecb6e528b47d1899f2ba1d2baf184c84763d8d9f6744fdc46a7986
6
+ metadata.gz: 76e130d7e4c62e4936582c3f1b55f78aeb954ca997a3082969ce9a7037a808b2d5d53ed8e734ed05be04a1b45f666398a7e39cfe067bfbe3d0eed564b8ef48e1
7
+ data.tar.gz: 3135ff1067f5968ee19502b35827c79ace462dd72a276288fec97b223a2e5a7b02daee4c6c1b89dbbc0ebae02d466425a7c71f1fef31bca539feb104ffaafed9
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Volcano
4
- VERSION = '0.25.0'
4
+ VERSION = '0.26.0'
5
5
  end
@@ -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.25.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