multiwoven-integrations 0.1.59 → 0.1.61

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: ed2b61bc102ef0615b7f709f86d417cf95624a2dcb53dbee0539354e91f35dbe
4
- data.tar.gz: 63174c339d33f456b6c33213f3f749268a3e5f41c4d0038dbfd00c989e291fd3
3
+ metadata.gz: a5efde87ecb1cfd15171d17bdc92a3248e9ab7b5400542c7e8650e1e3eac2651
4
+ data.tar.gz: ad8179cddd26bd47638e4f9b117a99fe762aae1c3772439622962f6a4c8741a7
5
5
  SHA512:
6
- metadata.gz: 47664552a7e311705a1bad6e76ef4a7d9c98826a4c7d18177fed92c2c05cb0533c66ea1cd53bf5ca445dbb040bf9bf76565f8ca6d3128ee4a42c38ad734b8988
7
- data.tar.gz: 4afc37d3267698a74696a90d3b687a4b84a450cc7dec7a1948353bb994b37886fb1a6599be04c63d4d69d22910f809d74abc00152f23c8c00f6e8f3dc51fc796
6
+ metadata.gz: f989346268782ec65ce95c33a299755bda4b947fab7fa845c10223856e982742f9940ba9c9ea5d2fb71f2bfdf5f7d6f0e98a8f729c93d17922d363dbf14c04ac
7
+ data.tar.gz: 8ecc6a3bfeaa2d9c62bdd58305715672ceede40a75b12fb003a50a4928c5e76522fa2c371a6cbe105053df2a3dbb240cab5a03c22a45b81a419b0d811ef948af
@@ -62,12 +62,12 @@ module Multiwoven
62
62
  when "picklist", "multipicklist", "Picklist (Multi-select)"
63
63
  if sf_field[:picklistValues] && sf_field["nillable"]
64
64
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
65
- { "type": %w[array null], "items": { "type": "string" }, "enum": enum_values }
65
+ { "type": %w[string null], "items": { "type": "string" }, "enum": enum_values }
66
66
  elsif sf_field[:picklistValues]
67
67
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
68
- { "type": "array", "items": { "type": "string" }, "enum": enum_values }
68
+ { "type": "string", "items": { "type": "string" }, "enum": enum_values }
69
69
  else
70
- { "type": "array", "items": { "type": "string" } }
70
+ { "type": "string", "items": { "type": "string" } }
71
71
  end
72
72
  when "reference", "Reference (Lookup & Master-Detail)"
73
73
  if sf_field["nillable"]
@@ -151,6 +151,8 @@ module Multiwoven
151
151
  attribute? :request_rate_limit_unit, RequestRateLimitingUnit
152
152
  attribute? :request_rate_concurrency, Types::Integer.default(10)
153
153
  attribute? :schema_mode, Types::String.optional.default("schema")
154
+ attribute :source_defined_cursor, Types::Bool.default(false)
155
+ attribute? :default_cursor_field, Types::Array.of(Types::String).optional
154
156
 
155
157
  def to_multiwoven_message
156
158
  MultiwovenMessage.new(
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.1.59"
5
+ VERSION = "0.1.61"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -62,12 +62,12 @@ module Multiwoven
62
62
  when "picklist", "multipicklist", "Picklist (Multi-select)"
63
63
  if sf_field[:picklistValues] && sf_field["nillable"]
64
64
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
65
- { "type": %w[array null], "items": { "type": "string" }, "enum": enum_values }
65
+ { "type": %w[string null], "items": { "type": "string" }, "enum": enum_values }
66
66
  elsif sf_field[:picklistValues]
67
67
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
68
- { "type": "array", "items": { "type": "string" }, "enum": enum_values }
68
+ { "type": "string", "items": { "type": "string" }, "enum": enum_values }
69
69
  else
70
- { "type": "array", "items": { "type": "string" } }
70
+ { "type": "string", "items": { "type": "string" } }
71
71
  end
72
72
  when "reference", "Reference (Lookup & Master-Detail)"
73
73
  if sf_field["nillable"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.59
4
+ version: 0.1.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P