@rentman/rm-core 66.1.3 → 66.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.
|
@@ -101,10 +101,6 @@ export declare class TransactionCache extends AbstractCache {
|
|
|
101
101
|
isPendingSignal: any;
|
|
102
102
|
isDestroyedSignal: WritableSignal<boolean>;
|
|
103
103
|
isValidSignal: import("@angular/core").Signal<boolean>;
|
|
104
|
-
/**
|
|
105
|
-
* Like {@link isPendingSignal}, but does not take the 'saving' transaction state into account.
|
|
106
|
-
*/
|
|
107
|
-
private isStrictlyPendingSignal;
|
|
108
104
|
constructor(dependencies: AbstractCacheDependencyInterface, core: RmCore, parent: AbstractCache,
|
|
109
105
|
/**
|
|
110
106
|
* @description
|
|
@@ -256,6 +252,9 @@ export declare class TransactionCache extends AbstractCache {
|
|
|
256
252
|
* Note that, when saving, we need to await:
|
|
257
253
|
* - any changes being made on this transaction;
|
|
258
254
|
* - any changes being made on the parent transaction.
|
|
255
|
+
*
|
|
256
|
+
* Saving does not fetch a lock, as both `doApplyChangesFromUser` and `doApplyChangesFromChild` do, meaning that if
|
|
257
|
+
* we have changes on the transaction, we should have a lock as well.
|
|
259
258
|
*/
|
|
260
259
|
save(closeTab?: boolean, parameters?: CreateRequestParameterMap, breakUpByParent?: boolean, onAfterCreateCallback?: OnAfterCreateCallback): Promise<ItemIdConversionMap>;
|
|
261
260
|
/**
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rentman/rm-core",
|
|
3
|
-
"version": "66.1.
|
|
3
|
+
"version": "66.1.5",
|
|
4
4
|
"description": "Rentman core functionalities",
|
|
5
5
|
"main": "./dist/rm-core.js",
|
|
6
6
|
"types": "./dist/types/src/index.d.ts",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": "
|
|
9
|
-
"
|
|
8
|
+
"node": "^22.17.0",
|
|
9
|
+
"pnpm": ">= 11.0.0"
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"@rentman/backend-types": "^4.852.0-ga86275b6a5",
|
|
19
19
|
"@stylistic/eslint-plugin-ts": "^2.7.2",
|
|
20
20
|
"@types/eslint__js": "^8.42.3",
|
|
21
|
+
"@vitest/coverage-v8": "^3.2.3",
|
|
21
22
|
"clean-webpack-plugin": "^0.1.19",
|
|
22
23
|
"eslint": "^9.8.0",
|
|
23
24
|
"jsdom": "^26.1.0",
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
"rxjs": "^7",
|
|
26
27
|
"terser-webpack-plugin": "^4.2.3",
|
|
27
28
|
"ts-loader": "^9.3.1",
|
|
29
|
+
"tslib": "^2.8.1",
|
|
28
30
|
"typescript": "5.5.4",
|
|
29
31
|
"typescript-eslint": "^8.4.0",
|
|
30
32
|
"vitest": "^3.2.3",
|
|
@@ -41,8 +43,9 @@
|
|
|
41
43
|
"files": [
|
|
42
44
|
"dist"
|
|
43
45
|
],
|
|
46
|
+
"author": "Martijn Welker <martijn@rentman.nl>",
|
|
47
|
+
"license": "UNLICENSED",
|
|
44
48
|
"scripts": {
|
|
45
|
-
"prepublishOnly": "npm run bundle",
|
|
46
49
|
"bundle-dev": "webpack --config webpack.dev.js",
|
|
47
50
|
"bundle": "webpack --config webpack.prod.js",
|
|
48
51
|
"type-check": "tsc --noEmit -p ./tsconfig.json && tsc --noEmit -p ./tests/tsconfig.test.json",
|
|
@@ -50,7 +53,5 @@
|
|
|
50
53
|
"test": "vitest --pool forks --poolOptions.forks.isolate",
|
|
51
54
|
"vitest-watch": "vitest --watch",
|
|
52
55
|
"coverage": "vitest --coverage"
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
"license": "UNLICENSED"
|
|
56
|
-
}
|
|
56
|
+
}
|
|
57
|
+
}
|
package/readme.md
CHANGED