polfan-server-js-client 0.2.55 → 0.2.57
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/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/workspace.xml +29 -16
- package/build/index.cjs.js +12 -1
- 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/state-tracker/TopicHistoryWindow.d.ts +5 -3
- package/package.json +1 -1
- package/src/state-tracker/TopicHistoryWindow.ts +18 -3
- package/tests/history-window.test.ts +6 -1
package/.idea/workspace.xml
CHANGED
|
@@ -4,9 +4,15 @@
|
|
|
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="
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Collection integration with React JS rework">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/build/index.cjs.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.cjs.js" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/build/index.cjs.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.cjs.js.map" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/build/index.umd.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.umd.js" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/build/index.umd.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.umd.js.map" afterDir="false" />
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/build/types/state-tracker/TopicHistoryWindow.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/build/types/state-tracker/TopicHistoryWindow.d.ts" afterDir="false" />
|
|
8
13
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
14
|
+
<change beforePath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" afterDir="false" />
|
|
15
|
+
<change beforePath="$PROJECT_DIR$/tests/history-window.test.ts" beforeDir="false" afterPath="$PROJECT_DIR$/tests/history-window.test.ts" afterDir="false" />
|
|
10
16
|
</list>
|
|
11
17
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
18
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -53,7 +59,9 @@
|
|
|
53
59
|
"keyToString": {
|
|
54
60
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
55
61
|
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
|
|
62
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
56
63
|
"RunOnceActivity.git.unshallow": "true",
|
|
64
|
+
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
57
65
|
"git-widget-placeholder": "master",
|
|
58
66
|
"ignore.virus.scanning.warn.message": "true",
|
|
59
67
|
"junie.onboarding.icon.badge.shown": "true",
|
|
@@ -63,6 +71,7 @@
|
|
|
63
71
|
"node.js.selected.package.eslint": "(autodetect)",
|
|
64
72
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
65
73
|
"nodejs_package_manager_path": "npm",
|
|
74
|
+
"to.speed.mode.migration.done": "true",
|
|
66
75
|
"ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
|
|
67
76
|
"vue.rearranger.settings.migration": "true"
|
|
68
77
|
}
|
|
@@ -70,8 +79,8 @@
|
|
|
70
79
|
<component name="SharedIndexes">
|
|
71
80
|
<attachedChunks>
|
|
72
81
|
<set>
|
|
73
|
-
<option value="bundled-js-predefined-d6986cc7102b-
|
|
74
|
-
<option value="bundled-php-predefined-a98d8de5180a-
|
|
82
|
+
<option value="bundled-js-predefined-d6986cc7102b-c7e53b3be11b-JavaScript-PS-253.28086.57" />
|
|
83
|
+
<option value="bundled-php-predefined-a98d8de5180a-09080813851e-com.jetbrains.php.sharedIndexes-PS-253.28086.57" />
|
|
75
84
|
</set>
|
|
76
85
|
</attachedChunks>
|
|
77
86
|
</component>
|
|
@@ -138,15 +147,11 @@
|
|
|
138
147
|
<workItem from="1759848250548" duration="413000" />
|
|
139
148
|
<workItem from="1761857165939" duration="4293000" />
|
|
140
149
|
<workItem from="1762715993044" duration="642000" />
|
|
141
|
-
<workItem from="1762724230487" duration="
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
<
|
|
145
|
-
<
|
|
146
|
-
<option name="number" value="00012" />
|
|
147
|
-
<option name="presentableId" value="LOCAL-00012" />
|
|
148
|
-
<option name="project" value="LOCAL" />
|
|
149
|
-
<updated>1739137397104</updated>
|
|
150
|
+
<workItem from="1762724230487" duration="7498000" />
|
|
151
|
+
<workItem from="1762800240528" duration="49000" />
|
|
152
|
+
<workItem from="1762800459831" duration="10000" />
|
|
153
|
+
<workItem from="1763319451927" duration="2136000" />
|
|
154
|
+
<workItem from="1763410036992" duration="181000" />
|
|
150
155
|
</task>
|
|
151
156
|
<task id="LOCAL-00013" summary="Permission related changes in protocol types">
|
|
152
157
|
<option name="closed" value="true" />
|
|
@@ -532,7 +537,15 @@
|
|
|
532
537
|
<option name="project" value="LOCAL" />
|
|
533
538
|
<updated>1761861305919</updated>
|
|
534
539
|
</task>
|
|
535
|
-
<
|
|
540
|
+
<task id="LOCAL-00061" summary="Collection integration with React JS rework">
|
|
541
|
+
<option name="closed" value="true" />
|
|
542
|
+
<created>1762773873854</created>
|
|
543
|
+
<option name="number" value="00061" />
|
|
544
|
+
<option name="presentableId" value="LOCAL-00061" />
|
|
545
|
+
<option name="project" value="LOCAL" />
|
|
546
|
+
<updated>1762773873854</updated>
|
|
547
|
+
</task>
|
|
548
|
+
<option name="localTasksCounter" value="62" />
|
|
536
549
|
<servers />
|
|
537
550
|
</component>
|
|
538
551
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -550,7 +563,6 @@
|
|
|
550
563
|
</option>
|
|
551
564
|
</component>
|
|
552
565
|
<component name="VcsManagerConfiguration">
|
|
553
|
-
<MESSAGE value="Custom nicks support" />
|
|
554
566
|
<MESSAGE value="CustomNickChange message type" />
|
|
555
567
|
<MESSAGE value="Fix module exporting (node + browser)" />
|
|
556
568
|
<MESSAGE value="Fix JoinRoom command response type" />
|
|
@@ -575,6 +587,7 @@
|
|
|
575
587
|
<MESSAGE value="Protocol version support" />
|
|
576
588
|
<MESSAGE value="Update room on recipient user change" />
|
|
577
589
|
<MESSAGE value="Fix websocket state error handling" />
|
|
578
|
-
<
|
|
590
|
+
<MESSAGE value="Collection integration with React JS rework" />
|
|
591
|
+
<option name="LAST_COMMIT_MESSAGE" value="Collection integration with React JS rework" />
|
|
579
592
|
</component>
|
|
580
593
|
</project>
|
package/build/index.cjs.js
CHANGED
|
@@ -428,9 +428,9 @@ class TraversableRemoteCollection extends ObservableIndexedObjectCollection {
|
|
|
428
428
|
* Null for unlimited.
|
|
429
429
|
*/
|
|
430
430
|
TopicHistoryWindow_defineProperty(this, "limit", 50);
|
|
431
|
+
TopicHistoryWindow_defineProperty(this, "oldestId", null);
|
|
431
432
|
TopicHistoryWindow_defineProperty(this, "currentState", WindowState.LIVE);
|
|
432
433
|
TopicHistoryWindow_defineProperty(this, "fetchingState", undefined);
|
|
433
|
-
TopicHistoryWindow_defineProperty(this, "oldestId", null);
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
436
|
* Current mode od collection window. To change mode, call one of available fetch methods.
|
|
@@ -552,6 +552,17 @@ class TopicHistoryWindow extends TraversableRemoteCollection {
|
|
|
552
552
|
this.tracker.client.on('Session', ev => this.handleSession(ev));
|
|
553
553
|
this.tracker.client.on('NewMessage', ev => this.handleNewMessage(ev));
|
|
554
554
|
}
|
|
555
|
+
shallowCopy() {
|
|
556
|
+
const copy = new TopicHistoryWindow(this.roomId, this.topicId, this.tracker);
|
|
557
|
+
copy.eventTarget = this.eventTarget;
|
|
558
|
+
copy._items = this._items;
|
|
559
|
+
copy.limit = this.limit;
|
|
560
|
+
copy.currentState = this.currentState;
|
|
561
|
+
copy.fetchingState = this.fetchingState;
|
|
562
|
+
copy.oldestId = this.oldestId;
|
|
563
|
+
copy.traverseLock = this.traverseLock;
|
|
564
|
+
return copy;
|
|
565
|
+
}
|
|
555
566
|
get isTraverseLocked() {
|
|
556
567
|
return this.traverseLock;
|
|
557
568
|
}
|