@anzusystems/common-admin 1.47.0-beta.dev-1784059878 → 1.47.0-beta.dev-1788289119

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.
@@ -42,6 +42,7 @@ import { useI18n } from '../vue-i18n/dist/vue-i18n.esm-bundler.js';
42
42
  import { ValidationRuleWithoutParams } from '@vuelidate/core';
43
43
  import { ValidationRuleWithParams } from '@vuelidate/core';
44
44
  import { VNode } from 'vue';
45
+ import { WebSocketStatus } from '@vueuse/core';
45
46
  import { WritableComputedRef } from 'vue';
46
47
 
47
48
  declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
@@ -4837,6 +4838,12 @@ export declare function defineCached<I extends DocId | IntegerId, T extends Reco
4837
4838
  isUnresolved: (id: I | null | undefined) => boolean;
4838
4839
  };
4839
4840
 
4841
+ /**
4842
+ * Tears the singleton down and invalidates the previous handle. Owned by the app bootstrap —
4843
+ * tying it to a component unmount would kill the shared connection for everyone else.
4844
+ */
4845
+ export declare function destroyDamNotifications(): void;
4846
+
4840
4847
  /**
4841
4848
  * UUID v4 as string.
4842
4849
  */
@@ -5984,9 +5991,16 @@ export declare type Immutable<T> = {
5984
5991
  readonly [K in keyof T]: Immutable<T[K]>;
5985
5992
  };
5986
5993
 
5994
+ /**
5995
+ * One DAM notification socket per page. Memoized by `enabled|webSocketUrl`, so a reconfigured
5996
+ * plugin gets a fresh socket while repeated calls with the same config reuse the existing one.
5997
+ */
5987
5998
  export declare function initDamNotifications(): {
5988
5999
  openConnection: () => void;
6000
+ closeConnection: () => void;
6001
+ dispose: () => void;
5989
6002
  damNotificationsInitialized: Ref<boolean, boolean>;
6003
+ status: ShallowRef<WebSocketStatus>;
5990
6004
  };
5991
6005
 
5992
6006
  declare interface InputFileChangeEvent extends Event {
@@ -9462,6 +9476,7 @@ export declare function useCollabRoom(room: CollabRoom, watchForNewUsers?: boole
9462
9476
  unsubscribeRejectedRequestToTakeModerationListener: Ref<Fn | undefined, Fn | undefined>;
9463
9477
  unsubscribeKickedFromRoomListener: Ref<Fn | undefined, Fn | undefined>;
9464
9478
  unsubscribeCollabStartingListener: Ref<Fn | undefined, Fn | undefined>;
9479
+ unsubscribeCollabReconnectListener: Ref<Fn | undefined, Fn | undefined>;
9465
9480
  };
9466
9481
 
9467
9482
  export declare function useCollabRoomDataChangeEventBus(): UseEventBusReturn<CollabRoomDataChangedEvent, CollabFieldDataEnvelope>;