foobara-typescript-remote-command-generator 0.0.9 → 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: cc6158bda17aa24741a79802c5e0016120801eed6a7f73a4c26eb68040fbd0ed
4
- data.tar.gz: 8803880e3bd4463b21be3a08b09d33387a43f5d6a497af42cc59b9aa5dd764bb
3
+ metadata.gz: 9636a0e5c388533ffbff27af94716f4331f37b8b4e0c2261de0e1d42105e7e83
4
+ data.tar.gz: c78a86ed94e77fdd6f15e11784dd2decc99c699a0e69de8b0d694b05bfaa4189
5
5
  SHA512:
6
- metadata.gz: 2c62a4e4597c9774b894747137a834d9a5aaff70269f322e20e93192ee6d34dff8bb88c0cd8a1fd488320eb373b9002d3523d6ee51b48f1887a5f4cedf4cb9ee
7
- data.tar.gz: ec1a895e62d555c58b1ffe0a2161b4c422dc2222ae0d762da4adfb34631a7d8369a824021fd7fd36242101e281bbc5a7ac97d13fa5f48fdedf751836c905f4a6
6
+ metadata.gz: 63441cad1c78b161556fa5cab4477960e5f35bca1bd0871440b5b8e880b2b9f50ec8d81e9ecc122b8211f583cdae993af70c8c3a63f506ec44b9f9329dd5b2aa
7
+ data.tar.gz: 671c9580a817b76939d2acfb0a9ae12c5da0a442c41ff05fb2307e5b7d8c728b2ba06bfcb9412d281690f2fbef5986e92244dcb8eece6947e031dd49a2432c92
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.0.11] - 2025-02-26
2
+
3
+ - Implement support for command result types that are arrays
4
+
5
+ ## [0.0.10] - 2025-02-21
6
+
7
+ - Include org/domain prefixes in command URLs
8
+
1
9
  ## [0.0.9] - 2025-02-21
2
10
 
3
11
  - Fix a bug where we don't use the name of a custom type when we could
@@ -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
@@ -62,7 +62,7 @@ module Foobara
62
62
  end
63
63
 
64
64
  def domain_name
65
- scoped_short_name || "GlobalDomain"
65
+ scoped_name || "GlobalDomain"
66
66
  end
67
67
 
68
68
  def organization_generator
@@ -33,7 +33,7 @@ module Foobara
33
33
  end
34
34
 
35
35
  def organization_name
36
- scoped_short_name || "GlobalOrganization"
36
+ scoped_name || "GlobalOrganization"
37
37
  end
38
38
  end
39
39
  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.9
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-21 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