@vixoniccom/modules 2.20.1-dev.0 → 2.20.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/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
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.
|
|
5
|
+
### [2.20.2](https://github.com/Vixonic/store-modules/compare/v2.20.0-4dev.0...v2.20.2) (2025-06-02)
|
|
6
|
+
|
|
7
|
+
## [2.20.0-4dev.0](https://github.com/Vixonic/store-modules/compare/v2.20.0...v2.20.0-4dev.0) (2025-05-15)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* BirthdayAppService added on ServiceType ([5442410](https://github.com/Vixonic/store-modules/commit/54424102bce82f16e70781ace23501d49af51342))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* new script for dev version prerelease ([e4b0452](https://github.com/Vixonic/store-modules/commit/e4b0452a8ff5e29faf9b39066c4cec0388e523c7))
|
|
6
18
|
|
|
7
19
|
## [2.20.0](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.2...v2.20.0) (2025-02-17)
|
|
8
20
|
|
package/dist/lib/errors.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ export interface PayloadValueError<E extends string, P> extends SimpleValueError
|
|
|
12
12
|
}
|
|
13
13
|
export type ValueError<E extends string = string, P = {}> = SimpleValueError<E> | PayloadValueError<E, P>;
|
|
14
14
|
export declare namespace Errors {
|
|
15
|
-
const isMap: (errors: Errors) => errors is ErrorsMap
|
|
16
|
-
const isArray: (errors: Errors) => errors is ValueError[];
|
|
15
|
+
const isMap: (errors: Errors) => errors is ErrorsMap<ValueError<string, {}>>;
|
|
16
|
+
const isArray: (errors: Errors) => errors is ValueError<string, {}>[];
|
|
17
17
|
const any: (errors: Errors | undefined) => boolean;
|
|
18
18
|
}
|
|
19
19
|
export type Errors<E extends ValueError = ValueError> = E[] | ErrorsMap;
|
package/dist/lib/errors.js
CHANGED
|
@@ -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' | 'BirthdayAppService';
|
|
4
4
|
export interface IServiceInput extends IInput {
|
|
5
5
|
serviceType: ServiceType;
|
|
6
6
|
required?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getDefsFromInputs =
|
|
4
|
-
exports.defsMapToString = defsMapToString;
|
|
3
|
+
exports.defsMapToString = exports.getDefsFromInputs = void 0;
|
|
5
4
|
function getDefsFromInputs(inputs) {
|
|
6
5
|
return inputs.map(function (i) { return ({ id: i.id, typeDef: i.valueTypeDef() }); });
|
|
7
6
|
}
|
|
7
|
+
exports.getDefsFromInputs = getDefsFromInputs;
|
|
8
8
|
function defsMapToString(defsMap) {
|
|
9
9
|
var reduced = [];
|
|
10
10
|
return defsMap.reduce(function (pV, e) {
|
|
@@ -16,3 +16,4 @@ function defsMapToString(defsMap) {
|
|
|
16
16
|
return pV.concat(e);
|
|
17
17
|
}, reduced).map(function (e) { return "".concat(e.id, ": ").concat(e.typeDef); }).join(', ');
|
|
18
18
|
}
|
|
19
|
+
exports.defsMapToString = defsMapToString;
|
package/dist/lib/visibility.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.shouldBeVisible =
|
|
3
|
+
exports.shouldBeVisible = void 0;
|
|
4
4
|
function shouldBeVisible(item, _values) {
|
|
5
5
|
if (!item.show)
|
|
6
6
|
return true;
|
|
@@ -18,3 +18,4 @@ function shouldBeVisible(item, _values) {
|
|
|
18
18
|
return true;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
exports.shouldBeVisible = shouldBeVisible;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixoniccom/modules",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,16 +9,17 @@
|
|
|
9
9
|
"build": "tsc",
|
|
10
10
|
"release": "standard-version",
|
|
11
11
|
"prerelease-dev": "standard-version --prerelease dev",
|
|
12
|
+
"prerelease-4dev": "standard-version --prerelease 4dev",
|
|
12
13
|
"prerelease-rc": "standard-version --prerelease rc",
|
|
13
14
|
"test": "ts-node ./test/index.ts"
|
|
14
15
|
},
|
|
15
16
|
"author": "",
|
|
16
17
|
"license": "ISC",
|
|
17
18
|
"devDependencies": {
|
|
18
|
-
"@types/node": "^
|
|
19
|
-
"jest": "^
|
|
19
|
+
"@types/node": "^14.17.10",
|
|
20
|
+
"jest": "^27.3.1",
|
|
20
21
|
"standard-version": "^9.3.2",
|
|
21
22
|
"ts-node": "^10.2.1",
|
|
22
|
-
"typescript": "^
|
|
23
|
+
"typescript": "^4.3.5"
|
|
23
24
|
}
|
|
24
25
|
}
|