@agility/management-sdk 0.1.2 → 0.1.3

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,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModelField = exports.Model = void 0;
4
- class Model {
5
- }
4
+ var Model = /** @class */ (function () {
5
+ function Model() {
6
+ }
7
+ return Model;
8
+ }());
6
9
  exports.Model = Model;
7
- class ModelField {
8
- }
10
+ var ModelField = /** @class */ (function () {
11
+ function ModelField() {
12
+ }
13
+ return ModelField;
14
+ }());
9
15
  exports.ModelField = ModelField;
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Notification = void 0;
4
- class Notification {
5
- }
4
+ var Notification = /** @class */ (function () {
5
+ function Notification() {
6
+ }
7
+ return Notification;
8
+ }());
6
9
  exports.Notification = Notification;
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Options = void 0;
4
- class Options {
5
- determineBaseUrl(guid) {
4
+ var Options = /** @class */ (function () {
5
+ function Options() {
6
+ }
7
+ Options.prototype.determineBaseUrl = function (guid) {
6
8
  var seperator = guid.split('-');
7
9
  if (seperator[1] === 'd') {
8
10
  return "https://mgmt-dev.aglty.io";
@@ -20,6 +22,7 @@ class Options {
20
22
  return "https://mgmt-aus.aglty.io";
21
23
  }
22
24
  return "https://mgmt.aglty.io";
23
- }
24
- }
25
+ };
26
+ return Options;
27
+ }());
25
28
  exports.Options = Options;
@@ -1,21 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PageModule = exports.PageItemProperties = exports.PageDynamic = exports.PageScripts = exports.PageVisible = exports.PageItem = void 0;
4
- class PageItem {
5
- }
4
+ var PageItem = /** @class */ (function () {
5
+ function PageItem() {
6
+ }
7
+ return PageItem;
8
+ }());
6
9
  exports.PageItem = PageItem;
7
- class PageVisible {
8
- }
10
+ var PageVisible = /** @class */ (function () {
11
+ function PageVisible() {
12
+ }
13
+ return PageVisible;
14
+ }());
9
15
  exports.PageVisible = PageVisible;
10
- class PageScripts {
11
- }
16
+ var PageScripts = /** @class */ (function () {
17
+ function PageScripts() {
18
+ }
19
+ return PageScripts;
20
+ }());
12
21
  exports.PageScripts = PageScripts;
13
- class PageDynamic {
14
- }
22
+ var PageDynamic = /** @class */ (function () {
23
+ function PageDynamic() {
24
+ }
25
+ return PageDynamic;
26
+ }());
15
27
  exports.PageDynamic = PageDynamic;
16
- class PageItemProperties {
17
- }
28
+ var PageItemProperties = /** @class */ (function () {
29
+ function PageItemProperties() {
30
+ }
31
+ return PageItemProperties;
32
+ }());
18
33
  exports.PageItemProperties = PageItemProperties;
19
- class PageModule {
20
- }
34
+ var PageModule = /** @class */ (function () {
35
+ function PageModule() {
36
+ }
37
+ return PageModule;
38
+ }());
21
39
  exports.PageModule = PageModule;
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SitemapItem = exports.Sitemap = void 0;
4
- class Sitemap {
5
- }
4
+ var Sitemap = /** @class */ (function () {
5
+ function Sitemap() {
6
+ }
7
+ return Sitemap;
8
+ }());
6
9
  exports.Sitemap = Sitemap;
7
- class SitemapItem {
8
- }
10
+ var SitemapItem = /** @class */ (function () {
11
+ function SitemapItem() {
12
+ }
13
+ return SitemapItem;
14
+ }());
9
15
  exports.SitemapItem = SitemapItem;
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InstancePermission = exports.WebsiteUser = void 0;
4
- class WebsiteUser {
5
- }
4
+ var WebsiteUser = /** @class */ (function () {
5
+ function WebsiteUser() {
6
+ }
7
+ return WebsiteUser;
8
+ }());
6
9
  exports.WebsiteUser = WebsiteUser;
7
- class InstancePermission {
8
- }
10
+ var InstancePermission = /** @class */ (function () {
11
+ function InstancePermission() {
12
+ }
13
+ return InstancePermission;
14
+ }());
9
15
  exports.InstancePermission = InstancePermission;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agility/management-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Agility CMS Tyescript SDK for Management API.",
5
5
  "repository": {
6
6
  "type": "git",
package/tsconfig.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "allowJs": true,
5
5
  "declaration": true,
6
6
  "jsx": "react",
7
- "target": "es6",
7
+ "target": "es5",
8
8
  "outDir": "./dist/",
9
9
  "lib": ["es2016", "dom"],
10
10
  "esModuleInterop": true,