mobx-keystone 0.68.6 → 0.69.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.
- package/CHANGELOG.md +13 -1
- package/dist/mobx-keystone.esm.mjs +33 -5
- package/dist/mobx-keystone.umd.js +33 -4
- package/dist/types/modelShared/{Model.d.ts → sharedInternalModel.d.ts} +0 -0
- package/dist/types/standardActions/arrayActions.d.ts +1 -1
- package/dist/types/types/arrayBased/{array.d.ts → typesArray.d.ts} +0 -0
- package/dist/types/types/arrayBased/{tuple.d.ts → typesTuple.d.ts} +0 -0
- package/dist/types/types/objectBased/{arraySet.d.ts → typesArraySet.d.ts} +0 -0
- package/dist/types/types/objectBased/{dataModelData.d.ts → typesDataModelData.d.ts} +0 -0
- package/dist/types/types/objectBased/{model.d.ts → typesModel.d.ts} +0 -0
- package/dist/types/types/objectBased/{object.d.ts → typesObject.d.ts} +0 -0
- package/dist/types/types/objectBased/{objectMap.d.ts → typesObjectMap.d.ts} +0 -0
- package/dist/types/types/objectBased/{record.d.ts → typesRecord.d.ts} +0 -0
- package/dist/types/types/objectBased/{ref.d.ts → typesRef.d.ts} +0 -0
- package/dist/types/types/primitiveBased/{enum.d.ts → typesEnum.d.ts} +0 -0
- package/dist/types/types/primitiveBased/{primitives.d.ts → typesPrimitive.d.ts} +0 -0
- package/dist/types/types/primitiveBased/{refinedPrimitives.d.ts → typesRefinedPrimitive.d.ts} +0 -0
- package/dist/types/types/types.d.ts +18 -16
- package/dist/types/types/utility/{maybe.d.ts → typesMaybe.d.ts} +0 -0
- package/dist/types/types/utility/{or.d.ts → typesOr.d.ts} +0 -0
- package/dist/types/types/utility/{refinement.d.ts → typesRefinement.d.ts} +0 -0
- package/dist/types/types/utility/typesTag.d.ts +44 -0
- package/dist/types/types/utility/{unchecked.d.ts → typesUnchecked.d.ts} +0 -0
- package/package.json +19 -19
- package/src/actionMiddlewares/undoMiddleware.ts +2 -2
- package/src/context/context.ts +1 -1
- package/src/dataModel/BaseDataModel.ts +1 -1
- package/src/dataModel/DataModel.ts +1 -1
- package/src/model/BaseModel.ts +1 -1
- package/src/model/Model.ts +1 -1
- package/src/modelShared/{Model.ts → sharedInternalModel.ts} +367 -367
- package/src/parent/setParent.ts +2 -1
- package/src/ref/Ref.ts +1 -1
- package/src/types/arrayBased/{array.ts → typesArray.ts} +0 -0
- package/src/types/arrayBased/{tuple.ts → typesTuple.ts} +0 -0
- package/src/types/objectBased/{arraySet.ts → typesArraySet.ts} +2 -2
- package/src/types/objectBased/{dataModelData.ts → typesDataModelData.ts} +0 -0
- package/src/types/objectBased/{model.ts → typesModel.ts} +0 -0
- package/src/types/objectBased/{object.ts → typesObject.ts} +0 -0
- package/src/types/objectBased/{objectMap.ts → typesObjectMap.ts} +2 -2
- package/src/types/objectBased/{record.ts → typesRecord.ts} +0 -0
- package/src/types/objectBased/{ref.ts → typesRef.ts} +2 -2
- package/src/types/primitiveBased/{enum.ts → typesEnum.ts} +68 -68
- package/src/types/primitiveBased/{primitives.ts → typesPrimitive.ts} +0 -0
- package/src/types/primitiveBased/{refinedPrimitives.ts → typesRefinedPrimitive.ts} +2 -2
- package/src/types/registerDefaultStandardTypeResolvers.ts +2 -2
- package/src/types/tProp.ts +2 -2
- package/src/types/types.ts +19 -16
- package/src/types/utility/{maybe.ts → typesMaybe.ts} +2 -2
- package/src/types/utility/{or.ts → typesOr.ts} +1 -1
- package/src/types/utility/{refinement.ts → typesRefinement.ts} +0 -0
- package/src/types/utility/typesTag.ts +80 -0
- package/src/types/utility/{unchecked.ts → typesUnchecked.ts} +0 -0
- package/src/utils/index.ts +3 -2
- package/src/wrappers/ArraySet.ts +2 -2
- package/src/wrappers/ObjectMap.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.69.2
|
|
4
|
+
|
|
5
|
+
- Fixed an issue related to modelActions and modelFlows in derived classes giving an error on instantiation.
|
|
6
|
+
|
|
7
|
+
## 0.69.1
|
|
8
|
+
|
|
9
|
+
- Fixed an issue where value-types would always generate patches when `applySnapshot` was being used (even if the contents of the value-type did not really change).
|
|
10
|
+
|
|
11
|
+
## 0.69.0
|
|
12
|
+
|
|
13
|
+
- Added `types.tag` to be able to annotate types.
|
|
14
|
+
|
|
3
15
|
## 0.68.6
|
|
4
16
|
|
|
5
17
|
- Fixed `applySnapshot` generating no-op patches sometimes.
|
|
@@ -408,7 +420,7 @@
|
|
|
408
420
|
|
|
409
421
|
## 0.28.4
|
|
410
422
|
|
|
411
|
-
- `onAttachedToRootStore` and its disposer will be called right after a change is made rather than after a whole action is finished (restores behaviour of version
|
|
423
|
+
- `onAttachedToRootStore` and its disposer will be called right after a change is made rather than after a whole action is finished (restores behaviour of version <= 0.28.1).
|
|
412
424
|
|
|
413
425
|
## 0.28.3
|
|
414
426
|
|