@streamlayer/sl-eslib 5.104.0 → 5.104.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sl-eslib",
3
- "version": "5.104.0",
3
+ "version": "5.104.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -6,6 +6,26 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
 
9
+ /**
10
+ * @generated from enum streamlayer.triggers.UseConditionThreshold
11
+ */
12
+ export declare enum UseConditionThreshold {
13
+ /**
14
+ * @generated from enum value: USE_CONDITION_THRESHOLD_UNSET = 0;
15
+ */
16
+ UNSET = 0,
17
+
18
+ /**
19
+ * @generated from enum value: USE_CONDITION_THRESHOLD_ENABLED = 1;
20
+ */
21
+ ENABLED = 1,
22
+
23
+ /**
24
+ * @generated from enum value: USE_CONDITION_THRESHOLD_DISABLED = 2;
25
+ */
26
+ DISABLED = 2,
27
+ }
28
+
9
29
  /**
10
30
  * @generated from enum streamlayer.triggers.StudioInput
11
31
  */
@@ -121,9 +141,9 @@ export declare class Trigger extends Message<Trigger> {
121
141
  /**
122
142
  * threshold flag
123
143
  *
124
- * @generated from field: bool use_condition_threshold = 13;
144
+ * @generated from field: streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13;
125
145
  */
126
- useConditionThreshold: boolean;
146
+ useConditionThreshold: UseConditionThreshold;
127
147
 
128
148
  constructor(data?: PartialMessage<Trigger>);
129
149
 
@@ -440,9 +460,9 @@ export declare class EssentialTriggerData extends Message<EssentialTriggerData>
440
460
  useEntityLimits: boolean;
441
461
 
442
462
  /**
443
- * @generated from field: bool use_condition_threshold = 12;
463
+ * @generated from field: streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12;
444
464
  */
445
- useConditionThreshold: boolean;
465
+ useConditionThreshold: UseConditionThreshold;
446
466
 
447
467
  constructor(data?: PartialMessage<EssentialTriggerData>);
448
468
 
@@ -5,6 +5,18 @@
5
5
 
6
6
  import { proto3 } from "@bufbuild/protobuf";
7
7
 
8
+ /**
9
+ * @generated from enum streamlayer.triggers.UseConditionThreshold
10
+ */
11
+ export const UseConditionThreshold = /*@__PURE__*/ proto3.makeEnum(
12
+ "streamlayer.triggers.UseConditionThreshold",
13
+ [
14
+ {no: 0, name: "USE_CONDITION_THRESHOLD_UNSET", localName: "UNSET"},
15
+ {no: 1, name: "USE_CONDITION_THRESHOLD_ENABLED", localName: "ENABLED"},
16
+ {no: 2, name: "USE_CONDITION_THRESHOLD_DISABLED", localName: "DISABLED"},
17
+ ],
18
+ );
19
+
8
20
  /**
9
21
  * @generated from enum streamlayer.triggers.StudioInput
10
22
  */
@@ -39,7 +51,7 @@ export const Trigger = /*@__PURE__*/ proto3.makeMessageType(
39
51
  { no: 10, name: "threshold", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
40
52
  { no: 11, name: "disabled_entity", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
41
53
  { no: 12, name: "use_entity_limits", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
42
- { no: 13, name: "use_condition_threshold", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
54
+ { no: 13, name: "use_condition_threshold", kind: "enum", T: proto3.getEnumType(UseConditionThreshold) },
43
55
  ],
44
56
  );
45
57
 
@@ -114,7 +126,7 @@ export const EssentialTriggerData = /*@__PURE__*/ proto3.makeMessageType(
114
126
  { no: 9, name: "threshold", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
115
127
  { no: 10, name: "disabled_entity", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
116
128
  { no: 11, name: "use_entity_limits", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
117
- { no: 12, name: "use_condition_threshold", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
129
+ { no: 12, name: "use_condition_threshold", kind: "enum", T: proto3.getEnumType(UseConditionThreshold) },
118
130
  ],
119
131
  );
120
132