polfan-server-js-client 0.4.2 → 0.4.3

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.
@@ -0,0 +1,4 @@
1
+ <changelist name="Uncommitted_changes_before_Update_at_08_09_2026_17_04_[Changes]" date="1788879866780" recycled="true" deleted="true">
2
+ <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_08_09_2026_17_04_[Changes]/shelved.patch" />
3
+ <option name="DESCRIPTION" value="Uncommitted changes before Update at 08.09.2026 17:04 [Changes]" />
4
+ </changelist>
@@ -4,7 +4,9 @@
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="Revert &quot;User presence status support&quot;&#10;&#10;This reverts commit b9ff2004" />
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Bump version&#10;&#10;This reverts commit b9ff2004">
8
+ <change beforePath="$PROJECT_DIR$/src/types" beforeDir="false" afterPath="$PROJECT_DIR$/src/types" afterDir="false" />
9
+ </list>
8
10
  <option name="SHOW_DIALOG" value="false" />
9
11
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
12
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -14,7 +16,7 @@
14
16
  <execution />
15
17
  </component>
16
18
  <component name="EmbeddingIndexingInfo">
17
- <option name="cachedIndexableFilesCount" value="213" />
19
+ <option name="cachedIndexableFilesCount" value="223" />
18
20
  </component>
19
21
  <component name="Git.Rebase.Settings">
20
22
  <option name="NEW_BASE" value="master" />
@@ -28,10 +30,10 @@
28
30
  <option name="RECENT_BRANCH_BY_REPOSITORY">
29
31
  <map>
30
32
  <entry key="$PROJECT_DIR$" value="claude/chat-reactions-polls-system-hwea5i" />
31
- <entry key="$PROJECT_DIR$/src/types" value="main" />
33
+ <entry key="$PROJECT_DIR$/src/types" value="claude/chat-reactions-polls-system-hwea5i" />
32
34
  </map>
33
35
  </option>
34
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
36
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/src/types" />
35
37
  <option name="RESET_MODE" value="HARD" />
36
38
  <option name="ROOT_SYNC" value="DONT_SYNC" />
37
39
  </component>
@@ -44,12 +46,12 @@
44
46
  <component name="GitRewordedCommitMessages">
45
47
  <option name="commitMessagesMapping">
46
48
  <RewordedCommitMessageMapping>
47
- <option name="originalMessage" value="Message reactions and polls&#10;&#10;The history window keeps the global counters on the messages themselves and the&#10;connected user's own votes in a map beside them, so what everybody sees stays&#10;identical and only the active state differs per user. `MessageReactionChanged`&#10;overwrites a counter in place (a pill must not jump around as its number moves)&#10;and retires it at zero; `ReactionToggled` moves the user's own entry.&#10;&#10;A GetMessages response is the truth for every message it covers, so the map is&#10;refreshed from it rather than merged - a vote withdrawn from another device does&#10;not survive a reload.&#10;&#10;The four near-identical fetchers now share one request helper, which is also&#10;where `includeMyReactions` is attached." />
48
- <option name="rewordedMessage" value="Message reactions and polls" />
49
+ <option name="originalMessage" value="Role flags and the MentionAllRoles permission&#10;&#10;Re-exports the RoleFlag enum and registers the new permission bit, plus the&#10;types submodule bump carrying `Role.flags`.&#10;&#10;Co-Authored-By: Claude Opus 5 &lt;noreply@anthropic.com&gt;&#10;Claude-Session: https://claude.ai/code/session_018QUxtDbWJMFih7bKH6thpn" />
50
+ <option name="rewordedMessage" value="Role flags and the MentionAllRoles permission" />
49
51
  </RewordedCommitMessageMapping>
50
52
  </option>
51
53
  <option name="currentCommit" value="1" />
52
- <option name="onto" value="79acd57a1c49b90da43379eaa1805f46ad9a655e" />
54
+ <option name="onto" value="54de756e28152bbda67a6480b48df607e3425e4a" />
53
55
  </component>
54
56
  <component name="GithubPullRequestsUISettings">{
55
57
  &quot;selectedUrlAndAccountId&quot;: {
@@ -83,7 +85,7 @@
83
85
  "RunOnceActivity.typescript.service.memoryLimit.init": "true",
84
86
  "codeWithMe.voiceChat.enabledByDefault": "false",
85
87
  "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
86
- "git-widget-placeholder": "master",
88
+ "git-widget-placeholder": "main",
87
89
  "git.auto.fetch.suggestion.counter": "3",
88
90
  "ignore.virus.scanning.warn.message": "true",
89
91
  "junie.onboarding.icon.badge.shown": "true",
@@ -253,15 +255,10 @@
253
255
  <workItem from="1786526830597" duration="598000" />
254
256
  <workItem from="1787125977456" duration="278000" />
255
257
  <workItem from="1787576741803" duration="2076000" />
256
- <workItem from="1787648458595" duration="967000" />
257
- </task>
258
- <task id="LOCAL-00067" summary="Ping-pong connection monitoring">
259
- <option name="closed" value="true" />
260
- <created>1765145134871</created>
261
- <option name="number" value="00067" />
262
- <option name="presentableId" value="LOCAL-00067" />
263
- <option name="project" value="LOCAL" />
264
- <updated>1765145134871</updated>
258
+ <workItem from="1787648458595" duration="3034000" />
259
+ <workItem from="1787994100244" duration="588000" />
260
+ <workItem from="1788873818076" duration="1523000" />
261
+ <workItem from="1788879390791" duration="635000" />
265
262
  </task>
266
263
  <task id="LOCAL-00068" summary="Improve reconnect on timeout">
267
264
  <option name="closed" value="true" />
@@ -647,7 +644,15 @@
647
644
  <option name="project" value="LOCAL" />
648
645
  <updated>1787581107970</updated>
649
646
  </task>
650
- <option name="localTasksCounter" value="116" />
647
+ <task id="LOCAL-00116" summary="Bump version&#10;&#10;This reverts commit b9ff2004">
648
+ <option name="closed" value="true" />
649
+ <created>1787649696666</created>
650
+ <option name="number" value="00116" />
651
+ <option name="presentableId" value="LOCAL-00116" />
652
+ <option name="project" value="LOCAL" />
653
+ <updated>1787649696666</updated>
654
+ </task>
655
+ <option name="localTasksCounter" value="117" />
651
656
  <servers />
652
657
  </component>
653
658
  <component name="TypeScriptGeneratedFilesManager">
@@ -664,6 +669,11 @@
664
669
  <option value="master" />
665
670
  </option>
666
671
  </RecentGroup>
672
+ <RecentGroup>
673
+ <option name="FILTER_VALUES">
674
+ <option value="claude/role-flags-separation-mentions-g6v7s0" />
675
+ </option>
676
+ </RecentGroup>
667
677
  <RecentGroup>
668
678
  <option name="FILTER_VALUES">
669
679
  <option value="claude/chat-reactions-polls-system-hwea5i" />
@@ -699,6 +709,11 @@
699
709
  <entry key="MAIN">
700
710
  <value>
701
711
  <State>
712
+ <option name="CUSTOM_BOOLEAN_PROPERTIES">
713
+ <map>
714
+ <entry key="Show.Git.Branches" value="true" />
715
+ </map>
716
+ </option>
702
717
  <option name="FILTERS">
703
718
  <map>
704
719
  <entry key="branch">
@@ -717,8 +732,6 @@
717
732
  </option>
718
733
  </component>
719
734
  <component name="VcsManagerConfiguration">
720
- <MESSAGE value="Fix room member update event handle" />
721
- <MESSAGE value="Fix room member update event handle" />
722
735
  <MESSAGE value="Add jumpTo message support" />
723
736
  <MESSAGE value="Adjust to followed topics changes in protocol" />
724
737
  <MESSAGE value="SetSessionData command support" />
@@ -742,7 +755,9 @@
742
755
  <MESSAGE value="User presence status support" />
743
756
  <MESSAGE value="Reacting changes" />
744
757
  <MESSAGE value="Revert &quot;User presence status support&quot;&#10;&#10;This reverts commit b9ff2004" />
745
- <option name="LAST_COMMIT_MESSAGE" value="Revert &quot;User presence status support&quot;&#10;&#10;This reverts commit b9ff2004" />
758
+ <MESSAGE value="Bump version&#10;&#10;This reverts commit b9ff2004" />
759
+ <MESSAGE value="Role flags and the MentionAllRoles permission" />
760
+ <option name="LAST_COMMIT_MESSAGE" value="Role flags and the MentionAllRoles permission" />
746
761
  </component>
747
762
  <component name="XSLT-Support.FileAssociations.UIState">
748
763
  <expand />
@@ -48,6 +48,7 @@ __webpack_require__.d(__webpack_exports__, {
48
48
  ObservableIndexedObjectCollection: () => (/* reexport */ ObservableIndexedObjectCollection),
49
49
  PermissionDefinition: () => (/* reexport */ PermissionDefinition),
50
50
  Permissions: () => (/* reexport */ Permissions),
51
+ RoleFlag: () => (/* reexport */ RoleFlag),
51
52
  UserStatus: () => (/* reexport */ UserStatus),
52
53
  WebApiChatClient: () => (/* reexport */ WebApiChatClient),
53
54
  WebSocketChatClient: () => (/* reexport */ WebSocketChatClient),
@@ -4326,6 +4327,10 @@ Permissions_defineProperty(Permissions, "list", {
4326
4327
  CreatePolls: {
4327
4328
  value: 1 << 22,
4328
4329
  maxLayer: Layer.Topic
4330
+ },
4331
+ MentionAllRoles: {
4332
+ value: 1 << 23,
4333
+ maxLayer: Layer.Topic
4329
4334
  }
4330
4335
  });
4331
4336
  ;// ./src/state-tracker/PermissionsManager.ts
@@ -6134,6 +6139,21 @@ var FilesClient = /*#__PURE__*/function (_AbstractRestClient) {
6134
6139
  }()
6135
6140
  }]);
6136
6141
  }(AbstractRestClient);
6142
+ ;// ./src/types/src/schemes/Role.ts
6143
+ /**
6144
+ * Bit flags of a role, stored in {@link Role.flags}.
6145
+ *
6146
+ * - `SeparateOnMembersList` - available holders of the role are listed in their
6147
+ * own group of the members list, headed by the role name.
6148
+ * - `MentionableByEveryone` - anybody may mention the role with notification
6149
+ * effects; without it the mention is decorative only, unless the author holds
6150
+ * the `MentionAllRoles` permission.
6151
+ */
6152
+ var RoleFlag = /*#__PURE__*/function (RoleFlag) {
6153
+ RoleFlag[RoleFlag["SeparateOnMembersList"] = 1] = "SeparateOnMembersList";
6154
+ RoleFlag[RoleFlag["MentionableByEveryone"] = 2] = "MentionableByEveryone";
6155
+ return RoleFlag;
6156
+ }({});
6137
6157
  ;// ./src/types/src/schemes/User.ts
6138
6158
  /**
6139
6159
  * Availability of a user, aggregated over all of their sessions.