orange-orm 4.7.12 → 4.7.13
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/docs/changelog.md +2 -0
- package/package.json +3 -3
- package/src/map2.d.ts +3 -3
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orange-orm",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.13",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"browser": "./dist/index.browser.mjs",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "vitest run --threads=false",
|
|
53
|
-
"test:bun": "bun test --timeout=30000 ./tests/*.bun.test.js",
|
|
54
|
-
"test:deno": "deno test --allow-all --unstable
|
|
53
|
+
"test:bun": "bun test --timeout=30000 ./tests/*.bun.test.js",
|
|
54
|
+
"test:deno": "deno test --allow-all --unstable-detect-cjs ./tests/*.deno.test.js",
|
|
55
55
|
"test:all": "echo 'Running Node.js tests...' && npm run test:node && echo 'Running Bun tests...' && npm run test:bun && echo 'Running Deno tests...' && npm run test:deno && echo 'All tests completed!'",
|
|
56
56
|
"test:all:parallel": "concurrently \"npm:test:node\" \"npm:test:bun\" \"npm:test:deno\"",
|
|
57
57
|
"coverage": "vitest run --coverage.enabled --coverage.reporter='text-summary' --threads=false",
|
package/src/map2.d.ts
CHANGED
|
@@ -713,9 +713,9 @@ export type TableClient<M extends Record<string, TableDefinition<M>>, K extends
|
|
|
713
713
|
): Promise<WithArrayActiveRecord<Array<DeepExpand<Selection<M, K, strategy>>>, M, K>>;
|
|
714
714
|
|
|
715
715
|
// Count and delete methods (no active record methods needed)
|
|
716
|
-
count(filter
|
|
717
|
-
delete(filter
|
|
718
|
-
deleteCascade(filter
|
|
716
|
+
count(filter?: RawFilter | Array<PrimaryKeyObject<M, K>>,): Promise<number>;
|
|
717
|
+
delete(filter?: RawFilter | Array<PrimaryKeyObject<M, K>>,): Promise<void>;
|
|
718
|
+
deleteCascade(filter?: RawFilter | Array<PrimaryKeyObject<M, K>>,): Promise<void>;
|
|
719
719
|
|
|
720
720
|
// UPDATED: Replace methods with relations support
|
|
721
721
|
replace(
|