@quba/sensitive-data-protection 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/index.cjs +317 -317
- package/dist/index.d.cts +254 -254
- package/dist/index.d.mts +254 -254
- package/dist/index.mjs +245 -245
- package/docs/AnonymizeRequestBody.md +2 -2
- package/docs/{AnonymizeRequestBodyTransformationsInner.md → AnonymizeRequestBodyRulesInner.md} +8 -8
- package/docs/{EncryptTransformation.md → EncryptRule.md} +8 -8
- package/docs/{Targets.md → Entities.md} +4 -4
- package/docs/{RedactTransformation.md → EntitiesAnyOfInner.md} +8 -8
- package/docs/MapValueInner.md +4 -6
- package/docs/{MaskTransformation.md → MaskRule.md} +8 -8
- package/docs/{RegexTarget.md → ModelEntity.md} +8 -8
- package/docs/{EntitySpanResult.md → ModelSpan.md} +9 -9
- package/docs/RedactRule.md +36 -0
- package/docs/{EntityTarget.md → RegexEntity.md} +8 -8
- package/docs/{RegexSpanResult.md → RegexSpan.md} +8 -8
- package/docs/{ReplaceTransformation.md → ReplaceRule.md} +8 -8
- package/docs/SHA256Rule.md +36 -0
- package/docs/SHA512Rule.md +36 -0
- package/package.json +2 -1
- package/docs/SHA256Transformation.md +0 -36
- package/docs/SHA512Transformation.md +0 -36
- package/docs/TargetsAnyOfInner.md +0 -38
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# TargetsAnyOfInner
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | string
|
|
10
|
-
`entity_type` | string
|
|
11
|
-
`pattern` | string
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { TargetsAnyOfInner } from '@quba/sensitive-data-protection'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"id": null,
|
|
21
|
-
"entity_type": null,
|
|
22
|
-
"pattern": null,
|
|
23
|
-
} satisfies TargetsAnyOfInner
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as TargetsAnyOfInner
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
-
|
|
38
|
-
|