@@ -211,20 +211,20 @@ module FinchAPI
211211 # The metadata to be attached to the entity by existing rules. It is a key-value
212212 # pairs where the values can be of any type (string, number, boolean, object,
213213 # array, etc.).
214- sig { returns ( T . nilable ( T ::Hash [ Symbol , T . anything ] ) ) }
214+ sig { returns ( T . nilable ( T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) ) }
215215 attr_reader :metadata
216216
217- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . void }
217+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . void }
218218 attr_writer :metadata
219219
220- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . returns ( T . attached_class ) }
220+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . returns ( T . attached_class ) }
221221 def self . new (
222222 # The metadata to be attached to the entity by existing rules. It is a key-value
223223 # pairs where the values can be of any type (string, number, boolean, object,
224224 # array, etc.).
225225 metadata : nil
226226 ) ; end
227- sig { override . returns ( { metadata : T ::Hash [ Symbol , T . anything ] } ) }
227+ sig { override . returns ( { metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] } ) }
228228 def to_hash ; end
229229 end
230230 end
@@ -366,20 +366,20 @@ module FinchAPI
366366 # The metadata to be attached to the entity by existing rules. It is a key-value
367367 # pairs where the values can be of any type (string, number, boolean, object,
368368 # array, etc.).
369- sig { returns ( T . nilable ( T ::Hash [ Symbol , T . anything ] ) ) }
369+ sig { returns ( T . nilable ( T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) ) }
370370 attr_reader :metadata
371371
372- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . void }
372+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . void }
373373 attr_writer :metadata
374374
375- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . returns ( T . attached_class ) }
375+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . returns ( T . attached_class ) }
376376 def self . new (
377377 # The metadata to be attached to the entity by existing rules. It is a key-value
378378 # pairs where the values can be of any type (string, number, boolean, object,
379379 # array, etc.).
380380 metadata : nil
381381 ) ; end
382- sig { override . returns ( { metadata : T ::Hash [ Symbol , T . anything ] } ) }
382+ sig { override . returns ( { metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] } ) }
383383 def to_hash ; end
384384 end
385385 end
@@ -488,20 +488,20 @@ module FinchAPI
488488 # The metadata to be attached to the entity by existing rules. It is a key-value
489489 # pairs where the values can be of any type (string, number, boolean, object,
490490 # array, etc.).
491- sig { returns ( T . nilable ( T ::Hash [ Symbol , T . anything ] ) ) }
491+ sig { returns ( T . nilable ( T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) ) }
492492 attr_reader :metadata
493493
494- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . void }
494+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . void }
495495 attr_writer :metadata
496496
497- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . returns ( T . attached_class ) }
497+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . returns ( T . attached_class ) }
498498 def self . new (
499499 # The metadata to be attached to the entity by existing rules. It is a key-value
500500 # pairs where the values can be of any type (string, number, boolean, object,
501501 # array, etc.).
502502 metadata : nil
503503 ) ; end
504- sig { override . returns ( { metadata : T ::Hash [ Symbol , T . anything ] } ) }
504+ sig { override . returns ( { metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] } ) }
505505 def to_hash ; end
506506 end
507507 end
@@ -620,20 +620,20 @@ module FinchAPI
620620 # The metadata to be attached to the entity by existing rules. It is a key-value
621621 # pairs where the values can be of any type (string, number, boolean, object,
622622 # array, etc.).
623- sig { returns ( T . nilable ( T ::Hash [ Symbol , T . anything ] ) ) }
623+ sig { returns ( T . nilable ( T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) ) }
624624 attr_reader :metadata
625625
626- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . void }
626+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . void }
627627 attr_writer :metadata
628628
629- sig { params ( metadata : T ::Hash [ Symbol , T . anything ] ) . returns ( T . attached_class ) }
629+ sig { params ( metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] ) . returns ( T . attached_class ) }
630630 def self . new (
631631 # The metadata to be attached to the entity by existing rules. It is a key-value
632632 # pairs where the values can be of any type (string, number, boolean, object,
633633 # array, etc.).
634634 metadata : nil
635635 ) ; end
636- sig { override . returns ( { metadata : T ::Hash [ Symbol , T . anything ] } ) }
636+ sig { override . returns ( { metadata : T ::Hash [ Symbol , T . nilable ( T . anything ) ] } ) }
637637 def to_hash ; end
638638 end
639639 end
0 commit comments