@wixc3/app-core
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -137,9 +137,2 @@ import type React from 'react'; | ||
/** | ||
* the parent error boundary that should be editable in codux above this page | ||
*/ | ||
parentErrorBoundary?: { | ||
errorBoundaryModule: string; | ||
errorBoundaryExportName?: string; | ||
}; | ||
/** | ||
* a list of export names of the page that should be editable | ||
@@ -177,3 +170,8 @@ * if the page is a function, the UI will edit its return value | ||
setUri: (uri: string) => void; | ||
onCaughtError: ErrorReporter; | ||
} | ||
export type ErrorReporter = (errorBoundry: { | ||
filePath: string; | ||
exportName: string; | ||
}) => void; | ||
export type DynamicImport = (filePath: string, onModuleChange?: (updatedModule: IResults<unknown>) => void) => { | ||
@@ -180,0 +178,0 @@ moduleResults: Promise<IResults<unknown>>; |
{ | ||
"name": "@wixc3/app-core", | ||
"description": "Common types and helpers for building applications", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -155,10 +155,4 @@ import type React from 'react'; | ||
}>; | ||
/** | ||
* the parent error boundary that should be editable in codux above this page | ||
*/ | ||
parentErrorBoundary?: { | ||
errorBoundaryModule: string; | ||
errorBoundaryExportName?: string; | ||
}; | ||
/** | ||
* a list of export names of the page that should be editable | ||
@@ -199,4 +193,7 @@ * if the page is a function, the UI will edit its return value | ||
setUri: (uri: string) => void; | ||
onCaughtError: ErrorReporter; | ||
} | ||
export type ErrorReporter = (errorBoundry: { filePath: string; exportName: string }) => void; | ||
export type DynamicImport = ( | ||
@@ -203,0 +200,0 @@ filePath: string, |
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
44844
632