@creopse/vue 0.0.18 → 0.0.19

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@creopse/vue",
3
3
  "description": "Creopse Vue Toolkit",
4
- "version": "0.0.18",
4
+ "version": "0.0.19",
5
5
  "private": false,
6
6
  "author": "Noé Gnanih <noegnanih@gmail.com>",
7
7
  "license": "MIT",
package/types/index.d.ts CHANGED
@@ -16,7 +16,6 @@ export { useConfig } from './composables/config';
16
16
  export { useHelper } from './composables/helper';
17
17
  export { useContent } from './composables/content';
18
18
  export { useNewsletter } from './composables/newsletter';
19
- export { useUserPreference } from './composables/user-preference';
20
19
  export type { PropsManager };
21
20
  export { RootContainer, CustomTransition, MountedTeleport, StickyBottom, StickyTop, ReadMore, AsyncImg, Image, };
22
21
  export type { PluginOptions };
@@ -1,26 +0,0 @@
1
- import { Bool, type UserPrefs } from '@creopse/utils';
2
- /**
3
- * A composable that exposes the default user preferences.
4
- *
5
- * @returns An object containing the `defaultPrefs` property, which is a reactive
6
- * ref to the default user preferences.
7
- *
8
- * The `defaultPrefs` object contains the following properties:
9
- *
10
- * - `inAppNotifEnabled`: A boolean indicating whether in-app notifications are
11
- * enabled by default.
12
- * - `emailNotifEnabled`: A boolean indicating whether email notifications are
13
- * enabled by default.
14
- * - `locale`: The user's preferred locale.
15
- */
16
- export declare const useUserPreference: () => {
17
- defaultPrefs: globalThis.Ref<{
18
- inAppNotifEnabled?: Bool | undefined;
19
- emailNotifEnabled?: Bool | undefined;
20
- locale?: string | undefined;
21
- }, UserPrefs | {
22
- inAppNotifEnabled?: Bool | undefined;
23
- emailNotifEnabled?: Bool | undefined;
24
- locale?: string | undefined;
25
- }>;
26
- };