@tachybase/plugin-field-markdown-vditor 1.3.20 → 1.3.22

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.
@@ -1,8 +1,7 @@
1
1
  module.exports = {
2
- "@tachybase/client": "1.3.20",
3
- "@tachybase/database": "1.3.20",
4
- "@tachybase/server": "1.3.20",
2
+ "@tachybase/client": "1.3.22",
3
+ "@tego/server": "1.3.39",
5
4
  "react": "18.3.1",
6
- "@tachybase/schema": "1.3.20",
5
+ "@tachybase/schema": "1.3.39",
7
6
  "antd": "5.22.5"
8
7
  };
@@ -1,4 +1,4 @@
1
- import { DataTypes, Field } from '@tachybase/database';
1
+ import { DataTypes, Field } from '@tego/server';
2
2
  export declare class MarkdownVditorField extends Field {
3
3
  get dataType(): DataTypes.TextDataTypeConstructor;
4
4
  }
@@ -20,10 +20,10 @@ __export(markdown_vditor_field_exports, {
20
20
  MarkdownVditorField: () => MarkdownVditorField
21
21
  });
22
22
  module.exports = __toCommonJS(markdown_vditor_field_exports);
23
- var import_database = require("@tachybase/database");
24
- class MarkdownVditorField extends import_database.Field {
23
+ var import_server = require("@tego/server");
24
+ class MarkdownVditorField extends import_server.Field {
25
25
  get dataType() {
26
- return import_database.DataTypes.TEXT;
26
+ return import_server.DataTypes.TEXT;
27
27
  }
28
28
  }
29
29
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,4 +1,4 @@
1
- import { Plugin } from '@tachybase/server';
1
+ import { Plugin } from '@tego/server';
2
2
  export declare class PluginFieldMarkdownVditorServer extends Plugin {
3
3
  afterAdd(): Promise<void>;
4
4
  beforeLoad(): Promise<void>;
@@ -21,7 +21,7 @@ __export(plugin_exports, {
21
21
  default: () => plugin_default
22
22
  });
23
23
  module.exports = __toCommonJS(plugin_exports);
24
- var import_server = require("@tachybase/server");
24
+ var import_server = require("@tego/server");
25
25
  class PluginFieldMarkdownVditorServer extends import_server.Plugin {
26
26
  async afterAdd() {
27
27
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-field-markdown-vditor",
3
3
  "displayName": "Collection field: Markdown(Vditor)",
4
- "version": "1.3.20",
4
+ "version": "1.3.22",
5
5
  "description": "Used to store Markdown and render it using Vditor editor, supports common Markdown syntax such as list, code, quote, etc., and supports uploading images, recordings, etc.It also allows for instant rendering, where what you see is what you get.",
6
6
  "keywords": [
7
7
  "Collection fields"
@@ -10,21 +10,17 @@
10
10
  "main": "dist/server/index.js",
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
- "@ant-design/icons": "^5.5.2",
13
+ "@ant-design/icons": "^5.6.1",
14
+ "@tachybase/schema": "^1.3.39",
15
+ "@tachybase/test": "^1.3.39",
16
+ "@tego/client": "^1.3.39",
17
+ "@tego/server": "^1.3.39",
14
18
  "antd": "5.22.5",
15
19
  "koa-send": "^5.0.1",
16
20
  "vditor": "^3.10.8",
17
- "@tachybase/schema": "1.3.20"
18
- },
19
- "peerDependencies": {
20
- "@tachybase/client": "1.3.20",
21
- "@tachybase/database": "1.3.20",
22
- "@tachybase/server": "1.3.20",
23
- "@tachybase/test": "1.3.20"
21
+ "@tachybase/client": "1.3.22"
24
22
  },
25
23
  "description.zh-CN": "用于存储 Markdown,并使用 Vditor 编辑器渲染,支持常见 Markdown 语法,如列表,代码,引用等,并支持上传图片,录音等。同时可以做到即时渲染,所见即所得。",
26
24
  "displayName.zh-CN": "数据表字段:Markdown(Vditor)",
27
- "scripts": {
28
- "build": "tachybase-build --no-dts @tachybase/plugin-field-markdown-vditor"
29
- }
25
+ "scripts": {}
30
26
  }