@streamlayer/sl-eslib 5.153.2 → 5.155.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
|
@@ -2704,6 +2704,11 @@ export declare class Question extends Message<Question> {
|
|
|
2704
2704
|
*/
|
|
2705
2705
|
createdAt: string;
|
|
2706
2706
|
|
|
2707
|
+
/**
|
|
2708
|
+
* @generated from field: optional string name = 25;
|
|
2709
|
+
*/
|
|
2710
|
+
name?: string;
|
|
2711
|
+
|
|
2707
2712
|
constructor(data?: PartialMessage<Question>);
|
|
2708
2713
|
|
|
2709
2714
|
static readonly runtime: typeof proto3;
|
|
@@ -897,6 +897,7 @@ export const Question = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
897
897
|
{ no: 22, name: "ai", kind: "message", T: QuestionAi },
|
|
898
898
|
{ no: 23, name: "has_triggers", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
899
899
|
{ no: 24, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
900
|
+
{ no: 25, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
900
901
|
],
|
|
901
902
|
);
|
|
902
903
|
|
|
@@ -1810,6 +1810,27 @@ export declare class TriggerActivation extends Message<TriggerActivation> {
|
|
|
1810
1810
|
*/
|
|
1811
1811
|
entityId: string;
|
|
1812
1812
|
|
|
1813
|
+
/**
|
|
1814
|
+
* game event
|
|
1815
|
+
*
|
|
1816
|
+
* @generated from field: streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent game_event = 6;
|
|
1817
|
+
*/
|
|
1818
|
+
gameEvent?: TriggerActivation_TriggerActivationGameEvent;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* related trigger
|
|
1822
|
+
*
|
|
1823
|
+
* @generated from field: streamlayer.triggers.Trigger trigger = 7;
|
|
1824
|
+
*/
|
|
1825
|
+
trigger?: Trigger;
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* activated conditions
|
|
1829
|
+
*
|
|
1830
|
+
* @generated from field: repeated streamlayer.triggers.TriggerCondition conditions = 8;
|
|
1831
|
+
*/
|
|
1832
|
+
conditions: TriggerCondition[];
|
|
1833
|
+
|
|
1813
1834
|
constructor(data?: PartialMessage<TriggerActivation>);
|
|
1814
1835
|
|
|
1815
1836
|
static readonly runtime: typeof proto3;
|
|
@@ -1825,16 +1846,71 @@ export declare class TriggerActivation extends Message<TriggerActivation> {
|
|
|
1825
1846
|
static equals(a: TriggerActivation | PlainMessage<TriggerActivation> | undefined, b: TriggerActivation | PlainMessage<TriggerActivation> | undefined): boolean;
|
|
1826
1847
|
}
|
|
1827
1848
|
|
|
1849
|
+
/**
|
|
1850
|
+
* @generated from message streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent
|
|
1851
|
+
*/
|
|
1852
|
+
export declare class TriggerActivation_TriggerActivationGameEvent extends Message<TriggerActivation_TriggerActivationGameEvent> {
|
|
1853
|
+
/**
|
|
1854
|
+
* @generated from field: string time = 1;
|
|
1855
|
+
*/
|
|
1856
|
+
time: string;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* @generated from field: string period = 2;
|
|
1860
|
+
*/
|
|
1861
|
+
period: string;
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* @generated from field: string description = 3;
|
|
1865
|
+
*/
|
|
1866
|
+
description: string;
|
|
1867
|
+
|
|
1868
|
+
constructor(data?: PartialMessage<TriggerActivation_TriggerActivationGameEvent>);
|
|
1869
|
+
|
|
1870
|
+
static readonly runtime: typeof proto3;
|
|
1871
|
+
static readonly typeName = "streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent";
|
|
1872
|
+
static readonly fields: FieldList;
|
|
1873
|
+
|
|
1874
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TriggerActivation_TriggerActivationGameEvent;
|
|
1875
|
+
|
|
1876
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TriggerActivation_TriggerActivationGameEvent;
|
|
1877
|
+
|
|
1878
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TriggerActivation_TriggerActivationGameEvent;
|
|
1879
|
+
|
|
1880
|
+
static equals(a: TriggerActivation_TriggerActivationGameEvent | PlainMessage<TriggerActivation_TriggerActivationGameEvent> | undefined, b: TriggerActivation_TriggerActivationGameEvent | PlainMessage<TriggerActivation_TriggerActivationGameEvent> | undefined): boolean;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1828
1883
|
/**
|
|
1829
1884
|
* @generated from message streamlayer.triggers.TriggerActivationsRequest
|
|
1830
1885
|
*/
|
|
1831
1886
|
export declare class TriggerActivationsRequest extends Message<TriggerActivationsRequest> {
|
|
1832
1887
|
/**
|
|
1833
|
-
* trigger_id
|
|
1888
|
+
* trigger_id can be empty
|
|
1834
1889
|
*
|
|
1835
|
-
* @generated from field: string id = 1;
|
|
1890
|
+
* @generated from field: optional string id = 1;
|
|
1836
1891
|
*/
|
|
1837
|
-
id
|
|
1892
|
+
id?: string;
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* entity_id can be empty, priority is trigger_id
|
|
1896
|
+
*
|
|
1897
|
+
* @generated from field: optional string entity_id = 2;
|
|
1898
|
+
*/
|
|
1899
|
+
entityId?: string;
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* limit
|
|
1903
|
+
*
|
|
1904
|
+
* @generated from field: int32 limit = 3;
|
|
1905
|
+
*/
|
|
1906
|
+
limit: number;
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* offset
|
|
1910
|
+
*
|
|
1911
|
+
* @generated from field: int32 offset = 4;
|
|
1912
|
+
*/
|
|
1913
|
+
offset: number;
|
|
1838
1914
|
|
|
1839
1915
|
constructor(data?: PartialMessage<TriggerActivationsRequest>);
|
|
1840
1916
|
|
|
@@ -1880,7 +1956,7 @@ export declare class TriggerActivationsResponse extends Message<TriggerActivatio
|
|
|
1880
1956
|
*/
|
|
1881
1957
|
export declare class TriggerActivationsResponse_ResponseItem extends Message<TriggerActivationsResponse_ResponseItem> {
|
|
1882
1958
|
/**
|
|
1883
|
-
*
|
|
1959
|
+
* snapshot identifier
|
|
1884
1960
|
*
|
|
1885
1961
|
* @generated from field: string id = 1;
|
|
1886
1962
|
*/
|
|
@@ -588,16 +588,35 @@ export const TriggerActivation = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
588
588
|
{ no: 3, name: "activated_condition_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
589
589
|
{ no: 4, name: "entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
590
590
|
{ no: 5, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
591
|
+
{ no: 6, name: "game_event", kind: "message", T: TriggerActivation_TriggerActivationGameEvent },
|
|
592
|
+
{ no: 7, name: "trigger", kind: "message", T: Trigger },
|
|
593
|
+
{ no: 8, name: "conditions", kind: "message", T: TriggerCondition, repeated: true },
|
|
591
594
|
],
|
|
592
595
|
);
|
|
593
596
|
|
|
597
|
+
/**
|
|
598
|
+
* @generated from message streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent
|
|
599
|
+
*/
|
|
600
|
+
export const TriggerActivation_TriggerActivationGameEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
601
|
+
"streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent",
|
|
602
|
+
() => [
|
|
603
|
+
{ no: 1, name: "time", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
604
|
+
{ no: 2, name: "period", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
605
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
606
|
+
],
|
|
607
|
+
{localName: "TriggerActivation_TriggerActivationGameEvent"},
|
|
608
|
+
);
|
|
609
|
+
|
|
594
610
|
/**
|
|
595
611
|
* @generated from message streamlayer.triggers.TriggerActivationsRequest
|
|
596
612
|
*/
|
|
597
613
|
export const TriggerActivationsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
598
614
|
"streamlayer.triggers.TriggerActivationsRequest",
|
|
599
615
|
() => [
|
|
600
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING
|
|
616
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
617
|
+
{ no: 2, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
618
|
+
{ no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
619
|
+
{ no: 4, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
601
620
|
],
|
|
602
621
|
);
|
|
603
622
|
|