@@ -34,26 +34,26 @@ spawn :: forall eff. String -> [String] -> Aff (cp :: ChildProcess | eff) String
3434
3535
3636
37- ## Module GulpPurescript.FS
37+ ## Module GulpPurescript.Glob
3838
39- #### ` FS `
39+ #### ` Glob `
4040
4141``` purescript
42- data FS :: !
42+ data Glob :: !
4343```
4444
4545
46- #### ` Stream `
46+ #### ` glob `
4747
4848``` purescript
49- data Stream i o
49+ glob :: forall eff. String -> Aff (glob :: Glob | eff) [String]
5050```
5151
5252
53- #### ` createWriteStream `
53+ #### ` globAll `
5454
5555``` purescript
56- createWriteStream :: forall eff. String -> Eff (fs :: FS | eff) (Stream String Unit)
56+ globAll :: forall eff. [ String] -> Aff (glob :: Glob | eff) [[ String]]
5757```
5858
5959
@@ -81,27 +81,6 @@ mkFile :: String -> Buffer -> File
8181```
8282
8383
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-
10584
10685## Module GulpPurescript.Logalot
10786
@@ -130,16 +109,6 @@ minimist :: forall a. (IsForeign a) => [String] -> Maybe a
130109
131110
132111
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-
143112## Module GulpPurescript.OS
144113
145114#### ` OS `
@@ -183,6 +152,14 @@ platform :: forall eff. Eff (os :: OS | eff) (Maybe Platform)
183152
184153## Module GulpPurescript.Options
185154
155+ #### ` Psci `
156+
157+ ``` purescript
158+ newtype Psci
159+ = Psci { ffi :: NullOrUndefined (Either String [String]), src :: Either String [String] }
160+ ```
161+
162+
186163#### ` isForeignEither `
187164
188165``` purescript
@@ -211,10 +188,10 @@ instance isForeignPscDocs :: IsForeign PscDocs
211188```
212189
213190
214- #### ` isForeignDotPsci `
191+ #### ` isForeignPsci `
215192
216193``` purescript
217- instance isForeignDotPsci :: IsForeign DotPsci
194+ instance isForeignPsci :: IsForeign Psci
218195```
219196
220197
@@ -364,35 +341,49 @@ instance isForeignArgv :: IsForeign Argv
364341#### ` Effects `
365342
366343``` 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
368359```
369360
370361
371362#### ` psc `
372363
373364``` 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)
375366```
376367
377368
378369#### ` pscBundle `
379370
380371``` 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)
382373```
383374
384375
385376#### ` pscDocs `
386377
387378``` 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)
389380```
390381
391382
392383#### ` psci `
393384
394385``` purescript
395- psci :: forall eff. Eff (Effects eff) (Stream File Unit )
386+ psci :: forall eff. Foreign -> Eff (Effects eff) (ReadableStream File)
396387```
397388
398389
@@ -421,33 +412,26 @@ resolveBin :: forall eff. String -> Options -> Aff (resolveBin :: ResolveBin | e
421412
422413
423414
424- ## Module GulpPurescript.Through2
425-
426- #### ` Through2 `
415+ ## Module GulpPurescript.Stream
427416
428- ``` purescript
429- data Through2 :: !
430- ```
431-
432-
433- #### ` RunAff `
417+ #### ` Stream `
434418
435419``` purescript
436- type RunAff eff a = (Error -> Eff eff Unit) -> (a -> Eff eff Unit) -> Aff eff a -> Eff eff Unit
420+ data Stream :: !
437421```
438422
439423
440- #### ` objStream `
424+ #### ` ReadableStream `
441425
442426``` purescript
443- objStream :: forall eff1 eff2 input output. (input -> Aff eff1 output) -> Eff (through2 :: Through2 | eff2) (Stream input output)
427+ data ReadableStream out
444428```
445429
446430
447- #### ` accStream `
431+ #### ` mkReadableStreamFromAff `
448432
449433``` 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 )
451435```
452436
453437
0 commit comments