@hazae41/glacier
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -11,3 +11,3 @@ import * as index from './mods/index.js'; | ||
export { Fetched, FetchedInit } from './mods/fetched/fetched.js'; | ||
export { CooldownAndExpiration, Times, TimesInit } from './mods/fetched/times.js'; | ||
export { DelaysInit, Times, TimesInit } from './mods/fetched/times.js'; | ||
export { ScrollError, Scrollable } from './mods/queries/scroll/helper.js'; | ||
@@ -14,0 +14,0 @@ export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, createScrollableQuery } from './mods/queries/scroll/query.js'; |
@@ -8,3 +8,3 @@ import { Nullable } from '@hazae41/option'; | ||
} | ||
interface CooldownAndExpiration { | ||
interface DelaysInit { | ||
readonly cooldown?: Nullable<number>; | ||
@@ -19,5 +19,5 @@ readonly expiration?: Nullable<number>; | ||
declare namespace TimesInit { | ||
function merge(times: TimesInit, delays?: CooldownAndExpiration): TimesInit; | ||
function merge(times: TimesInit, delays?: DelaysInit): TimesInit; | ||
} | ||
export { type CooldownAndExpiration, type Times, TimesInit }; | ||
export { type DelaysInit, type Times, TimesInit }; |
@@ -9,3 +9,3 @@ export { AsyncBicoder, AsyncEncoder, AsyncPipeBicoder, AsyncPipeEncoder, Bicoder, Encoder, Identity, Jsoned, SyncBicoder, SyncEncoder, SyncPipeBicoder, SyncPipeEncoder } from './coders/coder.js'; | ||
export { Fetched, FetchedInit } from './fetched/fetched.js'; | ||
export { CooldownAndExpiration, Times, TimesInit } from './fetched/times.js'; | ||
export { DelaysInit, Times, TimesInit } from './fetched/times.js'; | ||
export { ScrollError, Scrollable } from './queries/scroll/helper.js'; | ||
@@ -12,0 +12,0 @@ export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, createScrollableQuery } from './queries/scroll/query.js'; |
@@ -9,4 +9,4 @@ import { ReactQuery } from '../../types/query.js'; | ||
*/ | ||
declare function useFetch<K, D, F>(query: ReactQuery<K, D, F>): void; | ||
declare function useFetch<K, D, F>(query: ReactQuery<K, D, F>, init?: RequestInit): void; | ||
export { useFetch }; |
@@ -9,4 +9,4 @@ import { ReactQuery } from '../../types/query.js'; | ||
*/ | ||
declare function useInterval<K, D, F>(query: ReactQuery<K, D, F>, interval: number): void; | ||
declare function useInterval<K, D, F>(query: ReactQuery<K, D, F>, interval: number, init?: RequestInit): void; | ||
export { useInterval }; |
@@ -9,4 +9,4 @@ import { ReactQuery } from '../../types/query.js'; | ||
*/ | ||
declare function useMount<K, D, F>(query: ReactQuery<K, D, F>): void; | ||
declare function useMount<K, D, F>(query: ReactQuery<K, D, F>, init?: RequestInit): void; | ||
export { useMount }; |
@@ -9,4 +9,4 @@ import { ReactQuery } from '../../types/query.js'; | ||
*/ | ||
declare function useOnce<K, D, F>(query: ReactQuery<K, D, F>): void; | ||
declare function useOnce<K, D, F>(query: ReactQuery<K, D, F>, init?: RequestInit): void; | ||
export { useOnce }; |
@@ -7,4 +7,4 @@ import { ReactQuery } from '../../types/query.js'; | ||
*/ | ||
declare function useOnline<K, D, F>(query: ReactQuery<K, D, F>): void; | ||
declare function useOnline<K, D, F>(query: ReactQuery<K, D, F>, init?: RequestInit): void; | ||
export { useOnline }; |
@@ -7,4 +7,4 @@ import { ReactQuery } from '../../types/query.js'; | ||
*/ | ||
declare function useVisible<K, D, F>(query: ReactQuery<K, D, F>): void; | ||
declare function useVisible<K, D, F>(query: ReactQuery<K, D, F>, init?: RequestInit): void; | ||
export { useVisible }; |
{ | ||
"type": "module", | ||
"name": "@hazae41/glacier", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"author": "hazae41", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
632084
26