@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.
- package/dist/types/creative.d.ts +2 -6
- package/package.json +1 -1
- package/src/types/creative.ts +9 -15
package/dist/types/creative.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
package/src/types/creative.ts
CHANGED
|
@@ -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<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export type UpdateCreativeInput = z.infer<
|
|
22
|
-
|
|
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>;
|