polfan-server-js-client 0.2.82 → 0.2.83
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/.idea/workspace.xml +15 -22
- package/build/index.cjs.js +8 -4
- package/build/index.cjs.js.map +1 -1
- package/build/index.umd.js +1 -1
- package/build/index.umd.js.map +1 -1
- package/build/types/Permissions.d.ts +4 -0
- package/package.json +1 -1
- package/src/AbstractChatClient.ts +293 -293
- package/src/Permissions.ts +1 -0
package/.idea/workspace.xml
CHANGED
|
@@ -4,14 +4,7 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="
|
|
8
|
-
<change afterPath="$PROJECT_DIR$/src/types/src/schemes/commands/RedactMessages.ts" afterDir="false" />
|
|
9
|
-
<change afterPath="$PROJECT_DIR$/src/types/src/schemes/commands/ReportAbuse.ts" afterDir="false" />
|
|
10
|
-
<change afterPath="$PROJECT_DIR$/src/types/src/schemes/events/MessagesRedacted.ts" afterDir="false" />
|
|
11
|
-
<change beforePath="$PROJECT_DIR$/src/AbstractChatClient.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/AbstractChatClient.ts" afterDir="false" />
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/src/types" beforeDir="false" afterPath="$PROJECT_DIR$/src/types" afterDir="false" />
|
|
13
|
-
<change beforePath="$PROJECT_DIR$/src/types/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/src/index.ts" afterDir="false" />
|
|
14
|
-
</list>
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Added abuse reports and message redaction types" />
|
|
15
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
16
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
17
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -29,7 +22,7 @@
|
|
|
29
22
|
<entry key="$PROJECT_DIR$/src/types" value="562c7beff95ea1eaf5c236df978f50a614a146af" />
|
|
30
23
|
</map>
|
|
31
24
|
</option>
|
|
32
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR
|
|
25
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/src/types" />
|
|
33
26
|
<option name="ROOT_SYNC" value="DONT_SYNC" />
|
|
34
27
|
</component>
|
|
35
28
|
<component name="GitHubPullRequestSearchHistory">{
|
|
@@ -64,7 +57,7 @@
|
|
|
64
57
|
"RunOnceActivity.git.unshallow": "true",
|
|
65
58
|
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
66
59
|
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
67
|
-
"git-widget-placeholder": "
|
|
60
|
+
"git-widget-placeholder": "main",
|
|
68
61
|
"ignore.virus.scanning.warn.message": "true",
|
|
69
62
|
"junie.onboarding.icon.badge.shown": "true",
|
|
70
63
|
"last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
|
|
@@ -176,15 +169,7 @@
|
|
|
176
169
|
<workItem from="1769020050643" duration="5231000" />
|
|
177
170
|
<workItem from="1769218166609" duration="940000" />
|
|
178
171
|
<workItem from="1769411030191" duration="14000" />
|
|
179
|
-
<workItem from="1769767524856" duration="
|
|
180
|
-
</task>
|
|
181
|
-
<task id="LOCAL-00030" summary="Fix JoinRoom command response type">
|
|
182
|
-
<option name="closed" value="true" />
|
|
183
|
-
<created>1750786138733</created>
|
|
184
|
-
<option name="number" value="00030" />
|
|
185
|
-
<option name="presentableId" value="LOCAL-00030" />
|
|
186
|
-
<option name="project" value="LOCAL" />
|
|
187
|
-
<updated>1750786138733</updated>
|
|
172
|
+
<workItem from="1769767524856" duration="3060000" />
|
|
188
173
|
</task>
|
|
189
174
|
<task id="LOCAL-00031" summary="Fix JoinRoom command response type">
|
|
190
175
|
<option name="closed" value="true" />
|
|
@@ -570,7 +555,15 @@
|
|
|
570
555
|
<option name="project" value="LOCAL" />
|
|
571
556
|
<updated>1769380733379</updated>
|
|
572
557
|
</task>
|
|
573
|
-
<
|
|
558
|
+
<task id="LOCAL-00079" summary="Added abuse reports and message redaction types">
|
|
559
|
+
<option name="closed" value="true" />
|
|
560
|
+
<created>1769769833745</created>
|
|
561
|
+
<option name="number" value="00079" />
|
|
562
|
+
<option name="presentableId" value="LOCAL-00079" />
|
|
563
|
+
<option name="project" value="LOCAL" />
|
|
564
|
+
<updated>1769769833747</updated>
|
|
565
|
+
</task>
|
|
566
|
+
<option name="localTasksCounter" value="80" />
|
|
574
567
|
<servers />
|
|
575
568
|
</component>
|
|
576
569
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -588,7 +581,6 @@
|
|
|
588
581
|
</option>
|
|
589
582
|
</component>
|
|
590
583
|
<component name="VcsManagerConfiguration">
|
|
591
|
-
<MESSAGE value="Fix mutationCounter doesn't increment on delete" />
|
|
592
584
|
<MESSAGE value="Changes in chat protocol and schemes" />
|
|
593
585
|
<MESSAGE value="New member count field in RoomSummary" />
|
|
594
586
|
<MESSAGE value="Version bump" />
|
|
@@ -613,7 +605,8 @@
|
|
|
613
605
|
<MESSAGE value="Align permissions to server changes" />
|
|
614
606
|
<MESSAGE value="Allow to define ManageRoom permission on room level" />
|
|
615
607
|
<MESSAGE value="Remove unused exports" />
|
|
616
|
-
<
|
|
608
|
+
<MESSAGE value="Added abuse reports and message redaction types" />
|
|
609
|
+
<option name="LAST_COMMIT_MESSAGE" value="Added abuse reports and message redaction types" />
|
|
617
610
|
</component>
|
|
618
611
|
<component name="github-copilot-workspace">
|
|
619
612
|
<instructionFileLocations>
|
package/build/index.cjs.js
CHANGED
|
@@ -203,12 +203,12 @@ var AbstractChatClient = /*#__PURE__*/function (_EventTarget) {
|
|
|
203
203
|
}]);
|
|
204
204
|
}(EventTarget);
|
|
205
205
|
|
|
206
|
-
/**
|
|
207
|
-
* Map of incoming events.
|
|
206
|
+
/**
|
|
207
|
+
* Map of incoming events.
|
|
208
208
|
*/
|
|
209
209
|
|
|
210
|
-
/**
|
|
211
|
-
* Map of commands and their corresponding events.
|
|
210
|
+
/**
|
|
211
|
+
* Map of commands and their corresponding events.
|
|
212
212
|
*/
|
|
213
213
|
;// ./src/IndexedObjectCollection.ts
|
|
214
214
|
function IndexedObjectCollection_typeof(o) { "@babel/helpers - typeof"; return IndexedObjectCollection_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, IndexedObjectCollection_typeof(o); }
|
|
@@ -3200,6 +3200,10 @@ Permissions_defineProperty(Permissions, "list", {
|
|
|
3200
3200
|
ChangeOwnColor: {
|
|
3201
3201
|
value: 1 << 18,
|
|
3202
3202
|
maxLayer: Layer.Room
|
|
3203
|
+
},
|
|
3204
|
+
RedactMessages: {
|
|
3205
|
+
value: 1 << 19,
|
|
3206
|
+
maxLayer: Layer.Topic
|
|
3203
3207
|
}
|
|
3204
3208
|
});
|
|
3205
3209
|
;// ./src/state-tracker/PermissionsManager.ts
|