@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.
- package/alert/service.types.ts +1 -0
- package/common/logger/types.ts +2 -1
- package/common/types.ts +8 -1
- package/package.json +1 -1
package/alert/service.types.ts
CHANGED
package/common/logger/types.ts
CHANGED
@@ -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:
|
181
|
+
op: PostingRequirementDisplayRuleShowOperand
|
175
182
|
}
|
176
183
|
export type PostingRequirementDisplayRule = {
|
177
184
|
show: PostingRequirementDisplayRuleShow[]
|
package/package.json
CHANGED