storyblok 3.32.0 → 3.32.1
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 +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3378,7 +3378,7 @@ getPropertyTypeAnnotation_fn = function(property) {
|
|
|
3378
3378
|
_getComponentType = new WeakSet();
|
|
3379
3379
|
getComponentType_fn = function(componentName) {
|
|
3380
3380
|
const componentType = startCase(
|
|
3381
|
-
camelCase(`${__privateGet(this, _options).typeNamesPrefix ?? ""}${componentName}${__privateGet(this, _options).typeNamesSuffix}`)
|
|
3381
|
+
camelCase(`${__privateGet(this, _options).typeNamesPrefix ?? ""}_${componentName}_${__privateGet(this, _options).typeNamesSuffix}`)
|
|
3382
3382
|
).replace(/ /g, "");
|
|
3383
3383
|
const isFirstCharacterNumber = !isNaN(parseInt(componentType.charAt(0)));
|
|
3384
3384
|
return isFirstCharacterNumber ? `_${componentType}` : componentType;
|