@vixoniccom/modules 2.25.0-dev.30 → 2.25.0-dev.32

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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git add *)",
5
+ "Bash(git commit -m ' *)",
6
+ "Bash(gh auth *)",
7
+ "Bash(gh pr create --base main --assignee @me --title 'feat\\(inputs\\): add EphemerisService to ServiceType union' --body ' *)"
8
+ ]
9
+ }
10
+ }
@@ -0,0 +1,12 @@
1
+ name: Publish to NPM
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ publish:
10
+ uses: Vixonic/github-workflows/.github/workflows/npm-lib-publish.yml@a36ca67ada54f446e3858141085f4ee2c485d83a # main
11
+ secrets:
12
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
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.25.0-dev.32](https://github.com/Vixonic/store-modules/compare/v2.25.0...v2.25.0-dev.32) (2026-09-03)
6
+
7
+
8
+ ### Features
9
+
10
+ * add AirQualityService to ServiceType union ([942f0a3](https://github.com/Vixonic/store-modules/commit/942f0a3ca2069c4c06301c5af9656c1a0af1dd2e))
11
+
12
+ ## [2.25.0-dev.31](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.30...v2.25.0-dev.31) (2026-08-07)
13
+
14
+
15
+ ### Features
16
+
17
+ * **select-asset-kna:** allow declaring a target image size ([1e845e5](https://github.com/Vixonic/store-modules/commit/1e845e5e2ae857f8856edf733b8926f9af322874))
18
+
5
19
  ## [2.25.0-dev.30](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.19...v2.25.0-dev.30) (2026-08-06)
6
20
 
7
21
 
@@ -5,7 +5,7 @@ export interface ISelectAssetKna extends IInput {
5
5
  required?: boolean;
6
6
  extensions?: string[];
7
7
  multiple?: boolean;
8
- imageSize?: number;
8
+ optimizedSize?: number;
9
9
  }
10
10
  export declare namespace SelectAssetKna {
11
11
  type Error = ValueError.Required | {
@@ -27,7 +27,7 @@ export declare class SelectAssetKna extends Input<SelectAssetKna.Value, SelectAs
27
27
  readonly required?: boolean;
28
28
  readonly extensions?: string[];
29
29
  readonly multiple: boolean;
30
- readonly imageSize?: number;
30
+ readonly optimizedSize?: number;
31
31
  constructor(options: ISelectAssetKna);
32
32
  validateInput(value: SelectAssetKna.Value): SelectAssetKna.Error[];
33
33
  isValidValue(v: any): v is SelectAssetKna.Value;
@@ -30,7 +30,7 @@ var SelectAssetKna = /** @class */ (function (_super) {
30
30
  _this.required = options.required;
31
31
  _this.extensions = options.extensions;
32
32
  _this.multiple = options.multiple === true;
33
- _this.imageSize = options.imageSize;
33
+ _this.optimizedSize = options.optimizedSize;
34
34
  return _this;
35
35
  }
36
36
  SelectAssetKna.prototype.validateInput = function (value) {
@@ -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' | 'NewTimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService' | 'BukAnniversariesService' | 'BukNewEmployeesService' | 'AgendaAppService' | 'AnniversaryAppService' | 'BirthdayAppService' | 'NewEmployeesAppService' | 'CurrencyAppService' | 'SheetsReaderService' | 'TalanaAnniversariesService' | 'TalanaBirthdayService' | 'TalanaNewEmployeesService' | 'YoutubeService' | 'LocalAppSheetsService' | 'MetalAppService' | 'FootballService' | 'MenuAppService' | 'GoogleCalendarService' | 'OutlookCalendarService' | 'PowerBIService' | 'HoroscopeService' | 'EphemerisService' | 'LocalCompanyDirectoryService';
3
+ export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'NewTimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService' | 'BukAnniversariesService' | 'BukNewEmployeesService' | 'AgendaAppService' | 'AnniversaryAppService' | 'BirthdayAppService' | 'NewEmployeesAppService' | 'CurrencyAppService' | 'SheetsReaderService' | 'TalanaAnniversariesService' | 'TalanaBirthdayService' | 'TalanaNewEmployeesService' | 'YoutubeService' | 'LocalAppSheetsService' | 'MetalAppService' | 'FootballService' | 'MenuAppService' | 'GoogleCalendarService' | 'OutlookCalendarService' | 'PowerBIService' | 'HoroscopeService' | 'EphemerisService' | 'LocalCompanyDirectoryService' | 'AirQualityService';
4
4
  export interface IServiceInput extends IInput {
5
5
  serviceType: ServiceType;
6
6
  required?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/modules",
3
- "version": "2.25.0-dev.30",
3
+ "version": "2.25.0-dev.32",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,143 +0,0 @@
1
- name: Deploy job
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - master
7
- types: [closed]
8
- workflow_dispatch:
9
- inputs:
10
- release_type:
11
- description: 'Version bump to apply'
12
- type: choice
13
- required: true
14
- default: 'release'
15
- options:
16
- - release
17
- - prerelease-dev
18
- - prerelease-rc
19
-
20
- jobs:
21
- build:
22
- name: Build and Publish Package
23
- runs-on: ubuntu-latest
24
- environment: production
25
- if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
26
-
27
- outputs:
28
- version: ${{ steps.extract_version.outputs.version }}
29
- deployment-start: ${{ steps.deployment_start.outputs.deployment_start }}
30
-
31
- steps:
32
- - name: Log deployment start
33
- id: deployment_start
34
- run: |
35
- echo "deployment_start=$(date +"%Y-%m-%dT%H:%M:%S%:z")" >> "$GITHUB_OUTPUT"
36
-
37
- - name: Checkout repository
38
- uses: actions/checkout@v4
39
- with:
40
- fetch-depth: 0
41
- token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
42
-
43
- - name: Setup Node.js 20
44
- uses: actions/setup-node@v4
45
- with:
46
- node-version: '20'
47
- registry-url: 'https://registry.npmjs.org'
48
- scope: '@vixoniccom'
49
-
50
- - name: Configure npm authentication
51
- env:
52
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53
- run: |
54
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
55
- echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
56
- echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
57
-
58
- - name: Cache node modules
59
- uses: actions/cache@v4
60
- with:
61
- path: ~/.npm
62
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
63
- restore-keys: |
64
- ${{ runner.os }}-node-
65
-
66
- - name: Install dependencies
67
- run: npm ci --ignore-scripts
68
- env:
69
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
70
-
71
- - name: Bump version
72
- run: |
73
- git config user.name "github-actions[bot]"
74
- git config user.email "github-actions[bot]@users.noreply.github.com"
75
- npm run release -- --no-verify
76
- git push --follow-tags origin main
77
- env:
78
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79
-
80
- - name: Extract changelog for this release
81
- id: changelog
82
- run: |
83
- BODY=$(awk '/^## \[/{if(p) exit; p=1} p' CHANGELOG.md)
84
- echo "body<<EOF" >> $GITHUB_OUTPUT
85
- echo "$BODY" >> $GITHUB_OUTPUT
86
- echo "EOF" >> $GITHUB_OUTPUT
87
-
88
- - name: Extract version from package.json
89
- id: extract_version
90
- run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
91
-
92
- - name: Build package
93
- run: npm run prepublish
94
- env:
95
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
96
-
97
- - name: Verify build.zip exists
98
- run: |
99
- if [ ! -f "build.zip" ]; then
100
- echo "❌ Error: build.zip not found after build process"
101
- exit 1
102
- fi
103
- echo "✅ build.zip found successfully"
104
- ls -la build.zip
105
-
106
- - name: Publish to npm
107
- run: npm publish --access public
108
- env:
109
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
110
-
111
- - name: Create GitHub Release
112
- uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2
113
- with:
114
- tag_name: v${{ steps.extract_version.outputs.version }}
115
- name: v${{ steps.extract_version.outputs.version }}
116
- body: ${{ steps.changelog.outputs.body }}
117
- files: build.zip
118
- env:
119
- GITHUB_TOKEN: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
120
-
121
- report-ep:
122
- name: Report EP Metrics
123
- runs-on: ubuntu-latest
124
- needs: [build]
125
- if: always()
126
-
127
- steps:
128
- - uses: actions/checkout@v4
129
- with:
130
- fetch-depth: 0
131
- token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
132
-
133
- - uses: vismagroup/Jira-SDOP-Reporter@v1 # NOSONAR - internal Visma action
134
- with:
135
- token: ${{ github.token }}
136
- deployment-start: ${{ needs.build.outputs.deployment-start }}
137
- deployment-status: ${{ needs.build.result == 'success' && 'success' || 'failure' }}
138
- jira-token: ${{ secrets.JIRA_TOKEN }}
139
- jira-issue-summary: "store-modules release v${{ needs.build.outputs.version }}"
140
- jira-issue-project: "SDOP"
141
- jira-issue-components: |
142
- ${{ secrets.EP_JIRA_COMPONENT }}
143
- jira-issue-build-info: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}