import { z } from 'zod/v4';

// src/server/schemas/system.ts
var mastraPackageSchema = z.object({
  name: z.string(),
  version: z.string()
});
var observabilityRuntimeStrategySchema = z.enum([
  "realtime",
  "batch-with-updates",
  "insert-only",
  "event-sourced"
]);
var systemPackagesResponseSchema = z.object({
  packages: z.array(mastraPackageSchema),
  isDev: z.boolean(),
  cmsEnabled: z.boolean(),
  observabilityEnabled: z.boolean(),
  storageType: z.string().optional(),
  observabilityStorageType: z.string().optional(),
  observabilityRuntimeStrategy: observabilityRuntimeStrategySchema.optional()
});
var jsonSchemaRecordSchema = z.record(z.string(), z.unknown());
var apiSchemaResponseShapeSchema = z.object({
  kind: z.enum(["array", "record", "object-property", "single", "unknown"]),
  listProperty: z.string().optional(),
  paginationProperty: z.string().optional()
});
var apiSchemaManifestRouteSchema = z.object({
  method: z.string(),
  path: z.string(),
  responseType: z.string(),
  pathParamSchema: jsonSchemaRecordSchema.optional(),
  queryParamSchema: jsonSchemaRecordSchema.optional(),
  bodySchema: jsonSchemaRecordSchema.optional(),
  responseSchema: jsonSchemaRecordSchema.optional(),
  responseShape: apiSchemaResponseShapeSchema
});
var apiSchemaManifestResponseSchema = z.object({
  version: z.literal(1),
  routes: z.array(apiSchemaManifestRouteSchema)
});

export { apiSchemaManifestResponseSchema, apiSchemaManifestRouteSchema, apiSchemaResponseShapeSchema, mastraPackageSchema, observabilityRuntimeStrategySchema, systemPackagesResponseSchema };
//# sourceMappingURL=chunk-4PB6LUYQ.js.map
//# sourceMappingURL=chunk-4PB6LUYQ.js.map