@instructure/athena-api-client 4.1.1 → 4.2.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.
@@ -118,7 +118,7 @@ export interface StudyObjectiveAccess {
118
118
  */
119
119
  suggestedScope: Array<string> | null;
120
120
  /**
121
- * What built this item's topic list: 'text' (the course syllabus or the item's own text, long enough to count as material) or 'title' (the course and item names, with no syllabus or item text long enough to count). Files never feed the list, so a 'grounded' course can still have a 'title' list. Label a 'title' list as suggested from the course name; key that label on this field, not on `state`. Recorded when the list is extracted; for a list extracted before that record existed it is read from these facts (no syllabus counted and no item text means 'title'), which can read 'text' for a course that gained text after its list was built.
121
+ * What built this item's topic list, decided from the text its extraction was given: 'text' (the item's own text, long enough to count as material), 'syllabus' (no such item text, so the list was inferred from the course syllabus) or 'title' (the course and item names, with no syllabus or item text long enough to count). Files never feed the list, so a 'grounded' course can still have a 'title' list. Label an inferred list with its source: a 'title' list as Athena's best guess from the item's title, a 'syllabus' list as suggested from the syllabus; key that label on this field, not on `state`. Recorded when the list is extracted; for a list extracted before that record existed it is read from these facts by the same rule (item text means 'text', else a syllabus means 'syllabus', else 'title'), which can read as built from text a course gained after its list was built. A 'text' recorded before 'syllabus' existed is read the same way when these facts show a syllabus and no item text.
122
122
  * @type {string}
123
123
  * @memberof StudyObjectiveAccess
124
124
  */
@@ -167,6 +167,7 @@ export type StudyObjectiveAccessSyllabusSourceEnum = typeof StudyObjectiveAccess
167
167
  export declare const StudyObjectiveAccessRosterSourceEnum: {
168
168
  readonly Title: "title";
169
169
  readonly Text: "text";
170
+ readonly Syllabus: "syllabus";
170
171
  };
171
172
  export type StudyObjectiveAccessRosterSourceEnum = typeof StudyObjectiveAccessRosterSourceEnum[keyof typeof StudyObjectiveAccessRosterSourceEnum];
172
173
  /**
@@ -49,7 +49,8 @@ export const StudyObjectiveAccessSyllabusSourceEnum = {
49
49
  */
50
50
  export const StudyObjectiveAccessRosterSourceEnum = {
51
51
  Title: 'title',
52
- Text: 'text'
52
+ Text: 'text',
53
+ Syllabus: 'syllabus'
53
54
  };
54
55
  /**
55
56
  * Check if a given object implements the StudyObjectiveAccess interface.
@@ -118,7 +118,7 @@ export interface StudyObjectiveAccess {
118
118
  */
119
119
  suggestedScope: Array<string> | null;
120
120
  /**
121
- * What built this item's topic list: 'text' (the course syllabus or the item's own text, long enough to count as material) or 'title' (the course and item names, with no syllabus or item text long enough to count). Files never feed the list, so a 'grounded' course can still have a 'title' list. Label a 'title' list as suggested from the course name; key that label on this field, not on `state`. Recorded when the list is extracted; for a list extracted before that record existed it is read from these facts (no syllabus counted and no item text means 'title'), which can read 'text' for a course that gained text after its list was built.
121
+ * What built this item's topic list, decided from the text its extraction was given: 'text' (the item's own text, long enough to count as material), 'syllabus' (no such item text, so the list was inferred from the course syllabus) or 'title' (the course and item names, with no syllabus or item text long enough to count). Files never feed the list, so a 'grounded' course can still have a 'title' list. Label an inferred list with its source: a 'title' list as Athena's best guess from the item's title, a 'syllabus' list as suggested from the syllabus; key that label on this field, not on `state`. Recorded when the list is extracted; for a list extracted before that record existed it is read from these facts by the same rule (item text means 'text', else a syllabus means 'syllabus', else 'title'), which can read as built from text a course gained after its list was built. A 'text' recorded before 'syllabus' existed is read the same way when these facts show a syllabus and no item text.
122
122
  * @type {string}
123
123
  * @memberof StudyObjectiveAccess
124
124
  */
@@ -167,6 +167,7 @@ export type StudyObjectiveAccessSyllabusSourceEnum = typeof StudyObjectiveAccess
167
167
  export declare const StudyObjectiveAccessRosterSourceEnum: {
168
168
  readonly Title: "title";
169
169
  readonly Text: "text";
170
+ readonly Syllabus: "syllabus";
170
171
  };
171
172
  export type StudyObjectiveAccessRosterSourceEnum = typeof StudyObjectiveAccessRosterSourceEnum[keyof typeof StudyObjectiveAccessRosterSourceEnum];
172
173
  /**
@@ -57,7 +57,8 @@ exports.StudyObjectiveAccessSyllabusSourceEnum = {
57
57
  */
58
58
  exports.StudyObjectiveAccessRosterSourceEnum = {
59
59
  Title: 'title',
60
- Text: 'text'
60
+ Text: 'text',
61
+ Syllabus: 'syllabus'
61
62
  };
62
63
  /**
63
64
  * Check if a given object implements the StudyObjectiveAccess interface.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "4.1.1",
4
+ "version": "4.2.0",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {