create-app
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -5,6 +5,6 @@ /** | ||
import { LocationTypeMap, HistoryWithBFOL } from 'create-history'; | ||
import { Settings } from '../share/type'; | ||
import { EntireSettings, Settings } from '../share/type'; | ||
import { App } from './type'; | ||
export declare function createHistory(settings?: Settings): HistoryWithBFOL<LocationTypeMap['QUERY']['Base'], LocationTypeMap['QUERY']['Intact']>; | ||
export declare function createHistoryWithBasename(settings?: Settings): HistoryWithBFOL<LocationTypeMap['BQ']['Base'], LocationTypeMap['BQ']['Intact']>; | ||
export default function createApp(settings: Partial<Settings>): App; | ||
export declare function createHistory(settings?: EntireSettings): HistoryWithBFOL<LocationTypeMap['QUERY']['Base'], LocationTypeMap['QUERY']['Intact']>; | ||
export declare function createHistoryWithBasename(settings?: EntireSettings): HistoryWithBFOL<LocationTypeMap['BQ']['Base'], LocationTypeMap['BQ']['Intact']>; | ||
export default function createApp(settings: Settings): App; |
@@ -5,3 +5,3 @@ import createApp from './createApp'; | ||
export { App, ClientController } from './type'; | ||
export { Route, Settings, CreateHistoryType, Params, Matches, Matcher, ViewEngine, ViewEngineRender, ViewEngineClear, Loader, LoadController, Context, HistoryBaseLocation, HistoryLocation, Controller, ControllerConstructor, Cache, CacheStorage, AppMap } from '../share/type'; | ||
export { Route, EntireSettings, Settings, CreateHistoryType, Params, Matches, Matcher, ViewEngine, ViewEngineRender, ViewEngineClear, Loader, LoadController, Context, HistoryBaseLocation, HistoryLocation, Controller, ControllerConstructor, Cache, CacheStorage, AppMap } from '../share/type'; | ||
export { Actions } from 'create-history'; |
@@ -13,2 +13,3 @@ import { | ||
Callback, | ||
EntireSettings, | ||
Settings, | ||
@@ -15,0 +16,0 @@ ControllerConstructor, |
@@ -5,6 +5,6 @@ /** | ||
import { History, LocationTypeMap } from 'create-history'; | ||
import { Settings } from '../share/type'; | ||
import { EntireSettings, Settings } from '../share/type'; | ||
import { App } from './type'; | ||
export declare function createHistory(settings?: Settings): History<LocationTypeMap['QUERY']['Base'], LocationTypeMap['QUERY']['Intact']>; | ||
export declare function createHistoryWithBasename(settings?: Settings): History<LocationTypeMap['BQ']['Base'], LocationTypeMap['BQ']['Intact']>; | ||
export default function createApp(settings: Partial<Settings>): App; | ||
export declare function createHistory(settings?: EntireSettings): History<LocationTypeMap['QUERY']['Base'], LocationTypeMap['QUERY']['Intact']>; | ||
export declare function createHistoryWithBasename(settings?: EntireSettings): History<LocationTypeMap['BQ']['Base'], LocationTypeMap['BQ']['Intact']>; | ||
export default function createApp(settings: Settings): App; |
@@ -5,3 +5,3 @@ import createApp from './createApp'; | ||
export { App, ServerController } from './type'; | ||
export { Route, Settings, CreateHistoryType, Params, Matches, Matcher, ViewEngine, ViewEngineRender, ViewEngineClear, Loader, LoadController, Context, HistoryBaseLocation, HistoryLocation, Controller, ControllerConstructor, Cache, CacheStorage, AppMap } from '../share/type'; | ||
export { Route, EntireSettings, Settings, CreateHistoryType, Params, Matches, Matcher, ViewEngine, ViewEngineRender, ViewEngineClear, Loader, LoadController, Context, HistoryBaseLocation, HistoryLocation, Controller, ControllerConstructor, Cache, CacheStorage, AppMap } from '../share/type'; | ||
export { Actions } from 'create-history'; |
@@ -5,3 +5,3 @@ import { History, LocationTypeMap } from 'create-history' | ||
Callback, | ||
Settings, | ||
EntireSettings, | ||
Matcher, | ||
@@ -8,0 +8,0 @@ Loader, |
@@ -1,5 +0,5 @@ | ||
import { Settings } from './type'; | ||
import { EntireSettings } from './type'; | ||
export declare const isClient: boolean; | ||
export declare const isServer: boolean; | ||
declare const defaultAppSettings: Settings; | ||
declare const defaultAppSettings: EntireSettings; | ||
export default defaultAppSettings; |
@@ -59,3 +59,3 @@ /* | ||
export interface Settings extends HistoryOptions { | ||
export interface EntireSettings extends HistoryOptions { | ||
container: string | HTMLElement | ||
@@ -71,2 +71,4 @@ basename: string | ||
export type Settings = Partial<EntireSettings> | ||
export type Listener = Function | ||
@@ -73,0 +75,0 @@ |
{ | ||
"name": "create-app", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "configuring once, rendering both client and server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40829
1057