@accelbyte/codegen 2.0.0-beta.9 → 2.0.0

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.
@@ -323,6 +323,12 @@ class ParserUtils {
323
323
  if (definition?.schema?.type && definition.schema.type === "array") {
324
324
  return `${attrName}${required}: ${definition.schema.items.type ?? "any"}[]`;
325
325
  }
326
+ if (definition.type && definition.type === "file") {
327
+ return `${attrName}${required}: File`;
328
+ }
329
+ if (definition?.schema?.type && definition.schema.type === "file") {
330
+ return `${attrName}${required}: File`;
331
+ }
326
332
  if (definition.type && definition.type) {
327
333
  return `${attrName}${required}: ${definition.type} | null`;
328
334
  }