@rentman/rm-core 65.0.1-RM4-45884 → 65.0.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.
@@ -43,7 +43,7 @@ export declare abstract class ApiFormatter {
43
43
  * Compares the given fields, returns `true` when the fields are equal
44
44
  */
45
45
  static compareFields<ColumnType extends ApiEnumApiType>(columnType: ColumnType, first?: ApiEnumApiTypeToTsTypeMap[ColumnType], second?: ApiEnumApiTypeToTsTypeMap[ColumnType]): boolean;
46
- static compareFloats(a: number, b: number, epsilonPrecision?: 'float' | 'double'): boolean;
46
+ static compareFloats(a: number, b: number): boolean;
47
47
  static compareMomentObjects(first: moment.Moment, second: moment.Moment): boolean;
48
48
  static compareDurations(first: moment.Duration, second: moment.Duration): boolean;
49
49
  static formatResponseValue(columnType: string, value: any): any;
@@ -0,0 +1,3 @@
1
+ export declare class TransactionTimeoutException extends Error {
2
+ constructor(actionLabel: string, pendingActionLabels: string[]);
3
+ }
@@ -104,6 +104,6 @@ export * from './interfaces/ServerCacheDependencyInterface';
104
104
  export * from './exceptions/ItemAlreadyExistsException';
105
105
  export * from './exceptions/ItemLockedException';
106
106
  export * from './exceptions/ItemNotFoundException';
107
- export * from './exceptions/SavingInProgressException';
107
+ export * from './exceptions/TransactionTimeoutException';
108
108
  export * from './exceptions/CriticalBusinessLogicRuleException';
109
109
  export * from './core';
@@ -114,14 +114,6 @@ export interface SocketMessageBase {
114
114
  messageType: string;
115
115
  inResponse: boolean;
116
116
  }
117
- export interface SocketMessageMassUpdate<ItemTypeType extends ApiItemType> extends SocketMessageBase {
118
- messageType: 'event';
119
- body: {
120
- itemType: ItemTypeType;
121
- eventType: 'massUpdate';
122
- items: Pick<SocketUpdatedItems, ItemTypeType>;
123
- };
124
- }
125
117
  export interface SocketMessageCreate<ItemTypeType extends ApiItemType> extends SocketMessageBase {
126
118
  messageType: 'event';
127
119
  body: {
@@ -163,7 +155,7 @@ export type SocketMessageValuesTuple<ItemTypeType extends ApiItemType, ColumnIds
163
155
  parent: EntryParent | null;
164
156
  values: FieldMap<ItemTypeType, ColumnIds>;
165
157
  };
166
- export type SocketMessage<ItemTypeType extends ApiItemType> = SocketMessageCreate<ItemTypeType> | SocketMessageUpdate<ItemTypeType> | SocketMessageLinkTo<ItemTypeType> | SocketMessageDelete | SocketMessageMassUpdate<ItemTypeType>;
158
+ export type SocketMessage<ItemTypeType extends ApiItemType> = SocketMessageCreate<ItemTypeType> | SocketMessageUpdate<ItemTypeType> | SocketMessageLinkTo<ItemTypeType> | SocketMessageDelete;
167
159
  export type ItemResourcesItemTypeMap = {
168
160
  [ItemTypeType in ApiItemType]?: ItemResource<ItemTypeType>[];
169
161
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rentman/rm-core",
3
- "version": "65.0.1-RM4-45884",
3
+ "version": "65.0.2",
4
4
  "description": "Rentman core functionalities",
5
5
  "main": "./dist/rm-core.js",
6
6
  "types": "./dist/types/src/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@angular/core": "^20",
37
- "@rentman/backend-types": "4.853.0-48-gdec0e2bd1e",
37
+ "@rentman/backend-types": ">=4.818.0-28-gc3d424afbb",
38
38
  "moment": "^2.30.1",
39
39
  "rxjs": "^7"
40
40
  },
@@ -1,2 +0,0 @@
1
- export declare class SavingInProgressException extends Error {
2
- }