monorise 1.9.0 → 1.10.0
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/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +7 -3
- package/dist/core/index.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/react/actions/app.action.d.ts +3 -2
- package/dist/react/actions/app.action.d.ts.map +1 -1
- package/dist/react/actions/core.action.d.ts +10 -0
- package/dist/react/actions/core.action.d.ts.map +1 -1
- package/dist/react/helpers/transactional.d.ts +13 -0
- package/dist/react/helpers/transactional.d.ts.map +1 -1
- package/dist/react/index.d.ts +29 -8
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +247 -108
- package/dist/react/index.js.map +1 -1
- package/dist/react/services/core.service.d.ts +4 -2
- package/dist/react/services/core.service.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/core/index.d.ts
CHANGED
|
@@ -4744,6 +4744,8 @@ type TransactionResultEntry = {
|
|
|
4744
4744
|
entityType: Entity$2;
|
|
4745
4745
|
entityId: string;
|
|
4746
4746
|
data?: Record<string, unknown>;
|
|
4747
|
+
createdAt?: string;
|
|
4748
|
+
updatedAt?: string;
|
|
4747
4749
|
};
|
|
4748
4750
|
type TransactionResult = {
|
|
4749
4751
|
results: TransactionResultEntry[];
|
package/dist/core/index.js
CHANGED
|
@@ -9515,7 +9515,9 @@ var TransactionService = class {
|
|
|
9515
9515
|
operation: "createEntity",
|
|
9516
9516
|
entityType: op.entityType,
|
|
9517
9517
|
entityId: entity.entityId,
|
|
9518
|
-
data: entity.data
|
|
9518
|
+
data: entity.data,
|
|
9519
|
+
createdAt: entity.createdAt,
|
|
9520
|
+
updatedAt: entity.updatedAt
|
|
9519
9521
|
}
|
|
9520
9522
|
};
|
|
9521
9523
|
}
|
|
@@ -9527,7 +9529,8 @@ var TransactionService = class {
|
|
|
9527
9529
|
resultEntry: {
|
|
9528
9530
|
operation: "updateEntity",
|
|
9529
9531
|
entityType: op.entityType,
|
|
9530
|
-
entityId: op.entityId
|
|
9532
|
+
entityId: op.entityId,
|
|
9533
|
+
updatedAt
|
|
9531
9534
|
}
|
|
9532
9535
|
};
|
|
9533
9536
|
}
|
|
@@ -9549,7 +9552,8 @@ var TransactionService = class {
|
|
|
9549
9552
|
resultEntry: {
|
|
9550
9553
|
operation: "adjustEntity",
|
|
9551
9554
|
entityType: op.entityType,
|
|
9552
|
-
entityId: op.entityId
|
|
9555
|
+
entityId: op.entityId,
|
|
9556
|
+
updatedAt
|
|
9553
9557
|
}
|
|
9554
9558
|
};
|
|
9555
9559
|
}
|