@zyacreatives/shared 2.0.47 → 2.0.48
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import { CreateDisciplinesInputSchema, CreateDisciplinesOutputSchema, DisciplineEntitySchema, DisciplineUpdateOutputSchema, GetDisciplinesInputSchema, GetDisciplinesOutputSchema, SlugInputSchema } from "../schemas/discipline";
|
|
2
|
+
import { BaseDisciplineEntitySchema, CreateDisciplinesInputSchema, CreateDisciplinesOutputSchema, DisciplineEntitySchema, DisciplineUpdateOutputSchema, GetDisciplinesInputSchema, GetDisciplinesOutputSchema, SlugInputSchema } from "../schemas/discipline";
|
|
3
|
+
export type BaseDisciplineEntity = z.infer<typeof BaseDisciplineEntitySchema>;
|
|
3
4
|
export type DisciplineEntity = z.infer<typeof DisciplineEntitySchema>;
|
|
4
5
|
export type DisciplineUpdateOutput = z.infer<typeof DisciplineUpdateOutputSchema>;
|
|
5
6
|
export type CreateDisciplinesInput = z.infer<typeof CreateDisciplinesInputSchema>;
|
package/package.json
CHANGED
package/src/types/discipline.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
2
|
import {
|
|
3
|
+
BaseDisciplineEntitySchema,
|
|
3
4
|
CreateDisciplinesInputSchema,
|
|
4
5
|
CreateDisciplinesOutputSchema,
|
|
5
6
|
DisciplineEntitySchema,
|
|
@@ -9,7 +10,9 @@ import {
|
|
|
9
10
|
SlugInputSchema,
|
|
10
11
|
} from "../schemas/discipline";
|
|
11
12
|
|
|
13
|
+
export type BaseDisciplineEntity = z.infer<typeof BaseDisciplineEntitySchema>;
|
|
12
14
|
export type DisciplineEntity = z.infer<typeof DisciplineEntitySchema>;
|
|
15
|
+
|
|
13
16
|
export type DisciplineUpdateOutput = z.infer<
|
|
14
17
|
typeof DisciplineUpdateOutputSchema
|
|
15
18
|
>;
|