deepspace 0.4.3 → 0.4.4
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/dist/cli.js +1193 -169
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +47 -425
- package/dist/index.js +272 -1688
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +207 -28
- package/dist/server.js +713 -26
- package/dist/server.js.map +1 -1
- package/dist/worker.d.ts +207 -28
- package/dist/worker.js +713 -26
- package/dist/worker.js.map +1 -1
- package/features/admin-page/src/AdminPage.tsx +1 -1
- package/features/canvas/src/CanvasListPage.tsx +1 -1
- package/features/canvas/src/components/CanvasView.tsx +1 -1
- package/features/docs/src/DocsEditorPage.tsx +1 -1
- package/features/docs/src/InviteDialog.tsx +130 -139
- package/features/file-attachments/src/AttachmentsPage.tsx +1 -4
- package/features/file-manager/src/FileManagerPage.tsx +2 -1
- package/features/items/src/ItemsPage.tsx +1 -1
- package/features/landing/src/LandingPage.tsx +1 -1
- package/features/landing/src/primitives.tsx +1 -1
- package/features/leaderboard/src/LeaderboardPage.tsx +1 -1
- package/features/leaderboard/src/leaderboard-constants.ts +1 -1
- package/features/search-bar/src/SearchOverlay.tsx +1 -1
- package/features/tasks/src/TasksPage.tsx +1 -1
- package/features/tasks/src/tasks-constants.ts +1 -1
- package/package.json +1 -18
- package/dist/testing.d.ts +0 -115
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Y from 'yjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import * as node_modules_better_auth_dist_client_path_to_object_mjs from 'node_modules/better-auth/dist/client/path-to-object.mjs';
|
|
6
6
|
import * as node_modules_better_auth_dist_client_query_mjs from 'node_modules/better-auth/dist/client/query.mjs';
|
|
7
7
|
import * as node_modules_better_auth_dist_plugins_organization_organization_mjs from 'node_modules/better-auth/dist/plugins/organization/organization.mjs';
|
|
@@ -10,20 +10,6 @@ import * as better_auth_plugins_two_factor from 'better-auth/plugins/two-factor'
|
|
|
10
10
|
import * as better_auth_react from 'better-auth/react';
|
|
11
11
|
import * as better_auth from 'better-auth';
|
|
12
12
|
import * as better_auth_client_plugins from 'better-auth/client/plugins';
|
|
13
|
-
import { ClassValue } from 'clsx';
|
|
14
|
-
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
15
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
16
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
17
|
-
import { VariantProps } from 'class-variance-authority';
|
|
18
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
19
|
-
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
20
|
-
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
21
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
22
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
23
|
-
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
24
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
25
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
26
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
27
13
|
|
|
28
14
|
/**
|
|
29
15
|
* Shared type definitions for the DeepSpace SDK
|
|
@@ -6975,6 +6961,51 @@ declare const integration: {
|
|
|
6975
6961
|
delete<T = unknown>(endpoint: string, data?: unknown, options?: RequestOptions): Promise<IntegrationResponse<T>>;
|
|
6976
6962
|
};
|
|
6977
6963
|
|
|
6964
|
+
/**
|
|
6965
|
+
* useVoiceAgent - managed browser voice on OpenAI Realtime, zero config.
|
|
6966
|
+
*
|
|
6967
|
+
* The hook mints a credit-gated ephemeral token via our proxy
|
|
6968
|
+
* (`openai-realtime/create-session`), connects the browser to OpenAI over raw
|
|
6969
|
+
* WebRTC, and on teardown reports the elapsed duration to
|
|
6970
|
+
* `openai-realtime/settle-session` so the user is billed for actual minutes. A
|
|
6971
|
+
* client timer stops the call at `maxMinutes` (OpenAI also hard-disconnects at
|
|
6972
|
+
* 60). The developer holds no key and writes no WebRTC.
|
|
6973
|
+
*
|
|
6974
|
+
* Billing note: settle is best-effort. If it never lands (crash, offline), the
|
|
6975
|
+
* server cron settles the session to the reserved cap - so the platform never
|
|
6976
|
+
* loses money; the hook's settle just refines DOWN to actual minutes and
|
|
6977
|
+
* releases a never-started session immediately.
|
|
6978
|
+
*/
|
|
6979
|
+
type VoiceStatus = 'idle' | 'connecting' | 'live' | 'ended' | 'error';
|
|
6980
|
+
interface VoiceTranscriptEntry {
|
|
6981
|
+
role: 'user' | 'assistant';
|
|
6982
|
+
content: string;
|
|
6983
|
+
}
|
|
6984
|
+
interface UseVoiceAgentOptions {
|
|
6985
|
+
instructions?: string;
|
|
6986
|
+
voice?: string;
|
|
6987
|
+
/** OpenAI tool definitions, passed through to the session. */
|
|
6988
|
+
tools?: Record<string, unknown>[];
|
|
6989
|
+
/** Hard cap; the hook stops the call at this many minutes. */
|
|
6990
|
+
maxMinutes?: number;
|
|
6991
|
+
/** Called when the model invokes a tool; the return value is sent back. */
|
|
6992
|
+
onToolCall?: (name: string, args: unknown) => Promise<unknown> | unknown;
|
|
6993
|
+
}
|
|
6994
|
+
interface UseVoiceAgentResult {
|
|
6995
|
+
status: VoiceStatus;
|
|
6996
|
+
start: (overrides?: Partial<UseVoiceAgentOptions>) => Promise<void>;
|
|
6997
|
+
stop: () => Promise<void>;
|
|
6998
|
+
isMuted: boolean;
|
|
6999
|
+
toggleMute: () => void;
|
|
7000
|
+
isAgentSpeaking: boolean;
|
|
7001
|
+
transcript: VoiceTranscriptEntry[];
|
|
7002
|
+
error: string | null;
|
|
7003
|
+
/** Escape hatches for advanced use. */
|
|
7004
|
+
pc: RTCPeerConnection | null;
|
|
7005
|
+
dataChannel: RTCDataChannel | null;
|
|
7006
|
+
}
|
|
7007
|
+
declare function useVoiceAgent(options?: UseVoiceAgentOptions): UseVoiceAgentResult;
|
|
7008
|
+
|
|
6978
7009
|
/**
|
|
6979
7010
|
* Pure decoders for the Vercel AI SDK v5 `toUIMessageStreamResponse` body.
|
|
6980
7011
|
*
|
|
@@ -7373,413 +7404,4 @@ interface UseCheckoutReturn {
|
|
|
7373
7404
|
}
|
|
7374
7405
|
declare function useCheckout(opts?: UseCheckoutOpts): UseCheckoutReturn;
|
|
7375
7406
|
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7379
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7380
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7381
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7382
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7383
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7384
|
-
|
|
7385
|
-
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7386
|
-
|
|
7387
|
-
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
7388
|
-
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
7389
|
-
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
7390
|
-
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
7391
|
-
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
7392
|
-
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
7393
|
-
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
7394
|
-
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
7395
|
-
|
|
7396
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
7397
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7398
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7399
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7400
|
-
|
|
7401
|
-
declare const buttonVariants: (props?: ({
|
|
7402
|
-
variant?: "secondary" | "default" | "link" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
7403
|
-
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
7404
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7405
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
7406
|
-
asChild?: boolean;
|
|
7407
|
-
loading?: boolean;
|
|
7408
|
-
}
|
|
7409
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7410
|
-
|
|
7411
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
7412
|
-
|
|
7413
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
7414
|
-
|
|
7415
|
-
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
7416
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
7417
|
-
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
7418
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7419
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7420
|
-
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7421
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7422
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7423
|
-
|
|
7424
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7425
|
-
|
|
7426
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7427
|
-
|
|
7428
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
7429
|
-
|
|
7430
|
-
declare const badgeVariants: (props?: ({
|
|
7431
|
-
variant?: "secondary" | "default" | "warning" | "info" | "success" | "destructive" | "outline" | null | undefined;
|
|
7432
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7433
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7434
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7435
|
-
}
|
|
7436
|
-
declare function Badge({ className, variant, size, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
7437
|
-
|
|
7438
|
-
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
7439
|
-
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
7440
|
-
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
7441
|
-
|
|
7442
|
-
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7443
|
-
|
|
7444
|
-
declare function Skeleton({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
7445
|
-
interface SkeletonTextProps {
|
|
7446
|
-
lines?: number;
|
|
7447
|
-
lastLineWidth?: string;
|
|
7448
|
-
className?: string;
|
|
7449
|
-
}
|
|
7450
|
-
declare function SkeletonText({ lines, lastLineWidth, className, }: SkeletonTextProps): JSX.Element;
|
|
7451
|
-
interface SkeletonCardProps {
|
|
7452
|
-
hasImage?: boolean;
|
|
7453
|
-
className?: string;
|
|
7454
|
-
}
|
|
7455
|
-
declare function SkeletonCard({ hasImage, className }: SkeletonCardProps): JSX.Element;
|
|
7456
|
-
interface SkeletonListProps {
|
|
7457
|
-
items?: number;
|
|
7458
|
-
className?: string;
|
|
7459
|
-
}
|
|
7460
|
-
declare function SkeletonList({ items, className }: SkeletonListProps): JSX.Element;
|
|
7461
|
-
interface SkeletonTableProps {
|
|
7462
|
-
rows?: number;
|
|
7463
|
-
columns?: number;
|
|
7464
|
-
className?: string;
|
|
7465
|
-
}
|
|
7466
|
-
declare function SkeletonTable({ rows, columns, className, }: SkeletonTableProps): JSX.Element;
|
|
7467
|
-
interface SkeletonAvatarProps {
|
|
7468
|
-
size?: 'sm' | 'md' | 'lg';
|
|
7469
|
-
className?: string;
|
|
7470
|
-
}
|
|
7471
|
-
declare function SkeletonAvatar({ size, className }: SkeletonAvatarProps): JSX.Element;
|
|
7472
|
-
interface LoadingSpinnerProps {
|
|
7473
|
-
size?: 'sm' | 'md' | 'lg';
|
|
7474
|
-
className?: string;
|
|
7475
|
-
}
|
|
7476
|
-
declare function LoadingSpinner({ size, className }: LoadingSpinnerProps): JSX.Element;
|
|
7477
|
-
interface LoadingOverlayProps {
|
|
7478
|
-
children?: ReactNode;
|
|
7479
|
-
message?: string;
|
|
7480
|
-
className?: string;
|
|
7481
|
-
}
|
|
7482
|
-
declare function LoadingOverlay({ children, message, className, }: LoadingOverlayProps): JSX.Element;
|
|
7483
|
-
|
|
7484
|
-
interface CardGridProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
7485
|
-
children: ReactNode;
|
|
7486
|
-
columns?: 1 | 2 | 3 | 4;
|
|
7487
|
-
}
|
|
7488
|
-
declare function CardGrid({ children, columns, className, ...rest }: CardGridProps): JSX.Element;
|
|
7489
|
-
interface GridCardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
7490
|
-
children: ReactNode;
|
|
7491
|
-
onClick?: () => void;
|
|
7492
|
-
hoverable?: boolean;
|
|
7493
|
-
}
|
|
7494
|
-
declare function GridCard({ children, onClick, className, hoverable, ...rest }: GridCardProps): JSX.Element;
|
|
7495
|
-
declare namespace GridCard {
|
|
7496
|
-
var Image: typeof GridCardImage;
|
|
7497
|
-
var Header: typeof GridCardHeader;
|
|
7498
|
-
var Title: typeof GridCardTitle;
|
|
7499
|
-
var Content: typeof GridCardContent;
|
|
7500
|
-
var Description: typeof GridCardDescription;
|
|
7501
|
-
var Footer: typeof GridCardFooter;
|
|
7502
|
-
var Badge: typeof GridCardBadge;
|
|
7503
|
-
var Actions: typeof GridCardActions;
|
|
7504
|
-
}
|
|
7505
|
-
interface GridCardImageProps {
|
|
7506
|
-
src: string;
|
|
7507
|
-
alt?: string;
|
|
7508
|
-
height?: 'sm' | 'md' | 'lg';
|
|
7509
|
-
className?: string;
|
|
7510
|
-
}
|
|
7511
|
-
declare function GridCardImage({ src, alt, height, className }: GridCardImageProps): JSX.Element;
|
|
7512
|
-
interface GridCardHeaderProps {
|
|
7513
|
-
children: ReactNode;
|
|
7514
|
-
actions?: ReactNode;
|
|
7515
|
-
className?: string;
|
|
7516
|
-
}
|
|
7517
|
-
declare function GridCardHeader({ children, actions, className }: GridCardHeaderProps): JSX.Element;
|
|
7518
|
-
interface GridCardTitleProps {
|
|
7519
|
-
children: ReactNode;
|
|
7520
|
-
className?: string;
|
|
7521
|
-
}
|
|
7522
|
-
declare function GridCardTitle({ children, className }: GridCardTitleProps): JSX.Element;
|
|
7523
|
-
interface GridCardContentProps {
|
|
7524
|
-
children: ReactNode;
|
|
7525
|
-
className?: string;
|
|
7526
|
-
}
|
|
7527
|
-
declare function GridCardContent({ children, className }: GridCardContentProps): JSX.Element;
|
|
7528
|
-
interface GridCardDescriptionProps {
|
|
7529
|
-
children: ReactNode;
|
|
7530
|
-
lines?: 1 | 2 | 3 | 4;
|
|
7531
|
-
className?: string;
|
|
7532
|
-
}
|
|
7533
|
-
declare function GridCardDescription({ children, lines, className }: GridCardDescriptionProps): JSX.Element;
|
|
7534
|
-
interface GridCardFooterProps {
|
|
7535
|
-
children: ReactNode;
|
|
7536
|
-
className?: string;
|
|
7537
|
-
}
|
|
7538
|
-
declare function GridCardFooter({ children, className }: GridCardFooterProps): JSX.Element;
|
|
7539
|
-
interface GridCardBadgeProps {
|
|
7540
|
-
children: ReactNode;
|
|
7541
|
-
variant?: 'default' | 'success' | 'warning' | 'danger';
|
|
7542
|
-
className?: string;
|
|
7543
|
-
}
|
|
7544
|
-
declare function GridCardBadge({ children, variant, className }: GridCardBadgeProps): JSX.Element;
|
|
7545
|
-
interface GridCardActionsProps {
|
|
7546
|
-
onDelete?: () => void;
|
|
7547
|
-
onMore?: () => void;
|
|
7548
|
-
}
|
|
7549
|
-
declare function GridCardActions({ onDelete, onMore }: GridCardActionsProps): JSX.Element;
|
|
7550
|
-
|
|
7551
|
-
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
7552
|
-
variant?: "default" | "warning" | "info" | "success" | "destructive" | null | undefined;
|
|
7553
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7554
|
-
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
7555
|
-
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
7556
|
-
|
|
7557
|
-
/**
|
|
7558
|
-
* Toast Notification System
|
|
7559
|
-
*
|
|
7560
|
-
* Self-contained toast provider with success/error/warning/info variants.
|
|
7561
|
-
* Uses the theme's semantic color tokens (success, warning, info, destructive).
|
|
7562
|
-
*
|
|
7563
|
-
* @example
|
|
7564
|
-
* // Wrap your app once:
|
|
7565
|
-
* <ToastProvider position="bottom-right">
|
|
7566
|
-
* <App />
|
|
7567
|
-
* </ToastProvider>
|
|
7568
|
-
*
|
|
7569
|
-
* // In any child component:
|
|
7570
|
-
* const { success, error, warning, info } = useToast()
|
|
7571
|
-
* success('Saved!', 'Your changes have been saved.')
|
|
7572
|
-
*/
|
|
7573
|
-
|
|
7574
|
-
type ToastType = 'success' | 'error' | 'warning' | 'info';
|
|
7575
|
-
interface Toast {
|
|
7576
|
-
id: string;
|
|
7577
|
-
type: ToastType;
|
|
7578
|
-
title: string;
|
|
7579
|
-
description?: string;
|
|
7580
|
-
duration?: number;
|
|
7581
|
-
}
|
|
7582
|
-
interface ToastContextValue {
|
|
7583
|
-
toasts: Toast[];
|
|
7584
|
-
toast: (options: Omit<Toast, 'id'>) => void;
|
|
7585
|
-
success: (title: string, description?: string) => void;
|
|
7586
|
-
error: (title: string, description?: string) => void;
|
|
7587
|
-
warning: (title: string, description?: string) => void;
|
|
7588
|
-
info: (title: string, description?: string) => void;
|
|
7589
|
-
dismiss: (id: string) => void;
|
|
7590
|
-
dismissAll: () => void;
|
|
7591
|
-
}
|
|
7592
|
-
declare function useToast(): ToastContextValue;
|
|
7593
|
-
interface ToastProviderProps {
|
|
7594
|
-
children: ReactNode;
|
|
7595
|
-
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
7596
|
-
maxToasts?: number;
|
|
7597
|
-
}
|
|
7598
|
-
declare function ToastProvider({ children, position, maxToasts, }: ToastProviderProps): React__default.ReactElement;
|
|
7599
|
-
|
|
7600
|
-
/**
|
|
7601
|
-
* Error decoding + a friendly error screen.
|
|
7602
|
-
*
|
|
7603
|
-
* Production React replaces error text with a numeric code and a docs link
|
|
7604
|
-
* (e.g. `Minified React error #310`), so a developer whose app crashes in a
|
|
7605
|
-
* deployed build sees only the number. `decodeReactError` turns that number
|
|
7606
|
-
* back into a plain-English explanation; `ErrorScreen` renders it. The most
|
|
7607
|
-
* common offenders are the hook-order errors (#300 / #310), which almost
|
|
7608
|
-
* always mean a hook was placed after an early `return`.
|
|
7609
|
-
*/
|
|
7610
|
-
interface DecodedReactError {
|
|
7611
|
-
code: number;
|
|
7612
|
-
title: string;
|
|
7613
|
-
explanation: string;
|
|
7614
|
-
hint: string;
|
|
7615
|
-
docsUrl: string;
|
|
7616
|
-
}
|
|
7617
|
-
/**
|
|
7618
|
-
* Decode a (possibly minified) React error into a friendly explanation, or
|
|
7619
|
-
* `null` if it isn't a recognizable React error — in which case the caller
|
|
7620
|
-
* should just show the raw message.
|
|
7621
|
-
*/
|
|
7622
|
-
declare function decodeReactError(error: unknown): DecodedReactError | null;
|
|
7623
|
-
interface ErrorScreenProps {
|
|
7624
|
-
/** The thrown value, as caught by an error boundary (often non-Error). */
|
|
7625
|
-
error: unknown;
|
|
7626
|
-
/** Recovery action. Defaults to a full page reload. */
|
|
7627
|
-
onReset?: () => void;
|
|
7628
|
-
}
|
|
7629
|
-
/**
|
|
7630
|
-
* A self-contained crash screen. Renders standalone — it replaces the app
|
|
7631
|
-
* shell when used as a root error boundary, so it must not depend on app
|
|
7632
|
-
* providers (toasts, auth, theme context). It reuses only context-free
|
|
7633
|
-
* primitives and reads its colors from the active theme's CSS variables.
|
|
7634
|
-
*/
|
|
7635
|
-
declare function ErrorScreen({ error, onReset }: ErrorScreenProps): react_jsx_runtime.JSX.Element;
|
|
7636
|
-
|
|
7637
|
-
interface EmptyStateProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
7638
|
-
icon?: ReactNode;
|
|
7639
|
-
title: string;
|
|
7640
|
-
description?: string;
|
|
7641
|
-
action?: {
|
|
7642
|
-
label: string;
|
|
7643
|
-
onClick: () => void;
|
|
7644
|
-
};
|
|
7645
|
-
secondaryAction?: {
|
|
7646
|
-
label: string;
|
|
7647
|
-
onClick: () => void;
|
|
7648
|
-
};
|
|
7649
|
-
}
|
|
7650
|
-
declare function EmptyState({ icon, title, description, action, secondaryAction, className, ...rest }: EmptyStateProps): JSX.Element;
|
|
7651
|
-
interface EmptyStateVariantProps {
|
|
7652
|
-
action?: {
|
|
7653
|
-
label: string;
|
|
7654
|
-
onClick: () => void;
|
|
7655
|
-
};
|
|
7656
|
-
className?: string;
|
|
7657
|
-
}
|
|
7658
|
-
declare function EmptyItems({ action, className }: EmptyStateVariantProps): JSX.Element;
|
|
7659
|
-
interface EmptySearchProps extends EmptyStateVariantProps {
|
|
7660
|
-
query?: string;
|
|
7661
|
-
onClear?: () => void;
|
|
7662
|
-
}
|
|
7663
|
-
declare function EmptySearch({ query, onClear, className }: EmptySearchProps): JSX.Element;
|
|
7664
|
-
declare function EmptyDocuments({ action, className }: EmptyStateVariantProps): JSX.Element;
|
|
7665
|
-
declare function EmptyProjects({ action, className }: EmptyStateVariantProps): JSX.Element;
|
|
7666
|
-
declare function EmptyTeam({ action, className }: EmptyStateVariantProps): JSX.Element;
|
|
7667
|
-
interface EmptyErrorProps extends EmptyStateVariantProps {
|
|
7668
|
-
error?: string;
|
|
7669
|
-
onRetry?: () => void;
|
|
7670
|
-
}
|
|
7671
|
-
declare function EmptyError({ error, onRetry, className }: EmptyErrorProps): JSX.Element;
|
|
7672
|
-
|
|
7673
|
-
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
7674
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7675
|
-
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
7676
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7677
|
-
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7678
|
-
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7679
|
-
declare const DialogHeader: {
|
|
7680
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
7681
|
-
displayName: string;
|
|
7682
|
-
};
|
|
7683
|
-
declare const DialogFooter: {
|
|
7684
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
7685
|
-
displayName: string;
|
|
7686
|
-
};
|
|
7687
|
-
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
7688
|
-
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
7689
|
-
|
|
7690
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
7691
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7692
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
7693
|
-
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
7694
|
-
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
7695
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
7696
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
7697
|
-
inset?: boolean;
|
|
7698
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
7699
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7700
|
-
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7701
|
-
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
7702
|
-
inset?: boolean;
|
|
7703
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
7704
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7705
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7706
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
7707
|
-
inset?: boolean;
|
|
7708
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
7709
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7710
|
-
declare const DropdownMenuShortcut: {
|
|
7711
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
7712
|
-
displayName: string;
|
|
7713
|
-
};
|
|
7714
|
-
|
|
7715
|
-
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
7716
|
-
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
7717
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
7718
|
-
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
7719
|
-
|
|
7720
|
-
/**
|
|
7721
|
-
* Modal / ConfirmModal — backward-compatible wrappers around Dialog primitives.
|
|
7722
|
-
*
|
|
7723
|
-
* New code should use Dialog directly. These wrappers exist so existing
|
|
7724
|
-
* widget code (`<Modal open={...}>`) keeps working without changes.
|
|
7725
|
-
*/
|
|
7726
|
-
|
|
7727
|
-
interface ModalProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
7728
|
-
open: boolean;
|
|
7729
|
-
onClose: () => void;
|
|
7730
|
-
children: ReactNode;
|
|
7731
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
7732
|
-
}
|
|
7733
|
-
declare function Modal({ open, onClose, children, size, className, }: ModalProps): JSX.Element;
|
|
7734
|
-
declare namespace Modal {
|
|
7735
|
-
var Header: typeof ModalHeader;
|
|
7736
|
-
var Title: typeof ModalTitle;
|
|
7737
|
-
var Description: typeof ModalDescription;
|
|
7738
|
-
var Body: typeof ModalBody;
|
|
7739
|
-
var Footer: typeof ModalFooter;
|
|
7740
|
-
}
|
|
7741
|
-
interface ModalHeaderProps {
|
|
7742
|
-
children: ReactNode;
|
|
7743
|
-
onClose?: () => void;
|
|
7744
|
-
className?: string;
|
|
7745
|
-
}
|
|
7746
|
-
declare function ModalHeader({ children, className }: ModalHeaderProps): JSX.Element;
|
|
7747
|
-
interface ModalTitleProps {
|
|
7748
|
-
children: ReactNode;
|
|
7749
|
-
className?: string;
|
|
7750
|
-
}
|
|
7751
|
-
declare function ModalTitle({ children, className }: ModalTitleProps): JSX.Element;
|
|
7752
|
-
interface ModalDescriptionProps {
|
|
7753
|
-
children: ReactNode;
|
|
7754
|
-
className?: string;
|
|
7755
|
-
}
|
|
7756
|
-
declare function ModalDescription({ children, className }: ModalDescriptionProps): JSX.Element;
|
|
7757
|
-
interface ModalBodyProps {
|
|
7758
|
-
children: ReactNode;
|
|
7759
|
-
className?: string;
|
|
7760
|
-
}
|
|
7761
|
-
declare function ModalBody({ children, className }: ModalBodyProps): JSX.Element;
|
|
7762
|
-
interface ModalFooterProps {
|
|
7763
|
-
children: ReactNode;
|
|
7764
|
-
className?: string;
|
|
7765
|
-
}
|
|
7766
|
-
declare function ModalFooter({ children, className }: ModalFooterProps): JSX.Element;
|
|
7767
|
-
interface ConfirmModalProps {
|
|
7768
|
-
open: boolean;
|
|
7769
|
-
onClose: () => void;
|
|
7770
|
-
onConfirm: () => void;
|
|
7771
|
-
title: string;
|
|
7772
|
-
description?: string;
|
|
7773
|
-
confirmText?: string;
|
|
7774
|
-
cancelText?: string;
|
|
7775
|
-
variant?: 'destructive' | 'default';
|
|
7776
|
-
loading?: boolean;
|
|
7777
|
-
}
|
|
7778
|
-
declare function ConfirmModal({ open, onClose, onConfirm, title, description, confirmText, cancelText, variant, loading, }: ConfirmModalProps): JSX.Element;
|
|
7779
|
-
|
|
7780
|
-
interface SearchInputProps extends Omit<React$1.ComponentProps<'input'>, 'type'> {
|
|
7781
|
-
onClear?: () => void;
|
|
7782
|
-
}
|
|
7783
|
-
declare const SearchInput: React$1.ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
7784
|
-
|
|
7785
|
-
export { ASYNC_RESOURCE_DEFAULTS, type AdHocChargeOpts, type AiStreamAction, type AiStreamChunk, Alert, AlertDescription, AlertTitle, type AsyncResourceDefaults, type AsyncResourceState, type AsyncResourceStatus, AuthGate, type AuthGateProps, AuthOverlay, Avatar, AvatarFallback, AvatarImage, Awareness, type AwarenessState, type AwarenessStates, Badge, type BadgeProps, type BaseMessage, Button, type ButtonProps, type CanvasShapeClient, Card, CardContent, CardDescription, CardFooter, CardGrid, CardHeader, CardTitle, type Channel, type ChannelInvitation, type ChannelMember, type ChargeOnceOpts, type ChargeOnceResult, Checkbox, type ClientMessage, type CollectionSchema, ConfirmModal, type ConnectionAttachment, type ConnectionStatus, type ContentSegment, type ConversationObject, type CronHistoryEntry, type CronTaskState, DEEPSPACE_THEME_PROPERTIES, DEFAULT_USER_COLORS, type DecodedReactError, DeepSpaceAuthProvider, type DeepSpaceThemeConfig, DeepSpaceThemeProvider, type DeepSpaceThemeProviderProps, type DeriveLoadStateInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENV, EmptyDocuments, EmptyError, EmptyItems, EmptyProjects, EmptySearch, EmptyState, EmptyTeam, type Environment, ErrorScreen, type ErrorScreenProps, type FetchUserProfile, type FileAttachment, type GamePlayer, GridCard, type GroupedReaction, GuestBanner, type HandlerContext, type InboxEntry, Input, type IntegrationResponse, type JobStatusView, type JobView, Label, type LinkPreviewData, type LoadState, type LoadStateAuthInput, type LoadStateStatusInput, LoadingOverlay, LoadingSpinner, MSG, MSG_AWARENESS, MSG_SYNC, MSG_SYNC_STEP1, MSG_SYNC_STEP2, MSG_SYNC_UPDATE, MSG_YJS_AWARENESS, MSG_YJS_SYNC, type MemberRecord, type Message, type MessageHandlers, type MessageRecord, Modal, type MsgType, type PagedResourceFetchArgs, type PagedResourcePage, type PagedResourceState, type PagedResourceStatus, type PlanInfo, PlatformContext, type PlatformContextValue, PlatformProvider, type PlatformWSOptions, type PlatformWSResult, type PresencePeerClient, PricingTable, type PricingTablePlan, type PricingTablePrice, type ProductChargeOpts, Progress, type ProtocolMessage, type Purchase, type Query, type R2FileInfo, type R2Scope, type R2UploadResult, ROLES, ROLE_ADMIN, ROLE_ANONYMOUS, ROLE_CONFIG, ROLE_DEFAULT, type Reaction, type ReactionRecord, type ReadCursorRecord, type ReadReceipt, type RecordData, RecordProvider, type RecordProviderProps, RecordScope, type RequestOptions, type Role, type RoomUser, type ScopeEntry, ScopeRegistryProvider, SearchInput, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type ServerMessage, SignedIn, SignedOut, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonList, SkeletonTable, SkeletonText, type SubscribeOpts, type SubscribeResult, type SubscriptionState, type SubscriptionStatus, Switch, type SyncResult, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ToastProvider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseAsyncResourceOptions, type UseAuthProfileReadyOptions, type UseAuthReadyOptions, type UseAuthStatusOptions, type UseCanvasResult, type UseCheckoutOpts, type UseCronMonitorResult, type UseGameRoomResult, type UseJobsResult, type UsePagedResourceOptions, type UsePresenceRoomResult, type UseR2FilesReturn, type UseYjsFieldResult, type UseYjsRoomResult, type UseYjsTextResult, type User, type UserCredits, type UserInfo, type UserKarma, type UserProfile, type ViewportClient, applyDeepSpaceTheme, applyUIThemeTokens, authClient, badgeVariants, buttonVariants, canAutoLoadPagedResource, clampPagedResourceItems, clearAuthToken, clearDeepSpaceTheme, clientBuild, cn, createDecoder, createEncoder, decodeAiStreamChunk, decodeReactError, deriveLoadState, detectEnvironment, dispatch, encode, encodeAwarenessMessage, encodeSyncStep1, encodeSyncStep2, encodeUpdate, formatFileSize, formatFullTimestamp, formatMessageTime, getApiUrl, getAuthToken, getAuthUrl, getConversationDisplayName, getConversationParticipantIds, getEnvironmentConfig, getMessageType, getPagedResourceCooldownMs, getPlatformWorkerUrl, getThreadCounts, getUserColor, groupReactionsForMessage, handleAwarenessMessage, handleSyncMessage, hasContent, integration, isAsyncResourceSlow, isDMConversation, isDarkColor, isImageFile, isLocalDev, isProduction, parseMessageMetadata, parseSseLine, readThemeFromDOM, readVarUint, readVarUint8Array, resetEnvironmentCache, serverBuild, shouldGroupMessages, signIn, signOut, toConnectionStatus, toUint8Array, useAsyncResource, useAuth, useAuthProfileReady, useAuthReady, useAuthStatus, useAuthUser, useCanvas, useChannelMembers, useChannels, useCheckout, useCommunities, useConversation, useConversations, useCronMonitor, useDisplayName, useGameRoom, useInbox, useIsDarkTheme, useJobs, useMessages, useMutations, usePagedResource, usePlatform, usePlatformWS, usePosts, usePresence, usePresenceRoom, useQuery, useR2Files, useReactions, useReadReceipts, useRecordContext, useSession, useSubscription, useToast, useUser, useUserLookup, useUsers, useYjsField, useYjsRoom, useYjsText, writeVarUint, writeVarUint8Array };
|
|
7407
|
+
export { ASYNC_RESOURCE_DEFAULTS, type AdHocChargeOpts, type AiStreamAction, type AiStreamChunk, type AsyncResourceDefaults, type AsyncResourceState, type AsyncResourceStatus, AuthGate, type AuthGateProps, AuthOverlay, Awareness, type AwarenessState, type AwarenessStates, type BaseMessage, type CanvasShapeClient, type Channel, type ChannelInvitation, type ChannelMember, type ChargeOnceOpts, type ChargeOnceResult, type ClientMessage, type CollectionSchema, type ConnectionAttachment, type ConnectionStatus, type ContentSegment, type ConversationObject, type CronHistoryEntry, type CronTaskState, DEEPSPACE_THEME_PROPERTIES, DEFAULT_USER_COLORS, DeepSpaceAuthProvider, type DeepSpaceThemeConfig, DeepSpaceThemeProvider, type DeepSpaceThemeProviderProps, type DeriveLoadStateInput, ENV, type Environment, type FetchUserProfile, type FileAttachment, type GamePlayer, type GroupedReaction, GuestBanner, type HandlerContext, type InboxEntry, type IntegrationResponse, type JobStatusView, type JobView, type LinkPreviewData, type LoadState, type LoadStateAuthInput, type LoadStateStatusInput, MSG, MSG_AWARENESS, MSG_SYNC, MSG_SYNC_STEP1, MSG_SYNC_STEP2, MSG_SYNC_UPDATE, MSG_YJS_AWARENESS, MSG_YJS_SYNC, type MemberRecord, type Message, type MessageHandlers, type MessageRecord, type MsgType, type PagedResourceFetchArgs, type PagedResourcePage, type PagedResourceState, type PagedResourceStatus, type PlanInfo, PlatformContext, type PlatformContextValue, PlatformProvider, type PlatformWSOptions, type PlatformWSResult, type PresencePeerClient, PricingTable, type PricingTablePlan, type PricingTablePrice, type ProductChargeOpts, type ProtocolMessage, type Purchase, type Query, type R2FileInfo, type R2Scope, type R2UploadResult, ROLES, ROLE_ADMIN, ROLE_ANONYMOUS, ROLE_CONFIG, ROLE_DEFAULT, type Reaction, type ReactionRecord, type ReadCursorRecord, type ReadReceipt, type RecordData, RecordProvider, type RecordProviderProps, RecordScope, type RequestOptions, type Role, type RoomUser, type ScopeEntry, ScopeRegistryProvider, type ServerMessage, SignedIn, SignedOut, type SubscribeOpts, type SubscribeResult, type SubscriptionState, type SubscriptionStatus, type SyncResult, type UseAsyncResourceOptions, type UseAuthProfileReadyOptions, type UseAuthReadyOptions, type UseAuthStatusOptions, type UseCanvasResult, type UseCheckoutOpts, type UseCronMonitorResult, type UseGameRoomResult, type UseJobsResult, type UsePagedResourceOptions, type UsePresenceRoomResult, type UseR2FilesReturn, type UseVoiceAgentOptions, type UseVoiceAgentResult, type UseYjsFieldResult, type UseYjsRoomResult, type UseYjsTextResult, type User, type UserCredits, type UserInfo, type UserKarma, type UserProfile, type ViewportClient, type VoiceStatus, type VoiceTranscriptEntry, applyDeepSpaceTheme, applyUIThemeTokens, authClient, canAutoLoadPagedResource, clampPagedResourceItems, clearAuthToken, clearDeepSpaceTheme, clientBuild, createDecoder, createEncoder, decodeAiStreamChunk, deriveLoadState, detectEnvironment, dispatch, encode, encodeAwarenessMessage, encodeSyncStep1, encodeSyncStep2, encodeUpdate, formatFileSize, formatFullTimestamp, formatMessageTime, getApiUrl, getAuthToken, getAuthUrl, getConversationDisplayName, getConversationParticipantIds, getEnvironmentConfig, getMessageType, getPagedResourceCooldownMs, getPlatformWorkerUrl, getThreadCounts, getUserColor, groupReactionsForMessage, handleAwarenessMessage, handleSyncMessage, hasContent, integration, isAsyncResourceSlow, isDMConversation, isDarkColor, isImageFile, isLocalDev, isProduction, parseMessageMetadata, parseSseLine, readThemeFromDOM, readVarUint, readVarUint8Array, resetEnvironmentCache, serverBuild, shouldGroupMessages, signIn, signOut, toConnectionStatus, toUint8Array, useAsyncResource, useAuth, useAuthProfileReady, useAuthReady, useAuthStatus, useAuthUser, useCanvas, useChannelMembers, useChannels, useCheckout, useCommunities, useConversation, useConversations, useCronMonitor, useDisplayName, useGameRoom, useInbox, useIsDarkTheme, useJobs, useMessages, useMutations, usePagedResource, usePlatform, usePlatformWS, usePosts, usePresence, usePresenceRoom, useQuery, useR2Files, useReactions, useReadReceipts, useRecordContext, useSession, useSubscription, useUser, useUserLookup, useUsers, useVoiceAgent, useYjsField, useYjsRoom, useYjsText, writeVarUint, writeVarUint8Array };
|