@wisemen/vue-core-api-utils 0.0.1-beta.5 → 0.0.1

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,4 +1,4 @@
1
- import * as vue6 from "vue";
1
+ import * as vue0 from "vue";
2
2
  import { ComputedRef, MaybeRef, Ref, UnwrapRef } from "vue";
3
3
  import { Result } from "neverthrow";
4
4
 
@@ -172,15 +172,15 @@ interface KeysetInfiniteQueryOptions<TData> {
172
172
  queryKey: { [TQueryKey in keyof QueryKeys]?: { [TQueryKeyParam in keyof NonOptionalKeys$2<QueryKeys[TQueryKey]>]: MaybeRef<QueryKeys[TQueryKey][TQueryKeyParam]> } };
173
173
  }
174
174
  declare function useKeysetInfiniteQuery<TData>(options: KeysetInfiniteQueryOptions<TData>): {
175
- hasNextPage: vue6.ComputedRef<boolean>;
176
- isError: vue6.ComputedRef<boolean>;
177
- isFetching: vue6.ComputedRef<boolean>;
178
- isFetchingNextPage: vue6.ComputedRef<boolean>;
179
- isLoading: vue6.ComputedRef<boolean>;
180
- isSuccess: vue6.ComputedRef<boolean>;
175
+ hasNextPage: vue0.ComputedRef<boolean>;
176
+ isError: vue0.ComputedRef<boolean>;
177
+ isFetching: vue0.ComputedRef<boolean>;
178
+ isFetchingNextPage: vue0.ComputedRef<boolean>;
179
+ isLoading: vue0.ComputedRef<boolean>;
180
+ isSuccess: vue0.ComputedRef<boolean>;
181
181
  fetchNextPage: () => Promise<void>;
182
182
  refetch: () => Promise<void>;
183
- result: vue6.ComputedRef<KeysetPaginationResult<TData>>;
183
+ result: vue0.ComputedRef<KeysetPaginationResult<TData>>;
184
184
  };
185
185
  //#endregion
186
186
  //#region src/composables/query/offsetInfiniteQuery.composable.d.ts
@@ -214,15 +214,15 @@ interface OffsetInfiniteQueryOptions<TData> {
214
214
  queryKey: { [TQueryKey in keyof QueryKeys]?: { [TQueryKeyParam in keyof NonOptionalKeys$1<QueryKeys[TQueryKey]>]: MaybeRef<QueryKeys[TQueryKey][TQueryKeyParam]> } };
215
215
  }
216
216
  declare function useOffsetInfiniteQuery<TData>(options: OffsetInfiniteQueryOptions<TData>): {
217
- hasNextPage: vue6.ComputedRef<boolean>;
218
- isError: vue6.ComputedRef<boolean>;
219
- isFetching: vue6.ComputedRef<boolean>;
220
- isFetchingNextPage: vue6.ComputedRef<boolean>;
221
- isLoading: vue6.ComputedRef<boolean>;
222
- isSuccess: vue6.ComputedRef<boolean>;
217
+ hasNextPage: vue0.ComputedRef<boolean>;
218
+ isError: vue0.ComputedRef<boolean>;
219
+ isFetching: vue0.ComputedRef<boolean>;
220
+ isFetchingNextPage: vue0.ComputedRef<boolean>;
221
+ isLoading: vue0.ComputedRef<boolean>;
222
+ isSuccess: vue0.ComputedRef<boolean>;
223
223
  fetchNextPage: () => Promise<void>;
224
224
  refetch: () => Promise<void>;
225
- result: vue6.ComputedRef<OffsetPaginationResult<TData>>;
225
+ result: vue0.ComputedRef<OffsetPaginationResult<TData>>;
226
226
  };
227
227
  //#endregion
228
228
  //#region src/composables/query/query.composable.d.ts
package/package.json CHANGED
@@ -4,19 +4,19 @@
4
4
  "access": "public"
5
5
  },
6
6
  "type": "module",
7
- "version": "0.0.1-beta.5",
7
+ "version": "0.0.1",
8
8
  "license": "MIT",
9
9
  "sideEffects": false,
10
10
  "exports": {
11
11
  ".": {
12
- "types": "./dist/index.d.ts",
13
- "import": "./dist/index.js"
12
+ "types": "./dist/index.d.mts",
13
+ "import": "./dist/index.mjs"
14
14
  }
15
15
  },
16
- "main": "./dist/index.umd.cjs",
17
- "module": "./dist/index.js",
18
- "types": "./dist/index.d.ts",
19
- "typings": "./dist/index.d.ts",
16
+ "main": "./dist/index.mjs",
17
+ "module": "./dist/index.mjs",
18
+ "types": "./dist/index.d.mts",
19
+ "typings": "./dist/index.d.mts",
20
20
  "files": [
21
21
  "./dist"
22
22
  ],
@@ -27,14 +27,15 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "24.8.1",
30
- "@wisemen/eslint-config-vue": "1.7.3",
31
- "eslint": "9.38.0",
32
- "tsdown": "0.15.8",
30
+ "eslint": "9.39.2",
31
+ "tsdown": "0.18.4",
33
32
  "typescript": "5.9.3",
34
- "vitest": "3.2.4"
33
+ "vitest": "4.0.17",
34
+ "@wisemen/eslint-config-vue": "2.0.0"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsdown",
38
+ "dev": "tsdown --watch",
38
39
  "pub:release": "pnpm publish --access public",
39
40
  "pub:beta": "pnpm publish --no-git-checks --access public --tag beta",
40
41
  "pub:next": "pnpm publish --no-git-checks --access public --tag next",
File without changes