@mesh-tech/mesh-cli 0.20.3 → 0.20.4
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
CHANGED
|
@@ -6183,7 +6183,7 @@ var init_hub_roles = __esm({
|
|
|
6183
6183
|
|
|
6184
6184
|
// libs/api-registry/src/index.ts
|
|
6185
6185
|
import { z } from "zod";
|
|
6186
|
-
var rateLimitSpecSchema, rateLimitDefaultsSchema, integrationHealthSchema, apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema;
|
|
6186
|
+
var rateLimitSpecSchema, rateLimitDefaultsSchema, integrationHealthSchema, apiSurfaceKindSchema, apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema;
|
|
6187
6187
|
var init_src = __esm({
|
|
6188
6188
|
"libs/api-registry/src/index.ts"() {
|
|
6189
6189
|
"use strict";
|
|
@@ -6197,6 +6197,7 @@ var init_src = __esm({
|
|
|
6197
6197
|
z.object({ op: z.string().trim().min(1) }),
|
|
6198
6198
|
z.object({ unavailable: z.string().trim().min(1) })
|
|
6199
6199
|
]);
|
|
6200
|
+
apiSurfaceKindSchema = z.enum(["app", "vendor"]);
|
|
6200
6201
|
apiSurfaceSchema = z.object({
|
|
6201
6202
|
http: z.object({ url: z.string().min(1) }).optional(),
|
|
6202
6203
|
nexus: z.object({ endpoint: z.string().min(1), taskQueue: z.string().min(1) }).optional()
|
|
@@ -6204,6 +6205,7 @@ var init_src = __esm({
|
|
|
6204
6205
|
apiRegistryEntrySchema = z.object({
|
|
6205
6206
|
schemaVersion: z.number().int().positive().default(1),
|
|
6206
6207
|
name: z.string().min(1),
|
|
6208
|
+
kind: apiSurfaceKindSchema.optional(),
|
|
6207
6209
|
provider: z.string().optional(),
|
|
6208
6210
|
version: z.string().optional(),
|
|
6209
6211
|
title: z.string().optional(),
|