@zyacreatives/shared 2.5.41 → 2.5.43
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/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -27,6 +27,8 @@ export declare const ExploreAndFeedSettingsSchema: z.ZodObject<{
|
|
|
27
27
|
latest: "latest";
|
|
28
28
|
recommended: "recommended";
|
|
29
29
|
}>;
|
|
30
|
+
filterSensitiveContent: z.ZodBoolean;
|
|
31
|
+
enableFeedRecommendations: z.ZodBoolean;
|
|
30
32
|
}, z.core.$strip>;
|
|
31
33
|
export type ExploreAndFeedSettings = z.infer<typeof ExploreAndFeedSettingsSchema>;
|
|
32
34
|
export declare const NotificationsSettingsSchema: z.ZodObject<{
|
|
@@ -73,6 +75,8 @@ export declare const UserSettingsSchema: z.ZodObject<{
|
|
|
73
75
|
latest: "latest";
|
|
74
76
|
recommended: "recommended";
|
|
75
77
|
}>;
|
|
78
|
+
filterSensitiveContent: z.ZodBoolean;
|
|
79
|
+
enableFeedRecommendations: z.ZodBoolean;
|
|
76
80
|
}, z.core.$strip>;
|
|
77
81
|
notifications: z.ZodObject<{
|
|
78
82
|
enableNotifications: z.ZodBoolean;
|
package/dist/schemas/settings.js
CHANGED
|
@@ -17,6 +17,8 @@ exports.ProfileVisibilitySettingsSchema = zod_1.z.object({
|
|
|
17
17
|
});
|
|
18
18
|
exports.ExploreAndFeedSettingsSchema = zod_1.z.object({
|
|
19
19
|
feedAlgorithm: zod_1.z.enum(["latest", "recommended", "following"]),
|
|
20
|
+
filterSensitiveContent: zod_1.z.boolean(),
|
|
21
|
+
enableFeedRecommendations: zod_1.z.boolean(),
|
|
20
22
|
});
|
|
21
23
|
exports.NotificationsSettingsSchema = zod_1.z.object({
|
|
22
24
|
enableNotifications: zod_1.z.boolean(),
|
package/package.json
CHANGED
package/src/schemas/index.ts
CHANGED
package/src/schemas/settings.ts
CHANGED
|
@@ -20,6 +20,8 @@ export type ProfileVisibilitySettings = z.infer<typeof ProfileVisibilitySettings
|
|
|
20
20
|
|
|
21
21
|
export const ExploreAndFeedSettingsSchema = z.object({
|
|
22
22
|
feedAlgorithm: z.enum(["latest", "recommended", "following"]),
|
|
23
|
+
filterSensitiveContent: z.boolean(),
|
|
24
|
+
enableFeedRecommendations: z.boolean(),
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
export type ExploreAndFeedSettings = z.infer<typeof ExploreAndFeedSettingsSchema>;
|