pacc 3.9.1 → 3.11.0
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 +20 -0
- package/package.json +1 -1
- package/src/common-attributes.mjs +75 -0
- package/types/common-attributes.d.mts +32 -0
package/README.md
CHANGED
|
@@ -49,6 +49,9 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
49
49
|
* [empty\_attribute](#empty_attribute)
|
|
50
50
|
* [secret\_attribute](#secret_attribute)
|
|
51
51
|
* [token\_attribute](#token_attribute)
|
|
52
|
+
* [certificate\_attribute](#certificate_attribute)
|
|
53
|
+
* [private\_key\_attribute](#private_key_attribute)
|
|
54
|
+
* [public\_key\_attribute](#public_key_attribute)
|
|
52
55
|
* [count\_attribute](#count_attribute)
|
|
53
56
|
* [size\_attribute](#size_attribute)
|
|
54
57
|
* [url\_attribute](#url_attribute)
|
|
@@ -56,6 +59,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
56
59
|
* [body\_attribute](#body_attribute)
|
|
57
60
|
* [title\_attribute](#title_attribute)
|
|
58
61
|
* [priority\_attribute](#priority_attribute)
|
|
62
|
+
* [timeout\_attribute](#timeout_attribute)
|
|
59
63
|
* [active\_attribute](#active_attribute)
|
|
60
64
|
* [language\_attribute](#language_attribute)
|
|
61
65
|
* [filter](#filter)
|
|
@@ -212,6 +216,18 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
212
216
|
|
|
213
217
|
Type: [AttributeDefinition](#attributedefinition)
|
|
214
218
|
|
|
219
|
+
## certificate\_attribute
|
|
220
|
+
|
|
221
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
222
|
+
|
|
223
|
+
## private\_key\_attribute
|
|
224
|
+
|
|
225
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
226
|
+
|
|
227
|
+
## public\_key\_attribute
|
|
228
|
+
|
|
229
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
230
|
+
|
|
215
231
|
## count\_attribute
|
|
216
232
|
|
|
217
233
|
Type: [AttributeDefinition](#attributedefinition)
|
|
@@ -249,6 +265,10 @@ this defines the order.
|
|
|
249
265
|
|
|
250
266
|
Type: [AttributeDefinition](#attributedefinition)
|
|
251
267
|
|
|
268
|
+
## timeout\_attribute
|
|
269
|
+
|
|
270
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
271
|
+
|
|
252
272
|
## active\_attribute
|
|
253
273
|
|
|
254
274
|
Type: [AttributeDefinition](#attributedefinition)
|
package/package.json
CHANGED
|
@@ -100,6 +100,24 @@ export const secret_attribute = {
|
|
|
100
100
|
writable: true
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* @type {AttributeDefinition}
|
|
105
|
+
*/
|
|
106
|
+
export const username_attribute = {
|
|
107
|
+
...default_attribute,
|
|
108
|
+
private: true,
|
|
109
|
+
writable: true
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @type {AttributeDefinition}
|
|
114
|
+
*/
|
|
115
|
+
export const password_attribute = {
|
|
116
|
+
...default_attribute,
|
|
117
|
+
private: true,
|
|
118
|
+
writable: true
|
|
119
|
+
};
|
|
120
|
+
|
|
103
121
|
/**
|
|
104
122
|
* @type {AttributeDefinition}
|
|
105
123
|
*/
|
|
@@ -109,6 +127,35 @@ export const token_attribute = {
|
|
|
109
127
|
writable: true
|
|
110
128
|
};
|
|
111
129
|
|
|
130
|
+
/**
|
|
131
|
+
* @type {AttributeDefinition}
|
|
132
|
+
*/
|
|
133
|
+
export const certificate_attribute = {
|
|
134
|
+
...default_attribute,
|
|
135
|
+
private: true,
|
|
136
|
+
writable: true
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @type {AttributeDefinition}
|
|
141
|
+
*/
|
|
142
|
+
export const private_key_attribute = {
|
|
143
|
+
...default_attribute,
|
|
144
|
+
description: "private key",
|
|
145
|
+
private: true,
|
|
146
|
+
writable: true
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @type {AttributeDefinition}
|
|
151
|
+
*/
|
|
152
|
+
export const public_key_attribute = {
|
|
153
|
+
...default_attribute,
|
|
154
|
+
description: "public key",
|
|
155
|
+
private: true,
|
|
156
|
+
writable: true
|
|
157
|
+
};
|
|
158
|
+
|
|
112
159
|
/**
|
|
113
160
|
* @type {AttributeDefinition}
|
|
114
161
|
*/
|
|
@@ -128,6 +175,23 @@ export const url_attribute = {
|
|
|
128
175
|
description: "home of the object"
|
|
129
176
|
};
|
|
130
177
|
|
|
178
|
+
/**
|
|
179
|
+
* @type {AttributeDefinition}
|
|
180
|
+
*/
|
|
181
|
+
export const hostname_attribute = {
|
|
182
|
+
...default_attribute,
|
|
183
|
+
description: "hostname"
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @type {AttributeDefinition}
|
|
188
|
+
*/
|
|
189
|
+
export const port_attribute = {
|
|
190
|
+
...default_attribute,
|
|
191
|
+
type: "integer",
|
|
192
|
+
description: "port"
|
|
193
|
+
};
|
|
194
|
+
|
|
131
195
|
/**
|
|
132
196
|
* Unique id within the provider.
|
|
133
197
|
* @type {AttributeDefinition}
|
|
@@ -169,6 +233,17 @@ export const priority_attribute = {
|
|
|
169
233
|
writable: true
|
|
170
234
|
};
|
|
171
235
|
|
|
236
|
+
/**
|
|
237
|
+
* @type {AttributeDefinition}
|
|
238
|
+
*/
|
|
239
|
+
export const timeout_attribute = {
|
|
240
|
+
...default_attribute,
|
|
241
|
+
description: "timeout",
|
|
242
|
+
type: "number",
|
|
243
|
+
writable: true
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
172
247
|
/**
|
|
173
248
|
* @type {AttributeDefinition}
|
|
174
249
|
*/
|
|
@@ -56,10 +56,30 @@ export const empty_attribute: AttributeDefinition;
|
|
|
56
56
|
* @type {AttributeDefinition}
|
|
57
57
|
*/
|
|
58
58
|
export const secret_attribute: AttributeDefinition;
|
|
59
|
+
/**
|
|
60
|
+
* @type {AttributeDefinition}
|
|
61
|
+
*/
|
|
62
|
+
export const username_attribute: AttributeDefinition;
|
|
63
|
+
/**
|
|
64
|
+
* @type {AttributeDefinition}
|
|
65
|
+
*/
|
|
66
|
+
export const password_attribute: AttributeDefinition;
|
|
59
67
|
/**
|
|
60
68
|
* @type {AttributeDefinition}
|
|
61
69
|
*/
|
|
62
70
|
export const token_attribute: AttributeDefinition;
|
|
71
|
+
/**
|
|
72
|
+
* @type {AttributeDefinition}
|
|
73
|
+
*/
|
|
74
|
+
export const certificate_attribute: AttributeDefinition;
|
|
75
|
+
/**
|
|
76
|
+
* @type {AttributeDefinition}
|
|
77
|
+
*/
|
|
78
|
+
export const private_key_attribute: AttributeDefinition;
|
|
79
|
+
/**
|
|
80
|
+
* @type {AttributeDefinition}
|
|
81
|
+
*/
|
|
82
|
+
export const public_key_attribute: AttributeDefinition;
|
|
63
83
|
/**
|
|
64
84
|
* @type {AttributeDefinition}
|
|
65
85
|
*/
|
|
@@ -72,6 +92,14 @@ export const size_attribute: AttributeDefinition;
|
|
|
72
92
|
* @type {AttributeDefinition}
|
|
73
93
|
*/
|
|
74
94
|
export const url_attribute: AttributeDefinition;
|
|
95
|
+
/**
|
|
96
|
+
* @type {AttributeDefinition}
|
|
97
|
+
*/
|
|
98
|
+
export const hostname_attribute: AttributeDefinition;
|
|
99
|
+
/**
|
|
100
|
+
* @type {AttributeDefinition}
|
|
101
|
+
*/
|
|
102
|
+
export const port_attribute: AttributeDefinition;
|
|
75
103
|
/**
|
|
76
104
|
* Unique id within the provider.
|
|
77
105
|
* @type {AttributeDefinition}
|
|
@@ -93,6 +121,10 @@ export const title_attribute: AttributeDefinition;
|
|
|
93
121
|
* @type {AttributeDefinition}
|
|
94
122
|
*/
|
|
95
123
|
export const priority_attribute: AttributeDefinition;
|
|
124
|
+
/**
|
|
125
|
+
* @type {AttributeDefinition}
|
|
126
|
+
*/
|
|
127
|
+
export const timeout_attribute: AttributeDefinition;
|
|
96
128
|
/**
|
|
97
129
|
* @type {AttributeDefinition}
|
|
98
130
|
*/
|