@agility/management-sdk 0.1.1 → 0.1.2
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/README.md +395 -395
- package/dist/apiMethods/assetMethods.d.ts +14 -14
- package/dist/apiMethods/assetMethods.js +95 -95
- package/dist/apiMethods/batchMethods.d.ts +11 -11
- package/dist/apiMethods/batchMethods.js +65 -65
- package/dist/apiMethods/clientInstance.d.ts +8 -8
- package/dist/apiMethods/clientInstance.js +77 -77
- package/dist/apiMethods/containerMethods.d.ts +16 -16
- package/dist/apiMethods/containerMethods.js +105 -105
- package/dist/apiMethods/contentMethods.d.ts +20 -20
- package/dist/apiMethods/contentMethods.js +175 -175
- package/dist/apiMethods/instanceUserMethods.d.ts +13 -13
- package/dist/apiMethods/instanceUserMethods.js +57 -57
- package/dist/apiMethods/modelMethods.d.ts +13 -13
- package/dist/apiMethods/modelMethods.js +81 -81
- package/dist/apiMethods/pageMethods.d.ts +20 -20
- package/dist/apiMethods/pageMethods.js +159 -159
- package/dist/enums/batchOperationType.d.ts +19 -19
- package/dist/enums/batchOperationType.js +23 -23
- package/dist/enums/batchState..d.ts +7 -7
- package/dist/enums/batchState..js +11 -11
- package/dist/index.d.ts +21 -21
- package/dist/index.js +33 -37
- package/dist/models/batch.d.ts +29 -29
- package/dist/models/batch.js +6 -6
- package/dist/models/batchItem.d.ts +13 -13
- package/dist/models/batchItem.js +6 -6
- package/dist/models/container.d.ts +47 -47
- package/dist/models/container.js +6 -6
- package/dist/models/contentItem.d.ts +37 -37
- package/dist/models/contentItem.js +18 -18
- package/dist/models/contentViewColumn.d.ts +8 -8
- package/dist/models/contentViewColumn.js +6 -6
- package/dist/models/exception.d.ts +4 -4
- package/dist/models/exception.js +10 -10
- package/dist/models/instanceRole.d.ts +7 -7
- package/dist/models/instanceRole.js +6 -6
- package/dist/models/instanceUser.d.ts +14 -14
- package/dist/models/instanceUser.js +6 -6
- package/dist/models/media.d.ts +30 -30
- package/dist/models/media.js +9 -9
- package/dist/models/model.d.ts +30 -30
- package/dist/models/model.js +9 -9
- package/dist/models/notification.d.ts +13 -13
- package/dist/models/notification.js +6 -6
- package/dist/models/options.d.ts +10 -10
- package/dist/models/options.js +25 -25
- package/dist/models/pageItem.d.ts +56 -56
- package/dist/models/pageItem.js +21 -21
- package/dist/models/sitemap.d.ts +20 -20
- package/dist/models/sitemap.js +9 -9
- package/dist/models/websiteUser.d.ts +22 -22
- package/dist/models/websiteUser.js +9 -9
- package/license.txt +20 -20
- package/package.json +39 -39
- package/tsconfig.json +14 -14
package/dist/models/options.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Options = void 0;
|
|
4
|
-
class Options {
|
|
5
|
-
determineBaseUrl(guid) {
|
|
6
|
-
var seperator = guid.split('-');
|
|
7
|
-
if (seperator[1] === 'd') {
|
|
8
|
-
return "https://mgmt-dev.aglty.io";
|
|
9
|
-
}
|
|
10
|
-
else if (seperator[1] === 'u') {
|
|
11
|
-
return "https://mgmt.aglty.io";
|
|
12
|
-
}
|
|
13
|
-
else if (seperator[1] === 'ca') {
|
|
14
|
-
return "https://mgmt-ca.aglty.io";
|
|
15
|
-
}
|
|
16
|
-
else if (seperator[1] === 'eu') {
|
|
17
|
-
return "https://mgmt-aus.aglty.io";
|
|
18
|
-
}
|
|
19
|
-
else if (seperator[1] === 'aus') {
|
|
20
|
-
return "https://mgmt-aus.aglty.io";
|
|
21
|
-
}
|
|
22
|
-
return "https://mgmt.aglty.io";
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.Options = Options;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Options = void 0;
|
|
4
|
+
class Options {
|
|
5
|
+
determineBaseUrl(guid) {
|
|
6
|
+
var seperator = guid.split('-');
|
|
7
|
+
if (seperator[1] === 'd') {
|
|
8
|
+
return "https://mgmt-dev.aglty.io";
|
|
9
|
+
}
|
|
10
|
+
else if (seperator[1] === 'u') {
|
|
11
|
+
return "https://mgmt.aglty.io";
|
|
12
|
+
}
|
|
13
|
+
else if (seperator[1] === 'ca') {
|
|
14
|
+
return "https://mgmt-ca.aglty.io";
|
|
15
|
+
}
|
|
16
|
+
else if (seperator[1] === 'eu') {
|
|
17
|
+
return "https://mgmt-aus.aglty.io";
|
|
18
|
+
}
|
|
19
|
+
else if (seperator[1] === 'aus') {
|
|
20
|
+
return "https://mgmt-aus.aglty.io";
|
|
21
|
+
}
|
|
22
|
+
return "https://mgmt.aglty.io";
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.Options = Options;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { SeoProperties } from "./contentItem";
|
|
2
|
-
export declare class PageItem {
|
|
3
|
-
pageID: number | null;
|
|
4
|
-
name: string | null;
|
|
5
|
-
path: string | null;
|
|
6
|
-
title: string | null;
|
|
7
|
-
menuText: string | null;
|
|
8
|
-
pageType: string | null;
|
|
9
|
-
templateName: string | null;
|
|
10
|
-
redirectUrl: string | null;
|
|
11
|
-
securePage: boolean | null;
|
|
12
|
-
excludeFromOutputCache: boolean | null;
|
|
13
|
-
visible: PageVisible | null;
|
|
14
|
-
seo: SeoProperties | null;
|
|
15
|
-
scripts: PageScripts | null;
|
|
16
|
-
dynamic: PageDynamic | null;
|
|
17
|
-
properties: PageItemProperties | null;
|
|
18
|
-
zones: {
|
|
19
|
-
[key: string]: PageModule[];
|
|
20
|
-
} | null;
|
|
21
|
-
parentPageID: number | null;
|
|
22
|
-
placeBeforePageItemID: number | null;
|
|
23
|
-
channelID: number | null;
|
|
24
|
-
releaseDate: string | null;
|
|
25
|
-
pullDate: string | null;
|
|
26
|
-
}
|
|
27
|
-
export declare class PageVisible {
|
|
28
|
-
menu: boolean | null;
|
|
29
|
-
sitemap: boolean | null;
|
|
30
|
-
}
|
|
31
|
-
export declare class PageScripts {
|
|
32
|
-
excludedFromGlobal: boolean;
|
|
33
|
-
top: string | null;
|
|
34
|
-
bottom: string | null;
|
|
35
|
-
}
|
|
36
|
-
export declare class PageDynamic {
|
|
37
|
-
referenceName: string | null;
|
|
38
|
-
fieldName: string | null;
|
|
39
|
-
titleFormula: string | null;
|
|
40
|
-
menuTextFormula: string | null;
|
|
41
|
-
pageNameFormula: string | null;
|
|
42
|
-
visibleOnMenu: boolean | null;
|
|
43
|
-
visibleOnSitemap: boolean | null;
|
|
44
|
-
}
|
|
45
|
-
export declare class PageItemProperties {
|
|
46
|
-
state: number | null;
|
|
47
|
-
modified: string | null;
|
|
48
|
-
versionID: number | null;
|
|
49
|
-
}
|
|
50
|
-
export declare class PageModule {
|
|
51
|
-
module: string | null;
|
|
52
|
-
item: any | null;
|
|
53
|
-
}
|
|
54
|
-
export interface Dictionary<T> {
|
|
55
|
-
[Key: string]: T;
|
|
56
|
-
}
|
|
1
|
+
import { SeoProperties } from "./contentItem";
|
|
2
|
+
export declare class PageItem {
|
|
3
|
+
pageID: number | null;
|
|
4
|
+
name: string | null;
|
|
5
|
+
path: string | null;
|
|
6
|
+
title: string | null;
|
|
7
|
+
menuText: string | null;
|
|
8
|
+
pageType: string | null;
|
|
9
|
+
templateName: string | null;
|
|
10
|
+
redirectUrl: string | null;
|
|
11
|
+
securePage: boolean | null;
|
|
12
|
+
excludeFromOutputCache: boolean | null;
|
|
13
|
+
visible: PageVisible | null;
|
|
14
|
+
seo: SeoProperties | null;
|
|
15
|
+
scripts: PageScripts | null;
|
|
16
|
+
dynamic: PageDynamic | null;
|
|
17
|
+
properties: PageItemProperties | null;
|
|
18
|
+
zones: {
|
|
19
|
+
[key: string]: PageModule[];
|
|
20
|
+
} | null;
|
|
21
|
+
parentPageID: number | null;
|
|
22
|
+
placeBeforePageItemID: number | null;
|
|
23
|
+
channelID: number | null;
|
|
24
|
+
releaseDate: string | null;
|
|
25
|
+
pullDate: string | null;
|
|
26
|
+
}
|
|
27
|
+
export declare class PageVisible {
|
|
28
|
+
menu: boolean | null;
|
|
29
|
+
sitemap: boolean | null;
|
|
30
|
+
}
|
|
31
|
+
export declare class PageScripts {
|
|
32
|
+
excludedFromGlobal: boolean;
|
|
33
|
+
top: string | null;
|
|
34
|
+
bottom: string | null;
|
|
35
|
+
}
|
|
36
|
+
export declare class PageDynamic {
|
|
37
|
+
referenceName: string | null;
|
|
38
|
+
fieldName: string | null;
|
|
39
|
+
titleFormula: string | null;
|
|
40
|
+
menuTextFormula: string | null;
|
|
41
|
+
pageNameFormula: string | null;
|
|
42
|
+
visibleOnMenu: boolean | null;
|
|
43
|
+
visibleOnSitemap: boolean | null;
|
|
44
|
+
}
|
|
45
|
+
export declare class PageItemProperties {
|
|
46
|
+
state: number | null;
|
|
47
|
+
modified: string | null;
|
|
48
|
+
versionID: number | null;
|
|
49
|
+
}
|
|
50
|
+
export declare class PageModule {
|
|
51
|
+
module: string | null;
|
|
52
|
+
item: any | null;
|
|
53
|
+
}
|
|
54
|
+
export interface Dictionary<T> {
|
|
55
|
+
[Key: string]: T;
|
|
56
|
+
}
|
package/dist/models/pageItem.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PageModule = exports.PageItemProperties = exports.PageDynamic = exports.PageScripts = exports.PageVisible = exports.PageItem = void 0;
|
|
4
|
-
class PageItem {
|
|
5
|
-
}
|
|
6
|
-
exports.PageItem = PageItem;
|
|
7
|
-
class PageVisible {
|
|
8
|
-
}
|
|
9
|
-
exports.PageVisible = PageVisible;
|
|
10
|
-
class PageScripts {
|
|
11
|
-
}
|
|
12
|
-
exports.PageScripts = PageScripts;
|
|
13
|
-
class PageDynamic {
|
|
14
|
-
}
|
|
15
|
-
exports.PageDynamic = PageDynamic;
|
|
16
|
-
class PageItemProperties {
|
|
17
|
-
}
|
|
18
|
-
exports.PageItemProperties = PageItemProperties;
|
|
19
|
-
class PageModule {
|
|
20
|
-
}
|
|
21
|
-
exports.PageModule = PageModule;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageModule = exports.PageItemProperties = exports.PageDynamic = exports.PageScripts = exports.PageVisible = exports.PageItem = void 0;
|
|
4
|
+
class PageItem {
|
|
5
|
+
}
|
|
6
|
+
exports.PageItem = PageItem;
|
|
7
|
+
class PageVisible {
|
|
8
|
+
}
|
|
9
|
+
exports.PageVisible = PageVisible;
|
|
10
|
+
class PageScripts {
|
|
11
|
+
}
|
|
12
|
+
exports.PageScripts = PageScripts;
|
|
13
|
+
class PageDynamic {
|
|
14
|
+
}
|
|
15
|
+
exports.PageDynamic = PageDynamic;
|
|
16
|
+
class PageItemProperties {
|
|
17
|
+
}
|
|
18
|
+
exports.PageItemProperties = PageItemProperties;
|
|
19
|
+
class PageModule {
|
|
20
|
+
}
|
|
21
|
+
exports.PageModule = PageModule;
|
package/dist/models/sitemap.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export declare class Sitemap {
|
|
2
|
-
digitalChannelID: number | null;
|
|
3
|
-
name: string | null;
|
|
4
|
-
digitalChannelTypeName: string | null;
|
|
5
|
-
isDefaultChannel: boolean;
|
|
6
|
-
pages: (SitemapItem | null)[];
|
|
7
|
-
}
|
|
8
|
-
export declare class SitemapItem {
|
|
9
|
-
pageID: number | null;
|
|
10
|
-
parentPageID: number | null;
|
|
11
|
-
pageName: string | null;
|
|
12
|
-
title: string | null;
|
|
13
|
-
pageType: string | null;
|
|
14
|
-
languageCode: string | null;
|
|
15
|
-
pageMode: number | null;
|
|
16
|
-
dynamicPageContentReferenceName: string | null;
|
|
17
|
-
dynamicPageContentViewFieldName: string | null;
|
|
18
|
-
uRL: string | null;
|
|
19
|
-
childPages: (SitemapItem | null)[];
|
|
20
|
-
}
|
|
1
|
+
export declare class Sitemap {
|
|
2
|
+
digitalChannelID: number | null;
|
|
3
|
+
name: string | null;
|
|
4
|
+
digitalChannelTypeName: string | null;
|
|
5
|
+
isDefaultChannel: boolean;
|
|
6
|
+
pages: (SitemapItem | null)[];
|
|
7
|
+
}
|
|
8
|
+
export declare class SitemapItem {
|
|
9
|
+
pageID: number | null;
|
|
10
|
+
parentPageID: number | null;
|
|
11
|
+
pageName: string | null;
|
|
12
|
+
title: string | null;
|
|
13
|
+
pageType: string | null;
|
|
14
|
+
languageCode: string | null;
|
|
15
|
+
pageMode: number | null;
|
|
16
|
+
dynamicPageContentReferenceName: string | null;
|
|
17
|
+
dynamicPageContentViewFieldName: string | null;
|
|
18
|
+
uRL: string | null;
|
|
19
|
+
childPages: (SitemapItem | null)[];
|
|
20
|
+
}
|
package/dist/models/sitemap.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SitemapItem = exports.Sitemap = void 0;
|
|
4
|
-
class Sitemap {
|
|
5
|
-
}
|
|
6
|
-
exports.Sitemap = Sitemap;
|
|
7
|
-
class SitemapItem {
|
|
8
|
-
}
|
|
9
|
-
exports.SitemapItem = SitemapItem;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SitemapItem = exports.Sitemap = void 0;
|
|
4
|
+
class Sitemap {
|
|
5
|
+
}
|
|
6
|
+
exports.Sitemap = Sitemap;
|
|
7
|
+
class SitemapItem {
|
|
8
|
+
}
|
|
9
|
+
exports.SitemapItem = SitemapItem;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { InstanceRole } from "./instanceRole";
|
|
2
|
-
export declare class WebsiteUser {
|
|
3
|
-
userID: number | null;
|
|
4
|
-
userName: string | null;
|
|
5
|
-
firstName: string | null;
|
|
6
|
-
lastName: string | null;
|
|
7
|
-
emailAddress: string | null;
|
|
8
|
-
isDeleted: boolean;
|
|
9
|
-
fullName: string | null;
|
|
10
|
-
isTeamUser: boolean;
|
|
11
|
-
isSuspended: boolean;
|
|
12
|
-
teamID: number | null;
|
|
13
|
-
userRoles: InstanceRole[];
|
|
14
|
-
userPermissions: InstancePermission[];
|
|
15
|
-
loginDate: string | null;
|
|
16
|
-
isOrgAdmin: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare class InstancePermission {
|
|
19
|
-
permissionType: string | null;
|
|
20
|
-
permissionID: number;
|
|
21
|
-
name: string | null;
|
|
22
|
-
}
|
|
1
|
+
import { InstanceRole } from "./instanceRole";
|
|
2
|
+
export declare class WebsiteUser {
|
|
3
|
+
userID: number | null;
|
|
4
|
+
userName: string | null;
|
|
5
|
+
firstName: string | null;
|
|
6
|
+
lastName: string | null;
|
|
7
|
+
emailAddress: string | null;
|
|
8
|
+
isDeleted: boolean;
|
|
9
|
+
fullName: string | null;
|
|
10
|
+
isTeamUser: boolean;
|
|
11
|
+
isSuspended: boolean;
|
|
12
|
+
teamID: number | null;
|
|
13
|
+
userRoles: InstanceRole[];
|
|
14
|
+
userPermissions: InstancePermission[];
|
|
15
|
+
loginDate: string | null;
|
|
16
|
+
isOrgAdmin: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare class InstancePermission {
|
|
19
|
+
permissionType: string | null;
|
|
20
|
+
permissionID: number;
|
|
21
|
+
name: string | null;
|
|
22
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstancePermission = exports.WebsiteUser = void 0;
|
|
4
|
-
class WebsiteUser {
|
|
5
|
-
}
|
|
6
|
-
exports.WebsiteUser = WebsiteUser;
|
|
7
|
-
class InstancePermission {
|
|
8
|
-
}
|
|
9
|
-
exports.InstancePermission = InstancePermission;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstancePermission = exports.WebsiteUser = void 0;
|
|
4
|
+
class WebsiteUser {
|
|
5
|
+
}
|
|
6
|
+
exports.WebsiteUser = WebsiteUser;
|
|
7
|
+
class InstancePermission {
|
|
8
|
+
}
|
|
9
|
+
exports.InstancePermission = InstancePermission;
|
package/license.txt
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) [year] [fullname]
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) [year] [fullname]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@agility/management-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Agility CMS Tyescript SDK for Management API.",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/agility/agility-cms-management-sdk-typescript.git"
|
|
8
|
-
},
|
|
9
|
-
"bugs": {
|
|
10
|
-
"url": "https://github.com/agility/agility-cms-management-sdk-typescript/issues"
|
|
11
|
-
},
|
|
12
|
-
"homepage": "https://github.com/agility/agility-cms-management-sdk-typescript#readme",
|
|
13
|
-
"main": "
|
|
14
|
-
"scripts": {
|
|
15
|
-
"clean": "git clean -Xf",
|
|
16
|
-
"build": "tsc",
|
|
17
|
-
"prepare": "yarn build",
|
|
18
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
19
|
-
},
|
|
20
|
-
"keywords": [
|
|
21
|
-
"typescript",
|
|
22
|
-
"agility",
|
|
23
|
-
"cms",
|
|
24
|
-
"headlesscms",
|
|
25
|
-
"management-api"
|
|
26
|
-
],
|
|
27
|
-
"author": "Agility CMS",
|
|
28
|
-
"contributors": [
|
|
29
|
-
"Joel Varty",
|
|
30
|
-
"Mohit Vashishtha"
|
|
31
|
-
],
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"axios": "^0.27.2"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@types/node": "^18.11.9"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@agility/management-sdk",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Agility CMS Tyescript SDK for Management API.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/agility/agility-cms-management-sdk-typescript.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/agility/agility-cms-management-sdk-typescript/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/agility/agility-cms-management-sdk-typescript#readme",
|
|
13
|
+
"main": "dist/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"clean": "git clean -Xf && rm -rf ./dist",
|
|
16
|
+
"build": "tsc",
|
|
17
|
+
"prepare": "yarn build",
|
|
18
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"typescript",
|
|
22
|
+
"agility",
|
|
23
|
+
"cms",
|
|
24
|
+
"headlesscms",
|
|
25
|
+
"management-api"
|
|
26
|
+
],
|
|
27
|
+
"author": "Agility CMS",
|
|
28
|
+
"contributors": [
|
|
29
|
+
"Joel Varty",
|
|
30
|
+
"Mohit Vashishtha"
|
|
31
|
+
],
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"axios": "^0.27.2"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/node": "^18.11.9"
|
|
38
|
+
}
|
|
39
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module" : "commonjs",
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"jsx": "react",
|
|
7
|
-
"target": "es6",
|
|
8
|
-
"outDir": "./dist/",
|
|
9
|
-
"lib": ["es2016", "dom"],
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true
|
|
13
|
-
},
|
|
14
|
-
"include": ["src"]
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module" : "commonjs",
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"jsx": "react",
|
|
7
|
+
"target": "es6",
|
|
8
|
+
"outDir": "./dist/",
|
|
9
|
+
"lib": ["es2016", "dom"],
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"allowSyntheticDefaultImports": true
|
|
13
|
+
},
|
|
14
|
+
"include": ["src"]
|
|
15
15
|
}
|