@zyacreatives/shared 1.4.3 → 1.4.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.
@@ -2,12 +2,8 @@ import { z } from "@hono/zod-openapi";
2
2
  import { CreateCreativeOutputSchema, CreateCreativeProfileInputSchema, CreativeEntitySchema, GetCreativeOutputSchema, GetCreativeParamsSchema, GetCreativeQuerySchema, ListCreativesInputSchema, UpdateCreativeOutputSchema, UpdateCreativeProfileInputSchema } from "../schemas";
3
3
  export type CreativeEntity = z.infer<typeof CreativeEntitySchema>;
4
4
  export type ListCreativesInput = z.infer<typeof ListCreativesInputSchema>;
5
- export type CreateCreativeInput = z.infer<typeof CreateCreativeProfileInputSchema> & {
6
- userId: string;
7
- };
8
- export type UpdateCreativeInput = z.infer<typeof UpdateCreativeProfileInputSchema> & {
9
- userId: string;
10
- };
5
+ export type CreateCreativeInput = z.infer<typeof CreateCreativeProfileInputSchema>;
6
+ export type UpdateCreativeInput = z.infer<typeof UpdateCreativeProfileInputSchema>;
11
7
  export type GetCreativeParams = z.infer<typeof GetCreativeParamsSchema>;
12
8
  export type GetCreativeQuery = z.infer<typeof GetCreativeQuerySchema>;
13
9
  export type CreateCreativeOutput = z.infer<typeof CreateCreativeOutputSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,25 +15,19 @@ export type CreativeEntity = z.infer<typeof CreativeEntitySchema>;
15
15
 
16
16
  export type ListCreativesInput = z.infer<typeof ListCreativesInputSchema>;
17
17
 
18
- export type CreateCreativeInput = z.infer<typeof CreateCreativeProfileInputSchema> & {
19
- userId: string;
20
- };
21
- export type UpdateCreativeInput = z.infer<typeof UpdateCreativeProfileInputSchema> & {
22
- userId: string;
23
- };
18
+ export type CreateCreativeInput = z.infer<
19
+ typeof CreateCreativeProfileInputSchema
20
+ >;
21
+ export type UpdateCreativeInput = z.infer<
22
+ typeof UpdateCreativeProfileInputSchema
23
+ >;
24
24
 
25
25
  export type GetCreativeParams = z.infer<typeof GetCreativeParamsSchema>;
26
26
 
27
27
  export type GetCreativeQuery = z.infer<typeof GetCreativeQuerySchema>;
28
28
 
29
- export type CreateCreativeOutput = z.infer<
30
- typeof CreateCreativeOutputSchema
31
- >;
29
+ export type CreateCreativeOutput = z.infer<typeof CreateCreativeOutputSchema>;
32
30
 
33
- export type GetCreativeOutput = z.infer<
34
- typeof GetCreativeOutputSchema
35
- >;
31
+ export type GetCreativeOutput = z.infer<typeof GetCreativeOutputSchema>;
36
32
 
37
- export type UpdateCreativeOutput = z.infer<
38
- typeof UpdateCreativeOutputSchema
39
- >;
33
+ export type UpdateCreativeOutput = z.infer<typeof UpdateCreativeOutputSchema>;