@forklaunch/implementation-billing-base 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,3 +3,6 @@ export * from './checkoutSession.service';
|
|
|
3
3
|
export * from './paymentLink.service';
|
|
4
4
|
export * from './plan.service';
|
|
5
5
|
export * from './subscription.service';
|
|
6
|
+
|
|
7
|
+
export * from '@forklaunch/interfaces-billing/interfaces';
|
|
8
|
+
export * from '@forklaunch/interfaces-billing/types';
|
package/lib/services/index.d.mts
CHANGED
|
@@ -2,7 +2,9 @@ import { IdDto, IdsDto } from '@forklaunch/common';
|
|
|
2
2
|
import { TtlCache } from '@forklaunch/core/cache';
|
|
3
3
|
import { OpenTelemetryCollector, MetricsDefinition, TelemetryOptions } from '@forklaunch/core/http';
|
|
4
4
|
import { BillingPortalService, CheckoutSessionService, PaymentLinkService, PlanService, SubscriptionService } from '@forklaunch/interfaces-billing/interfaces';
|
|
5
|
+
export * from '@forklaunch/interfaces-billing/interfaces';
|
|
5
6
|
import { CreateBillingPortalDto, UpdateBillingPortalDto, CreateCheckoutSessionDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, CreatePlanDto, UpdatePlanDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
7
|
+
export * from '@forklaunch/interfaces-billing/types';
|
|
6
8
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
7
9
|
import { EntityManager } from '@mikro-orm/core';
|
|
8
10
|
import { BaseBillingEntities, BaseBillingDtos, BillingPortalMappers, BaseCheckoutSessionEntities, BaseCheckoutSessionDtos, CheckoutSessionMappers, BasePaymentLinkEntities, BasePaymentLinkDtos, PaymentLinkMappers, BasePlanEntities, BasePlanDtos, PlanMappers, BaseSubscriptionEntities, BaseSubscriptionDtos, SubscriptionMappers } from '../domain/types/index.mjs';
|
package/lib/services/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { IdDto, IdsDto } from '@forklaunch/common';
|
|
|
2
2
|
import { TtlCache } from '@forklaunch/core/cache';
|
|
3
3
|
import { OpenTelemetryCollector, MetricsDefinition, TelemetryOptions } from '@forklaunch/core/http';
|
|
4
4
|
import { BillingPortalService, CheckoutSessionService, PaymentLinkService, PlanService, SubscriptionService } from '@forklaunch/interfaces-billing/interfaces';
|
|
5
|
+
export * from '@forklaunch/interfaces-billing/interfaces';
|
|
5
6
|
import { CreateBillingPortalDto, UpdateBillingPortalDto, CreateCheckoutSessionDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, CreatePlanDto, UpdatePlanDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
7
|
+
export * from '@forklaunch/interfaces-billing/types';
|
|
6
8
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
7
9
|
import { EntityManager } from '@mikro-orm/core';
|
|
8
10
|
import { BaseBillingEntities, BaseBillingDtos, BillingPortalMappers, BaseCheckoutSessionEntities, BaseCheckoutSessionDtos, CheckoutSessionMappers, BasePaymentLinkEntities, BasePaymentLinkDtos, PaymentLinkMappers, BasePlanEntities, BasePlanDtos, PlanMappers, BaseSubscriptionEntities, BaseSubscriptionDtos, SubscriptionMappers } from '../domain/types/index.js';
|
package/lib/services/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
15
|
}
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
20
|
|
|
20
21
|
// services/index.ts
|
|
@@ -597,11 +598,17 @@ var BaseSubscriptionService = class {
|
|
|
597
598
|
});
|
|
598
599
|
}
|
|
599
600
|
};
|
|
601
|
+
|
|
602
|
+
// services/index.ts
|
|
603
|
+
__reExport(services_exports, require("@forklaunch/interfaces-billing/interfaces"), module.exports);
|
|
604
|
+
__reExport(services_exports, require("@forklaunch/interfaces-billing/types"), module.exports);
|
|
600
605
|
// Annotate the CommonJS export names for ESM import in node:
|
|
601
606
|
0 && (module.exports = {
|
|
602
607
|
BaseBillingPortalService,
|
|
603
608
|
BaseCheckoutSessionService,
|
|
604
609
|
BasePaymentLinkService,
|
|
605
610
|
BasePlanService,
|
|
606
|
-
BaseSubscriptionService
|
|
611
|
+
BaseSubscriptionService,
|
|
612
|
+
...require("@forklaunch/interfaces-billing/interfaces"),
|
|
613
|
+
...require("@forklaunch/interfaces-billing/types")
|
|
607
614
|
});
|
package/lib/services/index.mjs
CHANGED
|
@@ -577,6 +577,10 @@ var BaseSubscriptionService = class {
|
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
|
+
|
|
581
|
+
// services/index.ts
|
|
582
|
+
export * from "@forklaunch/interfaces-billing/interfaces";
|
|
583
|
+
export * from "@forklaunch/interfaces-billing/types";
|
|
580
584
|
export {
|
|
581
585
|
BaseBillingPortalService,
|
|
582
586
|
BaseCheckoutSessionService,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-billing-base",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Billing basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@sinclair/typebox": "^0.34.41",
|
|
45
45
|
"ajv": "^8.17.1",
|
|
46
46
|
"zod": "^4.1.11",
|
|
47
|
-
"@forklaunch/interfaces-billing": "0.7.
|
|
47
|
+
"@forklaunch/interfaces-billing": "0.7.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@typescript/native-preview": "7.0.0-dev.20250930.1",
|