@halo-dev/ui-shared 2.23.0 → 2.24.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +13 -13
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./locale/index.d.ts" />
2
2
  import { Attachment, Backup, DetailedUser, Extension, GetThumbnailByUriSizeEnum, ListedComment, ListedPost, ListedReply, ListedSinglePage, Plugin, Theme } from "@halo-dev/api-client";
3
- import * as pinia from "pinia";
4
- import * as vue from "vue";
3
+ import * as _$pinia from "pinia";
4
+ import * as _$vue from "vue";
5
5
  import { Component, Raw, Ref } from "vue";
6
6
  import { RouteLocationRaw, RouteRecordName, RouteRecordRaw } from "vue-router";
7
7
  import { AnyExtension } from "@halo-dev/richtext-editor";
@@ -1430,17 +1430,17 @@ declare const stores: {
1430
1430
  * console.log(userStore.isAnonymous); // Check if user is anonymous
1431
1431
  * ```
1432
1432
  */
1433
- currentUser: pinia.StoreDefinition<"currentUser", Pick<{
1434
- currentUser: vue.Ref<DetailedUser | undefined, DetailedUser | undefined>;
1435
- isAnonymous: vue.Ref<boolean, boolean>;
1433
+ currentUser: _$pinia.StoreDefinition<"currentUser", Pick<{
1434
+ currentUser: _$vue.Ref<DetailedUser | undefined, DetailedUser | undefined>;
1435
+ isAnonymous: _$vue.Ref<boolean, boolean>;
1436
1436
  fetchCurrentUser: () => Promise<void>;
1437
1437
  }, "currentUser" | "isAnonymous">, Pick<{
1438
- currentUser: vue.Ref<DetailedUser | undefined, DetailedUser | undefined>;
1439
- isAnonymous: vue.Ref<boolean, boolean>;
1438
+ currentUser: _$vue.Ref<DetailedUser | undefined, DetailedUser | undefined>;
1439
+ isAnonymous: _$vue.Ref<boolean, boolean>;
1440
1440
  fetchCurrentUser: () => Promise<void>;
1441
1441
  }, never>, Pick<{
1442
- currentUser: vue.Ref<DetailedUser | undefined, DetailedUser | undefined>;
1443
- isAnonymous: vue.Ref<boolean, boolean>;
1442
+ currentUser: _$vue.Ref<DetailedUser | undefined, DetailedUser | undefined>;
1443
+ isAnonymous: _$vue.Ref<boolean, boolean>;
1444
1444
  fetchCurrentUser: () => Promise<void>;
1445
1445
  }, "fetchCurrentUser">>;
1446
1446
  /**
@@ -1465,14 +1465,14 @@ declare const stores: {
1465
1465
  * console.log(globalInfoStore.globalInfo?.allowRegistration);
1466
1466
  * ```
1467
1467
  */
1468
- globalInfo: pinia.StoreDefinition<"global-info", Pick<{
1469
- globalInfo: vue.Ref<GlobalInfo | undefined, GlobalInfo | undefined>;
1468
+ globalInfo: _$pinia.StoreDefinition<"global-info", Pick<{
1469
+ globalInfo: _$vue.Ref<GlobalInfo | undefined, GlobalInfo | undefined>;
1470
1470
  fetchGlobalInfo: () => Promise<void>;
1471
1471
  }, "globalInfo">, Pick<{
1472
- globalInfo: vue.Ref<GlobalInfo | undefined, GlobalInfo | undefined>;
1472
+ globalInfo: _$vue.Ref<GlobalInfo | undefined, GlobalInfo | undefined>;
1473
1473
  fetchGlobalInfo: () => Promise<void>;
1474
1474
  }, never>, Pick<{
1475
- globalInfo: vue.Ref<GlobalInfo | undefined, GlobalInfo | undefined>;
1475
+ globalInfo: _$vue.Ref<GlobalInfo | undefined, GlobalInfo | undefined>;
1476
1476
  fetchGlobalInfo: () => Promise<void>;
1477
1477
  }, "fetchGlobalInfo">>;
1478
1478
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halo-dev/ui-shared",
3
- "version": "2.23.0",
3
+ "version": "2.24.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/halo-dev/halo/tree/main/ui/packages/shared#readme",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "mitt": "^3.0.1",
33
- "@halo-dev/api-client": "2.23.0",
34
- "@halo-dev/richtext-editor": "2.23.0"
33
+ "@halo-dev/api-client": "2.24.0",
34
+ "@halo-dev/richtext-editor": "2.24.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "dayjs": "^1.11.19",
@@ -42,13 +42,13 @@
42
42
  "vue-router": "^5.0.x"
43
43
  },
44
44
  "inlinedDependencies": {
45
- "mitt": "3.0.1",
46
45
  "dayjs": "1.11.19",
46
+ "mitt": "3.0.1",
47
47
  "uuid": "13.0.0"
48
48
  },
49
49
  "scripts": {
50
- "build": "tsdown",
51
- "dev": "tsdown --watch",
50
+ "build": "vp pack",
51
+ "dev": "vp pack --watch",
52
52
  "typecheck": "tsc --noEmit -p tsconfig.app.json --composite false"
53
53
  }
54
54
  }