connectbase-client 0.13.0 → 0.15.0
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 +203 -93
- package/dist/connect-base.umd.js +3 -3
- package/dist/index.d.mts +137 -1
- package/dist/index.d.ts +137 -1
- package/dist/index.js +591 -0
- package/dist/index.mjs +590 -0
- package/package.json +4 -2
package/dist/index.d.mts
CHANGED
|
@@ -6084,6 +6084,137 @@ declare class QueueAPI {
|
|
|
6084
6084
|
getInfo(queueID: string): Promise<QueueInfoResponse>;
|
|
6085
6085
|
}
|
|
6086
6086
|
|
|
6087
|
+
interface AnalyticsConfig {
|
|
6088
|
+
/** 자동 페이지뷰 추적 @default true */
|
|
6089
|
+
trackPageViews?: boolean;
|
|
6090
|
+
/** 커스텀 이벤트 활성화 @default true */
|
|
6091
|
+
trackEvents?: boolean;
|
|
6092
|
+
/** 세션 + heartbeat @default true */
|
|
6093
|
+
trackSessions?: boolean;
|
|
6094
|
+
/** 히트맵 (opt-in) @default false */
|
|
6095
|
+
heatmap?: boolean;
|
|
6096
|
+
/** 세션 녹화 (opt-in) @default false */
|
|
6097
|
+
recording?: boolean;
|
|
6098
|
+
/** 배치 크기 @default 10 */
|
|
6099
|
+
batchSize?: number;
|
|
6100
|
+
/** 배치 전송 간격 (ms) @default 5000 */
|
|
6101
|
+
flushInterval?: number;
|
|
6102
|
+
/** DNT 헤더 존중 @default true */
|
|
6103
|
+
respectDoNotTrack?: boolean;
|
|
6104
|
+
/** 디버그 모드 @default false */
|
|
6105
|
+
debug?: boolean;
|
|
6106
|
+
}
|
|
6107
|
+
interface ConsentOptions {
|
|
6108
|
+
analytics?: boolean;
|
|
6109
|
+
heatmap?: boolean;
|
|
6110
|
+
recording?: boolean;
|
|
6111
|
+
}
|
|
6112
|
+
interface AnalyticsEvent {
|
|
6113
|
+
name: string;
|
|
6114
|
+
properties?: Record<string, unknown>;
|
|
6115
|
+
timestamp?: number;
|
|
6116
|
+
}
|
|
6117
|
+
declare class SessionManager {
|
|
6118
|
+
private _sessionId;
|
|
6119
|
+
private _visitorUid;
|
|
6120
|
+
private _lastActivity;
|
|
6121
|
+
private _isNewSession;
|
|
6122
|
+
get sessionId(): string;
|
|
6123
|
+
get visitorUid(): string;
|
|
6124
|
+
get isNewSession(): boolean;
|
|
6125
|
+
/** 활동 기록 — 세션 타임아웃 리셋 */
|
|
6126
|
+
touch(): void;
|
|
6127
|
+
/** 세션 강제 리셋 */
|
|
6128
|
+
reset(): void;
|
|
6129
|
+
private ensureSession;
|
|
6130
|
+
private loadOrCreateVisitorUid;
|
|
6131
|
+
}
|
|
6132
|
+
declare class AnalyticsAPI {
|
|
6133
|
+
private http;
|
|
6134
|
+
private config;
|
|
6135
|
+
private consent;
|
|
6136
|
+
private session;
|
|
6137
|
+
private storageWebId;
|
|
6138
|
+
private eventQueue;
|
|
6139
|
+
private batchTimer;
|
|
6140
|
+
private isInitialized;
|
|
6141
|
+
private heartbeatTimer;
|
|
6142
|
+
private visibilityHandler;
|
|
6143
|
+
private unloadHeartbeatHandler;
|
|
6144
|
+
private popstateHandler;
|
|
6145
|
+
private beforeUnloadHandler;
|
|
6146
|
+
private origPushState;
|
|
6147
|
+
private origReplaceState;
|
|
6148
|
+
private heatmapClickHandler;
|
|
6149
|
+
private heatmapScrollHandler;
|
|
6150
|
+
private utm;
|
|
6151
|
+
constructor(http: HttpClient);
|
|
6152
|
+
/**
|
|
6153
|
+
* Analytics 초기화
|
|
6154
|
+
* @param storageWebId 웹 스토리지 ID
|
|
6155
|
+
* @param config 설정 (선택)
|
|
6156
|
+
*/
|
|
6157
|
+
init(storageWebId: string, config?: AnalyticsConfig): void;
|
|
6158
|
+
/** Analytics 정리 */
|
|
6159
|
+
destroy(): void;
|
|
6160
|
+
/**
|
|
6161
|
+
* 동의 설정 변경
|
|
6162
|
+
*/
|
|
6163
|
+
setConsent(consent: ConsentOptions): void;
|
|
6164
|
+
/** 현재 동의 상태 조회 */
|
|
6165
|
+
getConsent(): ConsentOptions;
|
|
6166
|
+
/**
|
|
6167
|
+
* 페이지뷰 수동 추적
|
|
6168
|
+
*/
|
|
6169
|
+
trackPageView(path?: string): void;
|
|
6170
|
+
/**
|
|
6171
|
+
* 커스텀 이벤트 추적
|
|
6172
|
+
*/
|
|
6173
|
+
trackEvent(name: string, properties?: Record<string, unknown>): void;
|
|
6174
|
+
/**
|
|
6175
|
+
* 사용자 식별 (로그인 시)
|
|
6176
|
+
*/
|
|
6177
|
+
identify(memberId: string): void;
|
|
6178
|
+
/**
|
|
6179
|
+
* 히트맵 수집 활성화 (opt-in)
|
|
6180
|
+
*/
|
|
6181
|
+
enableHeatmap(options?: {
|
|
6182
|
+
click?: boolean;
|
|
6183
|
+
scroll?: boolean;
|
|
6184
|
+
}): void;
|
|
6185
|
+
/**
|
|
6186
|
+
* 세션 heartbeat 자동 전송 시작 (30초 간격)
|
|
6187
|
+
*/
|
|
6188
|
+
enableHeartbeat(): void;
|
|
6189
|
+
/** 큐에 있는 이벤트 즉시 전송 */
|
|
6190
|
+
flush(): Promise<void>;
|
|
6191
|
+
/** 세션 매니저 접근 (고급) */
|
|
6192
|
+
getSession(): SessionManager;
|
|
6193
|
+
private canTrack;
|
|
6194
|
+
private isDNT;
|
|
6195
|
+
private createBaseEvent;
|
|
6196
|
+
private enqueue;
|
|
6197
|
+
private flushQueue;
|
|
6198
|
+
/** sendBeacon으로 동기 flush (beforeunload용) */
|
|
6199
|
+
private flushSync;
|
|
6200
|
+
private trackSessionStart;
|
|
6201
|
+
private startBatchTimer;
|
|
6202
|
+
private stopBatchTimer;
|
|
6203
|
+
private startHeartbeat;
|
|
6204
|
+
private stopHeartbeat;
|
|
6205
|
+
/** 하트비트를 큐에 넣어 배치 전송 */
|
|
6206
|
+
private sendHeartbeat;
|
|
6207
|
+
/** sendBeacon으로 하트비트 전송 (unload/visibility hidden용) */
|
|
6208
|
+
private sendHeartbeatBeacon;
|
|
6209
|
+
private setupAutoPageView;
|
|
6210
|
+
private removeAutoPageView;
|
|
6211
|
+
private removeHeatmapListeners;
|
|
6212
|
+
private handleHeatmapClick;
|
|
6213
|
+
private recordHeatmapEvent;
|
|
6214
|
+
private heatmapQueue;
|
|
6215
|
+
private log;
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6087
6218
|
/**
|
|
6088
6219
|
* WebTransport-based Game Client
|
|
6089
6220
|
*
|
|
@@ -6415,6 +6546,11 @@ declare class ConnectBase {
|
|
|
6415
6546
|
* NATS JetStream 기반 고신뢰 메시지 큐. 발행, 소비, Ack, Nack 지원.
|
|
6416
6547
|
*/
|
|
6417
6548
|
readonly queue: QueueAPI;
|
|
6549
|
+
/**
|
|
6550
|
+
* Analytics API (웹 분석)
|
|
6551
|
+
* 페이지뷰, 커스텀 이벤트, 세션 추적. GA4 수준의 웹 분석 제공.
|
|
6552
|
+
*/
|
|
6553
|
+
readonly analytics: AnalyticsAPI;
|
|
6418
6554
|
constructor(config?: ConnectBaseConfig);
|
|
6419
6555
|
/**
|
|
6420
6556
|
* 수동으로 토큰 설정 (기존 토큰으로 세션 복원 시)
|
|
@@ -6430,4 +6566,4 @@ declare class ConnectBase {
|
|
|
6430
6566
|
updateConfig(config: Partial<ConnectBaseConfig>): void;
|
|
6431
6567
|
}
|
|
6432
6568
|
|
|
6433
|
-
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, ApiError, type ApiErrorDetail, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchSetPageMetaRequest, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type Channel, type ChannelMembership, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|
|
6569
|
+
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchSetPageMetaRequest, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type Channel, type ChannelMembership, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|
package/dist/index.d.ts
CHANGED
|
@@ -6084,6 +6084,137 @@ declare class QueueAPI {
|
|
|
6084
6084
|
getInfo(queueID: string): Promise<QueueInfoResponse>;
|
|
6085
6085
|
}
|
|
6086
6086
|
|
|
6087
|
+
interface AnalyticsConfig {
|
|
6088
|
+
/** 자동 페이지뷰 추적 @default true */
|
|
6089
|
+
trackPageViews?: boolean;
|
|
6090
|
+
/** 커스텀 이벤트 활성화 @default true */
|
|
6091
|
+
trackEvents?: boolean;
|
|
6092
|
+
/** 세션 + heartbeat @default true */
|
|
6093
|
+
trackSessions?: boolean;
|
|
6094
|
+
/** 히트맵 (opt-in) @default false */
|
|
6095
|
+
heatmap?: boolean;
|
|
6096
|
+
/** 세션 녹화 (opt-in) @default false */
|
|
6097
|
+
recording?: boolean;
|
|
6098
|
+
/** 배치 크기 @default 10 */
|
|
6099
|
+
batchSize?: number;
|
|
6100
|
+
/** 배치 전송 간격 (ms) @default 5000 */
|
|
6101
|
+
flushInterval?: number;
|
|
6102
|
+
/** DNT 헤더 존중 @default true */
|
|
6103
|
+
respectDoNotTrack?: boolean;
|
|
6104
|
+
/** 디버그 모드 @default false */
|
|
6105
|
+
debug?: boolean;
|
|
6106
|
+
}
|
|
6107
|
+
interface ConsentOptions {
|
|
6108
|
+
analytics?: boolean;
|
|
6109
|
+
heatmap?: boolean;
|
|
6110
|
+
recording?: boolean;
|
|
6111
|
+
}
|
|
6112
|
+
interface AnalyticsEvent {
|
|
6113
|
+
name: string;
|
|
6114
|
+
properties?: Record<string, unknown>;
|
|
6115
|
+
timestamp?: number;
|
|
6116
|
+
}
|
|
6117
|
+
declare class SessionManager {
|
|
6118
|
+
private _sessionId;
|
|
6119
|
+
private _visitorUid;
|
|
6120
|
+
private _lastActivity;
|
|
6121
|
+
private _isNewSession;
|
|
6122
|
+
get sessionId(): string;
|
|
6123
|
+
get visitorUid(): string;
|
|
6124
|
+
get isNewSession(): boolean;
|
|
6125
|
+
/** 활동 기록 — 세션 타임아웃 리셋 */
|
|
6126
|
+
touch(): void;
|
|
6127
|
+
/** 세션 강제 리셋 */
|
|
6128
|
+
reset(): void;
|
|
6129
|
+
private ensureSession;
|
|
6130
|
+
private loadOrCreateVisitorUid;
|
|
6131
|
+
}
|
|
6132
|
+
declare class AnalyticsAPI {
|
|
6133
|
+
private http;
|
|
6134
|
+
private config;
|
|
6135
|
+
private consent;
|
|
6136
|
+
private session;
|
|
6137
|
+
private storageWebId;
|
|
6138
|
+
private eventQueue;
|
|
6139
|
+
private batchTimer;
|
|
6140
|
+
private isInitialized;
|
|
6141
|
+
private heartbeatTimer;
|
|
6142
|
+
private visibilityHandler;
|
|
6143
|
+
private unloadHeartbeatHandler;
|
|
6144
|
+
private popstateHandler;
|
|
6145
|
+
private beforeUnloadHandler;
|
|
6146
|
+
private origPushState;
|
|
6147
|
+
private origReplaceState;
|
|
6148
|
+
private heatmapClickHandler;
|
|
6149
|
+
private heatmapScrollHandler;
|
|
6150
|
+
private utm;
|
|
6151
|
+
constructor(http: HttpClient);
|
|
6152
|
+
/**
|
|
6153
|
+
* Analytics 초기화
|
|
6154
|
+
* @param storageWebId 웹 스토리지 ID
|
|
6155
|
+
* @param config 설정 (선택)
|
|
6156
|
+
*/
|
|
6157
|
+
init(storageWebId: string, config?: AnalyticsConfig): void;
|
|
6158
|
+
/** Analytics 정리 */
|
|
6159
|
+
destroy(): void;
|
|
6160
|
+
/**
|
|
6161
|
+
* 동의 설정 변경
|
|
6162
|
+
*/
|
|
6163
|
+
setConsent(consent: ConsentOptions): void;
|
|
6164
|
+
/** 현재 동의 상태 조회 */
|
|
6165
|
+
getConsent(): ConsentOptions;
|
|
6166
|
+
/**
|
|
6167
|
+
* 페이지뷰 수동 추적
|
|
6168
|
+
*/
|
|
6169
|
+
trackPageView(path?: string): void;
|
|
6170
|
+
/**
|
|
6171
|
+
* 커스텀 이벤트 추적
|
|
6172
|
+
*/
|
|
6173
|
+
trackEvent(name: string, properties?: Record<string, unknown>): void;
|
|
6174
|
+
/**
|
|
6175
|
+
* 사용자 식별 (로그인 시)
|
|
6176
|
+
*/
|
|
6177
|
+
identify(memberId: string): void;
|
|
6178
|
+
/**
|
|
6179
|
+
* 히트맵 수집 활성화 (opt-in)
|
|
6180
|
+
*/
|
|
6181
|
+
enableHeatmap(options?: {
|
|
6182
|
+
click?: boolean;
|
|
6183
|
+
scroll?: boolean;
|
|
6184
|
+
}): void;
|
|
6185
|
+
/**
|
|
6186
|
+
* 세션 heartbeat 자동 전송 시작 (30초 간격)
|
|
6187
|
+
*/
|
|
6188
|
+
enableHeartbeat(): void;
|
|
6189
|
+
/** 큐에 있는 이벤트 즉시 전송 */
|
|
6190
|
+
flush(): Promise<void>;
|
|
6191
|
+
/** 세션 매니저 접근 (고급) */
|
|
6192
|
+
getSession(): SessionManager;
|
|
6193
|
+
private canTrack;
|
|
6194
|
+
private isDNT;
|
|
6195
|
+
private createBaseEvent;
|
|
6196
|
+
private enqueue;
|
|
6197
|
+
private flushQueue;
|
|
6198
|
+
/** sendBeacon으로 동기 flush (beforeunload용) */
|
|
6199
|
+
private flushSync;
|
|
6200
|
+
private trackSessionStart;
|
|
6201
|
+
private startBatchTimer;
|
|
6202
|
+
private stopBatchTimer;
|
|
6203
|
+
private startHeartbeat;
|
|
6204
|
+
private stopHeartbeat;
|
|
6205
|
+
/** 하트비트를 큐에 넣어 배치 전송 */
|
|
6206
|
+
private sendHeartbeat;
|
|
6207
|
+
/** sendBeacon으로 하트비트 전송 (unload/visibility hidden용) */
|
|
6208
|
+
private sendHeartbeatBeacon;
|
|
6209
|
+
private setupAutoPageView;
|
|
6210
|
+
private removeAutoPageView;
|
|
6211
|
+
private removeHeatmapListeners;
|
|
6212
|
+
private handleHeatmapClick;
|
|
6213
|
+
private recordHeatmapEvent;
|
|
6214
|
+
private heatmapQueue;
|
|
6215
|
+
private log;
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6087
6218
|
/**
|
|
6088
6219
|
* WebTransport-based Game Client
|
|
6089
6220
|
*
|
|
@@ -6415,6 +6546,11 @@ declare class ConnectBase {
|
|
|
6415
6546
|
* NATS JetStream 기반 고신뢰 메시지 큐. 발행, 소비, Ack, Nack 지원.
|
|
6416
6547
|
*/
|
|
6417
6548
|
readonly queue: QueueAPI;
|
|
6549
|
+
/**
|
|
6550
|
+
* Analytics API (웹 분석)
|
|
6551
|
+
* 페이지뷰, 커스텀 이벤트, 세션 추적. GA4 수준의 웹 분석 제공.
|
|
6552
|
+
*/
|
|
6553
|
+
readonly analytics: AnalyticsAPI;
|
|
6418
6554
|
constructor(config?: ConnectBaseConfig);
|
|
6419
6555
|
/**
|
|
6420
6556
|
* 수동으로 토큰 설정 (기존 토큰으로 세션 복원 시)
|
|
@@ -6430,4 +6566,4 @@ declare class ConnectBase {
|
|
|
6430
6566
|
updateConfig(config: Partial<ConnectBaseConfig>): void;
|
|
6431
6567
|
}
|
|
6432
6568
|
|
|
6433
|
-
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, ApiError, type ApiErrorDetail, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchSetPageMetaRequest, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type Channel, type ChannelMembership, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|
|
6569
|
+
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchSetPageMetaRequest, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type Channel, type ChannelMembership, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|