@valbuild/next 0.123.0 → 0.123.2
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/CHANGELOG.md +44 -0
- package/client/dist/valbuild-next-client.cjs.dev.js +2 -2
- package/client/dist/valbuild-next-client.cjs.prod.js +2 -2
- package/client/dist/valbuild-next-client.esm.js +2 -2
- package/dist/{ValApp-2bdb460a.cjs.dev.js → ValApp-18ec7215.cjs.dev.js} +2 -2
- package/dist/{ValApp-074c8289.esm.js → ValApp-6d5f5c82.esm.js} +2 -2
- package/dist/ValApp-b852b147.cjs.js +7 -0
- package/dist/{ValApp-17eb6e93.cjs.prod.js → ValApp-b852b147.cjs.prod.js} +2 -2
- package/dist/ValCanvasBridge-5fc49440.cjs.js +7 -0
- package/dist/{ValCanvasBridge-e62125f8.cjs.prod.js → ValCanvasBridge-5fc49440.cjs.prod.js} +10 -10
- package/dist/{ValCanvasBridge-9d148bdd.cjs.dev.js → ValCanvasBridge-b918d991.cjs.dev.js} +10 -10
- package/dist/{ValCanvasBridge-d9948526.esm.js → ValCanvasBridge-e5931ea4.esm.js} +1 -1
- package/dist/{ValNextProvider-016a494b.cjs.dev.js → ValNextProvider-062a8dc9.cjs.dev.js} +64 -12
- package/dist/{ValNextProvider-32156acd.esm.js → ValNextProvider-3d2cd7e4.esm.js} +43 -9
- package/dist/ValNextProvider-da189afe.cjs.js +7 -0
- package/dist/{ValNextProvider-72d3561b.cjs.prod.js → ValNextProvider-da189afe.cjs.prod.js} +64 -12
- package/dist/{version-4d7b692c.esm.js → asyncToGenerator-500f022f.esm.js} +1 -10
- package/dist/{version-c311d818.cjs.dev.js → asyncToGenerator-8e5c36c8.cjs.prod.js} +0 -10
- package/dist/{version-0e6da9a7.cjs.prod.js → asyncToGenerator-c3823d62.cjs.dev.js} +0 -10
- package/dist/{fallbackColors-a491e700.cjs.dev.js → fallbackColors-080c1bbc.cjs.dev.js} +2 -2
- package/dist/{fallbackColors-77aeedf8.esm.js → fallbackColors-149dfbc9.esm.js} +1 -1
- package/dist/{fallbackColors-8842243c.cjs.prod.js → fallbackColors-e1d73b36.cjs.prod.js} +2 -2
- package/dist/{routeFromVal-263eec96.esm.js → routeFromVal-544e8318.esm.js} +1 -1
- package/dist/{routeFromVal-b48a454a.cjs.dev.js → routeFromVal-d53d5ffb.cjs.dev.js} +4 -4
- package/dist/{routeFromVal-8ac2f984.cjs.prod.js → routeFromVal-e0995830.cjs.prod.js} +4 -4
- package/dist/valbuild-next.cjs.dev.js +6 -5
- package/dist/valbuild-next.cjs.prod.js +6 -5
- package/dist/valbuild-next.esm.js +4 -3
- package/dist/version-16f6b0ce.esm.js +10 -0
- package/dist/version-d034b2fc.cjs.dev.js +12 -0
- package/dist/version-d2061026.cjs.prod.js +12 -0
- package/package.json +7 -7
- package/rsc/dist/valbuild-next-rsc.cjs.dev.js +46 -44
- package/rsc/dist/valbuild-next-rsc.cjs.prod.js +46 -44
- package/rsc/dist/valbuild-next-rsc.esm.js +4 -2
- package/server/dist/valbuild-next-server.cjs.dev.js +8 -7
- package/server/dist/valbuild-next-server.cjs.prod.js +8 -7
- package/server/dist/valbuild-next-server.esm.js +2 -1
- package/dist/ValApp-17eb6e93.cjs.js +0 -7
- package/dist/ValCanvasBridge-e62125f8.cjs.js +0 -7
- package/dist/ValNextProvider-72d3561b.cjs.js +0 -7
|
@@ -3,25 +3,27 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('server-only');
|
|
6
|
-
var routeFromVal = require('../../dist/routeFromVal-
|
|
6
|
+
var routeFromVal = require('../../dist/routeFromVal-d53d5ffb.cjs.dev.js');
|
|
7
7
|
var objectSpread2 = require('../../dist/objectSpread2-58024783.cjs.dev.js');
|
|
8
|
-
var
|
|
8
|
+
var asyncToGenerator = require('../../dist/asyncToGenerator-c3823d62.cjs.dev.js');
|
|
9
9
|
var defineProperty = require('../../dist/defineProperty-f90345d7.cjs.dev.js');
|
|
10
10
|
var stega = require('@valbuild/react/stega');
|
|
11
11
|
var core = require('@valbuild/core');
|
|
12
12
|
var internal = require('@valbuild/shared/internal');
|
|
13
13
|
var server = require('@valbuild/server');
|
|
14
|
+
var version = require('../../dist/version-d034b2fc.cjs.dev.js');
|
|
14
15
|
require('../../dist/createForOfIteratorHelper-0445603c.cjs.dev.js');
|
|
15
16
|
require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
16
17
|
require('../../dist/slicedToArray-44036a76.cjs.dev.js');
|
|
18
|
+
require('@valbuild/shared/client');
|
|
17
19
|
|
|
18
20
|
stega.SET_RSC(true);
|
|
19
21
|
var initFetchValStega = function initFetchValStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
20
22
|
return function (selector) {
|
|
21
23
|
var exec = /*#__PURE__*/function () {
|
|
22
|
-
var _ref =
|
|
24
|
+
var _ref = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee() {
|
|
23
25
|
var enabled, headers, cookies, host, _cookies, valServer, treeRes, modules, _t, _t2, _t3;
|
|
24
|
-
return
|
|
26
|
+
return asyncToGenerator._regenerator().w(function (_context) {
|
|
25
27
|
while (1) switch (_context.p = _context.n) {
|
|
26
28
|
case 0:
|
|
27
29
|
enabled = false;
|
|
@@ -196,9 +198,9 @@ function getHost(headers) {
|
|
|
196
198
|
|
|
197
199
|
var initFetchValRouteStega = function initFetchValRouteStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
198
200
|
return /*#__PURE__*/function () {
|
|
199
|
-
var _ref2 =
|
|
201
|
+
var _ref2 = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee2(selector, params) {
|
|
200
202
|
var resolvedParams, path, schema, source, url, enabled, draft, content, fetchVal, val, route, _t5;
|
|
201
|
-
return
|
|
203
|
+
return asyncToGenerator._regenerator().w(function (_context2) {
|
|
202
204
|
while (1) switch (_context2.p = _context2.n) {
|
|
203
205
|
case 0:
|
|
204
206
|
_context2.n = 1;
|
|
@@ -316,9 +318,9 @@ function loadJsonEntryContent(_x3, _x4) {
|
|
|
316
318
|
* to the whole server type.
|
|
317
319
|
*/
|
|
318
320
|
function _loadJsonEntryContent() {
|
|
319
|
-
_loadJsonEntryContent =
|
|
321
|
+
_loadJsonEntryContent = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee17(source, key) {
|
|
320
322
|
var marker, thunk;
|
|
321
|
-
return
|
|
323
|
+
return asyncToGenerator._regenerator().w(function (_context17) {
|
|
322
324
|
while (1) switch (_context17.n) {
|
|
323
325
|
case 0:
|
|
324
326
|
if (!(!source || routeFromVal._typeof(source) !== "object")) {
|
|
@@ -363,8 +365,8 @@ function resolveDraftOrCommittedEntry(_x5, _x6) {
|
|
|
363
365
|
return _resolveDraftOrCommittedEntry.apply(this, arguments);
|
|
364
366
|
}
|
|
365
367
|
function _resolveDraftOrCommittedEntry() {
|
|
366
|
-
_resolveDraftOrCommittedEntry =
|
|
367
|
-
return
|
|
368
|
+
_resolveDraftOrCommittedEntry = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee18(draft, loadCommitted) {
|
|
369
|
+
return asyncToGenerator._regenerator().w(function (_context18) {
|
|
368
370
|
while (1) switch (_context18.n) {
|
|
369
371
|
case 0:
|
|
370
372
|
if (!(draft.status === "content")) {
|
|
@@ -389,10 +391,10 @@ function loadDraftJsonEntry(_x7, _x8, _x9, _x0) {
|
|
|
389
391
|
return _loadDraftJsonEntry.apply(this, arguments);
|
|
390
392
|
} // The (loosened) content type a single `.jsonValues()` entry resolves to.
|
|
391
393
|
function _loadDraftJsonEntry() {
|
|
392
|
-
_loadDraftJsonEntry =
|
|
394
|
+
_loadDraftJsonEntry = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee19(valServerPromise, getCookies, moduleFilePath, key) {
|
|
393
395
|
var _cookies3;
|
|
394
396
|
var cookies, valServer, res;
|
|
395
|
-
return
|
|
397
|
+
return asyncToGenerator._regenerator().w(function (_context19) {
|
|
396
398
|
while (1) switch (_context19.p = _context19.n) {
|
|
397
399
|
case 0:
|
|
398
400
|
_context19.p = 0;
|
|
@@ -485,9 +487,9 @@ function _loadDraftJsonEntry() {
|
|
|
485
487
|
*/
|
|
486
488
|
var initFetchValKeyStega = function initFetchValKeyStega(valServerPromise, isEnabled, getCookies) {
|
|
487
489
|
return /*#__PURE__*/function () {
|
|
488
|
-
var _ref3 =
|
|
490
|
+
var _ref3 = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee3(selector, key) {
|
|
489
491
|
var enabled, source, moduleFilePath, draft, content;
|
|
490
|
-
return
|
|
492
|
+
return asyncToGenerator._regenerator().w(function (_context3) {
|
|
491
493
|
while (1) switch (_context3.p = _context3.n) {
|
|
492
494
|
case 0:
|
|
493
495
|
enabled = false;
|
|
@@ -543,9 +545,9 @@ var initFetchValKeyStega = function initFetchValKeyStega(valServerPromise, isEna
|
|
|
543
545
|
};
|
|
544
546
|
var initFetchValRouteUrl = function initFetchValRouteUrl(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
545
547
|
return /*#__PURE__*/function () {
|
|
546
|
-
var _ref4 =
|
|
548
|
+
var _ref4 = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee4(selector, params) {
|
|
547
549
|
var fetchVal, resolvedParams, path, schema, val, route, _t7, _t8;
|
|
548
|
-
return
|
|
550
|
+
return asyncToGenerator._regenerator().w(function (_context4) {
|
|
549
551
|
while (1) switch (_context4.n) {
|
|
550
552
|
case 0:
|
|
551
553
|
fetchVal = initFetchValStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies);
|
|
@@ -603,8 +605,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
603
605
|
}
|
|
604
606
|
}, config), config, {
|
|
605
607
|
isEnabled: function isEnabled() {
|
|
606
|
-
return
|
|
607
|
-
return
|
|
608
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee5() {
|
|
609
|
+
return asyncToGenerator._regenerator().w(function (_context5) {
|
|
608
610
|
while (1) switch (_context5.n) {
|
|
609
611
|
case 0:
|
|
610
612
|
_context5.n = 1;
|
|
@@ -616,8 +618,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
616
618
|
}))();
|
|
617
619
|
},
|
|
618
620
|
onEnable: function onEnable() {
|
|
619
|
-
return
|
|
620
|
-
return
|
|
621
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee6() {
|
|
622
|
+
return asyncToGenerator._regenerator().w(function (_context6) {
|
|
621
623
|
while (1) switch (_context6.n) {
|
|
622
624
|
case 0:
|
|
623
625
|
_context6.n = 1;
|
|
@@ -631,8 +633,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
631
633
|
}))();
|
|
632
634
|
},
|
|
633
635
|
onDisable: function onDisable() {
|
|
634
|
-
return
|
|
635
|
-
return
|
|
636
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee7() {
|
|
637
|
+
return asyncToGenerator._regenerator().w(function (_context7) {
|
|
636
638
|
while (1) switch (_context7.n) {
|
|
637
639
|
case 0:
|
|
638
640
|
_context7.n = 1;
|
|
@@ -649,8 +651,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
649
651
|
return {
|
|
650
652
|
fetchValStega: initFetchValStega(config, valApiEndpoints,
|
|
651
653
|
// TODO: get from config
|
|
652
|
-
valServerPromise, /*#__PURE__*/
|
|
653
|
-
return
|
|
654
|
+
valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee8() {
|
|
655
|
+
return asyncToGenerator._regenerator().w(function (_context8) {
|
|
654
656
|
while (1) switch (_context8.n) {
|
|
655
657
|
case 0:
|
|
656
658
|
_context8.n = 1;
|
|
@@ -659,8 +661,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
659
661
|
return _context8.a(2, _context8.v.isEnabled);
|
|
660
662
|
}
|
|
661
663
|
}, _callee8);
|
|
662
|
-
})), /*#__PURE__*/
|
|
663
|
-
return
|
|
664
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee9() {
|
|
665
|
+
return asyncToGenerator._regenerator().w(function (_context9) {
|
|
664
666
|
while (1) switch (_context9.n) {
|
|
665
667
|
case 0:
|
|
666
668
|
_context9.n = 1;
|
|
@@ -669,8 +671,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
669
671
|
return _context9.a(2, _context9.v);
|
|
670
672
|
}
|
|
671
673
|
}, _callee9);
|
|
672
|
-
})), /*#__PURE__*/
|
|
673
|
-
return
|
|
674
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee0() {
|
|
675
|
+
return asyncToGenerator._regenerator().w(function (_context0) {
|
|
674
676
|
while (1) switch (_context0.n) {
|
|
675
677
|
case 0:
|
|
676
678
|
_context0.n = 1;
|
|
@@ -680,8 +682,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
680
682
|
}
|
|
681
683
|
}, _callee0);
|
|
682
684
|
}))),
|
|
683
|
-
fetchValKeyStega: initFetchValKeyStega(valServerPromise, /*#__PURE__*/
|
|
684
|
-
return
|
|
685
|
+
fetchValKeyStega: initFetchValKeyStega(valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee1() {
|
|
686
|
+
return asyncToGenerator._regenerator().w(function (_context1) {
|
|
685
687
|
while (1) switch (_context1.n) {
|
|
686
688
|
case 0:
|
|
687
689
|
_context1.n = 1;
|
|
@@ -690,8 +692,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
690
692
|
return _context1.a(2, _context1.v.isEnabled);
|
|
691
693
|
}
|
|
692
694
|
}, _callee1);
|
|
693
|
-
})), /*#__PURE__*/
|
|
694
|
-
return
|
|
695
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee10() {
|
|
696
|
+
return asyncToGenerator._regenerator().w(function (_context10) {
|
|
695
697
|
while (1) switch (_context10.n) {
|
|
696
698
|
case 0:
|
|
697
699
|
_context10.n = 1;
|
|
@@ -701,8 +703,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
701
703
|
}
|
|
702
704
|
}, _callee10);
|
|
703
705
|
}))),
|
|
704
|
-
fetchValRouteStega: initFetchValRouteStega(config, valApiEndpoints, valServerPromise, /*#__PURE__*/
|
|
705
|
-
return
|
|
706
|
+
fetchValRouteStega: initFetchValRouteStega(config, valApiEndpoints, valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee11() {
|
|
707
|
+
return asyncToGenerator._regenerator().w(function (_context11) {
|
|
706
708
|
while (1) switch (_context11.n) {
|
|
707
709
|
case 0:
|
|
708
710
|
_context11.n = 1;
|
|
@@ -711,8 +713,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
711
713
|
return _context11.a(2, _context11.v.isEnabled);
|
|
712
714
|
}
|
|
713
715
|
}, _callee11);
|
|
714
|
-
})), /*#__PURE__*/
|
|
715
|
-
return
|
|
716
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee12() {
|
|
717
|
+
return asyncToGenerator._regenerator().w(function (_context12) {
|
|
716
718
|
while (1) switch (_context12.n) {
|
|
717
719
|
case 0:
|
|
718
720
|
_context12.n = 1;
|
|
@@ -721,8 +723,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
721
723
|
return _context12.a(2, _context12.v);
|
|
722
724
|
}
|
|
723
725
|
}, _callee12);
|
|
724
|
-
})), /*#__PURE__*/
|
|
725
|
-
return
|
|
726
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee13() {
|
|
727
|
+
return asyncToGenerator._regenerator().w(function (_context13) {
|
|
726
728
|
while (1) switch (_context13.n) {
|
|
727
729
|
case 0:
|
|
728
730
|
_context13.n = 1;
|
|
@@ -732,8 +734,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
732
734
|
}
|
|
733
735
|
}, _callee13);
|
|
734
736
|
}))),
|
|
735
|
-
fetchValRouteUrl: initFetchValRouteUrl(config, valApiEndpoints, valServerPromise, /*#__PURE__*/
|
|
736
|
-
return
|
|
737
|
+
fetchValRouteUrl: initFetchValRouteUrl(config, valApiEndpoints, valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee14() {
|
|
738
|
+
return asyncToGenerator._regenerator().w(function (_context14) {
|
|
737
739
|
while (1) switch (_context14.n) {
|
|
738
740
|
case 0:
|
|
739
741
|
_context14.n = 1;
|
|
@@ -742,8 +744,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
742
744
|
return _context14.a(2, _context14.v.isEnabled);
|
|
743
745
|
}
|
|
744
746
|
}, _callee14);
|
|
745
|
-
})), /*#__PURE__*/
|
|
746
|
-
return
|
|
747
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee15() {
|
|
748
|
+
return asyncToGenerator._regenerator().w(function (_context15) {
|
|
747
749
|
while (1) switch (_context15.n) {
|
|
748
750
|
case 0:
|
|
749
751
|
_context15.n = 1;
|
|
@@ -752,8 +754,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
752
754
|
return _context15.a(2, _context15.v);
|
|
753
755
|
}
|
|
754
756
|
}, _callee15);
|
|
755
|
-
})), /*#__PURE__*/
|
|
756
|
-
return
|
|
757
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee16() {
|
|
758
|
+
return asyncToGenerator._regenerator().w(function (_context16) {
|
|
757
759
|
while (1) switch (_context16.n) {
|
|
758
760
|
case 0:
|
|
759
761
|
_context16.n = 1;
|
|
@@ -3,25 +3,27 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('server-only');
|
|
6
|
-
var routeFromVal = require('../../dist/routeFromVal-
|
|
6
|
+
var routeFromVal = require('../../dist/routeFromVal-e0995830.cjs.prod.js');
|
|
7
7
|
var objectSpread2 = require('../../dist/objectSpread2-13f847a9.cjs.prod.js');
|
|
8
|
-
var
|
|
8
|
+
var asyncToGenerator = require('../../dist/asyncToGenerator-8e5c36c8.cjs.prod.js');
|
|
9
9
|
var defineProperty = require('../../dist/defineProperty-8951f469.cjs.prod.js');
|
|
10
10
|
var stega = require('@valbuild/react/stega');
|
|
11
11
|
var core = require('@valbuild/core');
|
|
12
12
|
var internal = require('@valbuild/shared/internal');
|
|
13
13
|
var server = require('@valbuild/server');
|
|
14
|
+
var version = require('../../dist/version-d2061026.cjs.prod.js');
|
|
14
15
|
require('../../dist/createForOfIteratorHelper-d4afcad8.cjs.prod.js');
|
|
15
16
|
require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
16
17
|
require('../../dist/slicedToArray-ce613de6.cjs.prod.js');
|
|
18
|
+
require('@valbuild/shared/client');
|
|
17
19
|
|
|
18
20
|
stega.SET_RSC(true);
|
|
19
21
|
var initFetchValStega = function initFetchValStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
20
22
|
return function (selector) {
|
|
21
23
|
var exec = /*#__PURE__*/function () {
|
|
22
|
-
var _ref =
|
|
24
|
+
var _ref = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee() {
|
|
23
25
|
var enabled, headers, cookies, host, _cookies, valServer, treeRes, modules, _t, _t2, _t3;
|
|
24
|
-
return
|
|
26
|
+
return asyncToGenerator._regenerator().w(function (_context) {
|
|
25
27
|
while (1) switch (_context.p = _context.n) {
|
|
26
28
|
case 0:
|
|
27
29
|
enabled = false;
|
|
@@ -196,9 +198,9 @@ function getHost(headers) {
|
|
|
196
198
|
|
|
197
199
|
var initFetchValRouteStega = function initFetchValRouteStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
198
200
|
return /*#__PURE__*/function () {
|
|
199
|
-
var _ref2 =
|
|
201
|
+
var _ref2 = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee2(selector, params) {
|
|
200
202
|
var resolvedParams, path, schema, source, url, enabled, draft, content, fetchVal, val, route, _t5;
|
|
201
|
-
return
|
|
203
|
+
return asyncToGenerator._regenerator().w(function (_context2) {
|
|
202
204
|
while (1) switch (_context2.p = _context2.n) {
|
|
203
205
|
case 0:
|
|
204
206
|
_context2.n = 1;
|
|
@@ -316,9 +318,9 @@ function loadJsonEntryContent(_x3, _x4) {
|
|
|
316
318
|
* to the whole server type.
|
|
317
319
|
*/
|
|
318
320
|
function _loadJsonEntryContent() {
|
|
319
|
-
_loadJsonEntryContent =
|
|
321
|
+
_loadJsonEntryContent = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee17(source, key) {
|
|
320
322
|
var marker, thunk;
|
|
321
|
-
return
|
|
323
|
+
return asyncToGenerator._regenerator().w(function (_context17) {
|
|
322
324
|
while (1) switch (_context17.n) {
|
|
323
325
|
case 0:
|
|
324
326
|
if (!(!source || routeFromVal._typeof(source) !== "object")) {
|
|
@@ -363,8 +365,8 @@ function resolveDraftOrCommittedEntry(_x5, _x6) {
|
|
|
363
365
|
return _resolveDraftOrCommittedEntry.apply(this, arguments);
|
|
364
366
|
}
|
|
365
367
|
function _resolveDraftOrCommittedEntry() {
|
|
366
|
-
_resolveDraftOrCommittedEntry =
|
|
367
|
-
return
|
|
368
|
+
_resolveDraftOrCommittedEntry = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee18(draft, loadCommitted) {
|
|
369
|
+
return asyncToGenerator._regenerator().w(function (_context18) {
|
|
368
370
|
while (1) switch (_context18.n) {
|
|
369
371
|
case 0:
|
|
370
372
|
if (!(draft.status === "content")) {
|
|
@@ -389,10 +391,10 @@ function loadDraftJsonEntry(_x7, _x8, _x9, _x0) {
|
|
|
389
391
|
return _loadDraftJsonEntry.apply(this, arguments);
|
|
390
392
|
} // The (loosened) content type a single `.jsonValues()` entry resolves to.
|
|
391
393
|
function _loadDraftJsonEntry() {
|
|
392
|
-
_loadDraftJsonEntry =
|
|
394
|
+
_loadDraftJsonEntry = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee19(valServerPromise, getCookies, moduleFilePath, key) {
|
|
393
395
|
var _cookies3;
|
|
394
396
|
var cookies, valServer, res;
|
|
395
|
-
return
|
|
397
|
+
return asyncToGenerator._regenerator().w(function (_context19) {
|
|
396
398
|
while (1) switch (_context19.p = _context19.n) {
|
|
397
399
|
case 0:
|
|
398
400
|
_context19.p = 0;
|
|
@@ -485,9 +487,9 @@ function _loadDraftJsonEntry() {
|
|
|
485
487
|
*/
|
|
486
488
|
var initFetchValKeyStega = function initFetchValKeyStega(valServerPromise, isEnabled, getCookies) {
|
|
487
489
|
return /*#__PURE__*/function () {
|
|
488
|
-
var _ref3 =
|
|
490
|
+
var _ref3 = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee3(selector, key) {
|
|
489
491
|
var enabled, source, moduleFilePath, draft, content;
|
|
490
|
-
return
|
|
492
|
+
return asyncToGenerator._regenerator().w(function (_context3) {
|
|
491
493
|
while (1) switch (_context3.p = _context3.n) {
|
|
492
494
|
case 0:
|
|
493
495
|
enabled = false;
|
|
@@ -543,9 +545,9 @@ var initFetchValKeyStega = function initFetchValKeyStega(valServerPromise, isEna
|
|
|
543
545
|
};
|
|
544
546
|
var initFetchValRouteUrl = function initFetchValRouteUrl(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
545
547
|
return /*#__PURE__*/function () {
|
|
546
|
-
var _ref4 =
|
|
548
|
+
var _ref4 = asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee4(selector, params) {
|
|
547
549
|
var fetchVal, resolvedParams, path, schema, val, route, _t7, _t8;
|
|
548
|
-
return
|
|
550
|
+
return asyncToGenerator._regenerator().w(function (_context4) {
|
|
549
551
|
while (1) switch (_context4.n) {
|
|
550
552
|
case 0:
|
|
551
553
|
fetchVal = initFetchValStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies);
|
|
@@ -603,8 +605,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
603
605
|
}
|
|
604
606
|
}, config), config, {
|
|
605
607
|
isEnabled: function isEnabled() {
|
|
606
|
-
return
|
|
607
|
-
return
|
|
608
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee5() {
|
|
609
|
+
return asyncToGenerator._regenerator().w(function (_context5) {
|
|
608
610
|
while (1) switch (_context5.n) {
|
|
609
611
|
case 0:
|
|
610
612
|
_context5.n = 1;
|
|
@@ -616,8 +618,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
616
618
|
}))();
|
|
617
619
|
},
|
|
618
620
|
onEnable: function onEnable() {
|
|
619
|
-
return
|
|
620
|
-
return
|
|
621
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee6() {
|
|
622
|
+
return asyncToGenerator._regenerator().w(function (_context6) {
|
|
621
623
|
while (1) switch (_context6.n) {
|
|
622
624
|
case 0:
|
|
623
625
|
_context6.n = 1;
|
|
@@ -631,8 +633,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
631
633
|
}))();
|
|
632
634
|
},
|
|
633
635
|
onDisable: function onDisable() {
|
|
634
|
-
return
|
|
635
|
-
return
|
|
636
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee7() {
|
|
637
|
+
return asyncToGenerator._regenerator().w(function (_context7) {
|
|
636
638
|
while (1) switch (_context7.n) {
|
|
637
639
|
case 0:
|
|
638
640
|
_context7.n = 1;
|
|
@@ -649,8 +651,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
649
651
|
return {
|
|
650
652
|
fetchValStega: initFetchValStega(config, valApiEndpoints,
|
|
651
653
|
// TODO: get from config
|
|
652
|
-
valServerPromise, /*#__PURE__*/
|
|
653
|
-
return
|
|
654
|
+
valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee8() {
|
|
655
|
+
return asyncToGenerator._regenerator().w(function (_context8) {
|
|
654
656
|
while (1) switch (_context8.n) {
|
|
655
657
|
case 0:
|
|
656
658
|
_context8.n = 1;
|
|
@@ -659,8 +661,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
659
661
|
return _context8.a(2, _context8.v.isEnabled);
|
|
660
662
|
}
|
|
661
663
|
}, _callee8);
|
|
662
|
-
})), /*#__PURE__*/
|
|
663
|
-
return
|
|
664
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee9() {
|
|
665
|
+
return asyncToGenerator._regenerator().w(function (_context9) {
|
|
664
666
|
while (1) switch (_context9.n) {
|
|
665
667
|
case 0:
|
|
666
668
|
_context9.n = 1;
|
|
@@ -669,8 +671,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
669
671
|
return _context9.a(2, _context9.v);
|
|
670
672
|
}
|
|
671
673
|
}, _callee9);
|
|
672
|
-
})), /*#__PURE__*/
|
|
673
|
-
return
|
|
674
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee0() {
|
|
675
|
+
return asyncToGenerator._regenerator().w(function (_context0) {
|
|
674
676
|
while (1) switch (_context0.n) {
|
|
675
677
|
case 0:
|
|
676
678
|
_context0.n = 1;
|
|
@@ -680,8 +682,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
680
682
|
}
|
|
681
683
|
}, _callee0);
|
|
682
684
|
}))),
|
|
683
|
-
fetchValKeyStega: initFetchValKeyStega(valServerPromise, /*#__PURE__*/
|
|
684
|
-
return
|
|
685
|
+
fetchValKeyStega: initFetchValKeyStega(valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee1() {
|
|
686
|
+
return asyncToGenerator._regenerator().w(function (_context1) {
|
|
685
687
|
while (1) switch (_context1.n) {
|
|
686
688
|
case 0:
|
|
687
689
|
_context1.n = 1;
|
|
@@ -690,8 +692,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
690
692
|
return _context1.a(2, _context1.v.isEnabled);
|
|
691
693
|
}
|
|
692
694
|
}, _callee1);
|
|
693
|
-
})), /*#__PURE__*/
|
|
694
|
-
return
|
|
695
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee10() {
|
|
696
|
+
return asyncToGenerator._regenerator().w(function (_context10) {
|
|
695
697
|
while (1) switch (_context10.n) {
|
|
696
698
|
case 0:
|
|
697
699
|
_context10.n = 1;
|
|
@@ -701,8 +703,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
701
703
|
}
|
|
702
704
|
}, _callee10);
|
|
703
705
|
}))),
|
|
704
|
-
fetchValRouteStega: initFetchValRouteStega(config, valApiEndpoints, valServerPromise, /*#__PURE__*/
|
|
705
|
-
return
|
|
706
|
+
fetchValRouteStega: initFetchValRouteStega(config, valApiEndpoints, valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee11() {
|
|
707
|
+
return asyncToGenerator._regenerator().w(function (_context11) {
|
|
706
708
|
while (1) switch (_context11.n) {
|
|
707
709
|
case 0:
|
|
708
710
|
_context11.n = 1;
|
|
@@ -711,8 +713,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
711
713
|
return _context11.a(2, _context11.v.isEnabled);
|
|
712
714
|
}
|
|
713
715
|
}, _callee11);
|
|
714
|
-
})), /*#__PURE__*/
|
|
715
|
-
return
|
|
716
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee12() {
|
|
717
|
+
return asyncToGenerator._regenerator().w(function (_context12) {
|
|
716
718
|
while (1) switch (_context12.n) {
|
|
717
719
|
case 0:
|
|
718
720
|
_context12.n = 1;
|
|
@@ -721,8 +723,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
721
723
|
return _context12.a(2, _context12.v);
|
|
722
724
|
}
|
|
723
725
|
}, _callee12);
|
|
724
|
-
})), /*#__PURE__*/
|
|
725
|
-
return
|
|
726
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee13() {
|
|
727
|
+
return asyncToGenerator._regenerator().w(function (_context13) {
|
|
726
728
|
while (1) switch (_context13.n) {
|
|
727
729
|
case 0:
|
|
728
730
|
_context13.n = 1;
|
|
@@ -732,8 +734,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
732
734
|
}
|
|
733
735
|
}, _callee13);
|
|
734
736
|
}))),
|
|
735
|
-
fetchValRouteUrl: initFetchValRouteUrl(config, valApiEndpoints, valServerPromise, /*#__PURE__*/
|
|
736
|
-
return
|
|
737
|
+
fetchValRouteUrl: initFetchValRouteUrl(config, valApiEndpoints, valServerPromise, /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee14() {
|
|
738
|
+
return asyncToGenerator._regenerator().w(function (_context14) {
|
|
737
739
|
while (1) switch (_context14.n) {
|
|
738
740
|
case 0:
|
|
739
741
|
_context14.n = 1;
|
|
@@ -742,8 +744,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
742
744
|
return _context14.a(2, _context14.v.isEnabled);
|
|
743
745
|
}
|
|
744
746
|
}, _callee14);
|
|
745
|
-
})), /*#__PURE__*/
|
|
746
|
-
return
|
|
747
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee15() {
|
|
748
|
+
return asyncToGenerator._regenerator().w(function (_context15) {
|
|
747
749
|
while (1) switch (_context15.n) {
|
|
748
750
|
case 0:
|
|
749
751
|
_context15.n = 1;
|
|
@@ -752,8 +754,8 @@ function initValRsc(config, valModules, rscNextConfig) {
|
|
|
752
754
|
return _context15.a(2, _context15.v);
|
|
753
755
|
}
|
|
754
756
|
}, _callee15);
|
|
755
|
-
})), /*#__PURE__*/
|
|
756
|
-
return
|
|
757
|
+
})), /*#__PURE__*/asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee16() {
|
|
758
|
+
return asyncToGenerator._regenerator().w(function (_context16) {
|
|
757
759
|
while (1) switch (_context16.n) {
|
|
758
760
|
case 0:
|
|
759
761
|
_context16.n = 1;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import 'server-only';
|
|
2
|
-
import { i as initValRouteFromVal, g as getJsonEntryStegaRoot, a as isJsonValuesRecordSchema, b as getValRouteUrlFromVal, _ as _typeof } from '../../dist/routeFromVal-
|
|
2
|
+
import { i as initValRouteFromVal, g as getJsonEntryStegaRoot, a as isJsonValuesRecordSchema, b as getValRouteUrlFromVal, _ as _typeof } from '../../dist/routeFromVal-544e8318.esm.js';
|
|
3
3
|
import { _ as _objectSpread2 } from '../../dist/objectSpread2-60d1bd93.esm.js';
|
|
4
|
-
import { _ as _asyncToGenerator,
|
|
4
|
+
import { _ as _asyncToGenerator, a as _regenerator } from '../../dist/asyncToGenerator-500f022f.esm.js';
|
|
5
5
|
import { _ as _defineProperty } from '../../dist/defineProperty-cca5affa.esm.js';
|
|
6
6
|
import { SET_RSC, stegaEncode, SET_AUTO_TAG_JSX_ENABLED } from '@valbuild/react/stega';
|
|
7
7
|
import { Internal } from '@valbuild/core';
|
|
8
8
|
import { VAL_SESSION_COOKIE } from '@valbuild/shared/internal';
|
|
9
9
|
import { createValServer } from '@valbuild/server';
|
|
10
|
+
import { V as VERSION } from '../../dist/version-16f6b0ce.esm.js';
|
|
10
11
|
import '../../dist/createForOfIteratorHelper-5758a730.esm.js';
|
|
11
12
|
import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
|
|
12
13
|
import '../../dist/slicedToArray-aa291011.esm.js';
|
|
14
|
+
import '@valbuild/shared/client';
|
|
13
15
|
|
|
14
16
|
SET_RSC(true);
|
|
15
17
|
var initFetchValStega = function initFetchValStega(config, valApiEndpoints, valServerPromise, isEnabled, getHeaders, getCookies) {
|
|
@@ -4,11 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('server-only');
|
|
6
6
|
var slicedToArray = require('../../dist/slicedToArray-44036a76.cjs.dev.js');
|
|
7
|
-
var
|
|
7
|
+
var asyncToGenerator = require('../../dist/asyncToGenerator-c3823d62.cjs.dev.js');
|
|
8
8
|
var objectSpread2 = require('../../dist/objectSpread2-58024783.cjs.dev.js');
|
|
9
9
|
var core = require('@valbuild/core');
|
|
10
10
|
var server = require('@valbuild/server');
|
|
11
11
|
var server$1 = require('next/server');
|
|
12
|
+
var version = require('../../dist/version-d034b2fc.cjs.dev.js');
|
|
12
13
|
var mcp = require('@valbuild/mcp');
|
|
13
14
|
require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
14
15
|
require('../../dist/defineProperty-f90345d7.cjs.dev.js');
|
|
@@ -30,8 +31,8 @@ var initValNextAppRouter = function initValNextAppRouter(valModules, config, nex
|
|
|
30
31
|
}
|
|
31
32
|
}, config), config, {
|
|
32
33
|
isEnabled: function isEnabled() {
|
|
33
|
-
return
|
|
34
|
-
return
|
|
34
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee() {
|
|
35
|
+
return asyncToGenerator._regenerator().w(function (_context) {
|
|
35
36
|
while (1) switch (_context.n) {
|
|
36
37
|
case 0:
|
|
37
38
|
_context.n = 1;
|
|
@@ -43,8 +44,8 @@ var initValNextAppRouter = function initValNextAppRouter(valModules, config, nex
|
|
|
43
44
|
}))();
|
|
44
45
|
},
|
|
45
46
|
onEnable: function onEnable() {
|
|
46
|
-
return
|
|
47
|
-
return
|
|
47
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee2() {
|
|
48
|
+
return asyncToGenerator._regenerator().w(function (_context2) {
|
|
48
49
|
while (1) switch (_context2.n) {
|
|
49
50
|
case 0:
|
|
50
51
|
_context2.n = 1;
|
|
@@ -58,8 +59,8 @@ var initValNextAppRouter = function initValNextAppRouter(valModules, config, nex
|
|
|
58
59
|
}))();
|
|
59
60
|
},
|
|
60
61
|
onDisable: function onDisable() {
|
|
61
|
-
return
|
|
62
|
-
return
|
|
62
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee3() {
|
|
63
|
+
return asyncToGenerator._regenerator().w(function (_context3) {
|
|
63
64
|
while (1) switch (_context3.n) {
|
|
64
65
|
case 0:
|
|
65
66
|
_context3.n = 1;
|
|
@@ -4,11 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('server-only');
|
|
6
6
|
var slicedToArray = require('../../dist/slicedToArray-ce613de6.cjs.prod.js');
|
|
7
|
-
var
|
|
7
|
+
var asyncToGenerator = require('../../dist/asyncToGenerator-8e5c36c8.cjs.prod.js');
|
|
8
8
|
var objectSpread2 = require('../../dist/objectSpread2-13f847a9.cjs.prod.js');
|
|
9
9
|
var core = require('@valbuild/core');
|
|
10
10
|
var server = require('@valbuild/server');
|
|
11
11
|
var server$1 = require('next/server');
|
|
12
|
+
var version = require('../../dist/version-d2061026.cjs.prod.js');
|
|
12
13
|
var mcp = require('@valbuild/mcp');
|
|
13
14
|
require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
14
15
|
require('../../dist/defineProperty-8951f469.cjs.prod.js');
|
|
@@ -30,8 +31,8 @@ var initValNextAppRouter = function initValNextAppRouter(valModules, config, nex
|
|
|
30
31
|
}
|
|
31
32
|
}, config), config, {
|
|
32
33
|
isEnabled: function isEnabled() {
|
|
33
|
-
return
|
|
34
|
-
return
|
|
34
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee() {
|
|
35
|
+
return asyncToGenerator._regenerator().w(function (_context) {
|
|
35
36
|
while (1) switch (_context.n) {
|
|
36
37
|
case 0:
|
|
37
38
|
_context.n = 1;
|
|
@@ -43,8 +44,8 @@ var initValNextAppRouter = function initValNextAppRouter(valModules, config, nex
|
|
|
43
44
|
}))();
|
|
44
45
|
},
|
|
45
46
|
onEnable: function onEnable() {
|
|
46
|
-
return
|
|
47
|
-
return
|
|
47
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee2() {
|
|
48
|
+
return asyncToGenerator._regenerator().w(function (_context2) {
|
|
48
49
|
while (1) switch (_context2.n) {
|
|
49
50
|
case 0:
|
|
50
51
|
_context2.n = 1;
|
|
@@ -58,8 +59,8 @@ var initValNextAppRouter = function initValNextAppRouter(valModules, config, nex
|
|
|
58
59
|
}))();
|
|
59
60
|
},
|
|
60
61
|
onDisable: function onDisable() {
|
|
61
|
-
return
|
|
62
|
-
return
|
|
62
|
+
return asyncToGenerator._asyncToGenerator(/*#__PURE__*/asyncToGenerator._regenerator().m(function _callee3() {
|
|
63
|
+
return asyncToGenerator._regenerator().w(function (_context3) {
|
|
63
64
|
while (1) switch (_context3.n) {
|
|
64
65
|
case 0:
|
|
65
66
|
_context3.n = 1;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import 'server-only';
|
|
2
2
|
import { _ as _slicedToArray } from '../../dist/slicedToArray-aa291011.esm.js';
|
|
3
|
-
import { _ as _asyncToGenerator, a as _regenerator
|
|
3
|
+
import { _ as _asyncToGenerator, a as _regenerator } from '../../dist/asyncToGenerator-500f022f.esm.js';
|
|
4
4
|
import { _ as _objectSpread2 } from '../../dist/objectSpread2-60d1bd93.esm.js';
|
|
5
5
|
import { Internal } from '@valbuild/core';
|
|
6
6
|
import { createValApiRouter, createValServer } from '@valbuild/server';
|
|
7
7
|
import { NextResponse } from 'next/server';
|
|
8
|
+
import { V as VERSION } from '../../dist/version-16f6b0ce.esm.js';
|
|
8
9
|
import { initValMcp as initValMcp$1 } from '@valbuild/mcp';
|
|
9
10
|
import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
|
|
10
11
|
import '../../dist/defineProperty-cca5affa.esm.js';
|