@digipair/skill-vespa 0.8.8 → 0.8.11
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/index.cjs.js +10 -7
- package/index.esm.js +10 -7
- package/libs/engine/src/lib/engine.d.ts +0 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -58055,14 +58055,14 @@ function indent(str, spaces) {
|
|
58055
58055
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
58056
58056
|
// match is required
|
58057
58057
|
if (!match) {
|
58058
|
-
return
|
58058
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
58059
58059
|
v: nextMatch1
|
58060
58060
|
};
|
58061
58061
|
}
|
58062
58062
|
var token = match.token, offset = match.offset;
|
58063
58063
|
i1 += offset;
|
58064
58064
|
if (token === " ") {
|
58065
|
-
return
|
58065
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
58066
58066
|
}
|
58067
58067
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
58068
58068
|
token
|
@@ -58081,7 +58081,7 @@ function indent(str, spaces) {
|
|
58081
58081
|
if (contextKeys.some(function(el) {
|
58082
58082
|
return el.startsWith(name);
|
58083
58083
|
})) {
|
58084
|
-
return
|
58084
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
58085
58085
|
}
|
58086
58086
|
if (dateTimeIdentifiers.some(function(el) {
|
58087
58087
|
return el === name;
|
@@ -58100,9 +58100,9 @@ function indent(str, spaces) {
|
|
58100
58100
|
if (dateTimeIdentifiers.some(function(el) {
|
58101
58101
|
return el.startsWith(name);
|
58102
58102
|
})) {
|
58103
|
-
return
|
58103
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
58104
58104
|
}
|
58105
|
-
return
|
58105
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
58106
58106
|
v: nextMatch1
|
58107
58107
|
};
|
58108
58108
|
};
|
@@ -61964,8 +61964,11 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
61964
61964
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
61965
61965
|
var _settings_conditions;
|
61966
61966
|
const settings = pinsSettingsList[i];
|
61967
|
-
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined'
|
61968
|
-
|
61967
|
+
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined') {
|
61968
|
+
const preparedSettings = await preparePinsSettings(settings, context);
|
61969
|
+
if (!preparedSettings.conditions.if) {
|
61970
|
+
continue;
|
61971
|
+
}
|
61969
61972
|
}
|
61970
61973
|
previous = await executePins(settings, _extends({}, context, {
|
61971
61974
|
previous,
|
package/index.esm.js
CHANGED
@@ -58033,14 +58033,14 @@ function indent(str, spaces) {
|
|
58033
58033
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
58034
58034
|
// match is required
|
58035
58035
|
if (!match) {
|
58036
|
-
return i = i1,
|
58036
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
58037
58037
|
v: nextMatch1
|
58038
58038
|
};
|
58039
58039
|
}
|
58040
58040
|
var token = match.token, offset = match.offset;
|
58041
58041
|
i1 += offset;
|
58042
58042
|
if (token === " ") {
|
58043
|
-
return i = i1,
|
58043
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
58044
58044
|
}
|
58045
58045
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
58046
58046
|
token
|
@@ -58059,7 +58059,7 @@ function indent(str, spaces) {
|
|
58059
58059
|
if (contextKeys.some(function(el) {
|
58060
58060
|
return el.startsWith(name);
|
58061
58061
|
})) {
|
58062
|
-
return i = i1,
|
58062
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
58063
58063
|
}
|
58064
58064
|
if (dateTimeIdentifiers.some(function(el) {
|
58065
58065
|
return el === name;
|
@@ -58078,9 +58078,9 @@ function indent(str, spaces) {
|
|
58078
58078
|
if (dateTimeIdentifiers.some(function(el) {
|
58079
58079
|
return el.startsWith(name);
|
58080
58080
|
})) {
|
58081
|
-
return i = i1,
|
58081
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
58082
58082
|
}
|
58083
|
-
return i = i1,
|
58083
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
58084
58084
|
v: nextMatch1
|
58085
58085
|
};
|
58086
58086
|
};
|
@@ -61942,8 +61942,11 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
61942
61942
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
61943
61943
|
var _settings_conditions;
|
61944
61944
|
const settings = pinsSettingsList[i];
|
61945
|
-
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined'
|
61946
|
-
|
61945
|
+
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined') {
|
61946
|
+
const preparedSettings = await preparePinsSettings(settings, context);
|
61947
|
+
if (!preparedSettings.conditions.if) {
|
61948
|
+
continue;
|
61949
|
+
}
|
61947
61950
|
}
|
61948
61951
|
previous = await executePins(settings, _extends({}, context, {
|
61949
61952
|
previous,
|
@@ -4,11 +4,6 @@ export declare const config: {
|
|
4
4
|
set: (key: CONFIG_KEY, value: any) => void;
|
5
5
|
};
|
6
6
|
export declare const applyTemplate: (value: any, context: any) => any;
|
7
|
-
export declare const executePins: (settingsOrigin: PinsSettings, context?: any, options?: {
|
8
|
-
libraries: {
|
9
|
-
[key: string]: string;
|
10
|
-
};
|
11
|
-
}) => Promise<any>;
|
12
7
|
export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any, options?: {
|
13
8
|
libraries: {
|
14
9
|
[key: string]: string;
|