effect 2.0.0-next.10 → 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.
- package/Codec.d.ts +56 -0
- package/Codec.d.ts.map +1 -0
- package/Codec.js +50 -0
- package/Codec.js.map +1 -0
- package/Debug.d.ts +6 -2
- package/Debug.d.ts.map +1 -1
- package/Debug.js +8 -2
- package/Debug.js.map +1 -1
- package/Differ.d.ts.map +1 -1
- package/Differ.js.map +1 -1
- package/Fiber.d.ts.map +1 -1
- package/Fiber.js.map +1 -1
- package/FiberRefs.d.ts.map +1 -1
- package/FiberRefs.js.map +1 -1
- package/Logger.d.ts.map +1 -1
- package/Logger.js.map +1 -1
- package/Metric.d.ts.map +1 -1
- package/Metric.js.map +1 -1
- package/Optic.d.ts +130 -7
- package/Optic.d.ts.map +1 -1
- package/Optic.js +100 -3
- package/Optic.js.map +1 -1
- package/Ref.d.ts.map +1 -1
- package/Ref.js.map +1 -1
- package/Schedule.d.ts.map +1 -1
- package/Schedule.js.map +1 -1
- package/index.d.ts +23 -3
- package/index.d.ts.map +1 -1
- package/index.js +11 -7
- package/index.js.map +1 -1
- package/mjs/Codec.mjs +56 -0
- package/mjs/Codec.mjs.map +1 -0
- package/{_mjs → mjs}/Debug.mjs +6 -2
- package/mjs/Debug.mjs.map +1 -0
- package/{_mjs → mjs}/Differ.mjs +0 -0
- package/{_mjs → mjs}/Differ.mjs.map +1 -1
- package/{_mjs → mjs}/Fiber.mjs +0 -0
- package/{_mjs → mjs}/Fiber.mjs.map +1 -1
- package/{_mjs → mjs}/FiberRefs.mjs +0 -0
- package/{_mjs → mjs}/FiberRefs.mjs.map +1 -1
- package/{_mjs → mjs}/Logger.mjs +0 -0
- package/{_mjs → mjs}/Logger.mjs.map +1 -1
- package/{_mjs → mjs}/Metric.mjs +0 -0
- package/{_mjs → mjs}/Metric.mjs.map +1 -1
- package/mjs/Optic.mjs +185 -0
- package/mjs/Optic.mjs.map +1 -0
- package/{_mjs → mjs}/Ref.mjs +0 -0
- package/{_mjs → mjs}/Ref.mjs.map +1 -1
- package/{_mjs → mjs}/Schedule.mjs +0 -0
- package/{_mjs → mjs}/Schedule.mjs.map +1 -1
- package/{_mjs → mjs}/index.mjs +23 -3
- package/mjs/index.mjs.map +1 -0
- package/package.json +9 -8
- package/src/Codec.ts +59 -0
- package/src/Debug.ts +43 -0
- package/src/Differ.ts +64 -0
- package/src/Fiber.ts +54 -0
- package/src/FiberRefs.ts +24 -0
- package/src/Logger.ts +34 -0
- package/src/Metric.ts +104 -0
- package/src/Optic.ts +188 -0
- package/src/Ref.ts +34 -0
- package/src/Schedule.ts +44 -0
- package/src/index.ts +961 -0
- package/_mjs/Debug.mjs.map +0 -1
- package/_mjs/Optic.mjs +0 -62
- package/_mjs/Optic.mjs.map +0 -1
- package/_mjs/index.mjs.map +0 -1
package/src/Debug.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* ```md
|
|
5
|
+
* - Docs: https://effect-ts.github.io/io/modules/Debug.ts.html
|
|
6
|
+
* - Module: "@effect/io/Debug"
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
import {
|
|
10
|
+
Debug,
|
|
11
|
+
getCallTrace,
|
|
12
|
+
getCallTraceFromNewError,
|
|
13
|
+
isTraceEnabled,
|
|
14
|
+
runtimeDebug,
|
|
15
|
+
withCallTrace
|
|
16
|
+
} from "@effect/io/Debug"
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
/**
|
|
20
|
+
* @since 2.0.0
|
|
21
|
+
*/
|
|
22
|
+
Debug,
|
|
23
|
+
/**
|
|
24
|
+
* @since 2.0.0
|
|
25
|
+
*/
|
|
26
|
+
getCallTrace,
|
|
27
|
+
/**
|
|
28
|
+
* @since 2.0.0
|
|
29
|
+
*/
|
|
30
|
+
getCallTraceFromNewError,
|
|
31
|
+
/**
|
|
32
|
+
* @since 2.0.0
|
|
33
|
+
*/
|
|
34
|
+
isTraceEnabled,
|
|
35
|
+
/**
|
|
36
|
+
* @since 2.0.0
|
|
37
|
+
*/
|
|
38
|
+
runtimeDebug,
|
|
39
|
+
/**
|
|
40
|
+
* @since 2.0.0
|
|
41
|
+
*/
|
|
42
|
+
withCallTrace
|
|
43
|
+
}
|
package/src/Differ.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* ```md
|
|
5
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ.ts.html
|
|
6
|
+
* - Module: "@fp-ts/data/Differ"
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as ChunkPatch from "@fp-ts/data/Differ/ChunkPatch"
|
|
11
|
+
import * as ContextPatch from "@fp-ts/data/Differ/ContextPatch"
|
|
12
|
+
import * as HashMapPatch from "@fp-ts/data/Differ/HashMapPatch"
|
|
13
|
+
import * as HashSetPatch from "@fp-ts/data/Differ/HashSetPatch"
|
|
14
|
+
import * as OrPatch from "@fp-ts/data/Differ/OrPatch"
|
|
15
|
+
|
|
16
|
+
export * from "@fp-ts/data/Differ"
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
/**
|
|
20
|
+
* @since 2.0.0
|
|
21
|
+
*
|
|
22
|
+
* ```md
|
|
23
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ/ChunkPatch.ts.html
|
|
24
|
+
* - Module: "@fp-ts/data/Differ/ChunkPatch"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
ChunkPatch,
|
|
28
|
+
/**
|
|
29
|
+
* @since 2.0.0
|
|
30
|
+
*
|
|
31
|
+
* ```md
|
|
32
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ/ContextPatch.ts.html
|
|
33
|
+
* - Module: "@fp-ts/data/Differ/ContextPatch"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
ContextPatch,
|
|
37
|
+
/**
|
|
38
|
+
* @since 2.0.0
|
|
39
|
+
*
|
|
40
|
+
* ```md
|
|
41
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ/HashMapPatch.ts.html
|
|
42
|
+
* - Module: "@fp-ts/data/Differ/HashMapPatch"
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
HashMapPatch,
|
|
46
|
+
/**
|
|
47
|
+
* @since 2.0.0
|
|
48
|
+
*
|
|
49
|
+
* ```md
|
|
50
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ/HashSetPatch.ts.html
|
|
51
|
+
* - Module: "@fp-ts/data/Differ/HashSetPatch"
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
HashSetPatch,
|
|
55
|
+
/**
|
|
56
|
+
* @since 2.0.0
|
|
57
|
+
*
|
|
58
|
+
* ```md
|
|
59
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ/OrPatch.ts.html
|
|
60
|
+
* - Module: "@fp-ts/data/Differ/OrPatch"
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
OrPatch
|
|
64
|
+
}
|
package/src/Fiber.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* ```md
|
|
5
|
+
* - Docs: https://effect-ts.github.io/io/modules/Fiber.ts.html
|
|
6
|
+
* - Module: "@effect/io/Fiber"
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as Id from "@effect/io/Fiber/Id"
|
|
11
|
+
import * as RuntimeFlags from "@effect/io/Fiber/Runtime/Flags"
|
|
12
|
+
import * as RuntimeFlagsPatch from "@effect/io/Fiber/Runtime/Flags/Patch"
|
|
13
|
+
import * as Status from "@effect/io/Fiber/Status"
|
|
14
|
+
|
|
15
|
+
export * from "@effect/io/Fiber"
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
/**
|
|
19
|
+
* @since 2.0.0
|
|
20
|
+
*
|
|
21
|
+
* ```md
|
|
22
|
+
* - Docs: https://effect-ts.github.io/io/modules/Fiber/Id.ts.html
|
|
23
|
+
* - Module: "@effect/io/Fiber/Id"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
Id,
|
|
27
|
+
/**
|
|
28
|
+
* @since 2.0.0
|
|
29
|
+
*
|
|
30
|
+
* ```md
|
|
31
|
+
* - Docs: https://effect-ts.github.io/io/modules/Fiber/Runtime/Flags.ts.html
|
|
32
|
+
* - Module: "@effect/io/Fiber/Runtime/Flags"
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
RuntimeFlags,
|
|
36
|
+
/**
|
|
37
|
+
* @since 2.0.0
|
|
38
|
+
*
|
|
39
|
+
* ```md
|
|
40
|
+
* - Docs: https://effect-ts.github.io/io/modules/Fiber/Runtime/Flags/Patch.ts.html
|
|
41
|
+
* - Module: "@effect/io/Fiber/Runtime/Flags/Patch"
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
RuntimeFlagsPatch,
|
|
45
|
+
/**
|
|
46
|
+
* @since 2.0.0
|
|
47
|
+
*
|
|
48
|
+
* ```md
|
|
49
|
+
* - Docs: https://effect-ts.github.io/io/modules/Fiber/Status.ts.html
|
|
50
|
+
* - Module: "@effect/io/Fiber/Status"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
Status
|
|
54
|
+
}
|
package/src/FiberRefs.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* ```md
|
|
5
|
+
* - Docs: https://effect-ts.github.io/io/modules/FiberRefs.ts.html
|
|
6
|
+
* - Module: "@effect/io/FiberRefs"
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as Patch from "@effect/io/FiberRefs/Patch"
|
|
11
|
+
|
|
12
|
+
export * from "@effect/io/FiberRefs"
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
/**
|
|
16
|
+
* @since 2.0.0
|
|
17
|
+
*
|
|
18
|
+
* ```md
|
|
19
|
+
* - Docs: https://effect-ts.github.io/io/modules/FiberRefs/Patch.ts.html
|
|
20
|
+
* - Module: "@effect/io/FiberRefs/Patch"
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
Patch
|
|
24
|
+
}
|
package/src/Logger.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* ```md
|
|
5
|
+
* - Docs: https://effect-ts.github.io/io/modules/Logger.ts.html
|
|
6
|
+
* - Module: "@effect/io/Logger"
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as Level from "@effect/io/Logger/Level"
|
|
11
|
+
import * as Span from "@effect/io/Logger/Span"
|
|
12
|
+
|
|
13
|
+
export * from "@effect/io/Logger"
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
/**
|
|
17
|
+
* @since 2.0.0
|
|
18
|
+
*
|
|
19
|
+
* ```md
|
|
20
|
+
* - Docs: https://effect-ts.github.io/io/modules/Logger/Level.ts.html
|
|
21
|
+
* - Module: "@effect/io/Logger/Level"
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
Level as LogLevel,
|
|
25
|
+
/**
|
|
26
|
+
* @since 2.0.0
|
|
27
|
+
*
|
|
28
|
+
* ```md
|
|
29
|
+
* - Docs: https://effect-ts.github.io/io/modules/Logger/Span.ts.html
|
|
30
|
+
* - Module: "@effect/io/Logger/Span"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
Span as LogSpan
|
|
34
|
+
}
|
package/src/Metric.ts
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* ```md
|
|
5
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric.ts.html
|
|
6
|
+
* - Module: "@effect/io/Metric"
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as Boundaries from "@effect/io/Metric/Boundaries"
|
|
11
|
+
import * as Hook from "@effect/io/Metric/Hook"
|
|
12
|
+
import * as Key from "@effect/io/Metric/Key"
|
|
13
|
+
import * as KeyType from "@effect/io/Metric/KeyType"
|
|
14
|
+
import * as Label from "@effect/io/Metric/Label"
|
|
15
|
+
import * as Pair from "@effect/io/Metric/Pair"
|
|
16
|
+
import * as Polling from "@effect/io/Metric/Polling"
|
|
17
|
+
import * as Registry from "@effect/io/Metric/Registry"
|
|
18
|
+
import * as State from "@effect/io/Metric/State"
|
|
19
|
+
|
|
20
|
+
export * from "@effect/io/Metric"
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
/**
|
|
24
|
+
* @since 2.0.0
|
|
25
|
+
*
|
|
26
|
+
* ```md
|
|
27
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Boundaries.ts.html
|
|
28
|
+
* - Module: "@effect/io/Metric/Boundaries"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
Boundaries,
|
|
32
|
+
/**
|
|
33
|
+
* @since 2.0.0
|
|
34
|
+
*
|
|
35
|
+
* ```md
|
|
36
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Hook.ts.html
|
|
37
|
+
* - Module: "@effect/io/Metric/Hook"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
Hook,
|
|
41
|
+
/**
|
|
42
|
+
* @since 2.0.0
|
|
43
|
+
*
|
|
44
|
+
* ```md
|
|
45
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Key.ts.html
|
|
46
|
+
* - Module: "@effect/io/Metric/Key"
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
Key,
|
|
50
|
+
/**
|
|
51
|
+
* @since 2.0.0
|
|
52
|
+
*
|
|
53
|
+
* ```md
|
|
54
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/KeyType.ts.html
|
|
55
|
+
* - Module: "@effect/io/Metric/KeyType"
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
KeyType,
|
|
59
|
+
/**
|
|
60
|
+
* @since 2.0.0
|
|
61
|
+
*
|
|
62
|
+
* ```md
|
|
63
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Label.ts.html
|
|
64
|
+
* - Module: "@effect/io/Metric/Label"
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
Label,
|
|
68
|
+
/**
|
|
69
|
+
* @since 2.0.0
|
|
70
|
+
*
|
|
71
|
+
* ```md
|
|
72
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Pair.ts.html
|
|
73
|
+
* - Module: "@effect/io/Metric/Pair"
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
Pair,
|
|
77
|
+
/**
|
|
78
|
+
* @since 2.0.0
|
|
79
|
+
*
|
|
80
|
+
* ```md
|
|
81
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Polling.ts.html
|
|
82
|
+
* - Module: "@effect/io/Metric/Polling"
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
Polling,
|
|
86
|
+
/**
|
|
87
|
+
* @since 2.0.0
|
|
88
|
+
*
|
|
89
|
+
* ```md
|
|
90
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/Registry.ts.html
|
|
91
|
+
* - Module: "@effect/io/Metric/Registry"
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
Registry,
|
|
95
|
+
/**
|
|
96
|
+
* @since 2.0.0
|
|
97
|
+
*
|
|
98
|
+
* ```md
|
|
99
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric/State.ts.html
|
|
100
|
+
* - Module: "@effect/io/Metric/State"
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
State
|
|
104
|
+
}
|
package/src/Optic.ts
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
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
|
+
|
|
12
|
+
import { toggle } from "@fp-ts/optic/data/Boolean"
|
|
13
|
+
import { cons as consChunk, head as headChunk, index as indexChunk, tail as tailChunk } from "@fp-ts/optic/data/Chunk"
|
|
14
|
+
import { left, right } from "@fp-ts/optic/data/Either"
|
|
15
|
+
import { getAt as getAtHashMap, getIndex as getIndexHashMap } from "@fp-ts/optic/data/HashMap"
|
|
16
|
+
import { cons as consList, head as headList, index as indexList, tail as tailList } from "@fp-ts/optic/data/List"
|
|
17
|
+
import { none } from "@fp-ts/optic/data/Option"
|
|
18
|
+
import { consNonEmpty as consNonEmptyReadonlyArray } from "@fp-ts/optic/data/ReadonlyArray"
|
|
19
|
+
import { getAt as getAtSortedMap, getIndex as getIndexSortedMap } from "@fp-ts/optic/data/SortedMap"
|
|
20
|
+
import { index as indexString } from "@fp-ts/optic/data/String"
|
|
21
|
+
|
|
22
|
+
export * from "@fp-ts/optic"
|
|
23
|
+
export * from "@fp-ts/optic/experimental"
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
/**
|
|
27
|
+
* @since 2.0.0
|
|
28
|
+
*
|
|
29
|
+
* ```md
|
|
30
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#cons
|
|
31
|
+
* - Module: "@fp-ts/optic/data/Chunk"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
consChunk,
|
|
35
|
+
/**
|
|
36
|
+
* @since 2.0.0
|
|
37
|
+
*
|
|
38
|
+
* ```md
|
|
39
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#cons
|
|
40
|
+
* - Module: "@fp-ts/optic/data/List"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
consList,
|
|
44
|
+
/**
|
|
45
|
+
* @since 2.0.0
|
|
46
|
+
*
|
|
47
|
+
* ```md
|
|
48
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/ReadonlyArray.ts.html#consNonEmpty
|
|
49
|
+
* - Module: "@fp-ts/optic/data/ReadonlyArray"
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
consNonEmptyReadonlyArray,
|
|
53
|
+
/**
|
|
54
|
+
* @since 2.0.0
|
|
55
|
+
*
|
|
56
|
+
* ```md
|
|
57
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/HashMap.ts.html#getAt
|
|
58
|
+
* - Module: "@fp-ts/optic/data/HashMap"
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
getAtHashMap,
|
|
62
|
+
/**
|
|
63
|
+
* @since 2.0.0
|
|
64
|
+
*
|
|
65
|
+
* ```md
|
|
66
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/SortedMap.ts.html#getAt
|
|
67
|
+
* - Module: "@fp-ts/optic/data/SortedMap"
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
getAtSortedMap,
|
|
71
|
+
/**
|
|
72
|
+
* @since 2.0.0
|
|
73
|
+
*
|
|
74
|
+
* ```md
|
|
75
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/HashMap.ts.html#getIndex
|
|
76
|
+
* - Module: "@fp-ts/optic/data/HashMap"
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
getIndexHashMap,
|
|
80
|
+
/**
|
|
81
|
+
* @since 2.0.0
|
|
82
|
+
*
|
|
83
|
+
* ```md
|
|
84
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/SortedMap.ts.html#getIndex
|
|
85
|
+
* - Module: "@fp-ts/optic/data/SortedMap"
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
getIndexSortedMap,
|
|
89
|
+
/**
|
|
90
|
+
* @since 2.0.0
|
|
91
|
+
*
|
|
92
|
+
* ```md
|
|
93
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#head
|
|
94
|
+
* - Module: "@fp-ts/optic/data/Chunk"
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
headChunk,
|
|
98
|
+
/**
|
|
99
|
+
* @since 2.0.0
|
|
100
|
+
*
|
|
101
|
+
* ```md
|
|
102
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#head
|
|
103
|
+
* - Module: "@fp-ts/optic/data/List"
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
headList,
|
|
107
|
+
/**
|
|
108
|
+
* @since 2.0.0
|
|
109
|
+
*
|
|
110
|
+
* ```md
|
|
111
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#index
|
|
112
|
+
* - Module: "@fp-ts/optic/data/Chunk"
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
indexChunk,
|
|
116
|
+
/**
|
|
117
|
+
* @since 2.0.0
|
|
118
|
+
*
|
|
119
|
+
* ```md
|
|
120
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#index
|
|
121
|
+
* - Module: "@fp-ts/optic/data/List"
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
indexList,
|
|
125
|
+
/**
|
|
126
|
+
* @since 2.0.0
|
|
127
|
+
*
|
|
128
|
+
* ```md
|
|
129
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/String.ts.html#index
|
|
130
|
+
* - Module: "@fp-ts/optic/data/String"
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
indexString,
|
|
134
|
+
/**
|
|
135
|
+
* @since 2.0.0
|
|
136
|
+
*
|
|
137
|
+
* ```md
|
|
138
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Either.ts.html#left
|
|
139
|
+
* - Module: "@fp-ts/optic/data/Either"
|
|
140
|
+
* ```
|
|
141
|
+
*/
|
|
142
|
+
left,
|
|
143
|
+
/**
|
|
144
|
+
* @since 2.0.0
|
|
145
|
+
*
|
|
146
|
+
* ```md
|
|
147
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Option.ts.html#none
|
|
148
|
+
* - Module: "@fp-ts/optic/data/Option"
|
|
149
|
+
* ```
|
|
150
|
+
*/
|
|
151
|
+
none,
|
|
152
|
+
/**
|
|
153
|
+
* @since 2.0.0
|
|
154
|
+
*
|
|
155
|
+
* ```md
|
|
156
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Either.ts.html#right
|
|
157
|
+
* - Module: "@fp-ts/optic/data/Either"
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
right,
|
|
161
|
+
/**
|
|
162
|
+
* @since 2.0.0
|
|
163
|
+
*
|
|
164
|
+
* ```md
|
|
165
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#tail
|
|
166
|
+
* - Module: "@fp-ts/optic/data/Chunk"
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
tailChunk,
|
|
170
|
+
/**
|
|
171
|
+
* @since 2.0.0
|
|
172
|
+
*
|
|
173
|
+
* ```md
|
|
174
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#tail
|
|
175
|
+
* - Module: "@fp-ts/optic/data/List"
|
|
176
|
+
* ```
|
|
177
|
+
*/
|
|
178
|
+
tailList,
|
|
179
|
+
/**
|
|
180
|
+
* @since 2.0.0
|
|
181
|
+
*
|
|
182
|
+
* ```md
|
|
183
|
+
* - Docs: https://fp-ts.github.io/optic/modules/data/Boolean.ts.html#toggle
|
|
184
|
+
* - Module: "@fp-ts/optic/data/Boolean"
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
toggle
|
|
188
|
+
}
|
package/src/Ref.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
10
|
+
import * as SynchronizedRef from "@effect/io/Ref/Synchronized"
|
|
11
|
+
import * as ScopedRef from "@effect/io/ScopedRef"
|
|
12
|
+
|
|
13
|
+
export * from "@effect/io/Ref"
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
/**
|
|
17
|
+
* @since 2.0.0
|
|
18
|
+
*
|
|
19
|
+
* ```md
|
|
20
|
+
* - Docs: https://effect-ts.github.io/io/modules/ScopedRef.ts.html
|
|
21
|
+
* - Module: "@effect/io/ScopedRef"
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
ScopedRef,
|
|
25
|
+
/**
|
|
26
|
+
* @since 2.0.0
|
|
27
|
+
*
|
|
28
|
+
* ```md
|
|
29
|
+
* - Docs: https://effect-ts.github.io/io/modules/Ref/Synchronized.ts.html
|
|
30
|
+
* - Module: "@effect/io/Ref/Synchronized"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
SynchronizedRef
|
|
34
|
+
}
|
package/src/Schedule.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
|
|
10
|
+
import * as Decision from "@effect/io/Schedule/Decision"
|
|
11
|
+
import * as Interval from "@effect/io/Schedule/Interval"
|
|
12
|
+
import * as Intervals from "@effect/io/Schedule/Intervals"
|
|
13
|
+
|
|
14
|
+
export * from "@effect/io/Schedule"
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
/**
|
|
18
|
+
* @since 2.0.0
|
|
19
|
+
*
|
|
20
|
+
* ```md
|
|
21
|
+
* - Docs: https://effect-ts.github.io/io/modules/Schedule/Decision.ts.html
|
|
22
|
+
* - Module: "@effect/io/Schedule/Decision"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
Decision,
|
|
26
|
+
/**
|
|
27
|
+
* @since 2.0.0
|
|
28
|
+
*
|
|
29
|
+
* ```md
|
|
30
|
+
* - Docs: https://effect-ts.github.io/io/modules/Schedule/Interval.ts.html
|
|
31
|
+
* - Module: "@effect/io/Schedule/Interval"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
Interval,
|
|
35
|
+
/**
|
|
36
|
+
* @since 2.0.0
|
|
37
|
+
*
|
|
38
|
+
* ```md
|
|
39
|
+
* - Docs: https://effect-ts.github.io/io/modules/Schedule/Intervals.ts.html
|
|
40
|
+
* - Module: "@effect/io/Schedule/Intervals"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
Intervals
|
|
44
|
+
}
|