herum-shared 0.1.25 → 0.1.28

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.
@@ -1,4 +1,4 @@
1
- import { MicroResourceAuthorizationType } from 'herum-shared/herum-types';
1
+ import { microResourceAuthorizationType } from 'herum-shared/herum-types';
2
2
  import { cloneDeep } from 'lodash';
3
3
  import { HttpHeaders } from '@angular/common/http';
4
4
 
@@ -164,56 +164,56 @@ const defaultAuthorizationObject = {
164
164
  view() {
165
165
  return cloneDeep({
166
166
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}]`,
167
- authorizationType: MicroResourceAuthorizationType.view,
167
+ authorizationType: microResourceAuthorizationType.view,
168
168
  ...openStatus
169
169
  });
170
170
  },
171
171
  edit() {
172
172
  return cloneDeep({
173
173
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}]`,
174
- authorizationType: MicroResourceAuthorizationType.update,
174
+ authorizationType: microResourceAuthorizationType.update,
175
175
  ...closeStatus
176
176
  });
177
177
  },
178
178
  fill() {
179
179
  return cloneDeep({
180
180
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}]`,
181
- authorizationType: MicroResourceAuthorizationType.fill,
181
+ authorizationType: microResourceAuthorizationType.fill,
182
182
  ...openStatus
183
183
  });
184
184
  },
185
185
  resourceGrade() {
186
186
  return cloneDeep({
187
187
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}].Grade.Grade`,
188
- authorizationType: MicroResourceAuthorizationType.view,
188
+ authorizationType: microResourceAuthorizationType.view,
189
189
  ...closeStatus
190
190
  });
191
191
  },
192
192
  questionGrade() {
193
193
  return cloneDeep({
194
194
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}].QuizData.UserQuestionsData[].Grade`,
195
- authorizationType: MicroResourceAuthorizationType.view,
195
+ authorizationType: microResourceAuthorizationType.view,
196
196
  ...closeStatus
197
197
  });
198
198
  },
199
199
  areAnswersCorrect() {
200
200
  return cloneDeep({
201
201
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}].QuizData.UserQuestionsData[].AreAnswersCorrect`,
202
- authorizationType: MicroResourceAuthorizationType.view,
202
+ authorizationType: microResourceAuthorizationType.view,
203
203
  ...closeStatus
204
204
  });
205
205
  },
206
206
  answerNotes() {
207
207
  return cloneDeep({
208
208
  propertyPath: `ResourceSubscriptions[${resourceIdPlaceholder}].QuizData.UserQuestionsData[].AnswerNotes[]`,
209
- authorizationType: MicroResourceAuthorizationType.view,
209
+ authorizationType: microResourceAuthorizationType.view,
210
210
  ...closeStatus
211
211
  });
212
212
  },
213
213
  isCorrect() {
214
214
  return cloneDeep({
215
215
  propertyPath: `[${resourceIdPlaceholder}].Quiz.Questions[].Answers[].IsCorrect`,
216
- authorizationType: MicroResourceAuthorizationType.view,
216
+ authorizationType: microResourceAuthorizationType.view,
217
217
  ...closeStatus,
218
218
  collectionItemType: 'Resources'
219
219
  });