@purpleschool/student-works 1.5.3 → 1.5.4

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.
@@ -11,6 +11,7 @@ export declare namespace UpdatePresentationCommand {
11
11
  createdAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
12
12
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
13
  }, z.core.$strip>>>;
14
+ accentColor: z.ZodOptional<z.ZodString>;
14
15
  templateId: z.ZodOptional<z.ZodString>;
15
16
  }, z.core.$strip>;
16
17
  type Request = z.infer<typeof RequestBodySchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-presentation.command.d.ts","sourceRoot":"","sources":["../../../commands/presentation/update-presentation.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,mBAAmB;;qBAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,iBAAiB;;;;;;;;qBAA2B,CAAC;IAC1D,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAEjD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-presentation.command.d.ts","sourceRoot":"","sources":["../../../commands/presentation/update-presentation.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,mBAAmB;;qBAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,iBAAiB;;;;;;;;;qBAA2B,CAAC;IAC1D,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAEjD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -218,6 +218,7 @@ export declare const PresentationUpdateSchema: z.ZodObject<{
218
218
  createdAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
219
219
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
220
220
  }, z.core.$strip>>>;
221
+ accentColor: z.ZodOptional<z.ZodString>;
221
222
  templateId: z.ZodOptional<z.ZodString>;
222
223
  }, z.core.$strip>;
223
224
  export type PresentationUpdate = z.infer<typeof PresentationUpdateSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"presentation.schema.d.ts","sourceRoot":"","sources":["../../../models/presentation/presentation.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;iBAkB7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,wBAAwB;;;;;;;;iBAIzB,CAAC;AACb,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"presentation.schema.d.ts","sourceRoot":"","sources":["../../../models/presentation/presentation.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;iBAkB7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,wBAAwB;;;;;;;;;iBAKzB,CAAC;AACb,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -32,5 +32,6 @@ exports.PresentationWithSlidesSchema = exports.PresentationSchema.extend({
32
32
  exports.PresentationUpdateSchema = exports.PresentationSchema.pick({
33
33
  title: true,
34
34
  templateId: true,
35
+ accentColor: true,
35
36
  titlePage: true,
36
37
  }).partial();
@@ -34,6 +34,7 @@ export type PresentationWithSlides = z.infer<typeof PresentationWithSlidesSchema
34
34
  export const PresentationUpdateSchema = PresentationSchema.pick({
35
35
  title: true,
36
36
  templateId: true,
37
+ accentColor: true,
37
38
  titlePage: true,
38
39
  }).partial();
39
40
  export type PresentationUpdate = z.infer<typeof PresentationUpdateSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/student-works",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",