herum-shared 1.0.12-ofir-beta → 1.0.12

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.
@@ -148,7 +148,6 @@ declare const defaultAuthorizationObject: {
148
148
  questionGrade(): BackendMicroResourceAuthorization;
149
149
  areAnswersCorrect(): BackendMicroResourceAuthorization;
150
150
  answerNotes(): BackendMicroResourceAuthorization;
151
- fileSubmissionNote(): BackendMicroResourceAuthorization;
152
151
  isCorrect(): BackendMicroResourceAuthorization;
153
152
  answerNote(): BackendMicroResourceAuthorization;
154
153
  matchingSourceIndex(): BackendMicroResourceAuthorization;
@@ -213,13 +213,6 @@ const defaultAuthorizationObject = {
213
213
  ...closeStatus
214
214
  });
215
215
  },
216
- fileSubmissionNote() {
217
- return cloneDeep({
218
- propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}].FileSubmissions.TeacherFeedbacks[]`,
219
- authorizationType: MicroResourceAuthorizationType.view,
220
- ...closeStatus
221
- });
222
- },
223
216
  isCorrect() {
224
217
  return cloneDeep({
225
218
  propertyPath: `[${resourceIdPlaceholder}]${correctAnswerPropertyPath}`,
@@ -252,12 +245,7 @@ function getResourceDefaultAuthorizations() {
252
245
  return [defaultAuthorizationObject.view()];
253
246
  }
254
247
  function getPublishAuthorization() {
255
- return [defaultAuthorizationObject.resourceGrade(), defaultAuthorizationObject.questionGrade(),
256
- defaultAuthorizationObject.areAnswersCorrect(), defaultAuthorizationObject.answerNotes(),
257
- defaultAuthorizationObject.isCorrect(), defaultAuthorizationObject.answerNote(),
258
- defaultAuthorizationObject.matchingSourceIndex(),
259
- defaultAuthorizationObject.fileSubmissionNote()
260
- ];
248
+ return [defaultAuthorizationObject.resourceGrade(), defaultAuthorizationObject.questionGrade(), defaultAuthorizationObject.areAnswersCorrect(), defaultAuthorizationObject.answerNotes(), defaultAuthorizationObject.isCorrect(), defaultAuthorizationObject.answerNote(), defaultAuthorizationObject.matchingSourceIndex()];
261
249
  }
262
250
  function getMediaDefaultAuthorizations() {
263
251
  return [defaultAuthorizationObject.view(), defaultAuthorizationObject.edit()];