@nocobase/preset-nocobase 2.0.10 → 2.0.12

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.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { Migration } from '@nocobase/server';
10
+ export default class extends Migration {
11
+ on: string;
12
+ appVersion: string;
13
+ up(): Promise<void>;
14
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
15
+ var __export = (target, all) => {
16
+ for (var name in all)
17
+ __defProp(target, name, { get: all[name], enumerable: true });
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key) && key !== except)
23
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var remove_block_reference_exports = {};
29
+ __export(remove_block_reference_exports, {
30
+ default: () => remove_block_reference_default
31
+ });
32
+ module.exports = __toCommonJS(remove_block_reference_exports);
33
+ var import_server = require("@nocobase/server");
34
+ const _remove_block_reference_default = class _remove_block_reference_default extends import_server.Migration {
35
+ on = "beforeLoad";
36
+ // 'beforeLoad' or 'afterLoad'
37
+ appVersion = "<2.1.0";
38
+ async up() {
39
+ await this.pm.repository.destroy({
40
+ filter: {
41
+ $or: [{ name: "block-reference" }, { packageName: "@nocobase/plugin-block-reference" }]
42
+ }
43
+ });
44
+ }
45
+ };
46
+ __name(_remove_block_reference_default, "default");
47
+ let remove_block_reference_default = _remove_block_reference_default;
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
1
  {
2
2
  "name": "@nocobase/preset-nocobase",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./lib/server/index.js",
6
6
  "dependencies": {
7
7
  "@formily/json-schema": "2.x",
8
- "@nocobase/plugin-acl": "2.0.10",
9
- "@nocobase/plugin-action-bulk-edit": "2.0.10",
10
- "@nocobase/plugin-action-bulk-update": "2.0.10",
11
- "@nocobase/plugin-action-custom-request": "2.0.10",
12
- "@nocobase/plugin-action-duplicate": "2.0.10",
13
- "@nocobase/plugin-action-export": "2.0.10",
14
- "@nocobase/plugin-action-import": "2.0.10",
15
- "@nocobase/plugin-action-print": "2.0.10",
16
- "@nocobase/plugin-ai": "2.0.10",
17
- "@nocobase/plugin-ai-gigachat": "2.0.10",
18
- "@nocobase/plugin-api-doc": "2.0.10",
19
- "@nocobase/plugin-api-keys": "2.0.10",
20
- "@nocobase/plugin-async-task-manager": "2.0.10",
21
- "@nocobase/plugin-auth": "2.0.10",
22
- "@nocobase/plugin-auth-sms": "2.0.10",
23
- "@nocobase/plugin-backup-restore": "2.0.10",
24
- "@nocobase/plugin-block-grid-card": "2.0.10",
25
- "@nocobase/plugin-block-iframe": "2.0.10",
26
- "@nocobase/plugin-block-list": "2.0.10",
27
- "@nocobase/plugin-block-markdown": "2.0.10",
28
- "@nocobase/plugin-block-multi-step-form": "2.0.10",
29
- "@nocobase/plugin-block-template": "2.0.10",
30
- "@nocobase/plugin-block-tree": "2.0.10",
31
- "@nocobase/plugin-block-workbench": "2.0.10",
32
- "@nocobase/plugin-calendar": "2.0.10",
33
- "@nocobase/plugin-client": "2.0.10",
34
- "@nocobase/plugin-collection-fdw": "2.0.10",
35
- "@nocobase/plugin-collection-sql": "2.0.10",
36
- "@nocobase/plugin-collection-tree": "2.0.10",
37
- "@nocobase/plugin-comments": "2.0.10",
38
- "@nocobase/plugin-custom-variables": "2.0.10",
39
- "@nocobase/plugin-data-source-main": "2.0.10",
40
- "@nocobase/plugin-data-source-manager": "2.0.10",
41
- "@nocobase/plugin-data-visualization": "2.0.10",
42
- "@nocobase/plugin-data-visualization-echarts": "2.0.10",
43
- "@nocobase/plugin-departments": "2.0.10",
44
- "@nocobase/plugin-embed": "2.0.10",
45
- "@nocobase/plugin-environment-variables": "2.0.10",
46
- "@nocobase/plugin-error-handler": "2.0.10",
47
- "@nocobase/plugin-field-attachment-url": "2.0.10",
48
- "@nocobase/plugin-field-china-region": "2.0.10",
49
- "@nocobase/plugin-field-code": "2.0.10",
50
- "@nocobase/plugin-field-formula": "2.0.10",
51
- "@nocobase/plugin-field-m2m-array": "2.0.10",
52
- "@nocobase/plugin-field-markdown-vditor": "2.0.10",
53
- "@nocobase/plugin-field-sequence": "2.0.10",
54
- "@nocobase/plugin-field-sort": "2.0.10",
55
- "@nocobase/plugin-file-manager": "2.0.10",
56
- "@nocobase/plugin-file-previewer-office": "2.0.10",
57
- "@nocobase/plugin-flow-engine": "2.0.10",
58
- "@nocobase/plugin-form-drafts": "2.0.10",
59
- "@nocobase/plugin-gantt": "2.0.10",
60
- "@nocobase/plugin-graph-collection-manager": "2.0.10",
61
- "@nocobase/plugin-kanban": "2.0.10",
62
- "@nocobase/plugin-license": "2.0.10",
63
- "@nocobase/plugin-locale-tester": "2.0.10",
64
- "@nocobase/plugin-localization": "2.0.10",
65
- "@nocobase/plugin-logger": "2.0.10",
66
- "@nocobase/plugin-map": "2.0.10",
67
- "@nocobase/plugin-mobile": "2.0.10",
68
- "@nocobase/plugin-mock-collections": "2.0.10",
69
- "@nocobase/plugin-multi-app-manager": "2.0.10",
70
- "@nocobase/plugin-multi-keyword-filter": "2.0.10",
71
- "@nocobase/plugin-notification-email": "2.0.10",
72
- "@nocobase/plugin-notification-in-app-message": "2.0.10",
73
- "@nocobase/plugin-notification-manager": "2.0.10",
74
- "@nocobase/plugin-public-forms": "2.0.10",
75
- "@nocobase/plugin-system-settings": "2.0.10",
76
- "@nocobase/plugin-text-copy": "2.0.10",
77
- "@nocobase/plugin-theme-editor": "2.0.10",
78
- "@nocobase/plugin-ui-schema-storage": "2.0.10",
79
- "@nocobase/plugin-ui-templates": "2.0.10",
80
- "@nocobase/plugin-user-data-sync": "2.0.10",
81
- "@nocobase/plugin-users": "2.0.10",
82
- "@nocobase/plugin-verification": "2.0.10",
83
- "@nocobase/plugin-workflow": "2.0.10",
84
- "@nocobase/plugin-workflow-action-trigger": "2.0.10",
85
- "@nocobase/plugin-workflow-aggregate": "2.0.10",
86
- "@nocobase/plugin-workflow-cc": "2.0.10",
87
- "@nocobase/plugin-workflow-custom-action-trigger": "2.0.10",
88
- "@nocobase/plugin-workflow-date-calculation": "2.0.10",
89
- "@nocobase/plugin-workflow-delay": "2.0.10",
90
- "@nocobase/plugin-workflow-dynamic-calculation": "2.0.10",
91
- "@nocobase/plugin-workflow-javascript": "2.0.10",
92
- "@nocobase/plugin-workflow-json-query": "2.0.10",
93
- "@nocobase/plugin-workflow-json-variable-mapping": "2.0.10",
94
- "@nocobase/plugin-workflow-loop": "2.0.10",
95
- "@nocobase/plugin-workflow-mailer": "2.0.10",
96
- "@nocobase/plugin-workflow-manual": "2.0.10",
97
- "@nocobase/plugin-workflow-notification": "2.0.10",
98
- "@nocobase/plugin-workflow-parallel": "2.0.10",
99
- "@nocobase/plugin-workflow-request": "2.0.10",
100
- "@nocobase/plugin-workflow-request-interceptor": "2.0.10",
101
- "@nocobase/plugin-workflow-response-message": "2.0.10",
102
- "@nocobase/plugin-workflow-sql": "2.0.10",
103
- "@nocobase/plugin-workflow-variable": "2.0.10",
104
- "@nocobase/server": "2.0.10",
8
+ "@nocobase/plugin-acl": "2.0.12",
9
+ "@nocobase/plugin-action-bulk-edit": "2.0.12",
10
+ "@nocobase/plugin-action-bulk-update": "2.0.12",
11
+ "@nocobase/plugin-action-custom-request": "2.0.12",
12
+ "@nocobase/plugin-action-duplicate": "2.0.12",
13
+ "@nocobase/plugin-action-export": "2.0.12",
14
+ "@nocobase/plugin-action-import": "2.0.12",
15
+ "@nocobase/plugin-action-print": "2.0.12",
16
+ "@nocobase/plugin-ai": "2.0.12",
17
+ "@nocobase/plugin-ai-gigachat": "2.0.12",
18
+ "@nocobase/plugin-api-doc": "2.0.12",
19
+ "@nocobase/plugin-api-keys": "2.0.12",
20
+ "@nocobase/plugin-async-task-manager": "2.0.12",
21
+ "@nocobase/plugin-auth": "2.0.12",
22
+ "@nocobase/plugin-auth-sms": "2.0.12",
23
+ "@nocobase/plugin-backup-restore": "2.0.12",
24
+ "@nocobase/plugin-block-grid-card": "2.0.12",
25
+ "@nocobase/plugin-block-iframe": "2.0.12",
26
+ "@nocobase/plugin-block-list": "2.0.12",
27
+ "@nocobase/plugin-block-markdown": "2.0.12",
28
+ "@nocobase/plugin-block-multi-step-form": "2.0.12",
29
+ "@nocobase/plugin-block-template": "2.0.12",
30
+ "@nocobase/plugin-block-tree": "2.0.12",
31
+ "@nocobase/plugin-block-workbench": "2.0.12",
32
+ "@nocobase/plugin-calendar": "2.0.12",
33
+ "@nocobase/plugin-client": "2.0.12",
34
+ "@nocobase/plugin-collection-fdw": "2.0.12",
35
+ "@nocobase/plugin-collection-sql": "2.0.12",
36
+ "@nocobase/plugin-collection-tree": "2.0.12",
37
+ "@nocobase/plugin-comments": "2.0.12",
38
+ "@nocobase/plugin-custom-variables": "2.0.12",
39
+ "@nocobase/plugin-data-source-main": "2.0.12",
40
+ "@nocobase/plugin-data-source-manager": "2.0.12",
41
+ "@nocobase/plugin-data-visualization": "2.0.12",
42
+ "@nocobase/plugin-data-visualization-echarts": "2.0.12",
43
+ "@nocobase/plugin-departments": "2.0.12",
44
+ "@nocobase/plugin-embed": "2.0.12",
45
+ "@nocobase/plugin-environment-variables": "2.0.12",
46
+ "@nocobase/plugin-error-handler": "2.0.12",
47
+ "@nocobase/plugin-field-attachment-url": "2.0.12",
48
+ "@nocobase/plugin-field-china-region": "2.0.12",
49
+ "@nocobase/plugin-field-code": "2.0.12",
50
+ "@nocobase/plugin-field-formula": "2.0.12",
51
+ "@nocobase/plugin-field-m2m-array": "2.0.12",
52
+ "@nocobase/plugin-field-markdown-vditor": "2.0.12",
53
+ "@nocobase/plugin-field-sequence": "2.0.12",
54
+ "@nocobase/plugin-field-sort": "2.0.12",
55
+ "@nocobase/plugin-file-manager": "2.0.12",
56
+ "@nocobase/plugin-file-previewer-office": "2.0.12",
57
+ "@nocobase/plugin-flow-engine": "2.0.12",
58
+ "@nocobase/plugin-form-drafts": "2.0.12",
59
+ "@nocobase/plugin-gantt": "2.0.12",
60
+ "@nocobase/plugin-graph-collection-manager": "2.0.12",
61
+ "@nocobase/plugin-kanban": "2.0.12",
62
+ "@nocobase/plugin-license": "2.0.12",
63
+ "@nocobase/plugin-locale-tester": "2.0.12",
64
+ "@nocobase/plugin-localization": "2.0.12",
65
+ "@nocobase/plugin-logger": "2.0.12",
66
+ "@nocobase/plugin-map": "2.0.12",
67
+ "@nocobase/plugin-mobile": "2.0.12",
68
+ "@nocobase/plugin-mock-collections": "2.0.12",
69
+ "@nocobase/plugin-multi-app-manager": "2.0.12",
70
+ "@nocobase/plugin-multi-keyword-filter": "2.0.12",
71
+ "@nocobase/plugin-notification-email": "2.0.12",
72
+ "@nocobase/plugin-notification-in-app-message": "2.0.12",
73
+ "@nocobase/plugin-notification-manager": "2.0.12",
74
+ "@nocobase/plugin-public-forms": "2.0.12",
75
+ "@nocobase/plugin-system-settings": "2.0.12",
76
+ "@nocobase/plugin-text-copy": "2.0.12",
77
+ "@nocobase/plugin-theme-editor": "2.0.12",
78
+ "@nocobase/plugin-ui-schema-storage": "2.0.12",
79
+ "@nocobase/plugin-ui-templates": "2.0.12",
80
+ "@nocobase/plugin-user-data-sync": "2.0.12",
81
+ "@nocobase/plugin-users": "2.0.12",
82
+ "@nocobase/plugin-verification": "2.0.12",
83
+ "@nocobase/plugin-workflow": "2.0.12",
84
+ "@nocobase/plugin-workflow-action-trigger": "2.0.12",
85
+ "@nocobase/plugin-workflow-aggregate": "2.0.12",
86
+ "@nocobase/plugin-workflow-cc": "2.0.12",
87
+ "@nocobase/plugin-workflow-custom-action-trigger": "2.0.12",
88
+ "@nocobase/plugin-workflow-date-calculation": "2.0.12",
89
+ "@nocobase/plugin-workflow-delay": "2.0.12",
90
+ "@nocobase/plugin-workflow-dynamic-calculation": "2.0.12",
91
+ "@nocobase/plugin-workflow-javascript": "2.0.12",
92
+ "@nocobase/plugin-workflow-json-query": "2.0.12",
93
+ "@nocobase/plugin-workflow-json-variable-mapping": "2.0.12",
94
+ "@nocobase/plugin-workflow-loop": "2.0.12",
95
+ "@nocobase/plugin-workflow-mailer": "2.0.12",
96
+ "@nocobase/plugin-workflow-manual": "2.0.12",
97
+ "@nocobase/plugin-workflow-notification": "2.0.12",
98
+ "@nocobase/plugin-workflow-parallel": "2.0.12",
99
+ "@nocobase/plugin-workflow-request": "2.0.12",
100
+ "@nocobase/plugin-workflow-request-interceptor": "2.0.12",
101
+ "@nocobase/plugin-workflow-response-message": "2.0.12",
102
+ "@nocobase/plugin-workflow-sql": "2.0.12",
103
+ "@nocobase/plugin-workflow-variable": "2.0.12",
104
+ "@nocobase/server": "2.0.12",
105
105
  "cronstrue": "^2.11.0",
106
106
  "fs-extra": "^11.1.1"
107
107
  },
@@ -185,5 +185,5 @@
185
185
  "url": "git+https://github.com/nocobase/nocobase.git",
186
186
  "directory": "packages/presets/nocobase"
187
187
  },
188
- "gitHead": "d7e58c47134e1921b2d65f2135e7c2f1f00c21bd"
188
+ "gitHead": "a96acd22a9b0744b567617e3a1f1d42cb7f72368"
189
189
  }