@malevich-studio/strapi-sdk-typescript 1.0.13 → 1.0.15

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.
package/dist/cli.cjs CHANGED
@@ -21541,7 +21541,8 @@ class Component extends BaseRelation {
21541
21541
  return this.attribute.repeatable ? `${componentName}[]` : componentName;
21542
21542
  }
21543
21543
  getInputType() {
21544
- return `${getComponentName(this.attribute.component)}Input`;
21544
+ const typeName = `${getComponentName(this.attribute.component)}Input`;
21545
+ return this.attribute.repeatable ? `${typeName}[]` : typeName;
21545
21546
  }
21546
21547
  getPopulates() {
21547
21548
  return [{