We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-api-booster/mcp-rosetta-icp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
direction.ts•1.56 kB
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod";
import { ClosedEnum } from "../types/enums.js";
/**
* Used by RelatedTransaction to indicate the direction of the relation (i.e. cross-shard/cross-network sends may reference `backward` to an earlier transaction and async execution may reference `forward`). Can be used to indicate if a transaction relation is from child to parent or the reverse.
*/
export const Direction = {
Forward: "forward",
Backward: "backward",
} as const;
/**
* Used by RelatedTransaction to indicate the direction of the relation (i.e. cross-shard/cross-network sends may reference `backward` to an earlier transaction and async execution may reference `forward`). Can be used to indicate if a transaction relation is from child to parent or the reverse.
*/
export type Direction = ClosedEnum<typeof Direction>;
/** @internal */
export const Direction$inboundSchema: z.ZodNativeEnum<typeof Direction> = z
.nativeEnum(Direction);
/** @internal */
export const Direction$outboundSchema: z.ZodNativeEnum<typeof Direction> =
Direction$inboundSchema;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace Direction$ {
/** @deprecated use `Direction$inboundSchema` instead. */
export const inboundSchema = Direction$inboundSchema;
/** @deprecated use `Direction$outboundSchema` instead. */
export const outboundSchema = Direction$outboundSchema;
}