@instructure/platform-mock-canvas-api 0.2.0 → 0.4.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.
@@ -0,0 +1,4 @@
1
+ import { EducatorAccessibilityCourseStatistic } from '../types';
2
+ export declare const mockEducatorAccessibilityStatistic: (overrides?: Partial<EducatorAccessibilityCourseStatistic>) => EducatorAccessibilityCourseStatistic;
3
+ export declare const educatorAccessibilityCourseStatistics: EducatorAccessibilityCourseStatistic[];
4
+ //# sourceMappingURL=educatorAccessibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"educatorAccessibility.d.ts","sourceRoot":"","sources":["../../src/fixtures/educatorAccessibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAA;AAEpE,eAAO,MAAM,kCAAkC,GAC7C,YAAW,OAAO,CAAC,oCAAoC,CAAM,KAC5D,oCAaD,CAAA;AAEF,eAAO,MAAM,qCAAqC,EAAE,oCAAoC,EAwCvF,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export { courses } from './courses';
2
+ export { educatorAccessibilityCourseStatistics, mockEducatorAccessibilityStatistic, } from './educatorAccessibility';
2
3
  export { stickerDescriptions } from './stickerDescriptions';
3
4
  export { stickerTranslations } from './stickerTranslations';
4
5
  export { submissions, submissionsStore } from './submissions';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fixtures/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fixtures/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EACL,qCAAqC,EACrC,kCAAkC,GACnC,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA"}
package/dist/fixtures.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = [
1
+ const i = [
2
2
  {
3
3
  id: "1",
4
4
  uuid: "WvAU2cWNVZjm0Dup4i36bSusZ4UReXfNVhBjxooC",
@@ -39,7 +39,60 @@ const t = [
39
39
  enrollment_term_id: "2",
40
40
  term: { id: "2", name: "Spring 2025" }
41
41
  }
42
- ], a = {
42
+ ], a = (e = {}) => ({
43
+ id: 1,
44
+ course_id: 101,
45
+ course_name: "Introduction to Biology",
46
+ course_code: "BIO101",
47
+ published: !0,
48
+ active_issue_count: 14,
49
+ resolved_issue_count: 3,
50
+ closed_issue_count: 2,
51
+ workflow_state: "active",
52
+ created_at: "2026-01-01T00:00:00Z",
53
+ updated_at: "2026-01-02T00:00:00Z",
54
+ ...e
55
+ }), c = [
56
+ {
57
+ id: 1,
58
+ course_id: 101,
59
+ active_issue_count: 14,
60
+ resolved_issue_count: 3,
61
+ closed_issue_count: 2,
62
+ workflow_state: "active",
63
+ created_at: "2026-01-01T00:00:00Z",
64
+ updated_at: "2026-02-28T16:24:00Z",
65
+ course_name: "Introduction to Biology",
66
+ course_code: "BIO101",
67
+ published: !0
68
+ },
69
+ {
70
+ id: 2,
71
+ course_id: 201,
72
+ active_issue_count: 8,
73
+ resolved_issue_count: 12,
74
+ closed_issue_count: 0,
75
+ workflow_state: "active",
76
+ created_at: "2026-01-01T00:00:00Z",
77
+ updated_at: "2026-02-27T09:10:00Z",
78
+ course_name: "Cognitive Psychology",
79
+ course_code: "PSY201",
80
+ published: !0
81
+ },
82
+ {
83
+ id: 3,
84
+ course_id: 301,
85
+ active_issue_count: 0,
86
+ resolved_issue_count: 0,
87
+ closed_issue_count: 0,
88
+ workflow_state: "active",
89
+ created_at: "2026-01-01T00:00:00Z",
90
+ updated_at: "2026-02-20T11:45:00Z",
91
+ course_name: "Organic Chemistry",
92
+ course_code: "CHM301",
93
+ published: !1
94
+ }
95
+ ], r = {
43
96
  default: "A placeholder sticker with a smiley face and a plus sign.",
44
97
  star: "A sticker with a picture of a smiling star.",
45
98
  trophy: "A sticker with a picture of a golden trophy.",
@@ -91,13 +144,13 @@ const t = [
91
144
  tag: "A sticker with a picture of a clip-on identification tag.",
92
145
  presentation: "A sticker with a picture of a projector screen with presentation content on it.",
93
146
  column: "A sticker with a picture of a roman column."
94
- }, r = {
147
+ }, o = {
95
148
  chooseASticker: "Choose a sticker",
96
149
  close: "Close",
97
150
  removeSticker: "Remove sticker",
98
151
  removedSticker: "Removed sticker",
99
152
  selectedSticker: "Selected sticker"
100
- }, i = [
153
+ }, t = [
101
154
  {
102
155
  id: "1",
103
156
  course_id: "1",
@@ -146,13 +199,15 @@ const t = [
146
199
  grade: "A+",
147
200
  score: 98
148
201
  }
149
- ], c = new Map(
150
- i.map((e) => [e.id, { ...e }])
202
+ ], s = new Map(
203
+ t.map((e) => [e.id, { ...e }])
151
204
  );
152
205
  export {
153
- t as courses,
154
- a as stickerDescriptions,
155
- r as stickerTranslations,
156
- i as submissions,
157
- c as submissionsStore
206
+ i as courses,
207
+ c as educatorAccessibilityCourseStatistics,
208
+ a as mockEducatorAccessibilityStatistic,
209
+ r as stickerDescriptions,
210
+ o as stickerTranslations,
211
+ t as submissions,
212
+ s as submissionsStore
158
213
  };
@@ -0,0 +1,3 @@
1
+ import { RequestHandler } from 'msw';
2
+ export declare const educatorAccessibilityHandlers: RequestHandler[];
3
+ //# sourceMappingURL=educatorAccessibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"educatorAccessibility.d.ts","sourceRoot":"","sources":["../../src/handlers/educatorAccessibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,eAAO,MAAM,6BAA6B,EAAE,cAAc,EAIzD,CAAA"}
@@ -1,6 +1,8 @@
1
1
  import { RequestHandler } from 'msw';
2
2
  import { courseHandlers } from './courses';
3
+ import { educatorAccessibilityHandlers } from './educatorAccessibility';
3
4
  import { submissionHandlers } from './submissions';
5
+ import { userColorHandlers } from './userColors';
4
6
  export declare const handlers: RequestHandler[];
5
- export { courseHandlers, submissionHandlers };
7
+ export { courseHandlers, educatorAccessibilityHandlers, submissionHandlers, userColorHandlers };
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,eAAO,MAAM,QAAQ,EAAE,cAAc,EAA+C,CAAA;AAEpF,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAA;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,eAAO,MAAM,QAAQ,EAAE,cAAc,EAKpC,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { RequestHandler } from 'msw';
2
+ /**
3
+ * Handlers for the user course-color and course-nickname endpoints used by the
4
+ * platform-color-picker. Echo the submitted values back, matching Canvas shape.
5
+ */
6
+ export declare const userColorHandlers: RequestHandler[];
7
+ //# sourceMappingURL=userColors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userColors.d.ts","sourceRoot":"","sources":["../../src/handlers/userColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAGzC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAiB7C,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './fixtures';
2
- export { courseHandlers, handlers, submissionHandlers } from './handlers';
2
+ export { courseHandlers, educatorAccessibilityHandlers, handlers, submissionHandlers, userColorHandlers, } from './handlers';
3
3
  export type * from './types';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACzE,mBAAmB,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,OAAO,EACL,cAAc,EACd,6BAA6B,EAC7B,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,YAAY,CAAA;AACnB,mBAAmB,SAAS,CAAA"}
package/dist/index.js CHANGED
@@ -1,46 +1,70 @@
1
- import { courses as m, submissionsStore as u } from "./fixtures.js";
2
- import { stickerDescriptions as l, stickerTranslations as v, submissions as k } from "./fixtures.js";
3
- import { http as r, HttpResponse as i } from "msw";
4
- const a = [
1
+ import { courses as c, educatorAccessibilityCourseStatistics as m, submissionsStore as u } from "./fixtures.js";
2
+ import { mockEducatorAccessibilityStatistic as y, stickerDescriptions as _, stickerTranslations as S, submissions as h } from "./fixtures.js";
3
+ import { http as i, HttpResponse as n } from "msw";
4
+ const d = [
5
5
  // GET /api/v1/courses
6
- r.get("/api/v1/courses", () => i.json(m)),
6
+ i.get("/api/v1/courses", () => n.json(c)),
7
7
  // GET /api/v1/courses/:courseId (courseId may be a numeric id or a `uuid:<uuid>` ref)
8
- r.get("/api/v1/courses/:courseId", ({ params: n }) => {
9
- const s = String(n.courseId).replace(/^uuid:/, ""), o = m.find((e) => e.id === s || e.uuid === s);
10
- return o ? i.json(o) : i.json({ errors: [{ message: "Course not found" }] }, { status: 404 });
8
+ i.get("/api/v1/courses/:courseId", ({ params: e }) => {
9
+ const s = String(e.courseId).replace(/^uuid:/, ""), o = c.find((t) => t.id === s || t.uuid === s);
10
+ return o ? n.json(o) : n.json({ errors: [{ message: "Course not found" }] }, { status: 404 });
11
11
  })
12
- ], d = 300, b = [
12
+ ], b = [
13
+ i.get("/api/v1/users/:userId/educator_accessibility_course_statistics", () => n.json(m))
14
+ ], g = 300, l = [
13
15
  // GET submission
14
- r.get(
16
+ i.get(
15
17
  "/api/v1/courses/:courseId/assignments/:assignmentId/submissions/:submissionId",
16
- ({ params: n }) => {
17
- const s = u.get(n.submissionId);
18
- return s ? i.json(s) : i.json({ errors: [{ message: "Submission not found" }] }, { status: 404 });
18
+ ({ params: e }) => {
19
+ const s = u.get(e.submissionId);
20
+ return s ? n.json(s) : n.json({ errors: [{ message: "Submission not found" }] }, { status: 404 });
19
21
  }
20
22
  ),
21
23
  // PATCH submission (update sticker)
22
- r.patch(
24
+ i.patch(
23
25
  "/api/v1/courses/:courseId/assignments/:assignmentId/submissions/:submissionId",
24
- async ({ params: n, request: s }) => {
25
- const { submissionId: o } = n, e = await s.json(), t = u.get(o);
26
- return t ? (e.submission && "sticker" in e.submission && e.submission.sticker !== void 0 && (t.sticker = e.submission.sticker, u.set(o, t)), await new Promise((c) => setTimeout(c, d)), i.json(t)) : i.json({ errors: [{ message: "Submission not found" }] }, { status: 404 });
26
+ async ({ params: e, request: s }) => {
27
+ const { submissionId: o } = e, t = await s.json(), r = u.get(o);
28
+ return r ? (t.submission && "sticker" in t.submission && t.submission.sticker !== void 0 && (r.sticker = t.submission.sticker, u.set(o, r)), await new Promise((a) => setTimeout(a, g)), n.json(r)) : n.json({ errors: [{ message: "Submission not found" }] }, { status: 404 });
27
29
  }
28
30
  ),
29
31
  // GET all submissions for an assignment
30
- r.get("/api/v1/courses/:courseId/assignments/:assignmentId/submissions", ({ params: n }) => {
32
+ i.get("/api/v1/courses/:courseId/assignments/:assignmentId/submissions", ({ params: e }) => {
31
33
  const s = Array.from(u.values()).filter(
32
- (o) => o.course_id === n.courseId && o.assignment_id === n.assignmentId
34
+ (o) => o.course_id === e.courseId && o.assignment_id === e.assignmentId
33
35
  );
34
- return i.json(s);
36
+ return n.json(s);
35
37
  })
36
- ], f = [...a, ...b];
38
+ ], p = [
39
+ // PUT /api/v1/users/:userId/colors/:assetString -> persist a course color
40
+ i.put("/api/v1/users/:userId/colors/:assetString", async ({ request: e }) => {
41
+ const s = await e.json().catch(() => ({}));
42
+ return n.json({ hexcode: s.hexcode ?? "" });
43
+ }),
44
+ // PUT /api/v1/users/self/course_nicknames/:courseId -> set a nickname
45
+ i.put("/api/v1/users/self/course_nicknames/:courseId", async ({ request: e }) => {
46
+ const s = await e.json().catch(() => ({}));
47
+ return n.json({ nickname: s.nickname ?? "", name: s.nickname ?? "" });
48
+ }),
49
+ // DELETE /api/v1/users/self/course_nicknames/:courseId -> clear a nickname
50
+ i.delete("/api/v1/users/self/course_nicknames/:courseId", () => n.json({ nickname: null, name: "" }))
51
+ ], j = [
52
+ ...d,
53
+ ...b,
54
+ ...l,
55
+ ...p
56
+ ];
37
57
  export {
38
- a as courseHandlers,
39
- m as courses,
40
- f as handlers,
41
- l as stickerDescriptions,
42
- v as stickerTranslations,
43
- b as submissionHandlers,
44
- k as submissions,
45
- u as submissionsStore
58
+ d as courseHandlers,
59
+ c as courses,
60
+ m as educatorAccessibilityCourseStatistics,
61
+ b as educatorAccessibilityHandlers,
62
+ j as handlers,
63
+ y as mockEducatorAccessibilityStatistic,
64
+ _ as stickerDescriptions,
65
+ S as stickerTranslations,
66
+ l as submissionHandlers,
67
+ h as submissions,
68
+ u as submissionsStore,
69
+ p as userColorHandlers
46
70
  };
@@ -10,6 +10,19 @@ export interface Course {
10
10
  };
11
11
  }
12
12
  export type StickerTitle = 'star' | 'trophy' | 'target' | 'apple' | 'paintbrush' | 'pencil' | 'design' | 'pen' | 'science2' | 'microscope' | 'telescope' | 'beaker' | 'chem' | 'science' | 'basketball' | 'gym' | 'book' | 'composite_notebook' | 'notebook' | 'page' | 'mail' | 'music' | 'globe' | 'computer' | 'tablet' | 'calculator' | 'mouse' | 'panda1' | 'panda2' | 'panda3' | 'panda4' | 'panda5' | 'panda6' | 'panda7' | 'panda8' | 'panda9' | 'bookbag' | 'briefcase' | 'grad' | 'bus' | 'bell' | 'clock' | 'calendar' | 'paperclip' | 'scissors' | 'ruler' | 'tape' | 'tag' | 'presentation' | 'column';
13
+ export interface EducatorAccessibilityCourseStatistic {
14
+ id: number;
15
+ course_id: number;
16
+ active_issue_count: number;
17
+ resolved_issue_count: number;
18
+ closed_issue_count: number;
19
+ workflow_state: string;
20
+ created_at: string;
21
+ updated_at: string;
22
+ course_name: string;
23
+ course_code: string;
24
+ published: boolean;
25
+ }
13
26
  export interface Submission {
14
27
  id: string;
15
28
  course_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CA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MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,mBAAmB,GAAG;KAC/B,GAAG,IAAI,YAAY,GAAG,SAAS,GAAG,MAAM;CAC1C,CAAA;AAED,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-mock-canvas-api",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",