@visulima/crud 3.0.0-alpha.6 → 3.0.0-alpha.7
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 +19 -0
- package/dist/{chunk-T4KVXVDI.js → chunk-GTXTWDUH.js} +4 -4
- package/dist/{chunk-T4KVXVDI.js.map → chunk-GTXTWDUH.js.map} +1 -1
- package/dist/{chunk-CXLPLDCG.mjs → chunk-VFQBXTKL.mjs} +3 -3
- package/dist/{chunk-CXLPLDCG.mjs.map → chunk-VFQBXTKL.mjs.map} +1 -1
- package/dist/index.js +20 -20
- package/dist/index.mjs +2 -2
- package/dist/next/index.js +175 -155
- package/dist/next/index.js.map +1 -1
- package/dist/next/index.mjs +43 -23
- package/dist/next/index.mjs.map +1 -1
- package/package.json +5 -3
package/dist/next/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { __commonJS, init_esm_shims, __esm, __export, __toCommonJS, __dirname as __dirname$1, __toESM, get_accessible_routes_default } from '../chunk-
|
|
1
|
+
import { __commonJS, init_esm_shims, __esm, __export, __toCommonJS, __dirname as __dirname$1, __toESM, get_accessible_routes_default } from '../chunk-VFQBXTKL.mjs';
|
|
2
2
|
import createHttpError5 from 'http-errors';
|
|
3
3
|
import { paginate } from '@visulima/pagination';
|
|
4
4
|
import { URL } from 'url';
|
|
5
5
|
import { match } from 'path-to-regexp';
|
|
6
6
|
|
|
7
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
7
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js
|
|
8
8
|
var require_reflect = __commonJS({
|
|
9
|
-
"../../../node_modules/.pnpm/next@16.
|
|
9
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js"(exports$1) {
|
|
10
10
|
init_esm_shims();
|
|
11
11
|
Object.defineProperty(exports$1, "__esModule", {
|
|
12
12
|
value: true
|
|
@@ -38,9 +38,9 @@ var require_reflect = __commonJS({
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
41
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/web/spec-extension/adapters/headers.js
|
|
42
42
|
var require_headers = __commonJS({
|
|
43
|
-
"../../../node_modules/.pnpm/next@16.
|
|
43
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/web/spec-extension/adapters/headers.js"(exports$1) {
|
|
44
44
|
init_esm_shims();
|
|
45
45
|
Object.defineProperty(exports$1, "__esModule", {
|
|
46
46
|
value: true
|
|
@@ -205,9 +205,9 @@ var require_headers = __commonJS({
|
|
|
205
205
|
}
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
208
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/constants.js
|
|
209
209
|
var require_constants = __commonJS({
|
|
210
|
-
"../../../node_modules/.pnpm/next@16.
|
|
210
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/constants.js"(exports$1) {
|
|
211
211
|
init_esm_shims();
|
|
212
212
|
Object.defineProperty(exports$1, "__esModule", {
|
|
213
213
|
value: true
|
|
@@ -225,8 +225,8 @@ var require_constants = __commonJS({
|
|
|
225
225
|
APP_DIR_ALIAS: function() {
|
|
226
226
|
return APP_DIR_ALIAS;
|
|
227
227
|
},
|
|
228
|
-
|
|
229
|
-
return
|
|
228
|
+
CACHE_ONE_YEAR_SECONDS: function() {
|
|
229
|
+
return CACHE_ONE_YEAR_SECONDS;
|
|
230
230
|
},
|
|
231
231
|
DOT_NEXT_ALIAS: function() {
|
|
232
232
|
return DOT_NEXT_ALIAS;
|
|
@@ -276,6 +276,9 @@ var require_constants = __commonJS({
|
|
|
276
276
|
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
277
277
|
return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER;
|
|
278
278
|
},
|
|
279
|
+
NEXT_CACHE_ROOT_PARAM_TAG_ID: function() {
|
|
280
|
+
return NEXT_CACHE_ROOT_PARAM_TAG_ID;
|
|
281
|
+
},
|
|
279
282
|
NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
|
|
280
283
|
return NEXT_CACHE_SOFT_TAG_MAX_LENGTH;
|
|
281
284
|
},
|
|
@@ -297,12 +300,18 @@ var require_constants = __commonJS({
|
|
|
297
300
|
NEXT_META_SUFFIX: function() {
|
|
298
301
|
return NEXT_META_SUFFIX;
|
|
299
302
|
},
|
|
303
|
+
NEXT_NAV_DEPLOYMENT_ID_HEADER: function() {
|
|
304
|
+
return NEXT_NAV_DEPLOYMENT_ID_HEADER;
|
|
305
|
+
},
|
|
300
306
|
NEXT_QUERY_PARAM_PREFIX: function() {
|
|
301
307
|
return NEXT_QUERY_PARAM_PREFIX;
|
|
302
308
|
},
|
|
303
309
|
NEXT_RESUME_HEADER: function() {
|
|
304
310
|
return NEXT_RESUME_HEADER;
|
|
305
311
|
},
|
|
312
|
+
NEXT_RESUME_STATE_LENGTH_HEADER: function() {
|
|
313
|
+
return NEXT_RESUME_STATE_LENGTH_HEADER;
|
|
314
|
+
},
|
|
306
315
|
NON_STANDARD_NODE_ENV: function() {
|
|
307
316
|
return NON_STANDARD_NODE_ENV;
|
|
308
317
|
},
|
|
@@ -409,15 +418,18 @@ var require_constants = __commonJS({
|
|
|
409
418
|
var NEXT_DATA_SUFFIX = ".json";
|
|
410
419
|
var NEXT_META_SUFFIX = ".meta";
|
|
411
420
|
var NEXT_BODY_SUFFIX = ".body";
|
|
421
|
+
var NEXT_NAV_DEPLOYMENT_ID_HEADER = "x-nextjs-deployment-id";
|
|
412
422
|
var NEXT_CACHE_TAGS_HEADER = "x-next-cache-tags";
|
|
413
423
|
var NEXT_CACHE_REVALIDATED_TAGS_HEADER = "x-next-revalidated-tags";
|
|
414
424
|
var NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = "x-next-revalidate-tag-token";
|
|
415
425
|
var NEXT_RESUME_HEADER = "next-resume";
|
|
426
|
+
var NEXT_RESUME_STATE_LENGTH_HEADER = "x-next-resume-state-length";
|
|
416
427
|
var NEXT_CACHE_TAG_MAX_ITEMS = 128;
|
|
417
428
|
var NEXT_CACHE_TAG_MAX_LENGTH = 256;
|
|
418
429
|
var NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;
|
|
419
430
|
var NEXT_CACHE_IMPLICIT_TAG_ID = "_N_T_";
|
|
420
|
-
var
|
|
431
|
+
var NEXT_CACHE_ROOT_PARAM_TAG_ID = "_N_RP_";
|
|
432
|
+
var CACHE_ONE_YEAR_SECONDS = 31536e3;
|
|
421
433
|
var INFINITE_CACHE = 4294967294;
|
|
422
434
|
var MIDDLEWARE_FILENAME = "middleware";
|
|
423
435
|
var MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;
|
|
@@ -564,9 +576,9 @@ var require_constants = __commonJS({
|
|
|
564
576
|
}
|
|
565
577
|
});
|
|
566
578
|
|
|
567
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
579
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/trace/constants.js
|
|
568
580
|
var require_constants2 = __commonJS({
|
|
569
|
-
"../../../node_modules/.pnpm/next@16.
|
|
581
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/trace/constants.js"(exports$1) {
|
|
570
582
|
init_esm_shims();
|
|
571
583
|
Object.defineProperty(exports$1, "__esModule", {
|
|
572
584
|
value: true
|
|
@@ -748,9 +760,9 @@ var require_constants2 = __commonJS({
|
|
|
748
760
|
}
|
|
749
761
|
});
|
|
750
762
|
|
|
751
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
763
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/is-thenable.js
|
|
752
764
|
var require_is_thenable = __commonJS({
|
|
753
|
-
"../../../node_modules/.pnpm/next@16.
|
|
765
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/is-thenable.js"(exports$1) {
|
|
754
766
|
init_esm_shims();
|
|
755
767
|
Object.defineProperty(exports$1, "__esModule", {
|
|
756
768
|
value: true
|
|
@@ -2439,9 +2451,9 @@ var init_esm = __esm({
|
|
|
2439
2451
|
}
|
|
2440
2452
|
});
|
|
2441
2453
|
|
|
2442
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
2454
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/@opentelemetry/api/index.js
|
|
2443
2455
|
var require_api = __commonJS({
|
|
2444
|
-
"../../../node_modules/.pnpm/next@16.
|
|
2456
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/@opentelemetry/api/index.js"(exports$1, module) {
|
|
2445
2457
|
init_esm_shims();
|
|
2446
2458
|
(() => {
|
|
2447
2459
|
var e = { 491: (e2, t2, r2) => {
|
|
@@ -3639,9 +3651,9 @@ var require_api = __commonJS({
|
|
|
3639
3651
|
}
|
|
3640
3652
|
});
|
|
3641
3653
|
|
|
3642
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
3654
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/trace/tracer.js
|
|
3643
3655
|
var require_tracer = __commonJS({
|
|
3644
|
-
"../../../node_modules/.pnpm/next@16.
|
|
3656
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/trace/tracer.js"(exports$1) {
|
|
3645
3657
|
init_esm_shims();
|
|
3646
3658
|
Object.defineProperty(exports$1, "__esModule", {
|
|
3647
3659
|
value: true
|
|
@@ -3740,8 +3752,16 @@ var require_tracer = __commonJS({
|
|
|
3740
3752
|
getActiveScopeSpan() {
|
|
3741
3753
|
return trace2.getSpan(context2 == null ? void 0 : context2.active());
|
|
3742
3754
|
}
|
|
3743
|
-
withPropagatedContext(carrier, fn, getter) {
|
|
3755
|
+
withPropagatedContext(carrier, fn, getter, force = false) {
|
|
3744
3756
|
const activeContext = context2.active();
|
|
3757
|
+
if (force) {
|
|
3758
|
+
const remoteContext2 = propagation2.extract(ROOT_CONTEXT2, carrier, getter);
|
|
3759
|
+
if (trace2.getSpanContext(remoteContext2)) {
|
|
3760
|
+
return context2.with(remoteContext2, fn);
|
|
3761
|
+
}
|
|
3762
|
+
const mergedContext = propagation2.extract(activeContext, carrier, getter);
|
|
3763
|
+
return context2.with(mergedContext, fn);
|
|
3764
|
+
}
|
|
3745
3765
|
if (trace2.getSpanContext(activeContext)) {
|
|
3746
3766
|
return fn();
|
|
3747
3767
|
}
|
|
@@ -3890,9 +3910,9 @@ var require_tracer = __commonJS({
|
|
|
3890
3910
|
}
|
|
3891
3911
|
});
|
|
3892
3912
|
|
|
3893
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
3913
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/cookie/index.js
|
|
3894
3914
|
var require_cookie = __commonJS({
|
|
3895
|
-
"../../../node_modules/.pnpm/next@16.
|
|
3915
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/cookie/index.js"(exports$1, module) {
|
|
3896
3916
|
init_esm_shims();
|
|
3897
3917
|
(() => {
|
|
3898
3918
|
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname$1 + "/";
|
|
@@ -4009,9 +4029,9 @@ var require_cookie = __commonJS({
|
|
|
4009
4029
|
}
|
|
4010
4030
|
});
|
|
4011
4031
|
|
|
4012
|
-
// ../../../node_modules/.pnpm/next@16.
|
|
4032
|
+
// ../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/api-utils/index.js
|
|
4013
4033
|
var require_api_utils = __commonJS({
|
|
4014
|
-
"../../../node_modules/.pnpm/next@16.
|
|
4034
|
+
"../../../node_modules/.pnpm/next@16.2.1_@opentelemetry+api@1.9.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/api-utils/index.js"(exports$1) {
|
|
4015
4035
|
init_esm_shims();
|
|
4016
4036
|
Object.defineProperty(exports$1, "__esModule", {
|
|
4017
4037
|
value: true
|