Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PaaSOptions

SDK构造函数参数

Hierarchy

  • PaaSOptions

Index

Properties

aiCodeMenu?: ContextMenu
contextMenu?: ContextMenu
customFileTreeAction?: boolean

是否自定义文件树操作

customImagePreview?: boolean

是否自定义MD 图片预览事件

defaultLspLang?: string[]
defaultOpenFiles?: string[]

默认打开文件路径

editorBlankContent?: string

编辑器空白页面的配置

editorPlugins?: any[]

CodeMirror Plugin

enableSentry?: boolean

是否开启sentry

focusEditorPosition?: InsertCodeLineCode
globalConfig?: GlobalConfig

支持初始化配置全局设置

hideEditorContextMenu?: boolean
hideEditorToolTip?: boolean
i18nLanguage?: I18nLanguageType

SDK国际化语言,默认ZH

isInsertCrdt?: boolean

是否插入CRDT数据 - 1.是否开启回放功能

isLegacyMarkdownMath?: boolean

是否兼容遗留的markdown数学公式解析 - false不兼容(标准语法) true(标准语法 + $ $)

isOpenDebugMode?: boolean

是否开启debug模式

isSplitCode?: boolean
noFrameSpan?: number

回放指定为空白帧的时间间隔,单位 为 s(秒), 1 为1s 1000

openLspDiagnostic?: boolean

是否打开LSP的诊断

paasDomain?: string

可选, 默认连接到 www.1024paas.com

persistenceWebData?: boolean

是否持久化保存RRWEB 数据

reconnectMaxTimes?: number

websocket最大尝试重连次数:5

recordBrowser?: boolean

是否记录Browser 回放数据

replayFileChangeLogs?: IReplayFileChangeLogs

文件变更日志

reportHighlightData?: IReportHighlightData

文件高亮数据配置参数,用于评卷报告

showModifyIcon?: boolean

是否显示文件修改的Icon

showRRwebController?: boolean

用于控制是否显示RRWEB的播放控制器,用于调试

socket?: any

Unit Test Mock Socket

specialFileHighlight?: ISpecialFileHighlight[]

对指定文件采用指定语法高亮

specialOpenFile?: string

业务指定默认打开文件路径

speedOption?: number[]

回放时的播放速度参数

tenantId: string

租户id

themeType?: ThemeType

SDK主题,默认dark

ticket: string

triggerEventForMaxTimespan?: number

回放模式:两针间隔最大时长触发事件参数

userInfo: UserInfo

用户信息

xtermStyle?: XtermStyleType

xterm样式配置

Methods

  • customLog(level: string, ...args: any[]): void
  • 支持日志上报业务方

    Parameters

    • level: string
    • Rest ...args: any[]

    Returns void

Generated using TypeDoc