@typed/navigation 0.5.1 → 0.5.3
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/cjs/dom-intent.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ export type DomIntent = {
|
|
|
21
21
|
export declare const makeIntent: (model: Model, base: string, history: History, options: DomNavigationOptions) => DomIntent;
|
|
22
22
|
export type Intent = ReturnType<typeof makeIntent>;
|
|
23
23
|
export declare const makeSave: (model: Model) => (event: NavigationEvent) => Effect.Effect<Storage, never, void>;
|
|
24
|
-
export declare const makeReload: (model: Model, notify: Notify, save: Save<Storage>) => Effect.Effect<
|
|
25
|
-
export declare const makeReplace: (model: Model, notify: Notify, notifyEnd: NotifyEnd, save: Save<Storage>, history: History, base: string) => (url: string, options?: NavigateOptions, skipHistory?: boolean) => Effect.Effect<
|
|
26
|
-
export declare const makePush: (model: Model, notify: Notify, notifyEnd: NotifyEnd, save: Save<Storage>, base: string, history: History, maxEntries: number) => (url: string, options?: NavigateOptions, skipHistory?: boolean) => Effect.Effect<
|
|
24
|
+
export declare const makeReload: (model: Model, notify: Notify, save: Save<Storage>) => Effect.Effect<Storage | Location, NavigationError, Destination>;
|
|
25
|
+
export declare const makeReplace: (model: Model, notify: Notify, notifyEnd: NotifyEnd, save: Save<Storage>, history: History, base: string) => (url: string, options?: NavigateOptions, skipHistory?: boolean) => Effect.Effect<Storage | Location, NavigationError, Destination>;
|
|
26
|
+
export declare const makePush: (model: Model, notify: Notify, notifyEnd: NotifyEnd, save: Save<Storage>, base: string, history: History, maxEntries: number) => (url: string, options?: NavigateOptions, skipHistory?: boolean) => Effect.Effect<Storage | Location, NavigationError, Destination>;
|
|
27
27
|
export declare const makeGo: (model: Model, notify: Notify, notifyEnd: NotifyEnd, save: Save<Storage>, history: History) => (delta: number, skipHistory?: boolean) => Effect.Effect<Storage, NavigationError, Destination>;
|
|
28
28
|
//# sourceMappingURL=dom-intent.d.ts.map
|