@opentiny/tiny-robot 0.5.2-alpha.0 → 0.5.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -5490,15 +5490,23 @@ export { }
5490
5490
  */
5491
5491
  declare module '@tiptap/core' {
5492
5492
  interface Commands<ReturnType> {
5493
- mention: {
5493
+ template: {
5494
5494
  /**
5495
- * 插入 mention 节点
5495
+ * 设置模板数据(批量)
5496
5496
  */
5497
- insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
5497
+ setTemplateData: (items: TemplateItem[]) => ReturnType;
5498
5498
  /**
5499
- * 删除 mention 节点
5499
+ * 插入模板块
5500
5500
  */
5501
- deleteMention: (id: string) => ReturnType;
5501
+ insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
5502
+ /**
5503
+ * 聚焦到第一个模板块
5504
+ */
5505
+ focusFirstTemplate: () => ReturnType;
5506
+ /**
5507
+ * 插入选择器
5508
+ */
5509
+ insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
5502
5510
  };
5503
5511
  }
5504
5512
  }
@@ -5511,23 +5519,15 @@ declare module '@tiptap/core' {
5511
5519
  */
5512
5520
  declare module '@tiptap/core' {
5513
5521
  interface Commands<ReturnType> {
5514
- template: {
5515
- /**
5516
- * 设置模板数据(批量)
5517
- */
5518
- setTemplateData: (items: TemplateItem[]) => ReturnType;
5519
- /**
5520
- * 插入模板块
5521
- */
5522
- insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
5522
+ mention: {
5523
5523
  /**
5524
- * 聚焦到第一个模板块
5524
+ * 插入 mention 节点
5525
5525
  */
5526
- focusFirstTemplate: () => ReturnType;
5526
+ insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
5527
5527
  /**
5528
- * 插入选择器
5528
+ * 删除 mention 节点
5529
5529
  */
5530
- insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
5530
+ deleteMention: (id: string) => ReturnType;
5531
5531
  };
5532
5532
  }
5533
5533
  }