You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errorMessage=`TypeScript syntax error detected in generated types`;
293
-
hint=`Content type "${error?.details?.uid||"unknown"}" starts with a number, which creates invalid TypeScript interface names. Since UIDs cannot be changed, use the --prefix flag to add a valid prefix to all interface names (e.g., --prefix "ContentType").`;
292
+
errorMessage=`TypeScript syntax error detected in the generated types.`;
293
+
hint=`Use a prefix to ensure all interface names are valid TypeScript identifiers.`;
294
294
break;
295
295
case"INVALID_GLOBAL_FIELD_REFERENCE":
296
-
errorMessage=`TypeScript syntax error detected in generated types`;
297
-
hint=`Global field "${error?.details?.uid||"unknown"}" references content type "${error?.details?.reference_to||"unknown"}" which starts with a number. Since UIDs cannot be changed, use the --prefix flag to add a valid prefix to all interface names (e.g., --prefix "ContentType").`;
296
+
errorMessage=`TypeScript syntax error detected in the generated types.`;
297
+
hint=`Use a prefix to ensure all interface names are valid TypeScript identifiers.`;
298
298
break;
299
299
case"VALIDATION_ERROR":
300
300
errorMessage=`TypeScript syntax error detected in generated types`;
0 commit comments