@sap-ux/fiori-freestyle-writer 1.2.41 → 2.0.0

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.
package/dist/types.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import type { Ui5App, App } from '@sap-ux/ui5-application-writer';
2
2
  import type { OdataService } from '@sap-ux/odata-service-writer';
3
- export declare enum TemplateType {
4
- Basic = "basic",
5
- Worklist = "worklist",
6
- ListDetail = "listdetail"
7
- }
3
+ export declare const TemplateType: {
4
+ readonly Basic: "basic";
5
+ readonly Worklist: "worklist";
6
+ readonly ListDetail: "listdetail";
7
+ };
8
+ export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType];
8
9
  interface Entity {
9
10
  name: string;
10
11
  key: string;
package/dist/types.js CHANGED
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OdataVersion = exports.TemplateType = void 0;
4
- var TemplateType;
5
- (function (TemplateType) {
6
- TemplateType["Basic"] = "basic";
7
- TemplateType["Worklist"] = "worklist";
8
- TemplateType["ListDetail"] = "listdetail";
9
- })(TemplateType || (exports.TemplateType = TemplateType = {}));
4
+ exports.TemplateType = {
5
+ Basic: 'basic',
6
+ Worklist: 'worklist',
7
+ ListDetail: 'listdetail'
8
+ };
10
9
  // We need this for the service version
11
10
  var odata_service_writer_1 = require("@sap-ux/odata-service-writer");
12
11
  Object.defineProperty(exports, "OdataVersion", { enumerable: true, get: function () { return odata_service_writer_1.OdataVersion; } });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-freestyle-writer",
3
3
  "description": "SAP Fiori freestyle application writer",
4
- "version": "1.2.41",
4
+ "version": "2.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -29,8 +29,8 @@
29
29
  "semver": "7.5.4",
30
30
  "@sap-ux/odata-service-writer": "0.25.3",
31
31
  "@sap-ux/ui5-application-writer": "1.2.8",
32
- "@sap-ux/ui5-config": "0.26.0",
33
- "@sap-ux/fiori-generator-shared": "0.7.19"
32
+ "@sap-ux/fiori-generator-shared": "0.7.19",
33
+ "@sap-ux/ui5-config": "0.26.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/ejs": "3.1.2",