@vixoniccom/modules 2.20.0-4dev.0 → 2.20.0-dev.1
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/CHANGELOG.md
CHANGED
|
@@ -2,27 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## [2.20.0-4dev.0](https://github.com/Vixonic/store-modules/compare/v2.20.0...v2.20.0-4dev.0) (2025-05-15)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* BirthdayAppService added on ServiceType ([5442410](https://github.com/Vixonic/store-modules/commit/54424102bce82f16e70781ace23501d49af51342))
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Bug Fixes
|
|
14
|
-
|
|
15
|
-
* new script for dev version prerelease ([e4b0452](https://github.com/Vixonic/store-modules/commit/e4b0452a8ff5e29faf9b39066c4cec0388e523c7))
|
|
16
|
-
|
|
17
|
-
## [2.20.0](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.2...v2.20.0) (2025-02-17)
|
|
18
|
-
|
|
19
|
-
## [2.20.0-dev.2](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.1...v2.20.0-dev.2) (2025-02-11)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
* eval functions were removed and also a lot to imports no used were removed too ([f00db84](https://bitbucket.org/vixonic_dev/modules/commit/f00db8441836236756fc3a5517c3b4268f788a20))
|
|
25
|
-
|
|
26
5
|
## [2.20.0-dev.1](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.0...v2.20.0-dev.1) (2025-01-29)
|
|
27
6
|
|
|
28
7
|
|
package/dist/lib/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InputValue } from
|
|
2
|
-
import { ValueError } from
|
|
3
|
-
import { Configuration } from
|
|
1
|
+
import { InputValue } from "./inputs";
|
|
2
|
+
import { ValueError } from "./errors";
|
|
3
|
+
import { Configuration } from ".";
|
|
4
4
|
export interface IBaseElement {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Input, IInput } from '../base';
|
|
2
2
|
import { ValueError } from '../errors';
|
|
3
|
-
export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService'
|
|
3
|
+
export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService';
|
|
4
4
|
export interface IServiceInput extends IInput {
|
|
5
5
|
serviceType: ServiceType;
|
|
6
6
|
required?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValueError } from
|
|
1
|
+
import { ValueError } from "../errors";
|
|
2
2
|
export declare namespace Validator {
|
|
3
3
|
const required: (value: any, required: boolean | undefined, onlyUndefined?: boolean) => Array<ValueError.Required>;
|
|
4
4
|
const min: (value: number, min: number | undefined) => Array<ValueError.Min>;
|
package/dist/lib/visibility.js
CHANGED
|
@@ -9,8 +9,8 @@ function shouldBeVisible(item, _values) {
|
|
|
9
9
|
var regexp = new RegExp('{{(.*?)}}', 'ig');
|
|
10
10
|
jsEval = jsEval.replace(regexp, "_values.$1");
|
|
11
11
|
// tslint:disable-next-line
|
|
12
|
-
var show =
|
|
13
|
-
return
|
|
12
|
+
var show = eval(jsEval);
|
|
13
|
+
return show === true;
|
|
14
14
|
}
|
|
15
15
|
catch (e) {
|
|
16
16
|
console.warn('Unable to parse expression:', jsEval);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixoniccom/modules",
|
|
3
|
-
"version": "2.20.0-
|
|
3
|
+
"version": "2.20.0-dev.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"build": "tsc",
|
|
10
10
|
"release": "standard-version",
|
|
11
11
|
"prerelease-dev": "standard-version --prerelease dev",
|
|
12
|
-
"prerelease-4dev": "standard-version --prerelease 4dev",
|
|
13
12
|
"prerelease-rc": "standard-version --prerelease rc",
|
|
14
13
|
"test": "ts-node ./test/index.ts"
|
|
15
14
|
},
|