@budibase/server 2.7.20-alpha.2 → 2.7.21-alpha.0
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 +2 -1
- package/dist/index.js.map +2 -2
- package/package.json +8 -8
- package/src/api/controllers/application.ts +24 -21
package/dist/index.js
CHANGED
|
@@ -38995,6 +38995,7 @@ async function fetchAppPackage(ctx) {
|
|
|
38995
38995
|
let application2 = await db2.get(DocumentType2.APP_METADATA);
|
|
38996
38996
|
const layouts = await getLayouts();
|
|
38997
38997
|
let screens = await getScreens();
|
|
38998
|
+
const license = await licensing_exports.getLicense();
|
|
38998
38999
|
application2.usedPlugins = objectStore_exports2.enrichPluginURLs(
|
|
38999
39000
|
application2.usedPlugins
|
|
39000
39001
|
);
|
|
@@ -39009,6 +39010,7 @@ async function fetchAppPackage(ctx) {
|
|
|
39009
39010
|
);
|
|
39010
39011
|
ctx.body = {
|
|
39011
39012
|
application: { ...application2, upgradableVersion: environment_default.VERSION },
|
|
39013
|
+
licenseType: (license == null ? void 0 : license.plan.type) || "free" /* FREE */,
|
|
39012
39014
|
screens,
|
|
39013
39015
|
layouts,
|
|
39014
39016
|
clientLibPath,
|
|
@@ -39342,7 +39344,6 @@ var init_application = __esm({
|
|
|
39342
39344
|
init_workerRequests();
|
|
39343
39345
|
init_utilities2();
|
|
39344
39346
|
init_redis4();
|
|
39345
|
-
init_fileSystem();
|
|
39346
39347
|
init_utils27();
|
|
39347
39348
|
init_logging3();
|
|
39348
39349
|
init_rows6();
|