@tachybase/module-hera 1.9.48 → 2.0.6

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,19 +1,19 @@
1
1
  module.exports = {
2
- "@tachybase/client": "0.23.48",
3
- "@tachybase/components": "0.23.48",
4
- "@tachybase/server": "0.23.48",
2
+ "@tachybase/client": "1.0.6",
3
+ "@tachybase/components": "1.0.6",
4
+ "@tachybase/server": "1.0.6",
5
5
  "react": "18.3.1",
6
- "@tachybase/schema": "0.23.48",
6
+ "@tachybase/schema": "1.0.6",
7
7
  "@ant-design/icons": "5.3.7",
8
8
  "antd": "5.22.5",
9
9
  "lodash": "4.17.21",
10
- "@tachybase/utils": "0.23.48",
10
+ "@tachybase/utils": "1.0.6",
11
11
  "ahooks": "3.8.4",
12
12
  "react-router-dom": "6.28.1",
13
- "@tachybase/actions": "0.23.48",
13
+ "@tachybase/actions": "1.0.6",
14
14
  "axios": "1.7.7",
15
- "@tachybase/database": "0.23.48",
16
- "@tachybase/evaluators": "0.23.48",
15
+ "@tachybase/database": "1.0.6",
16
+ "@tachybase/evaluators": "1.0.6",
17
17
  "react-dom": "18.3.1",
18
18
  "dayjs": "1.11.13"
19
19
  };
@@ -1 +1 @@
1
- {"name":"fs-extra","version":"11.2.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=14.14"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^10.1.0","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^17.0.0"},"main":"./lib/index.js","exports":{".":"./lib/index.js","./esm":"./lib/esm.mjs"},"files":["lib/","!lib/**/__tests__/"],"scripts":{"lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit && npm run unit-esm","unit":"nyc node test.js","unit-esm":"node test.mjs"},"sideEffects":false,"_lastModified":"2025-02-21T11:06:39.184Z"}
1
+ {"name":"fs-extra","version":"11.2.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=14.14"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^10.1.0","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^17.0.0"},"main":"./lib/index.js","exports":{".":"./lib/index.js","./esm":"./lib/esm.mjs"},"files":["lib/","!lib/**/__tests__/"],"scripts":{"lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit && npm run unit-esm","unit":"nyc node test.js","unit-esm":"node test.mjs"},"sideEffects":false,"_lastModified":"2025-04-02T03:01:49.925Z"}
@@ -97,6 +97,14 @@ class PluginCoreServer extends (_a = import_server.Plugin) {
97
97
  });
98
98
  }
99
99
  async load() {
100
+ this.app.acl.registerSnippet({
101
+ name: "pm.system-services.hera.linkmanage",
102
+ actions: ["link-manage:*"]
103
+ });
104
+ this.app.acl.registerSnippet({
105
+ name: "pm.system-services.hera.token",
106
+ actions: ["token-configuration:*"]
107
+ });
100
108
  }
101
109
  }
102
110
  _init = __decoratorStart(_a);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/module-hera",
3
3
  "displayName": "Hera platform - Deprecated",
4
- "version": "1.9.48",
4
+ "version": "2.0.6",
5
5
  "description": "Hera platform - Deprecated",
6
6
  "keywords": [
7
7
  "System management"
@@ -40,21 +40,21 @@
40
40
  "throttle-debounce": "^5.0.2",
41
41
  "vitest": "^3.0.5",
42
42
  "ws": "^8.18.0",
43
- "@tachybase/components": "0.23.48",
44
- "@tachybase/schema": "0.23.48"
43
+ "@tachybase/components": "1.0.6",
44
+ "@tachybase/schema": "1.0.6"
45
45
  },
46
46
  "peerDependencies": {
47
- "@tachybase/actions": "0.23.48",
48
- "@tachybase/client": "0.23.48",
49
- "@tachybase/database": "0.23.48",
50
- "@tachybase/evaluators": "0.23.48",
51
- "@tachybase/data-source": "0.23.48",
52
- "@tachybase/module-acl": "0.23.48",
53
- "@tachybase/module-workflow": "0.23.48",
54
- "@tachybase/test": "0.23.48",
55
- "@tachybase/schema": "0.23.48",
56
- "@tachybase/server": "0.23.48",
57
- "@tachybase/utils": "0.23.48"
47
+ "@tachybase/actions": "1.0.6",
48
+ "@tachybase/client": "1.0.6",
49
+ "@tachybase/database": "1.0.6",
50
+ "@tachybase/data-source": "1.0.6",
51
+ "@tachybase/evaluators": "1.0.6",
52
+ "@tachybase/module-acl": "1.0.6",
53
+ "@tachybase/schema": "1.0.6",
54
+ "@tachybase/module-workflow": "1.0.6",
55
+ "@tachybase/server": "1.0.6",
56
+ "@tachybase/utils": "1.0.6",
57
+ "@tachybase/test": "1.0.6"
58
58
  },
59
59
  "description.zh-CN": "赫拉平台(已废弃)",
60
60
  "displayName.zh-CN": "赫拉平台",
@@ -1,3 +0,0 @@
1
- export declare const GroupBlock: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export declare const fieldTransformers: (item: any, data: any, api: any) => string;
3
- export declare const InternalGroupBlock: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- export declare const GroupBlockConfigure: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
3
- export declare const transformers: {
4
- option: ({
5
- label: string;
6
- value: string;
7
- component: (val: number, locale?: string, isNeedNegative?: boolean) => string;
8
- childrens?: undefined;
9
- } | {
10
- label: string;
11
- value: string;
12
- childrens: {
13
- label: string;
14
- value: string;
15
- component: (val: number) => string;
16
- }[];
17
- component?: undefined;
18
- })[];
19
- };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { SchemaSettings, SchemaToolbarProps } from '@tachybase/client';
3
- export declare const GroupBlockContext: React.Context<any>;
4
- export declare const GroupBlockProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
5
- export declare const GroupBlockInitializer: () => import("react/jsx-runtime").JSX.Element;
6
- export declare const groupBlockSettings: SchemaSettings<{}>;
7
- export declare const GroupBlockToolbar: (props: React.JSX.IntrinsicAttributes & SchemaToolbarProps & {
8
- children?: React.ReactNode;
9
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { Plugin } from '@tachybase/client';
2
- export declare class PluginGroupBlock extends Plugin {
3
- load(): Promise<void>;
4
- }