foobara-typescript-remote-command-generator 0.0.10 → 0.0.11

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: 7c5ff8b54e5b247ccdc88cbf0a743192b0e2ac1ff077856eb10744d88843881d
4
- data.tar.gz: 581c8871b10007741cbf13064ff4c544542fefdf797844c159ebef1ae78eaa85
3
+ metadata.gz: 9636a0e5c388533ffbff27af94716f4331f37b8b4e0c2261de0e1d42105e7e83
4
+ data.tar.gz: c78a86ed94e77fdd6f15e11784dd2decc99c699a0e69de8b0d694b05bfaa4189
5
5
  SHA512:
6
- metadata.gz: 9a367b46888d713b45e7538f8fcf3a562e5556124d6f31d5115ddf87f152ee1e4ac0621312a477acaad5375032418b6d7835007bd22d2c25c660143acdbc5d77
7
- data.tar.gz: 7e8d6756ae1aeddd49a5daa61e2c4f20974e94fb2f31756b3b81495a40591b5e2d0bc11b94792ce1364beb5e9749110015449c0f80b236786a4ffa052f99ee0c
6
+ metadata.gz: 63441cad1c78b161556fa5cab4477960e5f35bca1bd0871440b5b8e880b2b9f50ec8d81e9ecc122b8211f583cdae993af70c8c3a63f506ec44b9f9329dd5b2aa
7
+ data.tar.gz: 671c9580a817b76939d2acfb0a9ae12c5da0a442c41ff05fb2307e5b7d8c728b2ba06bfcb9412d281690f2fbef5986e92244dcb8eece6947e031dd49a2432c92
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.11] - 2025-02-26
2
+
3
+ - Implement support for command result types that are arrays
4
+
1
5
  ## [0.0.10] - 2025-02-21
2
6
 
3
7
  - Include org/domain prefixes in command URLs
@@ -53,8 +53,10 @@ module Foobara
53
53
  type.attribute_declarations.values.map do |attribute_declaration|
54
54
  model_generators(attribute_declaration, false)
55
55
  end.flatten.uniq
56
+ elsif type.array?
57
+ model_generators(type.element_type, false)
56
58
  else
57
- # TODO: handle tuples, associative arrays, arrays
59
+ # TODO: handle tuples, associative arrays
58
60
  []
59
61
  end
60
62
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-typescript-remote-command-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-22 00:00:00.000000000 Z
10
+ date: 2025-02-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: foobara