analytica-frontend-lib 1.3.46 → 1.3.47

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.
@@ -6010,6 +6010,7 @@ var recommendedClassModelResponseSchema = import_zod3.z.object({
6010
6010
  description: import_zod3.z.string().nullable(),
6011
6011
  creatorUserInstitutionId: import_zod3.z.string().uuid(),
6012
6012
  subjectId: import_zod3.z.string().uuid().nullable(),
6013
+ subject: import_zod3.z.object({ id: import_zod3.z.string(), name: import_zod3.z.string() }).nullable().optional(),
6013
6014
  startDate: import_zod3.z.string().nullable(),
6014
6015
  finalDate: import_zod3.z.string().nullable(),
6015
6016
  createdAt: import_zod3.z.string(),
@@ -6029,7 +6030,7 @@ var DEFAULT_RECOMMENDED_CLASS_MODELS_PAGINATION = {
6029
6030
  totalPages: 0
6030
6031
  };
6031
6032
  var transformRecommendedClassModelToTableItem = (model, subjectsMap) => {
6032
- const subjectName = model.subjectId ? subjectsMap?.get(model.subjectId) || "" : "";
6033
+ const subjectName = model.subject?.name || (model.subjectId ? subjectsMap?.get(model.subjectId) || "" : "");
6033
6034
  return {
6034
6035
  id: model.id,
6035
6036
  title: model.title || "Sem t\xEDtulo",