Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
eue
Commits
f0131599
Commit
f0131599
authored
Jun 28, 2021
by
Spark
Browse files
typescript client
parent
ec4d4f56
Changes
427
Hide whitespace changes
Inline
Side-by-side
node_modules/@jest/types/build/Global.js
0 → 100644
View file @
f0131599
'
use strict
'
;
node_modules/@jest/types/build/TestResult.d.ts
0 → 100644
View file @
f0131599
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export
declare
type
Milliseconds
=
number
;
declare
type
Status
=
'
passed
'
|
'
failed
'
|
'
skipped
'
|
'
pending
'
|
'
todo
'
|
'
disabled
'
;
declare
type
Callsite
=
{
column
:
number
;
line
:
number
;
};
export
declare
type
AssertionResult
=
{
ancestorTitles
:
Array
<
string
>
;
duration
?:
Milliseconds
|
null
;
failureDetails
:
Array
<
unknown
>
;
failureMessages
:
Array
<
string
>
;
fullName
:
string
;
invocations
?:
number
;
location
?:
Callsite
|
null
;
numPassingAsserts
:
number
;
status
:
Status
;
title
:
string
;
};
export
declare
type
SerializableError
=
{
code
?:
unknown
;
message
:
string
;
stack
:
string
|
null
|
undefined
;
type
?:
string
;
};
export
{};
node_modules/@jest/types/build/TestResult.js
0 → 100644
View file @
f0131599
'
use strict
'
;
node_modules/@jest/types/build/Transform.d.ts
0 → 100644
View file @
f0131599
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export
declare
type
TransformResult
=
{
code
:
string
;
originalCode
:
string
;
mapCoverage
?:
boolean
;
sourceMapPath
:
string
|
null
;
};
node_modules/@jest/types/build/Transform.js
0 → 100644
View file @
f0131599
'
use strict
'
;
node_modules/@jest/types/build/index.d.ts
0 → 100644
View file @
f0131599
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import
type
*
as
Circus
from
'
./Circus
'
;
import
type
*
as
Config
from
'
./Config
'
;
import
type
*
as
Global
from
'
./Global
'
;
import
type
*
as
TestResult
from
'
./TestResult
'
;
import
type
*
as
TransformTypes
from
'
./Transform
'
;
export
type
{
Circus
,
Config
,
Global
,
TestResult
,
TransformTypes
};
node_modules/@jest/types/build/index.js
0 → 100644
View file @
f0131599
'
use strict
'
;
node_modules/@jest/types/package.json
0 → 100644
View file @
f0131599
{
"name"
:
"@jest/types"
,
"version"
:
"26.6.2"
,
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/facebook/jest.git"
,
"directory"
:
"packages/jest-types"
},
"engines"
:
{
"node"
:
">= 10.14.2"
},
"license"
:
"MIT"
,
"main"
:
"build/index.js"
,
"types"
:
"build/index.d.ts"
,
"dependencies"
:
{
"@types/istanbul-lib-coverage"
:
"^2.0.0"
,
"@types/istanbul-reports"
:
"^3.0.0"
,
"@types/node"
:
"*"
,
"@types/yargs"
:
"^15.0.0"
,
"chalk"
:
"^4.0.0"
},
"publishConfig"
:
{
"access"
:
"public"
},
"gitHead"
:
"4c46930615602cbf983fb7e8e82884c282a624d5"
}
node_modules/@types/istanbul-lib-coverage/LICENSE
0 → 100644
View file @
f0131599
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
node_modules/@types/istanbul-lib-coverage/README.md
0 → 100644
View file @
f0131599
# Installation
> `npm install --save @types/istanbul-lib-coverage`
# Summary
This package contains type definitions for istanbul-lib-coverage (https://istanbul.js.org).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-coverage.
### Additional Details
*
Last updated: Tue, 09 Jun 2020 16:25:43 GMT
*
Dependencies: none
*
Global values: none
# Credits
These definitions were written by
[
Jason Cheatham
](
https://github.com/jason0x43
)
, and
[
Lorenzo Rapetti
](
https://github.com/loryman
)
.
node_modules/@types/istanbul-lib-coverage/index.d.ts
0 → 100644
View file @
f0131599
// Type definitions for istanbul-lib-coverage 2.0
// Project: https://istanbul.js.org, https://github.com/istanbuljs/istanbuljs
// Definitions by: Jason Cheatham <https://github.com/jason0x43>
// Lorenzo Rapetti <https://github.com/loryman>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
export
interface
CoverageSummaryData
{
lines
:
Totals
;
statements
:
Totals
;
branches
:
Totals
;
functions
:
Totals
;
}
export
class
CoverageSummary
{
constructor
(
data
:
CoverageSummary
|
CoverageSummaryData
);
merge
(
obj
:
CoverageSummary
):
CoverageSummary
;
toJSON
():
CoverageSummaryData
;
isEmpty
():
boolean
;
data
:
CoverageSummaryData
;
lines
:
Totals
;
statements
:
Totals
;
branches
:
Totals
;
functions
:
Totals
;
}
export
interface
CoverageMapData
{
[
key
:
string
]:
FileCoverage
|
FileCoverageData
;
}
export
class
CoverageMap
{
constructor
(
data
:
CoverageMapData
|
CoverageMap
);
addFileCoverage
(
pathOrObject
:
string
|
FileCoverage
|
FileCoverageData
):
void
;
files
():
string
[];
fileCoverageFor
(
filename
:
string
):
FileCoverage
;
filter
(
callback
:
(
key
:
string
)
=>
boolean
):
void
;
getCoverageSummary
():
CoverageSummary
;
merge
(
data
:
CoverageMapData
|
CoverageMap
):
void
;
toJSON
():
CoverageMapData
;
data
:
CoverageMapData
;
}
export
interface
Location
{
line
:
number
;
column
:
number
;
}
export
interface
Range
{
start
:
Location
;
end
:
Location
;
}
export
interface
BranchMapping
{
loc
:
Range
;
type
:
string
;
locations
:
Range
[];
line
:
number
;
}
export
interface
FunctionMapping
{
name
:
string
;
decl
:
Range
;
loc
:
Range
;
line
:
number
;
}
export
interface
FileCoverageData
{
path
:
string
;
statementMap
:
{
[
key
:
string
]:
Range
};
fnMap
:
{
[
key
:
string
]:
FunctionMapping
};
branchMap
:
{
[
key
:
string
]:
BranchMapping
};
s
:
{
[
key
:
string
]:
number
};
f
:
{
[
key
:
string
]:
number
};
b
:
{
[
key
:
string
]:
number
[]
};
}
export
interface
Totals
{
total
:
number
;
covered
:
number
;
skipped
:
number
;
pct
:
number
;
}
export
interface
Coverage
{
covered
:
number
;
total
:
number
;
coverage
:
number
;
}
export
class
FileCoverage
implements
FileCoverageData
{
constructor
(
data
:
string
|
FileCoverage
|
FileCoverageData
);
merge
(
other
:
FileCoverageData
):
void
;
getBranchCoverageByLine
():
{
[
line
:
number
]:
Coverage
};
getLineCoverage
():
{
[
line
:
number
]:
number
};
getUncoveredLines
():
number
[];
resetHits
():
void
;
computeBranchTotals
():
Totals
;
computeSimpleTotals
():
Totals
;
toSummary
():
CoverageSummary
;
toJSON
():
object
;
data
:
FileCoverageData
;
path
:
string
;
statementMap
:
{
[
key
:
string
]:
Range
};
fnMap
:
{
[
key
:
string
]:
FunctionMapping
};
branchMap
:
{
[
key
:
string
]:
BranchMapping
};
s
:
{
[
key
:
string
]:
number
};
f
:
{
[
key
:
string
]:
number
};
b
:
{
[
key
:
string
]:
number
[]
};
}
export
const
classes
:
{
FileCoverage
:
FileCoverage
;
};
export
function
createCoverageMap
(
data
?:
CoverageMap
|
CoverageMapData
):
CoverageMap
;
export
function
createCoverageSummary
(
obj
?:
CoverageSummary
|
CoverageSummaryData
):
CoverageSummary
;
export
function
createFileCoverage
(
pathOrObject
:
string
|
FileCoverage
|
FileCoverageData
):
FileCoverage
;
node_modules/@types/istanbul-lib-coverage/package.json
0 → 100644
View file @
f0131599
{
"name"
:
"@types/istanbul-lib-coverage"
,
"version"
:
"2.0.3"
,
"description"
:
"TypeScript definitions for istanbul-lib-coverage"
,
"license"
:
"MIT"
,
"contributors"
:
[
{
"name"
:
"Jason Cheatham"
,
"url"
:
"https://github.com/jason0x43"
,
"githubUsername"
:
"jason0x43"
},
{
"name"
:
"Lorenzo Rapetti"
,
"url"
:
"https://github.com/loryman"
,
"githubUsername"
:
"loryman"
}
],
"main"
:
""
,
"types"
:
"index.d.ts"
,
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/DefinitelyTyped/DefinitelyTyped.git"
,
"directory"
:
"types/istanbul-lib-coverage"
},
"scripts"
:
{},
"dependencies"
:
{},
"typesPublisherContentHash"
:
"a951ff253666ffd402e5ddf6b7d5a359e22c9a6574f6a799a39e1e793107b647"
,
"typeScriptVersion"
:
"3.0"
}
\ No newline at end of file
node_modules/@types/istanbul-lib-report/LICENSE
0 → 100644
View file @
f0131599
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
node_modules/@types/istanbul-lib-report/README.md
0 → 100644
View file @
f0131599
# Installation
> `npm install --save @types/istanbul-lib-report`
# Summary
This package contains type definitions for istanbul-lib-report (https://istanbul.js.org).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-report.
### Additional Details
*
Last updated: Tue, 21 Jan 2020 01:00:06 GMT
*
Dependencies:
[
@types/istanbul-lib-coverage
](
https://npmjs.com/package/@types/istanbul-lib-coverage
)
*
Global values: none
# Credits
These definitions were written by Jason Cheatham (https://github.com/jason0x43), and Zacharias Björngren (https://github.com/zache).
node_modules/@types/istanbul-lib-report/index.d.ts
0 → 100644
View file @
f0131599
// Type definitions for istanbul-lib-report 3.0
// Project: https://istanbul.js.org, https://github.com/istanbuljs/istanbuljs
// Definitions by: Jason Cheatham <https://github.com/jason0x43>
// Zacharias Björngren <https://github.com/zache>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
import
{
CoverageMap
,
FileCoverage
,
CoverageSummary
}
from
'
istanbul-lib-coverage
'
;
/**
* returns a reporting context for the supplied options
*/
export
function
createContext
(
options
?:
Partial
<
ContextOptions
>
):
Context
;
/**
* returns the default watermarks that would be used when not
* overridden
*/
export
function
getDefaultWatermarks
():
Watermarks
;
export
class
ReportBase
{
constructor
(
options
?:
Partial
<
ReportBaseOptions
>
);
execute
(
context
:
Context
):
void
;
}
export
interface
ReportBaseOptions
{
summarizer
:
Summarizers
;
}
export
type
Summarizers
=
'
flat
'
|
'
nested
'
|
'
pkg
'
|
'
defaultSummarizer
'
;
export
interface
ContextOptions
{
coverageMap
:
CoverageMap
;
defaultSummarizer
:
Summarizers
;
dir
:
string
;
watermarks
:
Partial
<
Watermarks
>
;
sourceFinder
(
filepath
:
string
):
string
;
}
export
interface
Context
{
data
:
any
;
dir
:
string
;
sourceFinder
(
filepath
:
string
):
string
;
watermarks
:
Watermarks
;
writer
:
FileWriter
;
/**
* returns the coverage class given a coverage
* types and a percentage value.
*/
classForPercent
(
type
:
keyof
Watermarks
,
value
:
number
):
string
;
/**
* returns the source code for the specified file path or throws if
* the source could not be found.
*/
getSource
(
filepath
:
string
):
string
;
getTree
(
summarizer
?:
Summarizers
):
Tree
;
/**
* returns a full visitor given a partial one.
*/
getVisitor
<
N
extends
Node
=
Node
>
(
visitor
:
Partial
<
Visitor
<
N
>>
):
Visitor
<
N
>
;
/**
* returns a FileWriter implementation for reporting use. Also available
* as the `writer` property on the context.
*/
getWriter
():
FileWriter
;
/**
* returns an XML writer for the supplied content writer
*/
getXmlWriter
(
contentWriter
:
ContentWriter
):
XmlWriter
;
}
/**
* Base class for writing content
*/
export
class
ContentWriter
{
/**
* returns the colorized version of a string. Typically,
* content writers that write to files will return the
* same string and ones writing to a tty will wrap it in
* appropriate escape sequences.
*/
colorize
(
str
:
string
,
clazz
?:
string
):
string
;
/**
* writes a string appended with a newline to the destination
*/
println
(
str
:
string
):
void
;
/**
* closes this content writer. Should be called after all writes are complete.
*/
close
():
void
;
}
/**
* a content writer that writes to a file
*/
export
class
FileContentWriter
extends
ContentWriter
{
constructor
(
fileDescriptor
:
number
);
write
(
str
:
string
):
void
;
}
/**
* a content writer that writes to the console
*/
export
class
ConsoleWriter
extends
ContentWriter
{
write
(
str
:
string
):
void
;
}
/**
* utility for writing files under a specific directory
*/
export
class
FileWriter
{
constructor
(
baseDir
:
string
);
static
startCapture
():
void
;
static
stopCapture
():
void
;
static
getOutput
():
string
;
static
resetOutput
():
void
;
/**
* returns a FileWriter that is rooted at the supplied subdirectory
*/
writeForDir
(
subdir
:
string
):
FileWriter
;
/**
* copies a file from a source directory to a destination name
*/
copyFile
(
source
:
string
,
dest
:
string
,
header
?:
string
):
void
;
/**
* returns a content writer for writing content to the supplied file.
*/
writeFile
(
file
:
string
|
null
):
ContentWriter
;
}
export
interface
XmlWriter
{
indent
(
str
:
string
):
string
;
/**
* writes the opening XML tag with the supplied attributes
*/
openTag
(
name
:
string
,
attrs
?:
any
):
void
;
/**
* closes an open XML tag.
*/
closeTag
(
name
:
string
):
void
;
/**
* writes a tag and its value opening and closing it at the same time
*/
inlineTag
(
name
:
string
,
attrs
?:
any
,
content
?:
string
):
void
;
/**
* closes all open tags and ends the document
*/
closeAll
():
void
;
}
export
type
Watermark
=
[
number
,
number
];
export
interface
Watermarks
{
statements
:
Watermark
;
functions
:
Watermark
;
branches
:
Watermark
;
lines
:
Watermark
;
}
export
interface
Node
{
isRoot
():
boolean
;
visit
(
visitor
:
Visitor
,
state
:
any
):
void
;
}
export
interface
ReportNode
extends
Node
{
path
:
string
;
parent
:
ReportNode
|
null
;
fileCoverage
:
FileCoverage
;
children
:
ReportNode
[];
addChild
(
child
:
ReportNode
):
void
;
asRelative
(
p
:
string
):
string
;
getQualifiedName
():
string
;
getRelativeName
():
string
;
getParent
():
Node
;
getChildren
():
Node
[];
isSummary
():
boolean
;
getFileCoverage
():
FileCoverage
;
getCoverageSummary
(
filesOnly
:
boolean
):
CoverageSummary
;
visit
(
visitor
:
Visitor
<
ReportNode
>
,
state
:
any
):
void
;
}
export
interface
Visitor
<
N
extends
Node
=
Node
>
{
onStart
(
root
:
N
,
state
:
any
):
void
;
onSummary
(
root
:
N
,
state
:
any
):
void
;
onDetail
(
root
:
N
,
state
:
any
):
void
;
onSummaryEnd
(
root
:
N
,
state
:
any
):
void
;
onEnd
(
root
:
N
,
state
:
any
):
void
;
}
export
interface
Tree
<
N
extends
Node
=
Node
>
{
getRoot
():
N
;
visit
(
visitor
:
Partial
<
Visitor
<
N
>>
,
state
:
any
):
void
;
}
node_modules/@types/istanbul-lib-report/package.json
0 → 100644
View file @
f0131599
{
"name"
:
"@types/istanbul-lib-report"
,
"version"
:
"3.0.0"
,
"description"
:
"TypeScript definitions for istanbul-lib-report"
,
"license"
:
"MIT"
,
"contributors"
:
[
{
"name"
:
"Jason Cheatham"
,
"url"
:
"https://github.com/jason0x43"
,
"githubUsername"
:
"jason0x43"
},
{
"name"
:
"Zacharias Björngren"
,
"url"
:
"https://github.com/zache"
,
"githubUsername"
:
"zache"
}
],
"main"
:
""
,
"types"
:
"index.d.ts"
,
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/DefinitelyTyped/DefinitelyTyped.git"
,
"directory"
:
"types/istanbul-lib-report"
},
"scripts"
:
{},
"dependencies"
:
{
"@types/istanbul-lib-coverage"
:
"*"
},
"typesPublisherContentHash"
:
"f8b2f5e15a24d9f52a96c5cfadb0f582bf6200ce8643e15422c3c8f1a2bb1c63"
,
"typeScriptVersion"
:
"2.8"
}
\ No newline at end of file
node_modules/@types/istanbul-reports/LICENSE
0 → 100644
View file @
f0131599
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
node_modules/@types/istanbul-reports/README.md
0 → 100644
View file @
f0131599
# Installation
> `npm install --save @types/istanbul-reports`
# Summary
This package contains type definitions for istanbul-reports (https://github.com/istanbuljs/istanbuljs).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports/index.d.ts)
````
ts
// Type definitions for istanbul-reports 3.0
// Project: https://github.com/istanbuljs/istanbuljs, https://istanbul.js.org
// Definitions by: Jason Cheatham <https://github.com/jason0x43>
// Elena Shcherbakova <https://github.com/not-a-doctor>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
import
{
Node
,
ReportBase
}
from
'
istanbul-lib-report
'
;
export
function
create
<
T
extends
keyof
ReportOptions
>
(
name
:
T
,
options
?:
Partial
<
ReportOptions
[
T
]
>
):
ReportBase
;
export
interface
FileOptions
{
file
:
string
;
}
export
interface
ProjectOptions
{
projectRoot
:
string
;
}
export
interface
ReportOptions
{
clover
:
CloverOptions
;
cobertura
:
CoberturaOptions
;
'
html-spa
'
:
HtmlSpaOptions
;
html
:
HtmlOptions
;
json
:
JsonOptions
;
'
json-summary
'
:
JsonSummaryOptions
;
lcov
:
LcovOptions
;
lcovonly
:
LcovOnlyOptions
;
none
:
never
;
teamcity
:
TeamcityOptions
;
text
:
TextOptions
;
'
text-lcov
'
:
TextLcovOptions
;
'
text-summary
'
:
TextSummaryOptions
;
}
export
type
ReportType
=
keyof
ReportOptions
;
export
interface
CloverOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
CoberturaOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
HtmlSpaOptions
extends
HtmlOptions
{
metricsToShow
:
Array
<
'
lines
'
|
'
branches
'
|
'
functions
'
|
'
statements
'
>
;
}
export
interface
HtmlOptions
{
verbose
:
boolean
;
skipEmpty
:
boolean
;
subdir
:
string
;
linkMapper
:
LinkMapper
;
}
export
type
JsonOptions
=
FileOptions
;
export
type
JsonSummaryOptions
=
FileOptions
;
export
interface
LcovOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
LcovOnlyOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
TeamcityOptions
extends
FileOptions
{
blockName
:
string
;
}
export
interface
TextOptions
extends
FileOptions
{
maxCols
:
number
;
skipEmpty
:
boolean
;
skipFull
:
boolean
;
}
export
type
TextLcovOptions
=
ProjectOptions
;
export
type
TextSummaryOptions
=
FileOptions
;
export
interface
LinkMapper
{
getPath
(
node
:
string
|
Node
):
string
;
relativePath
(
source
:
string
|
Node
,
target
:
string
|
Node
):
string
;
assetPath
(
node
:
Node
,
name
:
string
):
string
;
}
````
### Additional Details
*
Last updated: Tue, 01 Jun 2021 21:02:19 GMT
*
Dependencies:
[
@types/istanbul-lib-report
](
https://npmjs.com/package/@types/istanbul-lib-report
)
*
Global values: none
# Credits
These definitions were written by
[
Jason Cheatham
](
https://github.com/jason0x43
)
, and
[
Elena Shcherbakova
](
https://github.com/not-a-doctor
)
.
node_modules/@types/istanbul-reports/index.d.ts
0 → 100644
View file @
f0131599
// Type definitions for istanbul-reports 3.0
// Project: https://github.com/istanbuljs/istanbuljs, https://istanbul.js.org
// Definitions by: Jason Cheatham <https://github.com/jason0x43>
// Elena Shcherbakova <https://github.com/not-a-doctor>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
import
{
Node
,
ReportBase
}
from
'
istanbul-lib-report
'
;
export
function
create
<
T
extends
keyof
ReportOptions
>
(
name
:
T
,
options
?:
Partial
<
ReportOptions
[
T
]
>
):
ReportBase
;
export
interface
FileOptions
{
file
:
string
;
}
export
interface
ProjectOptions
{
projectRoot
:
string
;
}
export
interface
ReportOptions
{
clover
:
CloverOptions
;
cobertura
:
CoberturaOptions
;
'
html-spa
'
:
HtmlSpaOptions
;
html
:
HtmlOptions
;
json
:
JsonOptions
;
'
json-summary
'
:
JsonSummaryOptions
;
lcov
:
LcovOptions
;
lcovonly
:
LcovOnlyOptions
;
none
:
never
;
teamcity
:
TeamcityOptions
;
text
:
TextOptions
;
'
text-lcov
'
:
TextLcovOptions
;
'
text-summary
'
:
TextSummaryOptions
;
}
export
type
ReportType
=
keyof
ReportOptions
;
export
interface
CloverOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
CoberturaOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
HtmlSpaOptions
extends
HtmlOptions
{
metricsToShow
:
Array
<
'
lines
'
|
'
branches
'
|
'
functions
'
|
'
statements
'
>
;
}
export
interface
HtmlOptions
{
verbose
:
boolean
;
skipEmpty
:
boolean
;
subdir
:
string
;
linkMapper
:
LinkMapper
;
}
export
type
JsonOptions
=
FileOptions
;
export
type
JsonSummaryOptions
=
FileOptions
;
export
interface
LcovOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
LcovOnlyOptions
extends
FileOptions
,
ProjectOptions
{}
export
interface
TeamcityOptions
extends
FileOptions
{
blockName
:
string
;
}
export
interface
TextOptions
extends
FileOptions
{
maxCols
:
number
;
skipEmpty
:
boolean
;
skipFull
:
boolean
;
}
export
type
TextLcovOptions
=
ProjectOptions
;
export
type
TextSummaryOptions
=
FileOptions
;
export
interface
LinkMapper
{
getPath
(
node
:
string
|
Node
):
string
;
relativePath
(
source
:
string
|
Node
,
target
:
string
|
Node
):
string
;
assetPath
(
node
:
Node
,
name
:
string
):
string
;
}
node_modules/@types/istanbul-reports/package.json
0 → 100644
View file @
f0131599
{
"name"
:
"@types/istanbul-reports"
,
"version"
:
"3.0.1"
,
"description"
:
"TypeScript definitions for istanbul-reports"
,
"homepage"
:
"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports"
,
"license"
:
"MIT"
,
"contributors"
:
[
{
"name"
:
"Jason Cheatham"
,
"url"
:
"https://github.com/jason0x43"
,
"githubUsername"
:
"jason0x43"
},
{
"name"
:
"Elena Shcherbakova"
,
"url"
:
"https://github.com/not-a-doctor"
,
"githubUsername"
:
"not-a-doctor"
}
],
"main"
:
""
,
"types"
:
"index.d.ts"
,
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/DefinitelyTyped/DefinitelyTyped.git"
,
"directory"
:
"types/istanbul-reports"
},
"scripts"
:
{},
"dependencies"
:
{
"@types/istanbul-lib-report"
:
"*"
},
"typesPublisherContentHash"
:
"b331eb26db90bca3bd6f1e18a10a4f37631f149624847439756763800996e143"
,
"typeScriptVersion"
:
"3.6"
}
\ No newline at end of file
Prev
1
2
3
4
5
6
…
22
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment