@oaknational/google-classroom-addon 1.19.1 → 1.20.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.
@@ -22,6 +22,7 @@ declare const classroomAttachmentEntitySchema: z.ZodObject<{
22
22
  maxPoints: z.ZodOptional<z.ZodNumber>;
23
23
  attachmentId: z.ZodString;
24
24
  createdAt: z.ZodString;
25
+ teacherLoginHint: z.ZodOptional<z.ZodString>;
25
26
  }, z.core.$strip>;
26
27
  type ClassroomAttachmentEntity = z.infer<typeof classroomAttachmentEntitySchema>;
27
28
 
@@ -34,6 +35,7 @@ declare const createAnnouncementAttachmentArgsSchema: z.ZodObject<{
34
35
  programmeSlug: z.ZodString;
35
36
  unitSlug: z.ZodString;
36
37
  maxPoints: z.ZodOptional<z.ZodNumber>;
38
+ teacherLoginHint: z.ZodOptional<z.ZodString>;
37
39
  }, z.core.$strip>;
38
40
  type CreateAnnouncementAttachmentArgs = z.infer<typeof createAnnouncementAttachmentArgsSchema>;
39
41
 
package/dist/types.d.ts CHANGED
@@ -23,6 +23,7 @@ declare const CreateAttachmentCallSchema: z.ZodTuple<[z.ZodObject<{
23
23
  programmeSlug: z.ZodString;
24
24
  unitSlug: z.ZodString;
25
25
  maxPoints: z.ZodOptional<z.ZodNumber>;
26
+ teacherLoginHint: z.ZodOptional<z.ZodString>;
26
27
  }, z.core.$strip>, z.ZodString, z.ZodString], null>;
27
28
  type CreateAttachmentCall = z.infer<typeof CreateAttachmentCallSchema>;
28
29
 
@@ -44,6 +45,7 @@ declare const classroomAttachmentEntitySchema: z.ZodObject<{
44
45
  maxPoints: z.ZodOptional<z.ZodNumber>;
45
46
  attachmentId: z.ZodString;
46
47
  createdAt: z.ZodString;
48
+ teacherLoginHint: z.ZodOptional<z.ZodString>;
47
49
  }, z.core.$strip>;
48
50
  type ClassroomAttachmentEntity = z.infer<typeof classroomAttachmentEntitySchema>;
49
51
  declare const userCredentialsEntitySchema: z.ZodObject<{
@@ -62,6 +64,7 @@ declare const createAnnouncementAttachmentArgsSchema: z.ZodObject<{
62
64
  programmeSlug: z.ZodString;
63
65
  unitSlug: z.ZodString;
64
66
  maxPoints: z.ZodOptional<z.ZodNumber>;
67
+ teacherLoginHint: z.ZodOptional<z.ZodString>;
65
68
  }, z.core.$strip>;
66
69
  type CreateAnnouncementAttachmentArgs = z.infer<typeof createAnnouncementAttachmentArgsSchema>;
67
70
  declare const classroomAttachmentSchema: z.ZodObject<{
package/dist/views.d.ts CHANGED
@@ -95,8 +95,8 @@ type Year = {
95
95
  phase: "primary" | "secondary";
96
96
  };
97
97
  declare enum AuthCookieKeys {
98
- AccessToken = "oak-gclassroom-session",
99
- Session = "oak-gclassroom-token",
98
+ AccessToken = "oak-gclassroom-token",
99
+ Session = "oak-gclassroom-session",
100
100
  PupilAccessToken = "oak-gclassroom-pupil-token",
101
101
  PupilSession = "oak-gclassroom-pupil-session"
102
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/google-classroom-addon",
3
- "version": "1.19.1",
3
+ "version": "1.20.0",
4
4
  "description": "Components and helpers for the Oak Google Classroom Add-on",
5
5
  "exports": {
6
6
  "./ui": {