@kikimoradev/kcloud 1.0.0 → 1.0.2
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/dist/main.js +21 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -801,6 +801,7 @@ const errorCodes = Object.keys({
|
|
|
801
801
|
"node.size_unavailable": "rule_violation",
|
|
802
802
|
"node.size_not_larger": "rule_violation",
|
|
803
803
|
"node.region_unavailable": "rule_violation",
|
|
804
|
+
"node.import_refused": "rule_violation",
|
|
804
805
|
"provider.not_found": "not_found",
|
|
805
806
|
"provider.name_taken": "conflict",
|
|
806
807
|
"provider.in_use": "conflict",
|
|
@@ -2055,6 +2056,8 @@ const auditActionSchema = z.enum([
|
|
|
2055
2056
|
"node.machine_created",
|
|
2056
2057
|
"node.machine_resized",
|
|
2057
2058
|
"node.machine_removed",
|
|
2059
|
+
"node.agent_files_received",
|
|
2060
|
+
"node.agent_files_discarded",
|
|
2058
2061
|
"provider_account.created",
|
|
2059
2062
|
"provider_account.updated",
|
|
2060
2063
|
"provider_account.token_replaced",
|
|
@@ -3141,6 +3144,24 @@ z.object({
|
|
|
3141
3144
|
}).meta({ id: "AgentMetrics" });
|
|
3142
3145
|
z.object({ range: metricsRangeSchema });
|
|
3143
3146
|
z.object({ range: agentMetricsRangeSchema });
|
|
3147
|
+
z.object({
|
|
3148
|
+
nodeId: idSchema,
|
|
3149
|
+
agentId: idSchema
|
|
3150
|
+
});
|
|
3151
|
+
z.object({ agentIds: z.array(idSchema).min(1).max(500) });
|
|
3152
|
+
z.object({ occupied: z.array(idSchema) });
|
|
3153
|
+
z.object({ offset: z.coerce.number().int().nonnegative() });
|
|
3154
|
+
z.object({ bytes: z.int().nonnegative() });
|
|
3155
|
+
z.object({
|
|
3156
|
+
bytes: z.int().nonnegative(),
|
|
3157
|
+
sha256: z.string().regex(/^[0-9a-f]{64}$/u)
|
|
3158
|
+
});
|
|
3159
|
+
z.object({
|
|
3160
|
+
bytes: z.int().nonnegative(),
|
|
3161
|
+
files: z.int().nonnegative(),
|
|
3162
|
+
memoryCheck: z.string()
|
|
3163
|
+
});
|
|
3164
|
+
z.object({ removed: z.boolean() });
|
|
3144
3165
|
const notificationKindSchema = z.enum([
|
|
3145
3166
|
"credential.verification_failed",
|
|
3146
3167
|
"credential.expiring",
|