herum-shared 1.0.7 → 1.0.8

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.
@@ -11248,7 +11248,7 @@ const resourceIdPlaceholder = "$resourceId";
11248
11248
  const defaultCloseTime = new Date('01-01-2999');
11249
11249
  const defaultOpenTime = new Date('01-01-1999');
11250
11250
  const answersPath = `.Quiz.Questions[].ClosedContent.Answers[]`;
11251
- const answerNotePropertyPath = `${answersPath}.note`;
11251
+ const answerNotePropertyPath = `${answersPath}.Note`;
11252
11252
  const correctAnswerPropertyPath = `${answersPath}.IsCorrect`;
11253
11253
  const matchingSourceIndexPropertyPath = `.Quiz.Questions[].MatchingContent.Sources[].Index`;
11254
11254
  const openStatus = {
@@ -11345,14 +11345,13 @@ function getResourceDefaultAuthorizations() {
11345
11345
  return [defaultAuthorizationObject.view()];
11346
11346
  }
11347
11347
  function getPublishAuthorization() {
11348
- return [defaultAuthorizationObject.resourceGrade(), defaultAuthorizationObject.questionGrade(), defaultAuthorizationObject.areAnswersCorrect(), defaultAuthorizationObject.answerNotes(), defaultAuthorizationObject.isCorrect(), defaultAuthorizationObject.matchingSourceIndex()];
11348
+ return [defaultAuthorizationObject.resourceGrade(), defaultAuthorizationObject.questionGrade(), defaultAuthorizationObject.areAnswersCorrect(), defaultAuthorizationObject.answerNotes(), defaultAuthorizationObject.isCorrect(), defaultAuthorizationObject.answerNote(), defaultAuthorizationObject.matchingSourceIndex()];
11349
11349
  }
11350
11350
  function getMediaDefaultAuthorizations() {
11351
11351
  return [defaultAuthorizationObject.view(), defaultAuthorizationObject.edit()];
11352
11352
  }
11353
11353
  function getPropertyPathsOfPublishAuthorization() {
11354
- return ([defaultAuthorizationObject.resourceGrade().propertyPath, defaultAuthorizationObject.questionGrade().propertyPath,
11355
- defaultAuthorizationObject.areAnswersCorrect().propertyPath, defaultAuthorizationObject.answerNotes().propertyPath, defaultAuthorizationObject.isCorrect().propertyPath, defaultAuthorizationObject.matchingSourceIndex().propertyPath]);
11354
+ return getPublishAuthorization().map(publishAuthorization => publishAuthorization.propertyPath);
11356
11355
  }
11357
11356
  const viewPermissionLabel = 'צפייה';
11358
11357