vona-cli-set-api 1.1.160 → 1.1.162

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.
@@ -19,7 +19,7 @@ export interface IDtoOptions<%=cli.helper.firstCharToUpperCase(argv.detailDtoRes
19
19
  actions: [
20
20
  ZovaRender.detailsActionBulk('<%=argv.detailsModuleName%>:actionCreate', {
21
21
  dialogOptions: { title: $locale('Add<%=argv.detailDialogTitleCapitalize%>') },
22
- permission: { formScene: ['create', 'edit'] },
22
+ permission: { mode: 'formScene', formScene: ['create', 'edit'] },
23
23
  }),
24
24
  ],
25
25
  }),
@@ -48,10 +48,10 @@ export class Dto<%=cli.helper.firstCharToUpperCase(argv.detailDtoResItemName)%>
48
48
  actions: [
49
49
  ZovaRender.detailsActionRow('<%=argv.detailsModuleName%>:actionUpdate', {
50
50
  dialogOptions: { title: $locale('Edit<%=argv.detailDialogTitleCapitalize%>') },
51
- permission: { formScene: ['create', 'edit'] },
51
+ permission: { mode: 'formScene', formScene: ['create', 'edit'] },
52
52
  }),
53
53
  ZovaRender.detailsActionRow('<%=argv.detailsModuleName%>:actionDelete', {
54
- permission: { formScene: ['create', 'edit'] },
54
+ permission: { mode: 'formScene', formScene: ['create', 'edit'] },
55
55
  }),
56
56
  ],
57
57
  }),
package/dist/index.js CHANGED
@@ -2698,7 +2698,7 @@ class CliToolsMasterDetail extends BeanCliBase {
2698
2698
  const {
2699
2699
  argv
2700
2700
  } = this.context;
2701
- return [[argv.detailDtoBaseName, '<%=argv.detailDtoBaseName%>.tsx_'], [argv.detailDtoMutateName, '<%=argv.detailDtoMutateName%>.tsx_'], [argv.detailDtoViewName, '<%=argv.detailDtoViewName%>.tsx_'], [argv.detailDtoResItemName, '<%=argv.detailDtoResItemName%>.tsx_']];
2701
+ return [[argv.detailDtoBaseName, '{{detailDtoBaseName}}.tsx_'], [argv.detailDtoMutateName, '{{detailDtoMutateName}}.tsx_'], [argv.detailDtoViewName, '{{detailDtoViewName}}.tsx_'], [argv.detailDtoResItemName, '{{detailDtoResItemName}}.tsx_']];
2702
2702
  }
2703
2703
  _masterDtoScenes() {
2704
2704
  return ['Create', 'Update', 'View'];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
- "version": "1.1.160",
4
- "gitHead": "5324b0bf03e570ec2e941873b0c5644e7ab5dbc4",
3
+ "version": "1.1.162",
4
+ "gitHead": "0edad35309e3a0d7cbfbe4d213a28875915c50e6",
5
5
  "description": "vona cli-set-api",
6
6
  "keywords": [
7
7
  "framework",