@antelopejs/interface-dms-saas 0.6.1 → 0.7.1
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/README.md +27 -34
- package/dist/db/models/billingSettings.model.d.ts +7 -5
- package/dist/db/models/creditNotes.model.d.ts +7 -5
- package/dist/db/models/features.model.d.ts +7 -5
- package/dist/db/models/invoices.model.d.ts +7 -5
- package/dist/db/models/legalDocuments.model.d.ts +7 -5
- package/dist/db/models/patch-validation.d.ts +3 -0
- package/dist/db/models/patch-validation.js +40 -0
- package/dist/db/models/patch-validation.js.map +1 -0
- package/dist/db/models/planMigrations.model.d.ts +7 -5
- package/dist/db/models/plans.model.d.ts +9 -6
- package/dist/db/models/plans.model.js.map +1 -1
- package/dist/db/models/platformNotes.model.d.ts +7 -5
- package/dist/db/models/refunds.model.d.ts +7 -5
- package/dist/db/models/segments.model.d.ts +7 -5
- package/dist/db/models/segments.model.js +12 -9
- package/dist/db/models/segments.model.js.map +1 -1
- package/dist/db/models/stripeWebhookEvents.model.d.ts +7 -5
- package/dist/db/models/tenantBillingInfo.model.d.ts +7 -5
- package/dist/db/models/tenantBillingState.model.d.ts +7 -5
- package/dist/db/models/tenantSubscriptions.model.d.ts +7 -5
- package/dist/db/models/tenantSubscriptions.model.js +16 -9
- package/dist/db/models/tenantSubscriptions.model.js.map +1 -1
- package/dist/db/models/trialConsumptions.model.d.ts +7 -5
- package/dist/db/models/update-result.d.ts +8 -1
- package/dist/db/models/update-result.js +8 -2
- package/dist/db/models/update-result.js.map +1 -1
- package/dist/db/models/userSegments.model.d.ts +7 -5
- package/dist/db/tables/creditNotes.table.d.ts +1 -1
- package/dist/db/tables/creditNotes.table.js.map +1 -1
- package/dist/db/tables/features.table.d.ts +3 -1
- package/dist/db/tables/features.table.js.map +1 -1
- package/dist/db/tables/invoices.table.d.ts +1 -1
- package/dist/db/tables/planMigrations.table.d.ts +3 -2
- package/dist/db/tables/planMigrations.table.js.map +1 -1
- package/dist/db/tables/plans.table.d.ts +2 -1
- package/dist/db/tables/plans.table.js.map +1 -1
- package/dist/db/tables/refunds.table.js.map +1 -1
- package/dist/db/tables/segments.table.js +5 -7
- package/dist/db/tables/segments.table.js.map +1 -1
- package/dist/db/tables/tenantSubscriptions.table.js +4 -3
- package/dist/db/tables/tenantSubscriptions.table.js.map +1 -1
- package/dist/hidden-filter.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/invoice-line-items.d.ts +1 -1
- package/dist/invoice-line-items.js +9 -7
- package/dist/invoice-line-items.js.map +1 -1
- package/dist/json.d.ts +6 -0
- package/dist/json.js +3 -0
- package/dist/json.js.map +1 -0
- package/dist/pages.d.ts +5 -0
- package/dist/pages.js.map +1 -1
- package/dist/plans.d.ts +2 -2
- package/dist/plans.js.map +1 -1
- package/dist/provisioning.d.ts +2 -1
- package/docs/1.index.md +13 -13
- package/docs/2.billing.md +30 -34
- package/docs/3.lifecycle-and-usage.md +44 -37
- package/docs/4.pages-plans-data.md +24 -23
- package/docs/tsconfig.json +9 -1
- package/package.json +9 -13
- package/dist/db/models/revision.d.ts +0 -1
- package/dist/db/models/revision.js +0 -14
- package/dist/db/models/revision.js.map +0 -1
package/docs/tsconfig.json
CHANGED
|
@@ -2,10 +2,18 @@
|
|
|
2
2
|
"extends": "../tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"rootDir": "..",
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "bundler",
|
|
7
|
+
"noUnusedLocals": false,
|
|
8
|
+
"noUnusedParameters": false,
|
|
5
9
|
"composite": false,
|
|
6
10
|
"incremental": false,
|
|
7
11
|
"declaration": false,
|
|
8
|
-
"noEmit": true
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"paths": {
|
|
14
|
+
"@antelopejs/interface-dms-saas": ["../src/index.ts"],
|
|
15
|
+
"@antelopejs/interface-dms-saas/*": ["../src/*"]
|
|
16
|
+
}
|
|
9
17
|
},
|
|
10
18
|
"include": ["../src/**/*.ts", "./**/*.ts"]
|
|
11
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/interface-dms-saas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "AntelopeJS interface for the DMS SaaS module: billing, plans, registration, workspace pages and lifecycle extension points.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -59,29 +59,25 @@
|
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "rimraf dist && tsc",
|
|
62
|
-
"lint": "oxlint && oxfmt --check .",
|
|
63
|
-
"lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt .",
|
|
64
|
-
"format": "oxfmt .",
|
|
65
62
|
"typecheck": "tsc --noEmit",
|
|
66
63
|
"check:exports": "node scripts/check-exports.mjs",
|
|
67
64
|
"knip": "knip --dependencies",
|
|
68
65
|
"knip:all": "knip",
|
|
69
|
-
"release": "pnpm run
|
|
66
|
+
"release": "pnpm run build && release-it",
|
|
70
67
|
"prepack": "pnpm run build"
|
|
71
68
|
},
|
|
72
69
|
"dependencies": {
|
|
73
|
-
"@antelopejs/interface-data-api": ">=0.
|
|
74
|
-
"@antelopejs/interface-dms": ">=0.
|
|
70
|
+
"@antelopejs/interface-data-api": ">=0.6.1 <1.0.0",
|
|
71
|
+
"@antelopejs/interface-dms": ">=0.12.0 <1.0.0"
|
|
75
72
|
},
|
|
76
73
|
"devDependencies": {
|
|
77
|
-
"@antelopejs/interface-
|
|
78
|
-
"@antelopejs/interface-
|
|
79
|
-
"@antelopejs/interface-
|
|
74
|
+
"@antelopejs/interface-api": ">=0.3.0 <1.0.0",
|
|
75
|
+
"@antelopejs/interface-api-util": ">=0.3.0 <1.0.0",
|
|
76
|
+
"@antelopejs/interface-core": ">=0.4.0 <1.0.0",
|
|
77
|
+
"@antelopejs/interface-database": ">=0.3.0 <1.0.0",
|
|
78
|
+
"@antelopejs/interface-database-decorators": ">=0.2.0 <1.0.0",
|
|
80
79
|
"@types/node": "^24.0.0",
|
|
81
80
|
"knip": "^6.34.0",
|
|
82
|
-
"oxfmt": "^0.66.0",
|
|
83
|
-
"oxlint": "1.81.0",
|
|
84
|
-
"oxlint-tsgolint": "^7.0.2001",
|
|
85
81
|
"release-it": "^19.2.4",
|
|
86
82
|
"release-it-changelogen": "^0.1.0",
|
|
87
83
|
"rimraf": "^6.1.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function updatedRows(result: unknown): number;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updatedRows = updatedRows;
|
|
4
|
-
function updatedRows(result) {
|
|
5
|
-
if (typeof result === "number")
|
|
6
|
-
return result;
|
|
7
|
-
const counts = result;
|
|
8
|
-
return Number(counts?.replaced ??
|
|
9
|
-
counts?.modifiedCount ??
|
|
10
|
-
counts?.deleted ??
|
|
11
|
-
counts?.deletedCount ??
|
|
12
|
-
0);
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=revision.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"revision.js","sourceRoot":"","sources":["../../../src/db/models/revision.ts"],"names":[],"mappings":";;AAOA,kCAUC;AAVD,SAAgB,WAAW,CAAC,MAAe;IACzC,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,MAAM,CAAC;IAC9C,MAAM,MAAM,GAAG,MAAkC,CAAC;IAClD,OAAO,MAAM,CACX,MAAM,EAAE,QAAQ;QACd,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,YAAY;QACpB,CAAC,CACJ,CAAC;AACJ,CAAC"}
|