- Added `RealtimeModule` and `RealtimeApiModule` to the BFF application for improved real-time capabilities. - Updated `CatalogCdcSubscriber` and `OrderCdcSubscriber` to utilize `RealtimeService` for publishing catalog and order updates, ensuring instant notifications across connected clients. - Enhanced `OrderEventsService` to leverage `RealtimeService` for order event subscriptions, improving reliability across multiple BFF instances. - Introduced `AccountEventsListener` in the portal layout to handle real-time account updates. - Removed stale time and garbage collection settings from several hooks to streamline data fetching processes.
151 lines
4.0 KiB
JSON
151 lines
4.0 KiB
JSON
{
|
|
"name": "@customer-portal/domain",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Unified domain layer with contracts, schemas, and provider mappers",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./auth": {
|
|
"import": "./dist/auth/index.js",
|
|
"types": "./dist/auth/index.d.ts"
|
|
},
|
|
"./auth/*": {
|
|
"import": "./dist/auth/*.js",
|
|
"types": "./dist/auth/*.d.ts"
|
|
},
|
|
"./billing": {
|
|
"import": "./dist/billing/index.js",
|
|
"types": "./dist/billing/index.d.ts"
|
|
},
|
|
"./billing/*": {
|
|
"import": "./dist/billing/*.js",
|
|
"types": "./dist/billing/*.d.ts"
|
|
},
|
|
"./catalog": {
|
|
"import": "./dist/catalog/index.js",
|
|
"types": "./dist/catalog/index.d.ts"
|
|
},
|
|
"./catalog/*": {
|
|
"import": "./dist/catalog/*.js",
|
|
"types": "./dist/catalog/*.d.ts"
|
|
},
|
|
"./common": {
|
|
"import": "./dist/common/index.js",
|
|
"types": "./dist/common/index.d.ts"
|
|
},
|
|
"./common/*": {
|
|
"import": "./dist/common/*.js",
|
|
"types": "./dist/common/*.d.ts"
|
|
},
|
|
"./customer": {
|
|
"import": "./dist/customer/index.js",
|
|
"types": "./dist/customer/index.d.ts"
|
|
},
|
|
"./customer/*": {
|
|
"import": "./dist/customer/*.js",
|
|
"types": "./dist/customer/*.d.ts"
|
|
},
|
|
"./dashboard": {
|
|
"import": "./dist/dashboard/index.js",
|
|
"types": "./dist/dashboard/index.d.ts"
|
|
},
|
|
"./dashboard/*": {
|
|
"import": "./dist/dashboard/*.js",
|
|
"types": "./dist/dashboard/*.d.ts"
|
|
},
|
|
"./mappings": {
|
|
"import": "./dist/mappings/index.js",
|
|
"types": "./dist/mappings/index.d.ts"
|
|
},
|
|
"./mappings/*": {
|
|
"import": "./dist/mappings/*.js",
|
|
"types": "./dist/mappings/*.d.ts"
|
|
},
|
|
"./orders": {
|
|
"import": "./dist/orders/index.js",
|
|
"types": "./dist/orders/index.d.ts"
|
|
},
|
|
"./orders/*": {
|
|
"import": "./dist/orders/*.js",
|
|
"types": "./dist/orders/*.d.ts"
|
|
},
|
|
"./payments": {
|
|
"import": "./dist/payments/index.js",
|
|
"types": "./dist/payments/index.d.ts"
|
|
},
|
|
"./payments/*": {
|
|
"import": "./dist/payments/*.js",
|
|
"types": "./dist/payments/*.d.ts"
|
|
},
|
|
"./realtime": {
|
|
"import": "./dist/realtime/index.js",
|
|
"types": "./dist/realtime/index.d.ts"
|
|
},
|
|
"./realtime/*": {
|
|
"import": "./dist/realtime/*.js",
|
|
"types": "./dist/realtime/*.d.ts"
|
|
},
|
|
"./sim": {
|
|
"import": "./dist/sim/index.js",
|
|
"types": "./dist/sim/index.d.ts"
|
|
},
|
|
"./sim/*": {
|
|
"import": "./dist/sim/*.js",
|
|
"types": "./dist/sim/*.d.ts"
|
|
},
|
|
"./sim/providers/freebit": {
|
|
"import": "./dist/sim/providers/freebit/index.js",
|
|
"types": "./dist/sim/providers/freebit/index.d.ts"
|
|
},
|
|
"./subscriptions": {
|
|
"import": "./dist/subscriptions/index.js",
|
|
"types": "./dist/subscriptions/index.d.ts"
|
|
},
|
|
"./subscriptions/*": {
|
|
"import": "./dist/subscriptions/*.js",
|
|
"types": "./dist/subscriptions/*.d.ts"
|
|
},
|
|
"./support": {
|
|
"import": "./dist/support/index.js",
|
|
"types": "./dist/support/index.d.ts"
|
|
},
|
|
"./support/*": {
|
|
"import": "./dist/support/*.js",
|
|
"types": "./dist/support/*.d.ts"
|
|
},
|
|
"./toolkit": {
|
|
"import": "./dist/toolkit/index.js",
|
|
"types": "./dist/toolkit/index.d.ts"
|
|
},
|
|
"./toolkit/*": {
|
|
"import": "./dist/toolkit/*.js",
|
|
"types": "./dist/toolkit/*.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"prebuild": "pnpm run clean",
|
|
"build": "tsc",
|
|
"dev": "tsc -w --preserveWatchOutput",
|
|
"clean": "rm -rf dist",
|
|
"type-check": "NODE_OPTIONS=\"--max-old-space-size=2048 --max-semi-space-size=128\" tsc --project tsconfig.json --noEmit",
|
|
"typecheck": "pnpm run type-check"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "4.1.13"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "catalog:",
|
|
"zod": "catalog:"
|
|
}
|
|
}
|