@lwshen/vault-hub-ts-fetch-client 0.20250717.140729 → 0.20250717.143220
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 +2 -2
- package/dist/models/Vault.d.ts +0 -6
- package/dist/models/Vault.js +0 -2
- package/package.json +1 -1
- package/src/models/Vault.ts +0 -8
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @lwshen/vault-hub-ts-fetch-client@0.20250717.
|
|
1
|
+
## @lwshen/vault-hub-ts-fetch-client@0.20250717.143220
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @lwshen/vault-hub-ts-fetch-client@0.20250717.
|
|
39
|
+
npm install @lwshen/vault-hub-ts-fetch-client@0.20250717.143220 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/models/Vault.d.ts
CHANGED
package/dist/models/Vault.js
CHANGED
|
@@ -39,7 +39,6 @@ function VaultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
}
|
|
40
40
|
return {
|
|
41
41
|
'uniqueId': json['unique_id'],
|
|
42
|
-
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
43
42
|
'name': json['name'],
|
|
44
43
|
'value': json['value'],
|
|
45
44
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -58,7 +57,6 @@ function VaultToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
57
|
}
|
|
59
58
|
return {
|
|
60
59
|
'unique_id': value['uniqueId'],
|
|
61
|
-
'user_id': value['userId'],
|
|
62
60
|
'name': value['name'],
|
|
63
61
|
'value': value['value'],
|
|
64
62
|
'description': value['description'],
|
package/package.json
CHANGED
package/src/models/Vault.ts
CHANGED
|
@@ -25,12 +25,6 @@ export interface Vault {
|
|
|
25
25
|
* @memberof Vault
|
|
26
26
|
*/
|
|
27
27
|
uniqueId: string;
|
|
28
|
-
/**
|
|
29
|
-
* ID of the user who owns this vault
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof Vault
|
|
32
|
-
*/
|
|
33
|
-
userId?: number;
|
|
34
28
|
/**
|
|
35
29
|
* Human-readable name
|
|
36
30
|
* @type {string}
|
|
@@ -90,7 +84,6 @@ export function VaultFromJSONTyped(json: any, ignoreDiscriminator: boolean): Vau
|
|
|
90
84
|
return {
|
|
91
85
|
|
|
92
86
|
'uniqueId': json['unique_id'],
|
|
93
|
-
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
94
87
|
'name': json['name'],
|
|
95
88
|
'value': json['value'],
|
|
96
89
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -112,7 +105,6 @@ export function VaultToJSONTyped(value?: Vault | null, ignoreDiscriminator: bool
|
|
|
112
105
|
return {
|
|
113
106
|
|
|
114
107
|
'unique_id': value['uniqueId'],
|
|
115
|
-
'user_id': value['userId'],
|
|
116
108
|
'name': value['name'],
|
|
117
109
|
'value': value['value'],
|
|
118
110
|
'description': value['description'],
|