polfan-server-js-client 0.2.104 → 0.2.106
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 +73 -52
- package/build/index.cjs.js +394 -95
- 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/IndexedObjectCollection.d.ts +8 -0
- package/build/types/state-tracker/FollowedTopicsManager.d.ts +18 -0
- package/build/types/state-tracker/RoomMessagesHistory.d.ts +12 -0
- package/build/types/state-tracker/TopicHistoryWindow.d.ts +2 -2
- package/package.json +1 -1
- package/src/IndexedObjectCollection.ts +31 -0
- package/src/state-tracker/EmoticonsManager.ts +72 -68
- package/src/state-tracker/FollowedTopicsManager.ts +54 -6
- package/src/state-tracker/MessagesManager.ts +21 -2
- package/src/state-tracker/PermissionsManager.ts +5 -1
- package/src/state-tracker/RelationshipsManager.ts +5 -5
- package/src/state-tracker/RoomMessagesHistory.ts +35 -1
- package/src/state-tracker/RoomsManager.ts +21 -4
- package/src/state-tracker/SpacesManager.ts +340 -313
- package/src/state-tracker/TopicHistoryWindow.ts +5 -5
- package/src/state-tracker/UsersManager.ts +3 -1
- package/tests/collections.test.ts +92 -0
- package/tests/state-reconnect.test.ts +257 -0
package/.idea/workspace.xml
CHANGED
|
@@ -4,9 +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 beforePath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" afterDir="false" />
|
|
9
|
-
</list>
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Fix jumpTo when window is in LIVE state" />
|
|
10
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
12
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -16,7 +14,7 @@
|
|
|
16
14
|
<execution />
|
|
17
15
|
</component>
|
|
18
16
|
<component name="EmbeddingIndexingInfo">
|
|
19
|
-
<option name="cachedIndexableFilesCount" value="
|
|
17
|
+
<option name="cachedIndexableFilesCount" value="201" />
|
|
20
18
|
</component>
|
|
21
19
|
<component name="Git.Rebase.Settings">
|
|
22
20
|
<option name="NEW_BASE" value="origin/main" />
|
|
@@ -24,7 +22,7 @@
|
|
|
24
22
|
<component name="Git.Settings">
|
|
25
23
|
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
26
24
|
<map>
|
|
27
|
-
<entry key="$PROJECT_DIR$" value="
|
|
25
|
+
<entry key="$PROJECT_DIR$" value="master" />
|
|
28
26
|
<entry key="$PROJECT_DIR$/src/types" value="562c7beff95ea1eaf5c236df978f50a614a146af" />
|
|
29
27
|
</map>
|
|
30
28
|
</option>
|
|
@@ -59,32 +57,50 @@
|
|
|
59
57
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
60
58
|
<option name="showLibraryContents" value="true" />
|
|
61
59
|
</component>
|
|
62
|
-
<component name="PropertiesComponent"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
60
|
+
<component name="PropertiesComponent"><![CDATA[{
|
|
61
|
+
"keyToString": {
|
|
62
|
+
"RunOnceActivity.MCP Project settings loaded": "true",
|
|
63
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
64
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
|
|
65
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
66
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
67
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
68
|
+
"codeWithMe.voiceChat.enabledByDefault": "false",
|
|
69
|
+
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
70
|
+
"git-widget-placeholder": "claude/chat-state-tracker-reconnect-6s4eha",
|
|
71
|
+
"git.auto.fetch.suggestion.counter": "2",
|
|
72
|
+
"ignore.virus.scanning.warn.message": "true",
|
|
73
|
+
"junie.onboarding.icon.badge.shown": "true",
|
|
74
|
+
"last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
|
|
75
|
+
"node.js.detected.package.eslint": "true",
|
|
76
|
+
"node.js.detected.package.tslint": "true",
|
|
77
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
78
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
79
|
+
"nodejs_package_manager_path": "npm",
|
|
80
|
+
"npm.build:node.executor": "Run",
|
|
81
|
+
"settings.editor.selected.configurable": "com.github.copilot.settings.chat.ChatConfigurable",
|
|
82
|
+
"to.speed.mode.migration.done": "true",
|
|
83
|
+
"ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
|
|
84
|
+
"vue.rearranger.settings.migration": "true"
|
|
86
85
|
}
|
|
87
|
-
}
|
|
86
|
+
}]]></component>
|
|
87
|
+
<component name="RunManager">
|
|
88
|
+
<configuration name="build:node" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
|
|
89
|
+
<package-json value="$PROJECT_DIR$/package.json" />
|
|
90
|
+
<command value="run" />
|
|
91
|
+
<scripts>
|
|
92
|
+
<script value="build:node" />
|
|
93
|
+
</scripts>
|
|
94
|
+
<node-interpreter value="project" />
|
|
95
|
+
<envs />
|
|
96
|
+
<method v="2" />
|
|
97
|
+
</configuration>
|
|
98
|
+
<recent_temporary>
|
|
99
|
+
<list>
|
|
100
|
+
<item itemvalue="npm.build:node" />
|
|
101
|
+
</list>
|
|
102
|
+
</recent_temporary>
|
|
103
|
+
</component>
|
|
88
104
|
<component name="SharedIndexes">
|
|
89
105
|
<attachedChunks>
|
|
90
106
|
<set>
|
|
@@ -210,23 +226,7 @@
|
|
|
210
226
|
<workItem from="1783939298935" duration="21428000" />
|
|
211
227
|
<workItem from="1784102649250" duration="12484000" />
|
|
212
228
|
<workItem from="1784524117686" duration="79000" />
|
|
213
|
-
<workItem from="1784562428378" duration="
|
|
214
|
-
</task>
|
|
215
|
-
<task id="LOCAL-00055" summary="RoomSummaryUpdated event support">
|
|
216
|
-
<option name="closed" value="true" />
|
|
217
|
-
<created>1754568882637</created>
|
|
218
|
-
<option name="number" value="00055" />
|
|
219
|
-
<option name="presentableId" value="LOCAL-00055" />
|
|
220
|
-
<option name="project" value="LOCAL" />
|
|
221
|
-
<updated>1754568882638</updated>
|
|
222
|
-
</task>
|
|
223
|
-
<task id="LOCAL-00056" summary="Ephemeral room history support">
|
|
224
|
-
<option name="closed" value="true" />
|
|
225
|
-
<created>1754573943778</created>
|
|
226
|
-
<option name="number" value="00056" />
|
|
227
|
-
<option name="presentableId" value="LOCAL-00056" />
|
|
228
|
-
<option name="project" value="LOCAL" />
|
|
229
|
-
<updated>1754573943778</updated>
|
|
229
|
+
<workItem from="1784562428378" duration="8399000" />
|
|
230
230
|
</task>
|
|
231
231
|
<task id="LOCAL-00057" summary="Ephemeral room history support">
|
|
232
232
|
<option name="closed" value="true" />
|
|
@@ -604,7 +604,23 @@
|
|
|
604
604
|
<option name="project" value="LOCAL" />
|
|
605
605
|
<updated>1784454304263</updated>
|
|
606
606
|
</task>
|
|
607
|
-
<
|
|
607
|
+
<task id="LOCAL-00104" summary="Fix resolve window status after jump to message">
|
|
608
|
+
<option name="closed" value="true" />
|
|
609
|
+
<created>1784563961478</created>
|
|
610
|
+
<option name="number" value="00104" />
|
|
611
|
+
<option name="presentableId" value="LOCAL-00104" />
|
|
612
|
+
<option name="project" value="LOCAL" />
|
|
613
|
+
<updated>1784563961478</updated>
|
|
614
|
+
</task>
|
|
615
|
+
<task id="LOCAL-00105" summary="Fix jumpTo when window is in LIVE state">
|
|
616
|
+
<option name="closed" value="true" />
|
|
617
|
+
<created>1784734559954</created>
|
|
618
|
+
<option name="number" value="00105" />
|
|
619
|
+
<option name="presentableId" value="LOCAL-00105" />
|
|
620
|
+
<option name="project" value="LOCAL" />
|
|
621
|
+
<updated>1784734559954</updated>
|
|
622
|
+
</task>
|
|
623
|
+
<option name="localTasksCounter" value="106" />
|
|
608
624
|
<servers />
|
|
609
625
|
</component>
|
|
610
626
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -616,6 +632,11 @@
|
|
|
616
632
|
<entry key="Branch">
|
|
617
633
|
<value>
|
|
618
634
|
<list>
|
|
635
|
+
<RecentGroup>
|
|
636
|
+
<option name="FILTER_VALUES">
|
|
637
|
+
<option value="claude/chat-state-tracker-reconnect-6s4eha" />
|
|
638
|
+
</option>
|
|
639
|
+
</RecentGroup>
|
|
619
640
|
<RecentGroup>
|
|
620
641
|
<option name="FILTER_VALUES">
|
|
621
642
|
<option value="master" />
|
|
@@ -636,7 +657,7 @@
|
|
|
636
657
|
<entry key="branch">
|
|
637
658
|
<value>
|
|
638
659
|
<list>
|
|
639
|
-
<option value="
|
|
660
|
+
<option value="claude/chat-state-tracker-reconnect-6s4eha" />
|
|
640
661
|
</list>
|
|
641
662
|
</value>
|
|
642
663
|
</entry>
|
|
@@ -649,8 +670,6 @@
|
|
|
649
670
|
</option>
|
|
650
671
|
</component>
|
|
651
672
|
<component name="VcsManagerConfiguration">
|
|
652
|
-
<MESSAGE value="Align permissions to server changes" />
|
|
653
|
-
<MESSAGE value="Allow to define ManageRoom permission on room level" />
|
|
654
673
|
<MESSAGE value="Remove unused exports" />
|
|
655
674
|
<MESSAGE value="Added abuse reports and message redaction types" />
|
|
656
675
|
<MESSAGE value="Added new permission" />
|
|
@@ -674,7 +693,9 @@
|
|
|
674
693
|
<MESSAGE value="Adjust session data changes" />
|
|
675
694
|
<MESSAGE value="Topic unfollowing" />
|
|
676
695
|
<MESSAGE value="Fixes in WebApiChatClient" />
|
|
677
|
-
<
|
|
696
|
+
<MESSAGE value="Fix resolve window status after jump to message" />
|
|
697
|
+
<MESSAGE value="Fix jumpTo when window is in LIVE state" />
|
|
698
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix jumpTo when window is in LIVE state" />
|
|
678
699
|
</component>
|
|
679
700
|
<component name="XSLT-Support.FileAssociations.UIState">
|
|
680
701
|
<expand />
|