@vonq/hapi-elements-types 1.45.0 → 1.47.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.
package/campaign/types.ts CHANGED
@@ -186,6 +186,7 @@ export type Campaign = Pick<CampaignDraft, "campaignId"> &
186
186
  walletId: string
187
187
  detailedStatus?: CampaignDetailedStatus //this is only added virtually on FE on demand
188
188
  isEditable: boolean
189
+ modifiedOn: string
189
190
  }
190
191
 
191
192
  export type CampaignCreateFormTargetGroupEducationLevel =
@@ -34,7 +34,8 @@ import {
34
34
 
35
35
  export type WindowHapiUtilsCampaign = WindowHapiModuleWithConstructorArgs<
36
36
  {
37
- excludedDotNotatedObjectPathsOfCampaignFormForSmartFill: string[]
37
+ excludedDotNotatedObjectPathsOfCampaignFormForSmartFillVacancyFields: string[]
38
+ excludedDotNotatedObjectPathsOfCampaignFormForSmartFillPostingRequirements: string[]
38
39
  getInitialCampaignForm: () => CampaignCreateForm
39
40
  mapCampaignsAndUpdateById: (
40
41
  campaignId: string,
package/common/types.ts CHANGED
@@ -118,9 +118,13 @@ export type HapiWebComponent = {
118
118
  */
119
119
  // some widgets have query params, we need to mock them
120
120
  qaMockQueryParams?: Record<string, string>
121
+ optionalAttributes?: string[]
121
122
  enableNextJSDivScroll?: boolean
122
123
  loadingLazyIframe?: boolean
123
124
  isHiddenOnDocumentation?: boolean
125
+ // isProxyToOtherWidget exists to properly resize iframe
126
+ // when the outermost component in a widget is another widget
127
+ isProxyToOtherWidget?: boolean
124
128
  }
125
129
  export type PostingRequirementType =
126
130
  | "SELECT"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@vonq/hapi-elements-types",
4
- "version": "1.45.0",
4
+ "version": "1.47.0",
5
5
  "description": "This package contains Typescript definitions for HAPI Elements",
6
6
  "author": "VONQ HAPI Team",
7
7
  "license": "BSD-3-Clause",
@@ -28,6 +28,7 @@
28
28
  "zod": "^3.20.6"
29
29
  },
30
30
  "devDependencies": {
31
+ "@types/validator": "^13.12.2",
31
32
  "create-ts-index": "^1.14.0",
32
33
  "typescript": "^4.9.5"
33
34
  }
@@ -26,6 +26,7 @@ export type ProductState = {
26
26
  productsPaginationMeta: PaginationResponseV1 | null
27
27
  productsAreLoading: boolean
28
28
  productNameInput: string
29
+ productsDiscountedPricesAreShown: boolean
29
30
  jobRegionsIdsSelected: number[]
30
31
  filtersAccordionIsOpen: boolean
31
32
  /* Product Price Display Currency */