UNPKG
simple-redact
Version:
latest (0.2.0)
0.2.0
0.1.4
0.1.3
0.1.2
0.1.0
A simple redact lib
github.com/elmalakomar/simple-redact
elmalakomar/simple-redact
simple-redact
/
build
/
typings
/
ConfigRedact.d.ts
11 lines
(10 loc)
•
232 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
declare
enum
RedactMethod
{
REDACT
=
"redact"
,
MASK
=
"mask"
}
export
interface
SingleConfig
{
field
:
string
;
type
?:
RedactMethod
;
data
?:
ConfigRedact
; }
export
declare
type
ConfigRedact
=
SingleConfig
[];