From 793771dfdf9d65cff25831bfbbcc25ba226b41a0 Mon Sep 17 00:00:00 2001 From: Xc Date: Sun, 16 Jun 2024 14:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89index=E4=B8=AD=E5=AF=B9contex?= =?UTF-8?q?t=E7=9A=84=E5=BC=95=E7=94=A8=EF=BC=8C=E5=87=8F=E5=B0=91?= =?UTF-8?q?=E5=89=8D=E5=8F=B0=E4=BD=93=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/index.d.ts | 2 -- es/index.js | 2 -- lib/index.d.ts | 2 -- lib/index.js | 6 +----- src/index.ts | 3 --- 5 files changed, 1 insertion(+), 14 deletions(-) diff --git a/es/index.d.ts b/es/index.d.ts index 0c5cf428..5d5409cb 100644 --- a/es/index.d.ts +++ b/es/index.d.ts @@ -9,5 +9,3 @@ export * from './types/Exception'; export * from './types/Pagination'; export * from './types/NamedCondition'; export * from './types/ErrorPage'; -export { FrontendRuntimeContext, SerializedData } from './context/FrontendRuntimeContext'; -export { BackendRuntimeContext } from './context/BackendRuntimeContext'; diff --git a/es/index.js b/es/index.js index 3a05dba4..0745a07e 100644 --- a/es/index.js +++ b/es/index.js @@ -8,5 +8,3 @@ export * from './types/Exception'; export * from './types/Pagination'; export * from './types/NamedCondition'; export * from './types/ErrorPage'; -export { FrontendRuntimeContext } from './context/FrontendRuntimeContext'; -export { BackendRuntimeContext } from './context/BackendRuntimeContext'; diff --git a/lib/index.d.ts b/lib/index.d.ts index 0c5cf428..5d5409cb 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -9,5 +9,3 @@ export * from './types/Exception'; export * from './types/Pagination'; export * from './types/NamedCondition'; export * from './types/ErrorPage'; -export { FrontendRuntimeContext, SerializedData } from './context/FrontendRuntimeContext'; -export { BackendRuntimeContext } from './context/BackendRuntimeContext'; diff --git a/lib/index.js b/lib/index.js index aa249a45..7e787f19 100644 --- a/lib/index.js +++ b/lib/index.js @@ -11,8 +11,4 @@ tslib_1.__exportStar(require("./types/AbstractComponent"), exports); tslib_1.__exportStar(require("./types/Exception"), exports); tslib_1.__exportStar(require("./types/Pagination"), exports); tslib_1.__exportStar(require("./types/NamedCondition"), exports); -tslib_1.__exportStar(require("./types/ErrorPage"), exports); -var FrontendRuntimeContext_1 = require("./context/FrontendRuntimeContext"); -Object.defineProperty(exports, "FrontendRuntimeContext", { enumerable: true, get: function () { return FrontendRuntimeContext_1.FrontendRuntimeContext; } }); -var BackendRuntimeContext_1 = require("./context/BackendRuntimeContext"); -Object.defineProperty(exports, "BackendRuntimeContext", { enumerable: true, get: function () { return BackendRuntimeContext_1.BackendRuntimeContext; } }); +tslib_1.__exportStar(require("./types/ErrorPage"), exports); \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 4ac1c82c..f999c7d4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,6 +10,3 @@ export * from './types/Exception'; export * from './types/Pagination'; export * from './types/NamedCondition'; export * from './types/ErrorPage'; - -export { FrontendRuntimeContext, SerializedData } from './context/FrontendRuntimeContext'; -export { BackendRuntimeContext } from './context/BackendRuntimeContext'; \ No newline at end of file