@wixc3/app-core
Advanced tools
Comparing version 4.0.2 to 4.1.0
@@ -98,3 +98,4 @@ import type React from 'react'; | ||
newPageSourceCode: string; | ||
newPageRoute: RouteInfo<T>; | ||
newPageRoute?: RouteInfo<T>; | ||
routingPattern?: RoutingPattern; | ||
}; | ||
@@ -111,3 +112,4 @@ /** | ||
pageModule: string; | ||
newPageRoute: RouteInfo<T>; | ||
newPageRoute?: RouteInfo<T>; | ||
routingPattern?: RoutingPattern; | ||
}; | ||
@@ -190,2 +192,3 @@ App: React.ComponentType<IReactAppProps<T>>; | ||
} | ||
export type RoutingPattern = 'file' | 'folder(route)' | 'folder(index)'; | ||
export interface IMovePageInfoOptions<T> extends IGetNewPageInfoOptions<T> { | ||
@@ -192,0 +195,0 @@ movedFilePath: string; |
@@ -39,3 +39,4 @@ import type { IAppManifest, IReactApp } from '@wixc3/app-core'; | ||
newPageSourceCode: string; | ||
newPageRoute: import("@wixc3/app-core").RouteInfo<T>; | ||
newPageRoute?: import("@wixc3/app-core").RouteInfo<T> | undefined; | ||
routingPattern?: import("@wixc3/app-core").RoutingPattern; | ||
}; | ||
@@ -47,3 +48,4 @@ getMovePageInfo(movedFilePath: string, requestedURI: string): { | ||
pageModule: string; | ||
newPageRoute: import("@wixc3/app-core").RouteInfo<T>; | ||
newPageRoute?: import("@wixc3/app-core").RouteInfo<T> | undefined; | ||
routingPattern?: import("@wixc3/app-core").RoutingPattern; | ||
}; | ||
@@ -50,0 +52,0 @@ dispose(): void; |
{ | ||
"name": "@wixc3/app-core", | ||
"description": "Common types and helpers for building applications", | ||
"version": "4.0.2", | ||
"version": "4.1.0", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -115,3 +115,4 @@ import type React from 'react'; | ||
newPageSourceCode: string; | ||
newPageRoute: RouteInfo<T>; | ||
newPageRoute?: RouteInfo<T>; | ||
routingPattern?: RoutingPattern; | ||
}; | ||
@@ -129,3 +130,4 @@ | ||
pageModule: string; | ||
newPageRoute: RouteInfo<T>; | ||
newPageRoute?: RouteInfo<T>; | ||
routingPattern?: RoutingPattern; | ||
}; | ||
@@ -217,2 +219,5 @@ App: React.ComponentType<IReactAppProps<T>>; | ||
} | ||
export type RoutingPattern = 'file' | 'folder(route)' | 'folder(index)'; | ||
export interface IMovePageInfoOptions<T> extends IGetNewPageInfoOptions<T> { | ||
@@ -219,0 +224,0 @@ movedFilePath: string; |
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
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
45450
640