mobx 6.10.2 → 6.11.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/CHANGELOG.md +9 -0
- package/README.md +2 -2
- package/dist/api/action.d.ts +16 -15
- package/dist/api/annotation.d.ts +19 -18
- package/dist/api/autorun.d.ts +25 -25
- package/dist/api/become-observed.d.ts +5 -5
- package/dist/api/computed.d.ts +14 -13
- package/dist/api/configure.d.ts +17 -17
- package/dist/api/decorators.d.ts +20 -17
- package/dist/api/extendobservable.d.ts +2 -2
- package/dist/api/extras.d.ts +10 -10
- package/dist/api/flow.d.ts +19 -18
- package/dist/api/intercept-read.d.ts +8 -8
- package/dist/api/intercept.d.ts +8 -8
- package/dist/api/iscomputed.d.ts +3 -3
- package/dist/api/isobservable.d.ts +2 -2
- package/dist/api/makeObservable.d.ts +6 -6
- package/dist/api/object-api.d.ts +36 -36
- package/dist/api/observable.d.ts +45 -44
- package/dist/api/observe.d.ts +8 -8
- package/dist/api/tojs.d.ts +7 -7
- package/dist/api/trace.d.ts +3 -3
- package/dist/api/transaction.d.ts +8 -8
- package/dist/api/when.d.ts +11 -11
- package/dist/core/action.d.ts +20 -20
- package/dist/core/atom.d.ts +37 -37
- package/dist/core/computedvalue.d.ts +99 -99
- package/dist/core/derivation.d.ts +73 -73
- package/dist/core/globalstate.d.ts +121 -121
- package/dist/core/observable.d.ts +45 -45
- package/dist/core/reaction.d.ts +62 -62
- package/dist/core/spy.d.ts +37 -37
- package/dist/errors.d.ts +42 -42
- package/dist/internal.d.ts +54 -54
- package/dist/mobx.cjs.development.js +419 -252
- package/dist/mobx.cjs.development.js.map +1 -1
- package/dist/mobx.cjs.production.min.js +1 -1
- package/dist/mobx.cjs.production.min.js.map +1 -1
- package/dist/mobx.d.ts +2 -2
- package/dist/mobx.esm.development.js +419 -252
- package/dist/mobx.esm.development.js.map +1 -1
- package/dist/mobx.esm.js +419 -252
- package/dist/mobx.esm.js.map +1 -1
- package/dist/mobx.esm.production.min.js +1 -1
- package/dist/mobx.esm.production.min.js.map +1 -1
- package/dist/mobx.umd.development.js +419 -252
- package/dist/mobx.umd.development.js.map +1 -1
- package/dist/mobx.umd.production.min.js +1 -1
- package/dist/mobx.umd.production.min.js.map +1 -1
- package/dist/types/actionannotation.d.ts +8 -8
- package/dist/types/autoannotation.d.ts +3 -3
- package/dist/types/computedannotation.d.ts +2 -2
- package/dist/types/decorator_fills.d.ts +6 -0
- package/dist/types/dynamicobject.d.ts +2 -2
- package/dist/types/flowannotation.d.ts +2 -2
- package/dist/types/generic-abort-signal.d.ts +6 -6
- package/dist/types/intercept-utils.d.ts +8 -8
- package/dist/types/legacyobservablearray.d.ts +14 -3
- package/dist/types/listen-utils.d.ts +7 -7
- package/dist/types/modifiers.d.ts +7 -7
- package/dist/types/observableannotation.d.ts +2 -2
- package/dist/types/observablearray.d.ts +85 -85
- package/dist/types/observablemap.d.ts +78 -78
- package/dist/types/observableobject.d.ts +98 -98
- package/dist/types/observableset.d.ts +53 -53
- package/dist/types/observablevalue.d.ts +49 -49
- package/dist/types/overrideannotation.d.ts +4 -3
- package/dist/types/type-utils.d.ts +11 -11
- package/dist/utils/comparer.d.ts +14 -14
- package/dist/utils/eq.d.ts +1 -1
- package/dist/utils/global.d.ts +1 -1
- package/dist/utils/iterable.d.ts +1 -1
- package/dist/utils/utils.d.ts +45 -45
- package/package.json +1 -1
- package/src/api/action.ts +21 -4
- package/src/api/annotation.ts +1 -0
- package/src/api/computed.ts +11 -4
- package/src/api/decorators.ts +33 -8
- package/src/api/flow.ts +10 -3
- package/src/api/observable.ts +20 -6
- package/src/types/actionannotation.ts +48 -2
- package/src/types/autoannotation.ts +8 -2
- package/src/types/computedannotation.ts +39 -2
- package/src/types/decorator_fills.ts +33 -0
- package/src/types/flowannotation.ts +28 -2
- package/src/types/legacyobservablearray.ts +1 -1
- package/src/types/observableannotation.ts +75 -2
- package/src/types/overrideannotation.ts +15 -7
package/dist/internal.d.ts
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
export * from "./utils/global";
|
|
2
|
-
export * from "./errors";
|
|
3
|
-
export * from "./utils/utils";
|
|
4
|
-
export * from "./api/decorators";
|
|
5
|
-
export * from "./core/atom";
|
|
6
|
-
export * from "./utils/comparer";
|
|
7
|
-
export * from "./types/modifiers";
|
|
8
|
-
export * from "./types/overrideannotation";
|
|
9
|
-
export * from "./types/actionannotation";
|
|
10
|
-
export * from "./types/flowannotation";
|
|
11
|
-
export * from "./types/computedannotation";
|
|
12
|
-
export * from "./types/observableannotation";
|
|
13
|
-
export * from "./types/autoannotation";
|
|
14
|
-
export * from "./types/generic-abort-signal";
|
|
15
|
-
export * from "./api/observable";
|
|
16
|
-
export * from "./api/computed";
|
|
17
|
-
export * from "./core/action";
|
|
18
|
-
export * from "./types/observablevalue";
|
|
19
|
-
export * from "./core/computedvalue";
|
|
20
|
-
export * from "./core/derivation";
|
|
21
|
-
export * from "./core/globalstate";
|
|
22
|
-
export * from "./core/observable";
|
|
23
|
-
export * from "./core/reaction";
|
|
24
|
-
export * from "./core/spy";
|
|
25
|
-
export * from "./api/action";
|
|
26
|
-
export * from "./api/autorun";
|
|
27
|
-
export * from "./api/become-observed";
|
|
28
|
-
export * from "./api/configure";
|
|
29
|
-
export * from "./api/extendobservable";
|
|
30
|
-
export * from "./api/extras";
|
|
31
|
-
export * from "./api/flow";
|
|
32
|
-
export * from "./api/intercept-read";
|
|
33
|
-
export * from "./api/intercept";
|
|
34
|
-
export * from "./api/iscomputed";
|
|
35
|
-
export * from "./api/isobservable";
|
|
36
|
-
export * from "./api/object-api";
|
|
37
|
-
export * from "./api/observe";
|
|
38
|
-
export * from "./api/tojs";
|
|
39
|
-
export * from "./api/trace";
|
|
40
|
-
export * from "./api/transaction";
|
|
41
|
-
export * from "./api/when";
|
|
42
|
-
export * from "./types/dynamicobject";
|
|
43
|
-
export * from "./types/intercept-utils";
|
|
44
|
-
export * from "./types/listen-utils";
|
|
45
|
-
export * from "./api/makeObservable";
|
|
46
|
-
export * from "./types/observablearray";
|
|
47
|
-
export * from "./types/observablemap";
|
|
48
|
-
export * from "./types/observableset";
|
|
49
|
-
export * from "./types/observableobject";
|
|
50
|
-
export * from "./types/legacyobservablearray";
|
|
51
|
-
export * from "./types/type-utils";
|
|
52
|
-
export * from "./utils/eq";
|
|
53
|
-
export * from "./utils/iterable";
|
|
54
|
-
export * from "./api/annotation";
|
|
1
|
+
export * from "./utils/global";
|
|
2
|
+
export * from "./errors";
|
|
3
|
+
export * from "./utils/utils";
|
|
4
|
+
export * from "./api/decorators";
|
|
5
|
+
export * from "./core/atom";
|
|
6
|
+
export * from "./utils/comparer";
|
|
7
|
+
export * from "./types/modifiers";
|
|
8
|
+
export * from "./types/overrideannotation";
|
|
9
|
+
export * from "./types/actionannotation";
|
|
10
|
+
export * from "./types/flowannotation";
|
|
11
|
+
export * from "./types/computedannotation";
|
|
12
|
+
export * from "./types/observableannotation";
|
|
13
|
+
export * from "./types/autoannotation";
|
|
14
|
+
export * from "./types/generic-abort-signal";
|
|
15
|
+
export * from "./api/observable";
|
|
16
|
+
export * from "./api/computed";
|
|
17
|
+
export * from "./core/action";
|
|
18
|
+
export * from "./types/observablevalue";
|
|
19
|
+
export * from "./core/computedvalue";
|
|
20
|
+
export * from "./core/derivation";
|
|
21
|
+
export * from "./core/globalstate";
|
|
22
|
+
export * from "./core/observable";
|
|
23
|
+
export * from "./core/reaction";
|
|
24
|
+
export * from "./core/spy";
|
|
25
|
+
export * from "./api/action";
|
|
26
|
+
export * from "./api/autorun";
|
|
27
|
+
export * from "./api/become-observed";
|
|
28
|
+
export * from "./api/configure";
|
|
29
|
+
export * from "./api/extendobservable";
|
|
30
|
+
export * from "./api/extras";
|
|
31
|
+
export * from "./api/flow";
|
|
32
|
+
export * from "./api/intercept-read";
|
|
33
|
+
export * from "./api/intercept";
|
|
34
|
+
export * from "./api/iscomputed";
|
|
35
|
+
export * from "./api/isobservable";
|
|
36
|
+
export * from "./api/object-api";
|
|
37
|
+
export * from "./api/observe";
|
|
38
|
+
export * from "./api/tojs";
|
|
39
|
+
export * from "./api/trace";
|
|
40
|
+
export * from "./api/transaction";
|
|
41
|
+
export * from "./api/when";
|
|
42
|
+
export * from "./types/dynamicobject";
|
|
43
|
+
export * from "./types/intercept-utils";
|
|
44
|
+
export * from "./types/listen-utils";
|
|
45
|
+
export * from "./api/makeObservable";
|
|
46
|
+
export * from "./types/observablearray";
|
|
47
|
+
export * from "./types/observablemap";
|
|
48
|
+
export * from "./types/observableset";
|
|
49
|
+
export * from "./types/observableobject";
|
|
50
|
+
export * from "./types/legacyobservablearray";
|
|
51
|
+
export * from "./types/type-utils";
|
|
52
|
+
export * from "./utils/eq";
|
|
53
|
+
export * from "./utils/iterable";
|
|
54
|
+
export * from "./api/annotation";
|