@streamlayer/sl-eslib 5.119.0 → 5.120.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/package.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { BypassNotifications, EventModeration, Question, QuestionStatus, QuestionTimeline, QuestionType, ServerNotificationOptions } from "../interactive.common_pb.js";
|
|
9
|
+
import type { Trigger } from "../../triggers/triggers_pb.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* @generated from enum streamlayer.interactive.studio.UpdateType
|
|
@@ -140,6 +141,21 @@ export declare enum UpdateType {
|
|
|
140
141
|
* @generated from enum value: UPDATE_TYPE_QUESTION_REACTIVATED = 25;
|
|
141
142
|
*/
|
|
142
143
|
QUESTION_REACTIVATED = 25,
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from enum value: UPDATE_TYPE_TRIGGER_CREATE = 26;
|
|
147
|
+
*/
|
|
148
|
+
TRIGGER_CREATE = 26,
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from enum value: UPDATE_TYPE_TRIGGER_UPDATE = 27;
|
|
152
|
+
*/
|
|
153
|
+
TRIGGER_UPDATE = 27,
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from enum value: UPDATE_TYPE_TRIGGER_DELETE = 28;
|
|
157
|
+
*/
|
|
158
|
+
TRIGGER_DELETE = 28,
|
|
143
159
|
}
|
|
144
160
|
|
|
145
161
|
/**
|
|
@@ -278,6 +294,11 @@ export declare class ModerationSubscriptionAttributes extends Message<Moderation
|
|
|
278
294
|
*/
|
|
279
295
|
questions: Question[];
|
|
280
296
|
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: repeated streamlayer.triggers.Trigger triggers = 4;
|
|
299
|
+
*/
|
|
300
|
+
triggers: Trigger[];
|
|
301
|
+
|
|
281
302
|
constructor(data?: PartialMessage<ModerationSubscriptionAttributes>);
|
|
282
303
|
|
|
283
304
|
static readonly runtime: typeof proto3;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { BypassNotifications, EventModeration, Question, QuestionStatus, QuestionTimeline, QuestionType, ServerNotificationOptions } from "../interactive.common_pb.js";
|
|
8
|
+
import { Trigger } from "../../triggers/triggers_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum streamlayer.interactive.studio.UpdateType
|
|
@@ -38,6 +39,9 @@ export const UpdateType = /*@__PURE__*/ proto3.makeEnum(
|
|
|
38
39
|
{no: 23, name: "UPDATE_TYPE_QUESTION_AI_FAILED", localName: "QUESTION_AI_FAILED"},
|
|
39
40
|
{no: 24, name: "UPDATE_TYPE_QUESTION_AI_REGENERATED", localName: "QUESTION_AI_REGENERATED"},
|
|
40
41
|
{no: 25, name: "UPDATE_TYPE_QUESTION_REACTIVATED", localName: "QUESTION_REACTIVATED"},
|
|
42
|
+
{no: 26, name: "UPDATE_TYPE_TRIGGER_CREATE", localName: "TRIGGER_CREATE"},
|
|
43
|
+
{no: 27, name: "UPDATE_TYPE_TRIGGER_UPDATE", localName: "TRIGGER_UPDATE"},
|
|
44
|
+
{no: 28, name: "UPDATE_TYPE_TRIGGER_DELETE", localName: "TRIGGER_DELETE"},
|
|
41
45
|
],
|
|
42
46
|
);
|
|
43
47
|
|
|
@@ -107,6 +111,7 @@ export const ModerationSubscriptionAttributes = /*@__PURE__*/ proto3.makeMessage
|
|
|
107
111
|
{ no: 1, name: "moderation", kind: "message", T: EventModeration },
|
|
108
112
|
{ no: 2, name: "question", kind: "message", T: Question },
|
|
109
113
|
{ no: 3, name: "questions", kind: "message", T: Question, repeated: true },
|
|
114
|
+
{ no: 4, name: "triggers", kind: "message", T: Trigger, repeated: true },
|
|
110
115
|
],
|
|
111
116
|
);
|
|
112
117
|
|