@webuildbots/webuildbots-sdk 11.6.0 → 11.7.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.
|
@@ -10,7 +10,7 @@ import { Languages } from '../../const/languages-enums';
|
|
|
10
10
|
export default class BlockBuilder {
|
|
11
11
|
static DEFAULT_NAME: CommonGroups;
|
|
12
12
|
static DEFAULT_GROUP: CommonGroups;
|
|
13
|
-
static VERSION:
|
|
13
|
+
static VERSION: number;
|
|
14
14
|
block: DeepPartial<Block>;
|
|
15
15
|
constructor();
|
|
16
16
|
addTitle(lang: Languages, title: string): this;
|
|
@@ -9,7 +9,8 @@ var BlockBuilder = /** @class */ (function () {
|
|
|
9
9
|
revision: BlockBuilder.VERSION,
|
|
10
10
|
created: new Date(),
|
|
11
11
|
content: {},
|
|
12
|
-
meta: {}
|
|
12
|
+
meta: {},
|
|
13
|
+
deleted: false
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
BlockBuilder.prototype.addTitle = function (lang, title) {
|
|
@@ -111,7 +112,7 @@ var BlockBuilder = /** @class */ (function () {
|
|
|
111
112
|
};
|
|
112
113
|
BlockBuilder.DEFAULT_NAME = block_enums_1.CommonGroups.BUILT_AT_RUNTIME;
|
|
113
114
|
BlockBuilder.DEFAULT_GROUP = block_enums_1.CommonGroups.BUILT_AT_RUNTIME;
|
|
114
|
-
BlockBuilder.VERSION =
|
|
115
|
+
BlockBuilder.VERSION = 1;
|
|
115
116
|
return BlockBuilder;
|
|
116
117
|
}());
|
|
117
118
|
exports.default = BlockBuilder;
|
|
@@ -93,10 +93,10 @@ export default interface WBBEvent {
|
|
|
93
93
|
args: any;
|
|
94
94
|
};
|
|
95
95
|
blocks?: Array<{
|
|
96
|
-
revision?:
|
|
96
|
+
revision?: number;
|
|
97
97
|
history?: Array<{
|
|
98
98
|
id?: string;
|
|
99
|
-
revision?:
|
|
99
|
+
revision?: number;
|
|
100
100
|
created?: Date;
|
|
101
101
|
}>;
|
|
102
102
|
clientDbId?: any;
|
|
@@ -270,10 +270,10 @@ export default interface WBBEvent {
|
|
|
270
270
|
};
|
|
271
271
|
}>;
|
|
272
272
|
evaluatedBlocks?: Array<{
|
|
273
|
-
revision?:
|
|
273
|
+
revision?: number;
|
|
274
274
|
history?: Array<{
|
|
275
275
|
id?: string;
|
|
276
|
-
revision?:
|
|
276
|
+
revision?: number;
|
|
277
277
|
created?: Date;
|
|
278
278
|
}>;
|
|
279
279
|
clientDbId?: any;
|
|
@@ -447,10 +447,10 @@ export default interface WBBEvent {
|
|
|
447
447
|
};
|
|
448
448
|
}>;
|
|
449
449
|
preprocessedBlocks?: Array<{
|
|
450
|
-
revision?:
|
|
450
|
+
revision?: number;
|
|
451
451
|
history?: Array<{
|
|
452
452
|
id?: string;
|
|
453
|
-
revision?:
|
|
453
|
+
revision?: number;
|
|
454
454
|
created?: Date;
|
|
455
455
|
}>;
|
|
456
456
|
clientDbId?: any;
|
|
@@ -690,10 +690,10 @@ export default interface WBBEvent {
|
|
|
690
690
|
args?: any;
|
|
691
691
|
};
|
|
692
692
|
blocks?: Array<{
|
|
693
|
-
revision?:
|
|
693
|
+
revision?: number;
|
|
694
694
|
history?: Array<{
|
|
695
695
|
id?: string;
|
|
696
|
-
revision?:
|
|
696
|
+
revision?: number;
|
|
697
697
|
created?: Date;
|
|
698
698
|
}>;
|
|
699
699
|
clientDbId?: any;
|
|
@@ -53,7 +53,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
53
53
|
var axios_1 = __importDefault(require("axios"));
|
|
54
54
|
var ApiService = /** @class */ (function () {
|
|
55
55
|
function ApiService(sdkToken, rootURL) {
|
|
56
|
-
if (rootURL === void 0) { rootURL = 'https://backend.logicdialog.ai'; }
|
|
56
|
+
if (rootURL === void 0) { rootURL = 'https://backend-portal.logicdialog.ai'; }
|
|
57
57
|
this.sdkToken = sdkToken;
|
|
58
58
|
this.sdkToken = sdkToken;
|
|
59
59
|
this.baseURL = rootURL;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webuildbots/webuildbots-sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.7.0",
|
|
4
4
|
"description": "webuildbots sdk",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
"sugar": "^2.0.6",
|
|
66
66
|
"wbb-logger": "^1.1.0"
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
}
|