Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

1.5 KB
Raw Blame
export { CustomWidgetDomainError } from "./errors";
export { getCustomWidgetAuthConfigurationError } from "./auth";
export type { CustomWidgetDomainErrorCode } from "./errors";
export {
  assertJsonBudget,
  assertSafeStaticHeaders,
  executeCustomWidgetRequest,
  invalidateCustomWidgetResponseCache,
  MAX_REQUEST_DURATION_MS,
  MAX_REQUEST_BODY_BYTES,
  MAX_RESPONSE_BODY_BYTES,
  MAX_RESPONSE_JSON_DEPTH,
  MAX_RESPONSE_JSON_NODES,
  resolveSameOriginTarget,
  validateCustomWidgetUrl,
} from "./request-executor";
export type { CustomWidgetAuthConfig, CustomWidgetHttpRequest, CustomWidgetHttpResponse } from "./request-executor";
export {
  CUSTOM_WIDGET_DEFINITION_CONCURRENCY_LIMIT,
  CUSTOM_WIDGET_REQUEST_CONCURRENCY_TTL_MS,
  CUSTOM_WIDGET_USER_ITEM_CONCURRENCY_LIMIT,
  CustomWidgetRequestLimiter,
} from "./request-limits";
export type { RequestLimitInput, RequestLimiterOptions, RequestLimitStore } from "./request-limits";
export { CustomWidgetPreviewSessionService } from "./preview-sessions";
export type {
  CreatePreviewSessionInput,
  CustomWidgetPreviewJournalEntry,
  CustomWidgetPreviewSession,
  PreviewSessionServiceOptions,
  PreviewSessionStore,
} from "./preview-sessions";
export {
  hashRuntimeParams,
  renderBoundValue,
  renderRequestBody,
  renderRequestTarget,
  resolveCustomWidgetRequestValues,
} from "./request-manifest";
export type { CustomJsxRuntimeParams } from "./request-manifest";

export { redactResponseSecrets } from "./response";

export { assertCustomWidgetPathScope } from "./network-policy";