@turtleclub/hooks 0.5.0-beta.82 → 0.5.0-beta.83
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/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/v2/products/schema.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -819,7 +819,11 @@ var productsResponseSchema = import_zod6.z.object({
|
|
|
819
819
|
total: import_zod6.z.number().optional()
|
|
820
820
|
});
|
|
821
821
|
var productResponseSchema = import_zod6.z.object({
|
|
822
|
-
product: productSchema
|
|
822
|
+
product: productSchema,
|
|
823
|
+
stats: import_zod6.z.object({
|
|
824
|
+
totalUsers: import_zod6.z.number(),
|
|
825
|
+
activeUsers: import_zod6.z.number()
|
|
826
|
+
}).optional()
|
|
823
827
|
});
|
|
824
828
|
var createProductResponseSchema = import_zod6.z.object({
|
|
825
829
|
id: import_zod6.z.string().uuid()
|