Search
Preparing search index...
The search index is not available
ND JS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
listr.model.builder
NovelProgressBuilder
Class NovelProgressBuilder
Hierarchy
Progress
NovelProgressBuilder
Index
Constructors
constructor
Properties
changes
id
CONTEXT_
NAME
Methods
_download
Chapter
add
build
Local
Novel
Information
build
Novel
Information
download
Chapter
List
download
Only
Chapter
List
fetch
Latest
Information
fetch
Novel
get
Content
Key
run
run
Novel
save
Resource
File
Build
Constructors
constructor
new
Novel
Progress
Builder
(
options
?:
ListrOptions
)
:
NovelProgressBuilder
Parameters
Optional
options:
ListrOptions
Returns
NovelProgressBuilder
Properties
Private
changes
changes
:
History
= new History()
Private
Optional
id
id
:
undefined
|
string
Static
CONTEXT_
NAME
CONTEXT_
NAME
:
string
= "result"
Methods
Private
_download
Chapter
_download
Chapter
(
title
:
Title
|
TitleFn
, downloadOption
?:
object
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
Default value
downloadOption:
object
= { force: false, override: n => n }
Optional
force
?:
undefined
|
false
|
true
override
:
function
override
(
_
:
Novel
)
:
Novel
Parameters
_:
Novel
Returns
Novel
Optional
opts:
ProgressOptions
Returns
this
add
add
(
title
:
Title
|
TitleFn
, fn
:
TaskFn
|
Bluebird
<
any
>
, opts
?:
ProgressOptions
)
:
void
Parameters
title:
Title
|
TitleFn
fn:
TaskFn
|
Bluebird
<
any
>
Optional
opts:
ProgressOptions
Returns
void
build
Local
Novel
Information
build
Local
Novel
Information
(
title
:
Title
|
TitleFn
, path
:
string
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
path:
string
Optional
opts:
ProgressOptions
Returns
this
build
Novel
Information
build
Novel
Information
(
title
:
Title
|
TitleFn
, id
?:
string
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
Default value
id:
string
= ""
Optional
opts:
ProgressOptions
Returns
this
download
Chapter
List
download
Chapter
List
(
title
:
Title
|
TitleFn
, force
?:
undefined
|
false
|
true
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
Optional
force:
undefined
|
false
|
true
Optional
opts:
ProgressOptions
Returns
this
download
Only
Chapter
List
download
Only
Chapter
List
(
title
:
Title
|
TitleFn
, chapters
:
string
[]
, force
?:
undefined
|
false
|
true
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
chapters:
string
[]
Optional
force:
undefined
|
false
|
true
Optional
opts:
ProgressOptions
Returns
this
fetch
Latest
Information
fetch
Latest
Information
(
title
:
Title
|
TitleFn
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
Optional
opts:
ProgressOptions
Returns
this
fetch
Novel
fetch
Novel
(
title
:
Title
|
TitleFn
, id
:
string
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
id:
string
Optional
opts:
ProgressOptions
Returns
this
Protected
get
Content
Key
get
Content
Key
(
opts
?:
ProgressOptions
)
:
string
Parameters
Optional
opts:
ProgressOptions
Returns
string
run
run
(
ctx
?:
any
)
:
Promise
<
any
>
Parameters
Optional
ctx:
any
Returns
Promise
<
any
>
run
Novel
run
Novel
(
ctx
:
any
, __namedParameters
:
object
, opts
?:
ProgressOptions
)
:
Promise
<
void
>
Parameters
ctx:
any
__namedParameters:
object
with
Changes
:
boolean
with
Chapter
:
boolean
with
History
:
boolean
Optional
opts:
ProgressOptions
Returns
Promise
<
void
>
save
Resource
File
save
Resource
File
(
title
:
Title
|
TitleFn
, force
?:
undefined
|
false
|
true
, opts
?:
ProgressOptions
)
:
this
Parameters
title:
Title
|
TitleFn
Optional
force:
undefined
|
false
|
true
Optional
opts:
ProgressOptions
Returns
this
Static
Build
Build
(
options
?:
ListrOptions
)
:
NovelProgressBuilder
Parameters
Optional
options:
ListrOptions
Returns
NovelProgressBuilder
Globals
listr.model.builder
Novel
Progress
Builder
constructor
changes
id
CONTEXT_
NAME
_download
Chapter
add
build
Local
Novel
Information
build
Novel
Information
download
Chapter
List
download
Only
Chapter
List
fetch
Latest
Information
fetch
Novel
get
Content
Key
run
run
Novel
save
Resource
File
Build
Generated using
TypeDoc