FRE-600: Fix code review blockers

- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-04-25 00:08:01 -04:00
parent 65b552bb08
commit 7c684a42cc
48450 changed files with 5679671 additions and 383 deletions

25
node_modules/solid-refresh/dist/src/babel/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import * as babel from '@babel/core';
import * as t from '@babel/types';
import { RuntimeType } from '../shared/types';
interface Options {
bundler?: RuntimeType;
fixRender?: boolean;
}
type ImportHook = Map<string, t.Identifier>;
interface ImportIdentifiers {
identifiers: Map<t.Identifier, ImportIdentity>;
namespaces: Map<t.Identifier, ImportIdentity>;
}
interface State extends babel.PluginPass {
hooks: ImportHook;
opts: Options;
processed: boolean;
granular: boolean;
imports: ImportIdentifiers;
}
interface ImportIdentity {
name: string;
source: string;
}
export default function solidRefreshPlugin(): babel.PluginObj<State>;
export {};

2
node_modules/solid-refresh/dist/src/babel/utils.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export declare function forEach<T>(arr: T[], callback: (value: T, index: number) => boolean | void): void;
export declare function map<T, R>(arr: T[], callback: (value: T, index: number) => R): R[];

View File

@@ -0,0 +1,6 @@
/**
*
* @param buffer - byte array or string
* @param seed - optional seed (32-bit unsigned);
*/
export declare function xxHash32(buffer: Uint8Array | string, seed?: number): number;

View File

@@ -0,0 +1,5 @@
import { JSX, Accessor } from 'solid-js';
export interface BaseComponent<P> {
(props: P): JSX.Element;
}
export default function createProxy<C extends BaseComponent<P>, P>(source: Accessor<C>, name: string, location?: string): (props: P) => JSX.Element;

51
node_modules/solid-refresh/dist/src/runtime/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,51 @@
import { Context, JSX } from 'solid-js';
import { ESMRuntimeType, StandardRuntimeType } from '../shared/types';
interface ComponentOptions {
location?: string;
signature?: string;
dependencies?: Record<string, any>;
}
export interface ComponentRegistrationData<P> extends ComponentOptions {
id: string;
component: (props: P) => JSX.Element;
proxy: (props: P) => JSX.Element;
update: (action: () => (props: P) => JSX.Element) => void;
}
export interface ContextRegistrationData<T> {
id: string;
context: Context<T>;
}
export interface Registry {
components: Map<string, ComponentRegistrationData<any>>;
contexts: Map<string, ContextRegistrationData<any>>;
}
export declare function $$registry(): Registry;
export declare function $$component<P>(registry: Registry, id: string, component: (props: P) => JSX.Element, options?: ComponentOptions): (props: P) => JSX.Element;
export declare function $$context<T>(registry: Registry, id: string, context: Context<T>): Context<T>;
declare const SOLID_REFRESH = "solid-refresh";
declare const SOLID_REFRESH_PREV = "solid-refresh-prev";
type HotData = {
[key in typeof SOLID_REFRESH | typeof SOLID_REFRESH_PREV]: Registry;
};
interface ESMHot {
data: HotData;
accept: (cb: (module?: unknown) => void) => void;
invalidate: () => void;
decline: () => void;
}
interface StandardHot {
data: HotData;
accept: (cb?: () => void) => void;
dispose: (cb: (data: HotData) => void) => void;
invalidate?: () => void;
decline?: () => void;
}
type ESMDecline = [type: ESMRuntimeType, hot: ESMHot, inline?: boolean];
type StandardDecline = [type: StandardRuntimeType, hot: StandardHot, inline?: boolean];
type Decline = ESMDecline | StandardDecline;
export declare function $$decline(...[type, hot, inline]: Decline): void;
type ESMRefresh = [type: ESMRuntimeType, hot: ESMHot, registry: Registry];
type StandardRefresh = [type: StandardRuntimeType, hot: StandardHot, registry: Registry];
type Refresh = ESMRefresh | StandardRefresh;
export declare function $$refresh(...[type, hot, registry]: Refresh): void;
export {};

View File

@@ -0,0 +1 @@
export default function isListUpdated(a: Record<string, any> | undefined, b: Record<string, any> | undefined): boolean;

View File

@@ -0,0 +1,3 @@
export type ESMRuntimeType = 'esm' | 'vite';
export type StandardRuntimeType = 'standard' | 'webpack5' | 'rspack-esm';
export type RuntimeType = ESMRuntimeType | StandardRuntimeType;