@instructure/platform-widget-dashboard 16.6.1 → 16.6.2

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 +1 @@
1
- {"version":3,"file":"useEducatorTodoItemCount.d.ts","sourceRoot":"","sources":["../../src/hooks/useEducatorTodoItemCount.ts"],"names":[],"mappings":"AA2CA,wBAAgB,wBAAwB;;;WAepB,KAAK,GAAG,IAAI;EAE/B"}
1
+ {"version":3,"file":"useEducatorTodoItemCount.d.ts","sourceRoot":"","sources":["../../src/hooks/useEducatorTodoItemCount.ts"],"names":[],"mappings":"AAuCA,wBAAgB,wBAAwB;;;WAepB,KAAK,GAAG,IAAI;EAE/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"useEducatorTodoItems.d.ts","sourceRoot":"","sources":["../../src/hooks/useEducatorTodoItems.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,kBAAkB,EAAe,MAAM,oCAAoC,CAAA;AAOpF,OAAO,EAAE,eAAe,EAAY,MAAM,UAAU,CAAA;AAsCpD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,aAAa,CAAA;AAEzD,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,YAAY,GAAG,MAAM,CAAA;AAErE,KAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACzB,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IACzC,eAAe,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACtC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,CAAA;AAkCD,KAAK,0BAA0B,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAA;AAE/D,wBAAgB,oBAAoB,CAAC,EACnC,OAA8C,EAC9C,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,GAAE,0BAA+B;;;;;;;WAqCR,KAAK,GAAG,IAAI;;;;;;EAOrC"}
1
+ {"version":3,"file":"useEducatorTodoItems.d.ts","sourceRoot":"","sources":["../../src/hooks/useEducatorTodoItems.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,kBAAkB,EAAe,MAAM,oCAAoC,CAAA;AAOpF,OAAO,EAAE,eAAe,EAAY,MAAM,UAAU,CAAA;AAsCpD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,aAAa,CAAA;AAEzD,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,YAAY,GAAG,MAAM,CAAA;AAErE,KAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACzB,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IACzC,eAAe,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACtC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,CAAA;AAmCD,KAAK,0BAA0B,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAA;AAE/D,wBAAgB,oBAAoB,CAAC,EACnC,OAA8C,EAC9C,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,GAAE,0BAA+B;;;;;;;WAqCR,KAAK,GAAG,IAAI;;;;;;EAOrC"}
package/dist/index.js CHANGED
@@ -15888,7 +15888,7 @@ const v5 = (e, o, M, b) => {
15888
15888
  });
15889
15889
  async function S5(e) {
15890
15890
  const { data: o } = await g1(
15891
- { path: "/api/v1/users/self/todo_item_count", signal: e },
15891
+ { path: "/api/v1/users/self/todo_item_count", params: { published: !0 }, signal: e },
15892
15892
  _5
15893
15893
  );
15894
15894
  return o.needs_grading_count;
@@ -15939,7 +15939,8 @@ async function I5({ perPage: e, courseIds: o, submissionStatus: M, assignmentTyp
15939
15939
  var r, a;
15940
15940
  const c = {
15941
15941
  per_page: e,
15942
- include: ["grading_counts"]
15942
+ include: ["grading_counts"],
15943
+ published: !0
15943
15944
  };
15944
15945
  o != null && o.length && (c.course_ids = o), M != null && M.length && (c.submission_status = M), b != null && b.length && (c.assignment_types = b);
15945
15946
  const p = await g1(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-widget-dashboard",
3
- "version": "16.6.1",
3
+ "version": "16.6.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",