@vonq/hapi-elements-types 1.26.0 → 1.28.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.
@@ -10,6 +10,7 @@ export type WindowHapiServiceAlert = WindowHapiModuleWithConstructorArgs<
10
10
  props: any | undefined,
11
11
  options: AlertOptions,
12
12
  ) => void
13
+ hide: (key: AlertKey) => void
13
14
  },
14
15
  { readonly service: WindowHapiService }
15
16
  >
@@ -8,6 +8,7 @@ export type LogOutput = (
8
8
 
9
9
  export type WindowHapiLogger = {
10
10
  id: string
11
+ isEnabled: boolean
11
12
  setIsEnabled: (isEnabled: boolean) => void
12
13
  debug: (...objects: any[]) => void
13
14
  info: (...objects: any[]) => void
@@ -15,4 +16,4 @@ export type WindowHapiLogger = {
15
16
  error: (...objects: any[]) => void
16
17
  timeStart: (message: string) => void
17
18
  timeEnd: (message: string) => void
18
- }
19
+ }
package/common/types.ts CHANGED
@@ -168,10 +168,17 @@ export type PostingRequirementRuleWithObjectData = {
168
168
  data: Record<string, any>
169
169
  } & Omit<PostingRequirementRule, "data">
170
170
 
171
+ export type PostingRequirementDisplayRuleShowOperand =
172
+ | "notempty"
173
+ | "equal"
174
+ | "in"
175
+ | "contains"
176
+ | "selected_option_show_contains"
177
+
171
178
  export type PostingRequirementDisplayRuleShow = {
172
179
  facet: string
173
180
  value: any
174
- op: "notempty" | "equal" | "in" | "selected_option_show_contains"
181
+ op: PostingRequirementDisplayRuleShowOperand
175
182
  }
176
183
  export type PostingRequirementDisplayRule = {
177
184
  show: PostingRequirementDisplayRuleShow[]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@vonq/hapi-elements-types",
4
- "version": "1.26.0",
4
+ "version": "1.28.0",
5
5
  "description": "This package contains Typescript definitions for HAPI Elements",
6
6
  "author": "VONQ HAPI Team",
7
7
  "license": "BSD-3-Clause",