@malevich-studio/strapi-sdk-typescript 1.0.14 → 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.mjs CHANGED
@@ -21521,7 +21521,8 @@ class Component extends BaseRelation {
21521
21521
  return this.attribute.repeatable ? `${componentName}[]` : componentName;
21522
21522
  }
21523
21523
  getInputType() {
21524
- return `${getComponentName(this.attribute.component)}Input`;
21524
+ const typeName = `${getComponentName(this.attribute.component)}Input`;
21525
+ return this.attribute.repeatable ? `${typeName}[]` : typeName;
21525
21526
  }
21526
21527
  getPopulates() {
21527
21528
  return [{