Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

1.7 KB
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.

// Components
export {
  EditorBubble,
  EditorBubbleItem,
  EditorCommand,
  EditorCommandEmpty,
  EditorCommandItem,
  EditorCommandList,
  EditorContent,
  type EditorContentProps,
  type EditorInstance,
  EditorRoot,
  type JSONContent,
  MentionList,
  type MentionListProps,
  type MentionListRef,
  useEditor
} from "./components";

// Extensions
export {
  AIHighlight,
  addAIHighlight,
  CharacterCount,
  CodeBlockLowlight,
  Color,
  Command,
  type CreateMentionExtensionOptions,
  type CreateMentionSuggestionOptions,
  CustomKeymap,
  createMentionExtension,
  createMentionSuggestion,
  createSuggestionItems,
  GlobalDragHandle,
  HighlightExtension,
  HorizontalRule,
  handleCommandNavigation,
  ImageResizer,
  InputRule,
  MarkdownExtension,
  MENTION_CHIP_CLASS,
  MENTION_CHIP_INVALID_TONE_CLASS,
  MENTION_CHIP_TONE_CLASS,
  Mention,
  type MentionListComponent,
  type MentionSuggestion,
  MergeTokenHighlight,
  type MergeTokenHighlightOptions,
  Placeholder,
  removeAIHighlight,
  renderItems,
  StarterKit,
  type SuggestionItem,
  TaskItem,
  TaskList,
  TextStyle,
  TiptapImage,
  TiptapLink,
  TiptapUnderline,
  UpdatedImage,
  Youtube
} from "./extensions";

// Plugins
export {
  createImageUpload,
  handleImageDrop,
  handleImagePaste,
  type ImageUploadOptions,
  type UploadFn,
  UploadImagesPlugin
} from "./plugins";

// Utils
export {
  getAllContent,
  getPrevText,
  getUrlFromString,
  isValidUrl
} from "./utils";

// Store and Atoms
export {
  setCommandQuery,
  setCommandRange,
  useCommandStore
} from "./utils/store";