effect 2.0.0-next.1 → 2.0.0-next.11

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.
Files changed (95) hide show
  1. package/Codec.d.ts +56 -0
  2. package/Codec.d.ts.map +1 -0
  3. package/Codec.js +50 -0
  4. package/Codec.js.map +1 -0
  5. package/Debug.d.ts +11 -2
  6. package/Debug.d.ts.map +1 -1
  7. package/Debug.js +8 -2
  8. package/Debug.js.map +1 -1
  9. package/Differ.d.ts +59 -5
  10. package/Differ.d.ts.map +1 -1
  11. package/Differ.js +10 -10
  12. package/Differ.js.map +1 -1
  13. package/Fiber.d.ts +49 -4
  14. package/Fiber.d.ts.map +1 -1
  15. package/Fiber.js +8 -8
  16. package/Fiber.js.map +1 -1
  17. package/FiberRefs.d.ts +19 -1
  18. package/FiberRefs.d.ts.map +1 -1
  19. package/FiberRefs.js +2 -2
  20. package/FiberRefs.js.map +1 -1
  21. package/Logger.d.ts +31 -0
  22. package/Logger.d.ts.map +1 -0
  23. package/Logger.js +29 -0
  24. package/Logger.js.map +1 -0
  25. package/Metric.d.ts +99 -9
  26. package/Metric.d.ts.map +1 -1
  27. package/Metric.js +18 -18
  28. package/Metric.js.map +1 -1
  29. package/Optic.d.ts +185 -0
  30. package/Optic.d.ts.map +1 -0
  31. package/Optic.js +167 -0
  32. package/Optic.js.map +1 -0
  33. package/README.md +1 -1
  34. package/Ref.d.ts +29 -2
  35. package/Ref.d.ts.map +1 -1
  36. package/Ref.js +4 -4
  37. package/Ref.js.map +1 -1
  38. package/Schedule.d.ts +39 -3
  39. package/Schedule.d.ts.map +1 -1
  40. package/Schedule.js +6 -6
  41. package/Schedule.js.map +1 -1
  42. package/index.d.ts +513 -4
  43. package/index.d.ts.map +1 -1
  44. package/index.js +17 -9
  45. package/index.js.map +1 -1
  46. package/mjs/Codec.mjs +56 -0
  47. package/mjs/Codec.mjs.map +1 -0
  48. package/mjs/Debug.mjs +31 -0
  49. package/mjs/Debug.mjs.map +1 -0
  50. package/mjs/Differ.mjs +61 -0
  51. package/mjs/Differ.mjs.map +1 -0
  52. package/mjs/Fiber.mjs +51 -0
  53. package/mjs/Fiber.mjs.map +1 -0
  54. package/mjs/FiberRefs.mjs +21 -0
  55. package/mjs/FiberRefs.mjs.map +1 -0
  56. package/mjs/Logger.mjs +31 -0
  57. package/mjs/Logger.mjs.map +1 -0
  58. package/mjs/Metric.mjs +101 -0
  59. package/mjs/Metric.mjs.map +1 -0
  60. package/mjs/Optic.mjs +185 -0
  61. package/mjs/Optic.mjs.map +1 -0
  62. package/mjs/Ref.mjs +31 -0
  63. package/mjs/Ref.mjs.map +1 -0
  64. package/mjs/Schedule.mjs +41 -0
  65. package/mjs/Schedule.mjs.map +1 -0
  66. package/mjs/index.mjs +959 -0
  67. package/mjs/index.mjs.map +1 -0
  68. package/package.json +10 -8
  69. package/src/Codec.ts +59 -0
  70. package/src/Debug.ts +43 -0
  71. package/src/Differ.ts +64 -0
  72. package/src/Fiber.ts +54 -0
  73. package/src/FiberRefs.ts +24 -0
  74. package/src/Logger.ts +34 -0
  75. package/src/Metric.ts +104 -0
  76. package/src/Optic.ts +188 -0
  77. package/src/Ref.ts +34 -0
  78. package/src/Schedule.ts +44 -0
  79. package/src/index.ts +961 -0
  80. package/_mjs/Debug.mjs +0 -22
  81. package/_mjs/Debug.mjs.map +0 -1
  82. package/_mjs/Differ.mjs +0 -12
  83. package/_mjs/Differ.mjs.map +0 -1
  84. package/_mjs/Fiber.mjs +0 -10
  85. package/_mjs/Fiber.mjs.map +0 -1
  86. package/_mjs/FiberRefs.mjs +0 -4
  87. package/_mjs/FiberRefs.mjs.map +0 -1
  88. package/_mjs/Metric.mjs +0 -20
  89. package/_mjs/Metric.mjs.map +0 -1
  90. package/_mjs/Ref.mjs +0 -6
  91. package/_mjs/Ref.mjs.map +0 -1
  92. package/_mjs/Schedule.mjs +0 -8
  93. package/_mjs/Schedule.mjs.map +0 -1
  94. package/_mjs/index.mjs +0 -450
  95. package/_mjs/index.mjs.map +0 -1
package/Metric.js CHANGED
@@ -15,6 +15,24 @@ var _exportNames = {
15
15
  State: true
16
16
  };
17
17
  exports.State = exports.Registry = exports.Polling = exports.Pair = exports.Label = exports.KeyType = exports.Key = exports.Hook = exports.Boundaries = void 0;
18
+ var Boundaries = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Boundaries"));
19
+ exports.Boundaries = Boundaries;
20
+ var Hook = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Hook"));
21
+ exports.Hook = Hook;
22
+ var Key = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Key"));
23
+ exports.Key = Key;
24
+ var KeyType = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/KeyType"));
25
+ exports.KeyType = KeyType;
26
+ var Label = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Label"));
27
+ exports.Label = Label;
28
+ var Pair = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Pair"));
29
+ exports.Pair = Pair;
30
+ var Polling = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Polling"));
31
+ exports.Polling = Polling;
32
+ var Registry = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Registry"));
33
+ exports.Registry = Registry;
34
+ var State = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/State"));
35
+ exports.State = State;
18
36
  var _Metric = /*#__PURE__*/require("@effect/io/Metric");
19
37
  Object.keys(_Metric).forEach(function (key) {
20
38
  if (key === "default" || key === "__esModule") return;
@@ -27,24 +45,6 @@ Object.keys(_Metric).forEach(function (key) {
27
45
  }
28
46
  });
29
47
  });
30
- var Boundaries_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Boundaries"));
31
- exports.Boundaries = Boundaries_1;
32
- var Hook_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Hook"));
33
- exports.Hook = Hook_1;
34
- var Key_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Key"));
35
- exports.Key = Key_1;
36
- var KeyType_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/KeyType"));
37
- exports.KeyType = KeyType_1;
38
- var Label_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Label"));
39
- exports.Label = Label_1;
40
- var Pair_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Pair"));
41
- exports.Pair = Pair_1;
42
- var Polling_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Polling"));
43
- exports.Polling = Polling_1;
44
- var Registry_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/Registry"));
45
- exports.Registry = Registry_1;
46
- var State_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Metric/State"));
47
- exports.State = State_1;
48
48
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
49
49
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
50
50
  //# sourceMappingURL=Metric.js.map
package/Metric.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Metric.js","mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAC0D;;AACZ;;AACF;;AACQ;;AACJ;;AACF;;AACM;;AACE;;AACN;AAAA;AAAA","names":[],"sourceRoot":"","sources":["../../src/Metric.ts"],"sourcesContent":[null]}
1
+ {"version":3,"file":"Metric.js","mappings":";;;;;;;;;;;;;;;;;AASA;AAA0D;AAC1D;AAA8C;AAC9C;AAA4C;AAC5C;AAAoD;AACpD;AAAgD;AAChD;AAA8C;AAC9C;AAAoD;AACpD;AAAsD;AACtD;AAAgD;AAEhD;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAAiC;AAAA","names":[],"sourceRoot":"","sources":["./src/Metric.ts"],"sourcesContent":[null]}
package/Optic.d.ts ADDED
@@ -0,0 +1,185 @@
1
+ /**
2
+ * @since 2.0.0
3
+ *
4
+ * ```md
5
+ * - Docs: https://fp-ts.github.io/optic/modules/index.ts.html
6
+ * - Docs: https://fp-ts.github.io/optic/modules/experimental.ts.html
7
+ * - Module: "@fp-ts/optic"
8
+ * - Module: "@fp-ts/optic/experimental"
9
+ * ```
10
+ */
11
+ import { toggle } from "@fp-ts/optic/data/Boolean";
12
+ import { cons as consChunk, head as headChunk, index as indexChunk, tail as tailChunk } from "@fp-ts/optic/data/Chunk";
13
+ import { left, right } from "@fp-ts/optic/data/Either";
14
+ import { getAt as getAtHashMap, getIndex as getIndexHashMap } from "@fp-ts/optic/data/HashMap";
15
+ import { cons as consList, head as headList, index as indexList, tail as tailList } from "@fp-ts/optic/data/List";
16
+ import { none } from "@fp-ts/optic/data/Option";
17
+ import { consNonEmpty as consNonEmptyReadonlyArray } from "@fp-ts/optic/data/ReadonlyArray";
18
+ import { getAt as getAtSortedMap, getIndex as getIndexSortedMap } from "@fp-ts/optic/data/SortedMap";
19
+ import { index as indexString } from "@fp-ts/optic/data/String";
20
+ export * from "@fp-ts/optic";
21
+ export * from "@fp-ts/optic/experimental";
22
+ export {
23
+ /**
24
+ * @since 2.0.0
25
+ *
26
+ * ```md
27
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#cons
28
+ * - Module: "@fp-ts/optic/data/Chunk"
29
+ * ```
30
+ */
31
+ consChunk,
32
+ /**
33
+ * @since 2.0.0
34
+ *
35
+ * ```md
36
+ * - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#cons
37
+ * - Module: "@fp-ts/optic/data/List"
38
+ * ```
39
+ */
40
+ consList,
41
+ /**
42
+ * @since 2.0.0
43
+ *
44
+ * ```md
45
+ * - Docs: https://fp-ts.github.io/optic/modules/data/ReadonlyArray.ts.html#consNonEmpty
46
+ * - Module: "@fp-ts/optic/data/ReadonlyArray"
47
+ * ```
48
+ */
49
+ consNonEmptyReadonlyArray,
50
+ /**
51
+ * @since 2.0.0
52
+ *
53
+ * ```md
54
+ * - Docs: https://fp-ts.github.io/optic/modules/data/HashMap.ts.html#getAt
55
+ * - Module: "@fp-ts/optic/data/HashMap"
56
+ * ```
57
+ */
58
+ getAtHashMap,
59
+ /**
60
+ * @since 2.0.0
61
+ *
62
+ * ```md
63
+ * - Docs: https://fp-ts.github.io/optic/modules/data/SortedMap.ts.html#getAt
64
+ * - Module: "@fp-ts/optic/data/SortedMap"
65
+ * ```
66
+ */
67
+ getAtSortedMap,
68
+ /**
69
+ * @since 2.0.0
70
+ *
71
+ * ```md
72
+ * - Docs: https://fp-ts.github.io/optic/modules/data/HashMap.ts.html#getIndex
73
+ * - Module: "@fp-ts/optic/data/HashMap"
74
+ * ```
75
+ */
76
+ getIndexHashMap,
77
+ /**
78
+ * @since 2.0.0
79
+ *
80
+ * ```md
81
+ * - Docs: https://fp-ts.github.io/optic/modules/data/SortedMap.ts.html#getIndex
82
+ * - Module: "@fp-ts/optic/data/SortedMap"
83
+ * ```
84
+ */
85
+ getIndexSortedMap,
86
+ /**
87
+ * @since 2.0.0
88
+ *
89
+ * ```md
90
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#head
91
+ * - Module: "@fp-ts/optic/data/Chunk"
92
+ * ```
93
+ */
94
+ headChunk,
95
+ /**
96
+ * @since 2.0.0
97
+ *
98
+ * ```md
99
+ * - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#head
100
+ * - Module: "@fp-ts/optic/data/List"
101
+ * ```
102
+ */
103
+ headList,
104
+ /**
105
+ * @since 2.0.0
106
+ *
107
+ * ```md
108
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#index
109
+ * - Module: "@fp-ts/optic/data/Chunk"
110
+ * ```
111
+ */
112
+ indexChunk,
113
+ /**
114
+ * @since 2.0.0
115
+ *
116
+ * ```md
117
+ * - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#index
118
+ * - Module: "@fp-ts/optic/data/List"
119
+ * ```
120
+ */
121
+ indexList,
122
+ /**
123
+ * @since 2.0.0
124
+ *
125
+ * ```md
126
+ * - Docs: https://fp-ts.github.io/optic/modules/data/String.ts.html#index
127
+ * - Module: "@fp-ts/optic/data/String"
128
+ * ```
129
+ */
130
+ indexString,
131
+ /**
132
+ * @since 2.0.0
133
+ *
134
+ * ```md
135
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Either.ts.html#left
136
+ * - Module: "@fp-ts/optic/data/Either"
137
+ * ```
138
+ */
139
+ left,
140
+ /**
141
+ * @since 2.0.0
142
+ *
143
+ * ```md
144
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Option.ts.html#none
145
+ * - Module: "@fp-ts/optic/data/Option"
146
+ * ```
147
+ */
148
+ none,
149
+ /**
150
+ * @since 2.0.0
151
+ *
152
+ * ```md
153
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Either.ts.html#right
154
+ * - Module: "@fp-ts/optic/data/Either"
155
+ * ```
156
+ */
157
+ right,
158
+ /**
159
+ * @since 2.0.0
160
+ *
161
+ * ```md
162
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#tail
163
+ * - Module: "@fp-ts/optic/data/Chunk"
164
+ * ```
165
+ */
166
+ tailChunk,
167
+ /**
168
+ * @since 2.0.0
169
+ *
170
+ * ```md
171
+ * - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#tail
172
+ * - Module: "@fp-ts/optic/data/List"
173
+ * ```
174
+ */
175
+ tailList,
176
+ /**
177
+ * @since 2.0.0
178
+ *
179
+ * ```md
180
+ * - Docs: https://fp-ts.github.io/optic/modules/data/Boolean.ts.html#toggle
181
+ * - Module: "@fp-ts/optic/data/Boolean"
182
+ * ```
183
+ */
184
+ toggle };
185
+ //# sourceMappingURL=Optic.d.ts.map
package/Optic.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Optic.d.ts","sourceRoot":"","sources":["./src/Optic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,IAAI,IAAI,SAAS,EAAE,KAAK,IAAI,UAAU,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACtH,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC9F,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,IAAI,IAAI,QAAQ,EAAE,KAAK,IAAI,SAAS,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACjH,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,YAAY,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AACpG,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE/D,cAAc,cAAc,CAAA;AAC5B,cAAc,2BAA2B,CAAA;AAEzC,OAAO;AACL;;;;;;;GAOG;AACH,SAAS;AACT;;;;;;;GAOG;AACH,QAAQ;AACR;;;;;;;GAOG;AACH,yBAAyB;AACzB;;;;;;;GAOG;AACH,YAAY;AACZ;;;;;;;GAOG;AACH,cAAc;AACd;;;;;;;GAOG;AACH,eAAe;AACf;;;;;;;GAOG;AACH,iBAAiB;AACjB;;;;;;;GAOG;AACH,SAAS;AACT;;;;;;;GAOG;AACH,QAAQ;AACR;;;;;;;GAOG;AACH,UAAU;AACV;;;;;;;GAOG;AACH,SAAS;AACT;;;;;;;GAOG;AACH,WAAW;AACX;;;;;;;GAOG;AACH,IAAI;AACJ;;;;;;;GAOG;AACH,IAAI;AACJ;;;;;;;GAOG;AACH,KAAK;AACL;;;;;;;GAOG;AACH,SAAS;AACT;;;;;;;GAOG;AACH,QAAQ;AACR;;;;;;;GAOG;AACH,MAAM,EACP,CAAA"}
package/Optic.js ADDED
@@ -0,0 +1,167 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ toggle: true,
8
+ consChunk: true,
9
+ headChunk: true,
10
+ indexChunk: true,
11
+ tailChunk: true,
12
+ left: true,
13
+ right: true,
14
+ getAtHashMap: true,
15
+ getIndexHashMap: true,
16
+ consList: true,
17
+ headList: true,
18
+ indexList: true,
19
+ tailList: true,
20
+ none: true,
21
+ consNonEmptyReadonlyArray: true,
22
+ getAtSortedMap: true,
23
+ getIndexSortedMap: true,
24
+ indexString: true
25
+ };
26
+ Object.defineProperty(exports, "consChunk", {
27
+ enumerable: true,
28
+ get: function () {
29
+ return _Chunk.cons;
30
+ }
31
+ });
32
+ Object.defineProperty(exports, "consList", {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _List.cons;
36
+ }
37
+ });
38
+ Object.defineProperty(exports, "consNonEmptyReadonlyArray", {
39
+ enumerable: true,
40
+ get: function () {
41
+ return _ReadonlyArray.consNonEmpty;
42
+ }
43
+ });
44
+ Object.defineProperty(exports, "getAtHashMap", {
45
+ enumerable: true,
46
+ get: function () {
47
+ return _HashMap.getAt;
48
+ }
49
+ });
50
+ Object.defineProperty(exports, "getAtSortedMap", {
51
+ enumerable: true,
52
+ get: function () {
53
+ return _SortedMap.getAt;
54
+ }
55
+ });
56
+ Object.defineProperty(exports, "getIndexHashMap", {
57
+ enumerable: true,
58
+ get: function () {
59
+ return _HashMap.getIndex;
60
+ }
61
+ });
62
+ Object.defineProperty(exports, "getIndexSortedMap", {
63
+ enumerable: true,
64
+ get: function () {
65
+ return _SortedMap.getIndex;
66
+ }
67
+ });
68
+ Object.defineProperty(exports, "headChunk", {
69
+ enumerable: true,
70
+ get: function () {
71
+ return _Chunk.head;
72
+ }
73
+ });
74
+ Object.defineProperty(exports, "headList", {
75
+ enumerable: true,
76
+ get: function () {
77
+ return _List.head;
78
+ }
79
+ });
80
+ Object.defineProperty(exports, "indexChunk", {
81
+ enumerable: true,
82
+ get: function () {
83
+ return _Chunk.index;
84
+ }
85
+ });
86
+ Object.defineProperty(exports, "indexList", {
87
+ enumerable: true,
88
+ get: function () {
89
+ return _List.index;
90
+ }
91
+ });
92
+ Object.defineProperty(exports, "indexString", {
93
+ enumerable: true,
94
+ get: function () {
95
+ return _String.index;
96
+ }
97
+ });
98
+ Object.defineProperty(exports, "left", {
99
+ enumerable: true,
100
+ get: function () {
101
+ return _Either.left;
102
+ }
103
+ });
104
+ Object.defineProperty(exports, "none", {
105
+ enumerable: true,
106
+ get: function () {
107
+ return _Option.none;
108
+ }
109
+ });
110
+ Object.defineProperty(exports, "right", {
111
+ enumerable: true,
112
+ get: function () {
113
+ return _Either.right;
114
+ }
115
+ });
116
+ Object.defineProperty(exports, "tailChunk", {
117
+ enumerable: true,
118
+ get: function () {
119
+ return _Chunk.tail;
120
+ }
121
+ });
122
+ Object.defineProperty(exports, "tailList", {
123
+ enumerable: true,
124
+ get: function () {
125
+ return _List.tail;
126
+ }
127
+ });
128
+ Object.defineProperty(exports, "toggle", {
129
+ enumerable: true,
130
+ get: function () {
131
+ return _Boolean.toggle;
132
+ }
133
+ });
134
+ var _Boolean = /*#__PURE__*/require("@fp-ts/optic/data/Boolean");
135
+ var _Chunk = /*#__PURE__*/require("@fp-ts/optic/data/Chunk");
136
+ var _Either = /*#__PURE__*/require("@fp-ts/optic/data/Either");
137
+ var _HashMap = /*#__PURE__*/require("@fp-ts/optic/data/HashMap");
138
+ var _List = /*#__PURE__*/require("@fp-ts/optic/data/List");
139
+ var _Option = /*#__PURE__*/require("@fp-ts/optic/data/Option");
140
+ var _ReadonlyArray = /*#__PURE__*/require("@fp-ts/optic/data/ReadonlyArray");
141
+ var _SortedMap = /*#__PURE__*/require("@fp-ts/optic/data/SortedMap");
142
+ var _String = /*#__PURE__*/require("@fp-ts/optic/data/String");
143
+ var _optic = /*#__PURE__*/require("@fp-ts/optic");
144
+ Object.keys(_optic).forEach(function (key) {
145
+ if (key === "default" || key === "__esModule") return;
146
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
147
+ if (key in exports && exports[key] === _optic[key]) return;
148
+ Object.defineProperty(exports, key, {
149
+ enumerable: true,
150
+ get: function () {
151
+ return _optic[key];
152
+ }
153
+ });
154
+ });
155
+ var _experimental = /*#__PURE__*/require("@fp-ts/optic/experimental");
156
+ Object.keys(_experimental).forEach(function (key) {
157
+ if (key === "default" || key === "__esModule") return;
158
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
159
+ if (key in exports && exports[key] === _experimental[key]) return;
160
+ Object.defineProperty(exports, key, {
161
+ enumerable: true,
162
+ get: function () {
163
+ return _experimental[key];
164
+ }
165
+ });
166
+ });
167
+ //# sourceMappingURL=Optic.js.map
package/Optic.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Optic.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA","names":[],"sourceRoot":"","sources":["./src/Optic.ts"],"sourcesContent":[null]}
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## Welcome to Effect [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/Effect-TS/core)
1
+ ## Welcome to Effect [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/Effect-TS/effect)
2
2
 
3
3
  Effect is an ecosystem of libraries to write highly productive, purely functional TypeScript at scale.
4
4
 
package/Ref.d.ts CHANGED
@@ -1,4 +1,31 @@
1
+ /**
2
+ * @since 2.0.0
3
+ *
4
+ * ```md
5
+ * - Docs: https://effect-ts.github.io/io/modules/Ref.ts.html
6
+ * - Module: "@effect/io/Ref"
7
+ * ```
8
+ */
9
+ import * as SynchronizedRef from "@effect/io/Ref/Synchronized";
10
+ import * as ScopedRef from "@effect/io/ScopedRef";
1
11
  export * from "@effect/io/Ref";
2
- export * as SynchronizedRef from "@effect/io/Ref/Synchronized";
3
- export * as ScopedRef from "@effect/io/ScopedRef";
12
+ export {
13
+ /**
14
+ * @since 2.0.0
15
+ *
16
+ * ```md
17
+ * - Docs: https://effect-ts.github.io/io/modules/ScopedRef.ts.html
18
+ * - Module: "@effect/io/ScopedRef"
19
+ * ```
20
+ */
21
+ ScopedRef,
22
+ /**
23
+ * @since 2.0.0
24
+ *
25
+ * ```md
26
+ * - Docs: https://effect-ts.github.io/io/modules/Ref/Synchronized.ts.html
27
+ * - Module: "@effect/io/Ref/Synchronized"
28
+ * ```
29
+ */
30
+ SynchronizedRef };
4
31
  //# sourceMappingURL=Ref.d.ts.map
package/Ref.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Ref.d.ts","sourceRoot":"","sources":["../../src/Ref.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"Ref.d.ts","sourceRoot":"","sources":["./src/Ref.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,cAAc,gBAAgB,CAAA;AAE9B,OAAO;AACL;;;;;;;GAOG;AACH,SAAS;AACT;;;;;;;GAOG;AACH,eAAe,EAChB,CAAA"}
package/Ref.js CHANGED
@@ -8,6 +8,10 @@ var _exportNames = {
8
8
  ScopedRef: true
9
9
  };
10
10
  exports.SynchronizedRef = exports.ScopedRef = void 0;
11
+ var SynchronizedRef = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Ref/Synchronized"));
12
+ exports.SynchronizedRef = SynchronizedRef;
13
+ var ScopedRef = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/ScopedRef"));
14
+ exports.ScopedRef = ScopedRef;
11
15
  var _Ref = /*#__PURE__*/require("@effect/io/Ref");
12
16
  Object.keys(_Ref).forEach(function (key) {
13
17
  if (key === "default" || key === "__esModule") return;
@@ -20,10 +24,6 @@ Object.keys(_Ref).forEach(function (key) {
20
24
  }
21
25
  });
22
26
  });
23
- var SynchronizedRef_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Ref/Synchronized"));
24
- exports.SynchronizedRef = SynchronizedRef_1;
25
- var ScopedRef_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/ScopedRef"));
26
- exports.ScopedRef = ScopedRef_1;
27
27
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
28
28
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
29
29
  //# sourceMappingURL=Ref.js.map
package/Ref.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Ref.js","mappings":";;;;;;;;;;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAC8D;;AACb;AAAA;AAAA","names":[],"sourceRoot":"","sources":["../../src/Ref.ts"],"sourcesContent":[null]}
1
+ {"version":3,"file":"Ref.js","mappings":";;;;;;;;;;AASA;AAA8D;AAC9D;AAAiD;AAEjD;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAA8B;AAAA","names":[],"sourceRoot":"","sources":["./src/Ref.ts"],"sourcesContent":[null]}
package/Schedule.d.ts CHANGED
@@ -1,5 +1,41 @@
1
+ /**
2
+ * @since 2.0.0
3
+ *
4
+ * ```md
5
+ * - Docs: https://effect-ts.github.io/io/modules/Schedule.ts.html
6
+ * - Module: "@effect/io/Schedule"
7
+ * ```
8
+ */
9
+ import * as Decision from "@effect/io/Schedule/Decision";
10
+ import * as Interval from "@effect/io/Schedule/Interval";
11
+ import * as Intervals from "@effect/io/Schedule/Intervals";
1
12
  export * from "@effect/io/Schedule";
2
- export * as Decision from "@effect/io/Schedule/Decision";
3
- export * as Interval from "@effect/io/Schedule/Interval";
4
- export * as Intervals from "@effect/io/Schedule/Intervals";
13
+ export {
14
+ /**
15
+ * @since 2.0.0
16
+ *
17
+ * ```md
18
+ * - Docs: https://effect-ts.github.io/io/modules/Schedule/Decision.ts.html
19
+ * - Module: "@effect/io/Schedule/Decision"
20
+ * ```
21
+ */
22
+ Decision,
23
+ /**
24
+ * @since 2.0.0
25
+ *
26
+ * ```md
27
+ * - Docs: https://effect-ts.github.io/io/modules/Schedule/Interval.ts.html
28
+ * - Module: "@effect/io/Schedule/Interval"
29
+ * ```
30
+ */
31
+ Interval,
32
+ /**
33
+ * @since 2.0.0
34
+ *
35
+ * ```md
36
+ * - Docs: https://effect-ts.github.io/io/modules/Schedule/Intervals.ts.html
37
+ * - Module: "@effect/io/Schedule/Intervals"
38
+ * ```
39
+ */
40
+ Intervals };
5
41
  //# sourceMappingURL=Schedule.d.ts.map
package/Schedule.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Schedule.d.ts","sourceRoot":"","sources":["../../src/Schedule.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAA"}
1
+ {"version":3,"file":"Schedule.d.ts","sourceRoot":"","sources":["./src/Schedule.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAA;AAE1D,cAAc,qBAAqB,CAAA;AAEnC,OAAO;AACL;;;;;;;GAOG;AACH,QAAQ;AACR;;;;;;;GAOG;AACH,QAAQ;AACR;;;;;;;GAOG;AACH,SAAS,EACV,CAAA"}
package/Schedule.js CHANGED
@@ -9,6 +9,12 @@ var _exportNames = {
9
9
  Intervals: true
10
10
  };
11
11
  exports.Intervals = exports.Interval = exports.Decision = void 0;
12
+ var Decision = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Schedule/Decision"));
13
+ exports.Decision = Decision;
14
+ var Interval = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Schedule/Interval"));
15
+ exports.Interval = Interval;
16
+ var Intervals = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Schedule/Intervals"));
17
+ exports.Intervals = Intervals;
12
18
  var _Schedule = /*#__PURE__*/require("@effect/io/Schedule");
13
19
  Object.keys(_Schedule).forEach(function (key) {
14
20
  if (key === "default" || key === "__esModule") return;
@@ -21,12 +27,6 @@ Object.keys(_Schedule).forEach(function (key) {
21
27
  }
22
28
  });
23
29
  });
24
- var Decision_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Schedule/Decision"));
25
- exports.Decision = Decision_1;
26
- var Interval_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Schedule/Interval"));
27
- exports.Interval = Interval_1;
28
- var Intervals_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Schedule/Intervals"));
29
- exports.Intervals = Intervals_1;
30
30
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
31
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
32
32
  //# sourceMappingURL=Schedule.js.map
package/Schedule.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Schedule.js","mappings":";;;;;;;;;;;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACwD;;AACA;;AACE;AAAA;AAAA","names":[],"sourceRoot":"","sources":["../../src/Schedule.ts"],"sourcesContent":[null]}
1
+ {"version":3,"file":"Schedule.js","mappings":";;;;;;;;;;;AASA;AAAwD;AACxD;AAAwD;AACxD;AAA0D;AAE1D;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAAmC;AAAA","names":[],"sourceRoot":"","sources":["./src/Schedule.ts"],"sourcesContent":[null]}