@@ -34,26 +34,26 @@ spawn :: forall eff. String -> [String] -> Aff (cp :: ChildProcess | eff) String
34
34
35
35
36
36
37
- ## Module GulpPurescript.FS
37
+ ## Module GulpPurescript.Glob
38
38
39
- #### ` FS `
39
+ #### ` Glob `
40
40
41
41
``` purescript
42
- data FS :: !
42
+ data Glob :: !
43
43
```
44
44
45
45
46
- #### ` Stream `
46
+ #### ` glob `
47
47
48
48
``` purescript
49
- data Stream i o
49
+ glob :: forall eff. String -> Aff (glob :: Glob | eff) [String]
50
50
```
51
51
52
52
53
- #### ` createWriteStream `
53
+ #### ` globAll `
54
54
55
55
``` purescript
56
- createWriteStream :: forall eff. String -> Eff (fs :: FS | eff) (Stream String Unit)
56
+ globAll :: forall eff. [ String] -> Aff (glob :: Glob | eff) [[ String]]
57
57
```
58
58
59
59
@@ -81,27 +81,6 @@ mkFile :: String -> Buffer -> File
81
81
```
82
82
83
83
84
- #### ` filePath `
85
-
86
- ``` purescript
87
- filePath :: File -> String
88
- ```
89
-
90
-
91
- #### ` fileIsNull `
92
-
93
- ``` purescript
94
- fileIsNull :: File -> Boolean
95
- ```
96
-
97
-
98
- #### ` fileIsStream `
99
-
100
- ``` purescript
101
- fileIsStream :: File -> Boolean
102
- ```
103
-
104
-
105
84
106
85
## Module GulpPurescript.Logalot
107
86
@@ -130,16 +109,6 @@ minimist :: forall a. (IsForeign a) => [String] -> Maybe a
130
109
131
110
132
111
133
- ## Module GulpPurescript.Multipipe
134
-
135
- #### ` multipipe2 `
136
-
137
- ``` purescript
138
- multipipe2 :: forall a b c. Stream a b -> Stream b c -> Stream a c
139
- ```
140
-
141
-
142
-
143
112
## Module GulpPurescript.OS
144
113
145
114
#### ` OS `
@@ -183,6 +152,14 @@ platform :: forall eff. Eff (os :: OS | eff) (Maybe Platform)
183
152
184
153
## Module GulpPurescript.Options
185
154
155
+ #### ` Psci `
156
+
157
+ ``` purescript
158
+ newtype Psci
159
+ = Psci { ffi :: NullOrUndefined (Either String [String]), src :: Either String [String] }
160
+ ```
161
+
162
+
186
163
#### ` isForeignEither `
187
164
188
165
``` purescript
@@ -211,10 +188,10 @@ instance isForeignPscDocs :: IsForeign PscDocs
211
188
```
212
189
213
190
214
- #### ` isForeignDotPsci `
191
+ #### ` isForeignPsci `
215
192
216
193
``` purescript
217
- instance isForeignDotPsci :: IsForeign DotPsci
194
+ instance isForeignPsci :: IsForeign Psci
218
195
```
219
196
220
197
@@ -364,35 +341,49 @@ instance isForeignArgv :: IsForeign Argv
364
341
#### ` Effects `
365
342
366
343
``` purescript
367
- type Effects eff = (which :: Which, through2 :: Through2, resolveBin :: ResolveBin, package :: Pkg, os :: OS, logalot :: Logalot, fs :: FS, cp :: ChildProcess | eff)
344
+ type Effects eff = (which :: Which, stream :: Stream, resolveBin :: ResolveBin, package :: Pkg, os :: OS, logalot :: Logalot, glob :: Glob, cp :: ChildProcess | eff)
345
+ ```
346
+
347
+
348
+ #### ` Errorback `
349
+
350
+ ``` purescript
351
+ type Errorback eff = Error -> Eff (Effects eff) Unit
352
+ ```
353
+
354
+
355
+ #### ` Callback `
356
+
357
+ ``` purescript
358
+ type Callback eff a = a -> Eff (Effects eff) Unit
368
359
```
369
360
370
361
371
362
#### ` psc `
372
363
373
364
``` purescript
374
- psc :: forall eff. Foreign -> (Error -> Eff (Effects eff) Unit) -> (Unit -> Eff (Effects eff) Unit) -> Eff (Effects eff) Unit
365
+ psc :: forall eff. Foreign -> Eff (Effects eff) (ReadableStream Unit)
375
366
```
376
367
377
368
378
369
#### ` pscBundle `
379
370
380
371
``` purescript
381
- pscBundle :: forall eff. Foreign -> (Error -> Eff (Effects eff) Unit) -> (Unit -> Eff (Effects eff) Unit) -> Eff (Effects eff) Unit
372
+ pscBundle :: forall eff. Foreign -> Eff (Effects eff) (ReadableStream File)
382
373
```
383
374
384
375
385
376
#### ` pscDocs `
386
377
387
378
``` purescript
388
- pscDocs :: forall eff. Foreign -> (Error -> Eff (Effects eff) Unit) -> (File -> Eff (Effects eff) Unit) -> Eff (Effects eff) Unit
379
+ pscDocs :: forall eff. Foreign -> Eff (Effects eff) (ReadableStream File)
389
380
```
390
381
391
382
392
383
#### ` psci `
393
384
394
385
``` purescript
395
- psci :: forall eff. Eff (Effects eff) (Stream File Unit )
386
+ psci :: forall eff. Foreign -> Eff (Effects eff) (ReadableStream File)
396
387
```
397
388
398
389
@@ -421,33 +412,26 @@ resolveBin :: forall eff. String -> Options -> Aff (resolveBin :: ResolveBin | e
421
412
422
413
423
414
424
- ## Module GulpPurescript.Through2
425
-
426
- #### ` Through2 `
415
+ ## Module GulpPurescript.Stream
427
416
428
- ``` purescript
429
- data Through2 :: !
430
- ```
431
-
432
-
433
- #### ` RunAff `
417
+ #### ` Stream `
434
418
435
419
``` purescript
436
- type RunAff eff a = (Error -> Eff eff Unit) -> (a -> Eff eff Unit) -> Aff eff a -> Eff eff Unit
420
+ data Stream :: !
437
421
```
438
422
439
423
440
- #### ` objStream `
424
+ #### ` ReadableStream `
441
425
442
426
``` purescript
443
- objStream :: forall eff1 eff2 input output. (input -> Aff eff1 output) -> Eff (through2 :: Through2 | eff2) (Stream input output)
427
+ data ReadableStream out
444
428
```
445
429
446
430
447
- #### ` accStream `
431
+ #### ` mkReadableStreamFromAff `
448
432
449
433
``` purescript
450
- accStream :: forall eff1 eff2 input output. (input -> Aff eff1 output) -> Eff (through2 :: Through2 | eff2) (Stream input [output] )
434
+ mkReadableStreamFromAff :: forall eff1 eff2 out. Aff eff1 out -> Eff (stream :: Stream | eff2) (ReadableStream out )
451
435
```
452
436
453
437
0 commit comments