vona-cli-set-api 1.1.49 → 1.1.51

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.
@@ -39,7 +39,7 @@
39
39
  "lint:fix": "oxlint --fix"
40
40
  },
41
41
  "dependencies": {
42
- "vona": "^5.1.17"
42
+ "vona": "^5.1.18"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@cabloy/lint": "^5.1.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-module-basic-siteadmin",
3
- "version": "5.1.22",
3
+ "version": "5.1.23",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "Vona Module"
@@ -4,14 +4,17 @@ import { BeanBase } from 'vona';
4
4
  import { $order } from 'vona-module-a-openapiutils';
5
5
  import { SsrMenuGroup } from 'vona-module-a-ssr';
6
6
 
7
+ import type { ISsrSiteOptionsAdmin } from './ssrSite.admin.ts';
8
+
7
9
  import { $locale } from '../.metadata/locales.ts';
8
10
 
9
- export interface ISsrMenuGroupOptionsManagement extends IDecoratorSsrMenuGroupOptions {}
11
+ export interface ISsrMenuGroupOptionsManagement extends IDecoratorSsrMenuGroupOptions<ISsrSiteOptionsAdmin> {}
10
12
 
11
13
  @SsrMenuGroup<ISsrMenuGroupOptionsManagement>({
12
14
  item: {
13
15
  title: $locale('Management'),
14
16
  order: $order(2),
17
+ icon: undefined,
15
18
  },
16
19
  site: ['basic-siteadmin:admin'],
17
20
  })
@@ -1,5 +1,5 @@
1
1
  import type { IDecoratorSsrSiteOptions } from 'vona-module-a-ssr';
2
- import type { IPagePathRecord } from 'zova-rest-cabloy-basic-admin';
2
+ import type { IIconRecord, IPagePathRecord } from 'zova-rest-cabloy-basic-admin';
3
3
 
4
4
  import { BeanSsrSiteBase, SsrSite } from 'vona-module-a-ssr';
5
5
 
@@ -13,7 +13,7 @@ export interface ISsrSiteOptionsAdminPages extends IPagePathRecord {}
13
13
 
14
14
  export interface ISsrSiteOptionsAdminPagesData {}
15
15
 
16
- export interface ISsrSiteOptionsAdmin extends IDecoratorSsrSiteOptions<ISsrSiteOptionsAdminPages, ISsrSiteOptionsAdminPagesData> {}
16
+ export interface ISsrSiteOptionsAdmin extends IDecoratorSsrSiteOptions<ISsrSiteOptionsAdminPages, ISsrSiteOptionsAdminPagesData, IIconRecord> {}
17
17
 
18
18
  @SsrSite<ISsrSiteOptionsAdmin>({
19
19
  publicPath: '',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-suite-cabloy-basic",
3
- "version": "5.1.25",
3
+ "version": "5.1.26",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "",
6
6
  "author": "",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "vona-module-basic-siteadmin": "workspace:^",
14
- "vona-suite-a-cabloy": "^5.1.9"
14
+ "vona-suite-a-cabloy": "^5.1.10"
15
15
  },
16
16
  "title": "cabloy-basic"
17
17
  }
@@ -39,7 +39,7 @@
39
39
  "lint:fix": "oxlint --fix"
40
40
  },
41
41
  "dependencies": {
42
- "vona": "^5.1.17"
42
+ "vona": "^5.1.18"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@cabloy/lint": "^5.1.7",
package/dist/index.js CHANGED
@@ -1047,6 +1047,7 @@ class CliCreateBean extends BeanCliBase {
1047
1047
  argv.ssrSiteModuleName = fs.existsSync(path.join(argv.projectPath, 'src/suite/cabloy-start')) ? 'vona-module-start-siteadmin' : 'vona-module-basic-siteadmin';
1048
1048
  argv.ssrSiteOnionName = fs.existsSync(path.join(argv.projectPath, 'src/suite/cabloy-start')) ? 'start-siteadmin:admin' : 'basic-siteadmin:admin';
1049
1049
  argv.ssrSiteGroupName = fs.existsSync(path.join(argv.projectPath, 'src/suite/cabloy-start')) ? 'start-siteadmin:management' : 'basic-siteadmin:management';
1050
+ argv.ssrSiteRestNpm = fs.existsSync(path.join(argv.projectPath, 'src/suite/cabloy-start')) ? 'zova-rest-cabloy-start-admin' : 'zova-rest-cabloy-basic-admin';
1050
1051
  // module name/info
1051
1052
  const moduleName = argv.module;
1052
1053
  argv.moduleInfo = this.helper.parseModuleInfo(moduleName);
@@ -13,6 +13,7 @@ declare module '@cabloy/cli' {
13
13
  ssrSiteModuleName: string;
14
14
  ssrSiteOnionName: string;
15
15
  ssrSiteGroupName: string;
16
+ ssrSiteRestNpm: string;
16
17
  }
17
18
  }
18
19
  export declare class CliCreateBean extends BeanCliBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
- "version": "1.1.49",
3
+ "version": "1.1.51",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "vona cli-set-api",
6
6
  "keywords": [
@@ -63,11 +63,11 @@
63
63
  "why-is-node-running": "^3.2.2",
64
64
  "yargs-parser": "^22.0.0",
65
65
  "@cabloy/cli": "^3.1.9",
66
- "@cabloy/dotenv": "^1.2.4",
67
66
  "@cabloy/extend": "^3.2.4",
68
67
  "@cabloy/utils": "^2.1.9",
69
- "vona-core": "^5.1.11",
70
68
  "babel-plugin-vona-bean-module": "^1.1.5",
69
+ "@cabloy/dotenv": "^1.2.4",
70
+ "vona-core": "^5.1.11",
71
71
  "@cabloy/module-glob": "^5.3.7"
72
72
  },
73
73
  "scripts": {