@forklaunch/implementation-billing-base 0.1.8 → 0.1.10
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.
- package/lib/__test__/schemaEquality.test.d.ts +1 -1
- package/lib/__test__/schemaEquality.test.js +305 -146
- package/lib/eject/domain/schemas/billingPortal.schema.ts +1 -7
- package/lib/eject/domain/schemas/checkoutSession.schema.ts +1 -0
- package/lib/jest.config.d.ts +1 -1
- package/lib/jest.config.js +16 -16
- package/lib/schemas/billingPortal.schema.d.ts +107 -34
- package/lib/schemas/billingPortal.schema.js +4 -1
- package/lib/schemas/checkoutSession.schema.d.ts +169 -53
- package/lib/schemas/checkoutSession.schema.d.ts.map +1 -1
- package/lib/schemas/checkoutSession.schema.js +4 -1
- package/lib/schemas/index.d.ts +1 -1
- package/lib/schemas/paymentLink.schema.d.ts +210 -64
- package/lib/schemas/paymentLink.schema.js +4 -1
- package/lib/schemas/plan.schema.d.ts +326 -76
- package/lib/schemas/plan.schema.js +4 -1
- package/lib/schemas/subscription.schema.d.ts +364 -88
- package/lib/schemas/subscription.schema.js +4 -1
- package/lib/schemas/typebox/billingPortal.schema.d.ts +172 -38
- package/lib/schemas/typebox/billingPortal.schema.js +23 -17
- package/lib/schemas/typebox/checkoutSession.schema.d.ts +197 -55
- package/lib/schemas/typebox/checkoutSession.schema.js +25 -13
- package/lib/schemas/typebox/paymentLink.schema.d.ts +275 -65
- package/lib/schemas/typebox/paymentLink.schema.js +27 -15
- package/lib/schemas/typebox/plan.schema.d.ts +409 -77
- package/lib/schemas/typebox/plan.schema.js +31 -17
- package/lib/schemas/typebox/subscription.schema.d.ts +481 -89
- package/lib/schemas/typebox/subscription.schema.js +31 -19
- package/lib/schemas/zod/billingPortal.schema.d.ts +42 -38
- package/lib/schemas/zod/billingPortal.schema.js +23 -17
- package/lib/schemas/zod/checkoutSession.schema.d.ts +107 -53
- package/lib/schemas/zod/checkoutSession.schema.d.ts.map +1 -1
- package/lib/schemas/zod/checkoutSession.schema.js +26 -13
- package/lib/schemas/zod/paymentLink.schema.d.ts +99 -65
- package/lib/schemas/zod/paymentLink.schema.js +27 -15
- package/lib/schemas/zod/plan.schema.d.ts +177 -77
- package/lib/schemas/zod/plan.schema.js +31 -17
- package/lib/schemas/zod/subscription.schema.d.ts +181 -89
- package/lib/schemas/zod/subscription.schema.js +31 -19
- package/lib/services/billingPortal.service.d.ts +77 -28
- package/lib/services/billingPortal.service.js +64 -45
- package/lib/services/checkoutSession.service.d.ts +77 -29
- package/lib/services/checkoutSession.service.js +54 -43
- package/lib/services/index.d.ts +1 -1
- package/lib/services/paymentLink.service.d.ts +82 -32
- package/lib/services/paymentLink.service.js +84 -66
- package/lib/services/plan.service.d.ts +73 -26
- package/lib/services/plan.service.js +45 -40
- package/lib/services/subscription.service.d.ts +136 -44
- package/lib/services/subscription.service.js +111 -88
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/vitest.config.d.ts +2 -2
- package/lib/vitest.config.js +4 -4
- package/package.json +13 -13
package/lib/vitest.config.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vite').UserConfig;
|
|
2
2
|
export default _default;
|
|
3
|
-
//# sourceMappingURL=vitest.config.d.ts.map
|
|
3
|
+
//# sourceMappingURL=vitest.config.d.ts.map
|
package/lib/vitest.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-billing-base",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Billing basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -14,36 +14,36 @@
|
|
|
14
14
|
"author": "Forklift Technologies, Inc.",
|
|
15
15
|
"exports": {
|
|
16
16
|
"./schemas": {
|
|
17
|
+
"types": "./lib/schemas/index.d.ts",
|
|
17
18
|
"import": "./lib/schemas/index.js",
|
|
18
|
-
"require": "./lib/schemas/index.js"
|
|
19
|
-
"types": "./lib/schemas/index.d.ts"
|
|
19
|
+
"require": "./lib/schemas/index.js"
|
|
20
20
|
},
|
|
21
21
|
"./services": {
|
|
22
|
+
"types": "./lib/services/index.d.ts",
|
|
22
23
|
"import": "./lib/services/index.js",
|
|
23
|
-
"require": "./lib/services/index.js"
|
|
24
|
-
"types": "./lib/services/index.d.ts"
|
|
24
|
+
"require": "./lib/services/index.js"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"lib/**"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@forklaunch/common": "
|
|
32
|
-
"@forklaunch/core": "
|
|
33
|
-
"@forklaunch/validator": "
|
|
34
|
-
"@mikro-orm/core": "^6.4.
|
|
31
|
+
"@forklaunch/common": "link:../../../../framework/common",
|
|
32
|
+
"@forklaunch/core": "link:../../../../framework/core",
|
|
33
|
+
"@forklaunch/validator": "link:../../../../framework/validator",
|
|
34
|
+
"@mikro-orm/core": "^6.4.13",
|
|
35
35
|
"@sinclair/typebox": "^0.34.33",
|
|
36
36
|
"ajv": "^8.17.1",
|
|
37
|
-
"zod": "^3.24.
|
|
38
|
-
"@forklaunch/interfaces-billing": "0.1.
|
|
37
|
+
"zod": "^3.24.3",
|
|
38
|
+
"@forklaunch/interfaces-billing": "0.1.10"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"depcheck": "^1.4.7",
|
|
42
42
|
"prettier": "^3.5.3",
|
|
43
|
-
"typedoc": "^0.28.
|
|
43
|
+
"typedoc": "^0.28.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
|
-
"build": "tsc && pnpm package:eject",
|
|
46
|
+
"build": "tsc && if [ -f eject-package.bash ]; then pnpm package:eject; fi",
|
|
47
47
|
"clean": "rm -rf lib pnpm.lock.yaml node_modules",
|
|
48
48
|
"docs": "typedoc --out docs *",
|
|
49
49
|
"format": "prettier --ignore-path=.prettierignore --config .prettierrc '**/*.{ts,tsx,json}' --write",
|