@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 +2 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +2 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
21524
|
+
const typeName = `${getComponentName(this.attribute.component)}Input`;
|
|
21525
|
+
return this.attribute.repeatable ? `${typeName}[]` : typeName;
|
|
21525
21526
|
}
|
|
21526
21527
|
getPopulates() {
|
|
21527
21528
|
return [{
|