@flink-app/contentone-plugin 0.2.0-beta.9 → 0.3.7
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/LICENSE +21 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Frost Experience AB https://www.frost.se
|
|
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
|
|
13
|
+
all 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
|
|
21
|
+
THE SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -56,7 +56,7 @@ var got_1 = __importDefault(require("got"));
|
|
|
56
56
|
var form_data_1 = __importDefault(require("form-data"));
|
|
57
57
|
var fs_1 = __importDefault(require("fs"));
|
|
58
58
|
var baseUrl = "https://cdb.aquro.com";
|
|
59
|
-
var managementBaseUrl = "https://api.
|
|
59
|
+
var managementBaseUrl = "https://api-cm.aquro.com";
|
|
60
60
|
// TODO: Pagination
|
|
61
61
|
var ContentOneClient = /** @class */ (function () {
|
|
62
62
|
function ContentOneClient(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flink-app/contentone-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Flink plugin that enables easy to use communication with content one",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\"",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"got": "^9.6.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@flink-app/flink": "^0.
|
|
21
|
+
"@flink-app/flink": "^0.3.7",
|
|
22
22
|
"@types/got": "^9.6.0",
|
|
23
23
|
"@types/node": "^15.6.2",
|
|
24
24
|
"ts-node": "^9.1.1",
|
|
25
25
|
"typescript": "^4.2.4"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "e61be35839aa8d459dc07613d9bfa919570361f2"
|
|
28
28
|
}
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,7 @@ import FormData from 'form-data';
|
|
|
4
4
|
import fs from 'fs';
|
|
5
5
|
|
|
6
6
|
let baseUrl = "https://cdb.aquro.com";
|
|
7
|
-
let managementBaseUrl = "https://api.
|
|
7
|
+
let managementBaseUrl = "https://api-cm.aquro.com";
|
|
8
8
|
export type ContentOneCollectionOptions = {
|
|
9
9
|
id : string;
|
|
10
10
|
client : ContentOneClient;
|