@mesh-tech/mesh-cli 0.12.6 → 0.12.7
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/bin/mesh.js +7 -1
- package/dist/bin/mesh.js.map +2 -2
- package/dist/build-info.json +2 -2
- package/package.json +2 -2
package/dist/bin/mesh.js
CHANGED
|
@@ -3398,7 +3398,7 @@ var init_hub_roles = __esm({
|
|
|
3398
3398
|
|
|
3399
3399
|
// libs/api-registry/src/index.ts
|
|
3400
3400
|
import { z as z2 } from "zod";
|
|
3401
|
-
var rateLimitSpecSchema, rateLimitDefaultsSchema, apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema;
|
|
3401
|
+
var rateLimitSpecSchema, rateLimitDefaultsSchema, integrationHealthSchema, apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema;
|
|
3402
3402
|
var init_src2 = __esm({
|
|
3403
3403
|
"libs/api-registry/src/index.ts"() {
|
|
3404
3404
|
"use strict";
|
|
@@ -3408,6 +3408,10 @@ var init_src2 = __esm({
|
|
|
3408
3408
|
burst: z2.number().int().min(1)
|
|
3409
3409
|
});
|
|
3410
3410
|
rateLimitDefaultsSchema = z2.record(z2.string().min(1), rateLimitSpecSchema);
|
|
3411
|
+
integrationHealthSchema = z2.union([
|
|
3412
|
+
z2.object({ op: z2.string().trim().min(1) }),
|
|
3413
|
+
z2.object({ unavailable: z2.string().trim().min(1) })
|
|
3414
|
+
]);
|
|
3411
3415
|
apiSurfaceSchema = z2.object({
|
|
3412
3416
|
http: z2.object({ url: z2.string().min(1) }).optional(),
|
|
3413
3417
|
nexus: z2.object({ endpoint: z2.string().min(1), taskQueue: z2.string().min(1) }).optional()
|
|
@@ -3428,6 +3432,7 @@ var init_src2 = __esm({
|
|
|
3428
3432
|
status: z2.object({ url: z2.string().min(1) }).optional(),
|
|
3429
3433
|
appVersion: z2.string().min(1).optional(),
|
|
3430
3434
|
rateLimits: rateLimitDefaultsSchema.optional(),
|
|
3435
|
+
health: integrationHealthSchema.optional(),
|
|
3431
3436
|
producedRateClasses: z2.array(z2.string().min(1)).optional()
|
|
3432
3437
|
});
|
|
3433
3438
|
integrationStatusSchema = z2.object({
|
|
@@ -3446,6 +3451,7 @@ var init_src2 = __esm({
|
|
|
3446
3451
|
enabledOps: z2.array(z2.string()),
|
|
3447
3452
|
credentialsWired: z2.boolean(),
|
|
3448
3453
|
rateLimits: rateLimitDefaultsSchema.optional(),
|
|
3454
|
+
health: integrationHealthSchema.optional(),
|
|
3449
3455
|
startedAt: z2.string().min(1)
|
|
3450
3456
|
});
|
|
3451
3457
|
}
|