@vonq/hapi-elements-types 1.45.0 → 1.46.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 +1 -0
- package/campaign/utils.types.ts +2 -1
- package/common/types.ts +4 -0
- package/package.json +1 -1
- package/product/state.types.ts +1 -0
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 =
|
package/campaign/utils.types.ts
CHANGED
@@ -34,7 +34,8 @@ import {
|
|
34
34
|
|
35
35
|
export type WindowHapiUtilsCampaign = WindowHapiModuleWithConstructorArgs<
|
36
36
|
{
|
37
|
-
|
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
package/product/state.types.ts
CHANGED
@@ -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 */
|