@antelopejs/dms-saas 0.1.3 → 0.1.5
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/dist/index.js
CHANGED
|
@@ -82,6 +82,7 @@ async function construct(config) {
|
|
|
82
82
|
sourcePath: node_path_1.default.join(__dirname, "../frontend-vue"),
|
|
83
83
|
renderer: { name: "vue", version: "3" },
|
|
84
84
|
priority: 0,
|
|
85
|
+
authEstablishEndpoints: ["/api/saas/register/finalize"],
|
|
85
86
|
options: {
|
|
86
87
|
dmsSaas: {
|
|
87
88
|
stripePublishableKey: config.stripe.publishableKey,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,8BAmCC;AAED,sBAGC;AAED,oBAWC;AAzFD,0DAA6B;AAC7B,+DAAgE;AAChE,gEAA6D;AAC7D,yDAAmE;AACnE,yFAA2E;AAC3E,6GAA+F;AAC/F,qFAAuE;AACvE,gHAAkG;AAElG,iCAGgB;AAChB,6CAGsB;AACtB,qCAA4D;AAC5D,mCAA4C;AAC5C,mCAAoD;AACpD,0FAA4E;AAC5E,8GAAgG;AAChG,sFAAwE;AACxE,iHAAmG;AACnG,mCAAgD;AAChD,mCAA4C;AAC5C,qCAA4C;AAG5C,sBAAoB;AACpB,gBAAc;AACd,2BAAyB;AACzB,oBAAkB;AAElB,IAAI,mBAAmB,GAAoB,EAAE,CAAC;AAEvC,KAAK,UAAU,SAAS,CAAC,MAAqB;IACnD,IAAA,yBAAgB,EAAC,MAAM,CAAC,CAAC;IACzB,MAAM,IAAA,uBAAc,GAAE,CAAC;IACv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AK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,IAAI,QAAQ,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;YACnC,iBAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IACD,mBAAmB,GAAG,EAAE,CAAC;IACzB,IAAA,sCAAyB,GAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -9,17 +9,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.MembersSeatQuotaExtension = void 0;
|
|
10
10
|
const page_1 = require("@antelopejs/interface-dms/page");
|
|
11
11
|
const custom_1 = require("@antelopejs/interface-dms/base/custom");
|
|
12
|
-
const pages_1 = require("@antelopejs/dms/pages");
|
|
13
12
|
let MembersSeatQuotaExtension = class MembersSeatQuotaExtension {
|
|
14
13
|
static seatQuota = (0, custom_1.CustomComponent)("DmsSaasSeatQuotaBanner")
|
|
15
14
|
.meta({
|
|
16
15
|
name: "$saas.workspace.seats.title",
|
|
17
16
|
icon: "i-ph-users-three",
|
|
18
17
|
})
|
|
19
|
-
.after(
|
|
18
|
+
.after("table");
|
|
20
19
|
};
|
|
21
20
|
exports.MembersSeatQuotaExtension = MembersSeatQuotaExtension;
|
|
22
21
|
exports.MembersSeatQuotaExtension = MembersSeatQuotaExtension = __decorate([
|
|
23
|
-
(0, page_1.RegisterPageExtension)(
|
|
22
|
+
(0, page_1.RegisterPageExtension)("settings.user.members")
|
|
24
23
|
], MembersSeatQuotaExtension);
|
|
25
24
|
//# sourceMappingURL=members-seat-quota.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members-seat-quota.js","sourceRoot":"","sources":["../../../src/pages/tenant/members-seat-quota.ts"],"names":[],"mappings":";;;;;;;;;AAEA,yDAAuE;AACvE,kEAAwE;
|
|
1
|
+
{"version":3,"file":"members-seat-quota.js","sourceRoot":"","sources":["../../../src/pages/tenant/members-seat-quota.ts"],"names":[],"mappings":";;;;;;;;;AAEA,yDAAuE;AACvE,kEAAwE;AAWjE,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACpC,MAAM,CAAC,SAAS,GAAG,IAAA,wBAAe,EAAC,wBAAwB,CAAC;SACzD,IAAI,CAAC;QACJ,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,kBAAkB;KACzB,CAAC;SACD,KAAK,CAAC,OAAO,CAAC,CAAC;;AANP,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,4BAAqB,EAAC,uBAAuB,CAAC;GAClC,yBAAyB,CAOrC"}
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
* on its behalf, and the loader writes its session cookie from the token pair
|
|
13
13
|
* the API returns. No access or refresh token is ever handed to the page.
|
|
14
14
|
*
|
|
15
|
-
* The
|
|
16
|
-
* `
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* The finalize endpoint is declared by the module itself, through
|
|
16
|
+
* `authEstablishEndpoints` on its `AddFrontendModule` registration: the DMS
|
|
17
|
+
* carries it in the frontend manifest and the loader writes it into the
|
|
18
|
+
* workspace, so a standard deployment needs no configuration. Any endpoint
|
|
19
|
+
* neither declared nor named in the frontend server's
|
|
20
|
+
* `DMS_AUTH_ESTABLISH_ENDPOINTS` is answered 403 and never called.
|
|
19
21
|
*/
|
|
20
22
|
|
|
21
23
|
/** Loader route that opens a session from a backend-issued token pair. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-saas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,14 +28,13 @@
|
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@antelopejs/dms": ">=0.0.1 <1.0.0",
|
|
32
31
|
"@antelopejs/interface-api": ">=0.0.13 <1.0.0",
|
|
33
32
|
"@antelopejs/interface-api-util": ">=0.1.2 <1.0.0",
|
|
34
33
|
"@antelopejs/interface-core": ">=0.0.13 <1.0.0",
|
|
35
34
|
"@antelopejs/interface-data-api": ">=0.1.9 <1.0.0",
|
|
36
35
|
"@antelopejs/interface-database": ">=0.1.7 <1.0.0",
|
|
37
36
|
"@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
|
|
38
|
-
"@antelopejs/interface-dms": ">=0.0
|
|
37
|
+
"@antelopejs/interface-dms": ">=0.1.0 <1.0.0",
|
|
39
38
|
"@antelopejs/interface-dms-saas": ">=0.0.2 <1.0.0",
|
|
40
39
|
"@antelopejs/interface-file-storage": ">=0.1.3 <1.0.0",
|
|
41
40
|
"node-cron": "^4.2.1",
|
|
@@ -43,7 +42,8 @@
|
|
|
43
42
|
"zod": "^3.24.4"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
|
-
"@antelopejs/core": "
|
|
45
|
+
"@antelopejs/core": ">=1.7.0 <2",
|
|
46
|
+
"@antelopejs/dms": ">=0.3.3 <1.0.0",
|
|
47
47
|
"@antelopejs/dms-frontend": ">=0.0.1 <1.0.0",
|
|
48
48
|
"@antelopejs/file-storage-local": "0.1.4",
|
|
49
49
|
"@antelopejs/mongodb": "1.3.0",
|