connectbase-client 3.9.0 → 3.11.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/CHANGELOG.md +79 -0
- package/README.md +4 -1
- package/dist/connect-base.umd.js +4 -3
- package/dist/index.d.mts +259 -4
- package/dist/index.d.ts +259 -4
- package/dist/index.js +261 -10
- package/dist/index.mjs +259 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,23 @@ interface AbortOptions {
|
|
|
18
18
|
signal?: AbortSignal;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Recent API calls breadcrumb buffer — SDK 디버깅 / platform issue 발행 시 자동 첨부.
|
|
23
|
+
*
|
|
24
|
+
* **저장 정책 (PII 보호):**
|
|
25
|
+
* - method, path (query string strip), status, duration_ms, timestamp 만 저장
|
|
26
|
+
* - body / response body / 인증 토큰 미저장
|
|
27
|
+
* - URL 내 secret-like 패턴 (key=, token=, password=) 자동 redact
|
|
28
|
+
* - `/v1/auth/*`, `/v1/oauth/token` 등 민감 endpoint 는 path 만 (쿼리 strip)
|
|
29
|
+
*/
|
|
30
|
+
interface RecentApiCall {
|
|
31
|
+
method: string;
|
|
32
|
+
path: string;
|
|
33
|
+
status: number;
|
|
34
|
+
duration_ms: number;
|
|
35
|
+
timestamp: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
21
38
|
type TokenPersistence = 'localStorage' | 'sessionStorage' | 'none';
|
|
22
39
|
interface HttpClientConfig {
|
|
23
40
|
baseUrl: string;
|
|
@@ -68,6 +85,13 @@ interface HttpClientConfig {
|
|
|
68
85
|
}) => void;
|
|
69
86
|
onAuthError?: (error: AuthError) => void;
|
|
70
87
|
onTokenExpired?: () => void;
|
|
88
|
+
/**
|
|
89
|
+
* `/v1/auth/re-issue` 의 일시적 실패(5xx, 네트워크 오류, abort) 발생 시 호출.
|
|
90
|
+
* 이 경우 토큰은 폐기되지 않으며 `onTokenExpired` 도 호출되지 않는다 — 다음 호출에서
|
|
91
|
+
* backoff 만료 후 자동 재시도. 사용자에게 "연결이 잠시 불안정합니다" 같은 비파괴적 알림을
|
|
92
|
+
* 표시할 때 사용. `onAuthError` 도 함께 호출되므로 둘을 동시에 wiring 하면 중복 처리에 주의.
|
|
93
|
+
*/
|
|
94
|
+
onTransientRefreshFailure?: (error: AuthError) => void;
|
|
71
95
|
}
|
|
72
96
|
interface RequestConfig extends AbortOptions {
|
|
73
97
|
skipAuth?: boolean;
|
|
@@ -80,7 +104,16 @@ declare class HttpClient {
|
|
|
80
104
|
private storageKey;
|
|
81
105
|
private refreshFailureCount;
|
|
82
106
|
private refreshLockedUntil;
|
|
107
|
+
/**
|
|
108
|
+
* 최근 API 호출 breadcrumb (PII strip 후 저장). platform_issue 발행 시 자동 첨부 가능.
|
|
109
|
+
* `client.support.getRecentCalls()` 로 외부 노출.
|
|
110
|
+
*/
|
|
111
|
+
private recentCalls;
|
|
83
112
|
constructor(config: HttpClientConfig);
|
|
113
|
+
/** 최근 호출 ring buffer 스냅샷 (시간순). */
|
|
114
|
+
getRecentCalls(): RecentApiCall[];
|
|
115
|
+
/** 최근 호출 buffer clear (테스트/프라이버시 처리). */
|
|
116
|
+
clearRecentCalls(): void;
|
|
84
117
|
private warnIfUnsafePersistence;
|
|
85
118
|
updateConfig(config: Partial<HttpClientConfig>): void;
|
|
86
119
|
setTokens(accessToken: string, refreshToken: string): void;
|
|
@@ -5267,6 +5300,16 @@ interface GameRoomConfig {
|
|
|
5267
5300
|
tickRate?: number;
|
|
5268
5301
|
/** 최대 플레이어 수 (기본 100) */
|
|
5269
5302
|
maxPlayers?: number;
|
|
5303
|
+
/**
|
|
5304
|
+
* 룸에 attach 할 Lua 스크립트 이름. 콘솔 또는 `POST /v1/game/:appID/scripts` 로 업로드+활성화한
|
|
5305
|
+
* 스크립트만 사용 가능. 미지정 시 server tick + delta 만 흐르고 onTick / onJoin / onAction 등
|
|
5306
|
+
* 사용자 hook 은 호출되지 않는다.
|
|
5307
|
+
*
|
|
5308
|
+
* platform-issue 019e123a (2026-05-10) 해결로 추가된 필드. 이전 버전에서 createRoom config 에
|
|
5309
|
+
* `script_name` 을 직접 넣어 호출하던 워크어라운드는 SDK 가 와이어 페이로드에서 자동으로
|
|
5310
|
+
* `script_name` 으로 매핑해 호환된다.
|
|
5311
|
+
*/
|
|
5312
|
+
scriptName?: string;
|
|
5270
5313
|
/** 커스텀 메타데이터 */
|
|
5271
5314
|
metadata?: Record<string, string>;
|
|
5272
5315
|
}
|
|
@@ -5751,6 +5794,15 @@ interface ScriptDetailResponse {
|
|
|
5751
5794
|
active?: ScriptVersion;
|
|
5752
5795
|
}
|
|
5753
5796
|
|
|
5797
|
+
/**
|
|
5798
|
+
* 게임 서버 `create_room` 메시지 페이로드는 snake_case 필드를 기대한다 (Go 핸들러 JSON 태그).
|
|
5799
|
+
* SDK 의 GameRoomConfig 는 camelCase 이므로, scriptName / tickRate / maxPlayers / roomId /
|
|
5800
|
+
* categoryId 를 와이어 형식으로 매핑한다. 추가 필드(metadata)는 그대로 통과.
|
|
5801
|
+
*
|
|
5802
|
+
* platform-issue 019e123a (2026-05-10) 의 회귀 가드 — scriptName 누락 시 RoomConfig.ScriptID
|
|
5803
|
+
* 가 비어 onTick / onPlayerJoin 등이 silent skip 되던 문제 차단.
|
|
5804
|
+
*/
|
|
5805
|
+
declare function toCreateRoomWire(config: GameRoomConfig): Record<string, unknown>;
|
|
5754
5806
|
/**
|
|
5755
5807
|
* 게임 룸 클라이언트
|
|
5756
5808
|
* WebSocket 연결을 관리하고 게임 상태를 동기화합니다.
|
|
@@ -7280,7 +7332,7 @@ interface ReportIssueResponse {
|
|
|
7280
7332
|
*
|
|
7281
7333
|
* @example 로그인 사용자가 버그 리포트
|
|
7282
7334
|
* ```typescript
|
|
7283
|
-
*
|
|
7335
|
+
* // (cb.auth.signIn 으로 로그인 완료된 상태)
|
|
7284
7336
|
* await cb.support.reportIssue({
|
|
7285
7337
|
* title: "결제 화면이 멈춰요",
|
|
7286
7338
|
* body: "결제 버튼 클릭 후 로딩이 끝나지 않습니다.",
|
|
@@ -7291,10 +7343,13 @@ interface ReportIssueResponse {
|
|
|
7291
7343
|
*
|
|
7292
7344
|
* @example 익명 + reCAPTCHA v3
|
|
7293
7345
|
* ```typescript
|
|
7346
|
+
* // window.grecaptcha 는 reCAPTCHA v3 site script 로드 후 전역으로 노출됨
|
|
7347
|
+
* const grecaptcha = (globalThis as any).grecaptcha
|
|
7348
|
+
* const SITE_KEY = "your-recaptcha-site-key"
|
|
7294
7349
|
* const token = await grecaptcha.execute(SITE_KEY, { action: 'report_issue' })
|
|
7295
7350
|
* await cb.support.reportIssue({
|
|
7296
|
-
* title: "
|
|
7297
|
-
* body: "
|
|
7351
|
+
* title: "버그 제보",
|
|
7352
|
+
* body: "익명으로 제보합니다",
|
|
7298
7353
|
* category: "question",
|
|
7299
7354
|
* anonymousEmail: "user@example.com",
|
|
7300
7355
|
* recaptchaToken: token,
|
|
@@ -7314,6 +7369,189 @@ declare class SupportAPI {
|
|
|
7314
7369
|
* @throws ApiError — 본문 길이 초과 / 쿼터 초과(429) / reCAPTCHA 거부(403) 등.
|
|
7315
7370
|
*/
|
|
7316
7371
|
reportIssue(req: ReportIssueRequest): Promise<ReportIssueResponse>;
|
|
7372
|
+
/**
|
|
7373
|
+
* ConnectBase 플랫폼 자체 버그/요청/문의를 발행한다.
|
|
7374
|
+
*
|
|
7375
|
+
* `reportIssue` 와 다른 점: target 이 앱 운영자가 아닌 **ConnectBase 운영팀**.
|
|
7376
|
+
* SDK 가 자체 버그를 던지거나, 결제/문서/플랫폼 동작이 이상할 때 사용.
|
|
7377
|
+
*
|
|
7378
|
+
* 자동 첨부 (opt-out 가능):
|
|
7379
|
+
* - SDK 버전 + 플랫폼 (web/node)
|
|
7380
|
+
* - 마지막 N(20)개 API 호출 breadcrumb (PII strip 후)
|
|
7381
|
+
* - error 객체의 stack trace (sanitize)
|
|
7382
|
+
*
|
|
7383
|
+
* @example SDK 가 throw 한 에러를 자동 첨부해서 발행
|
|
7384
|
+
* ```typescript
|
|
7385
|
+
* try {
|
|
7386
|
+
* await cb.functions.invoke('foo', {})
|
|
7387
|
+
* } catch (err) {
|
|
7388
|
+
* await cb.support.reportPlatformBug({
|
|
7389
|
+
* title: 'functions.invoke 가 504 만 반환',
|
|
7390
|
+
* body: '같은 인자로 5분 째 504. 콘솔에선 정상.',
|
|
7391
|
+
* category: 'sdk',
|
|
7392
|
+
* severity: 'high',
|
|
7393
|
+
* error: err as Error,
|
|
7394
|
+
* })
|
|
7395
|
+
* }
|
|
7396
|
+
* ```
|
|
7397
|
+
*/
|
|
7398
|
+
reportPlatformBug(req: ReportPlatformBugRequest): Promise<ReportPlatformBugResponse>;
|
|
7399
|
+
/** 디버깅용: 마지막 N개 API 호출 breadcrumb. PII 제거 후 저장돼있다. */
|
|
7400
|
+
getRecentApiCalls(): RecentApiCall[];
|
|
7401
|
+
/** breadcrumb buffer 비우기 (사용자 명시적 요청 / 프라이버시). */
|
|
7402
|
+
clearRecentApiCalls(): void;
|
|
7403
|
+
/**
|
|
7404
|
+
* Platform issue 의 reply thread 조회.
|
|
7405
|
+
*
|
|
7406
|
+
* 본인이 발행한 issue 만 조회 가능 (server-side ownership guard). admin 의 internal 메모는 응답 제외.
|
|
7407
|
+
*
|
|
7408
|
+
* @param issueId - `reportPlatformBug` 가 반환한 id
|
|
7409
|
+
* @throws ApiError 404 — 본인 issue 가 아니거나 존재하지 않음
|
|
7410
|
+
*/
|
|
7411
|
+
listPlatformIssueReplies(issueId: string): Promise<PlatformIssueReply[]>;
|
|
7412
|
+
/**
|
|
7413
|
+
* Platform issue 에 follow-up reply 작성.
|
|
7414
|
+
*
|
|
7415
|
+
* 단말 상태(resolved/wontfix/duplicate) issue 는 reply 거부 — 새 issue 발행 권장.
|
|
7416
|
+
*/
|
|
7417
|
+
replyToPlatformIssue(issueId: string, body: string): Promise<PlatformIssueReply>;
|
|
7418
|
+
/**
|
|
7419
|
+
* 본인이 발행한 platform issue 의 처리 진행 상황을 단건 조회.
|
|
7420
|
+
*
|
|
7421
|
+
* AI 가 "내가 발행한 이슈 처리됐어?" 를 폴링하는 표준 경로. status / resolution_note /
|
|
7422
|
+
* triage_summary / external_links 로 ConnectBase 운영팀의 처리 상태를 확인.
|
|
7423
|
+
*
|
|
7424
|
+
* @throws ApiError 404 — 본인 issue 가 아니거나 존재하지 않음
|
|
7425
|
+
*/
|
|
7426
|
+
getPlatformIssue(issueId: string): Promise<PlatformIssueDetail>;
|
|
7427
|
+
/**
|
|
7428
|
+
* 본인 app 으로 발행한 platform issue 목록 (cursor 페이지네이션).
|
|
7429
|
+
*
|
|
7430
|
+
* status/severity/category 필터 + `since_updated_at` 으로 미해결만 폴링하는 사용 패턴 권장:
|
|
7431
|
+
*
|
|
7432
|
+
* ```typescript
|
|
7433
|
+
* const { issues } = await cb.support.listMyPlatformIssues({ status: ['open', 'triaged', 'in_progress'] })
|
|
7434
|
+
* ```
|
|
7435
|
+
*/
|
|
7436
|
+
listMyPlatformIssues(opts?: ListMyPlatformIssuesOptions): Promise<PlatformIssueListPage>;
|
|
7437
|
+
}
|
|
7438
|
+
/**
|
|
7439
|
+
* ConnectBase 플랫폼 이슈 카테고리.
|
|
7440
|
+
*/
|
|
7441
|
+
type PlatformIssueCategory = 'bug' | 'feature_request' | 'sdk' | 'billing' | 'security' | 'performance' | 'docs' | 'other';
|
|
7442
|
+
type PlatformIssueSeverity = 'low' | 'medium' | 'high' | 'critical';
|
|
7443
|
+
interface ReportPlatformBugRequest {
|
|
7444
|
+
/** 제목 (≤200) */
|
|
7445
|
+
title: string;
|
|
7446
|
+
/** 본문 (≤16KB, markdown) */
|
|
7447
|
+
body: string;
|
|
7448
|
+
/** 카테고리. 기본 `other`. AI triage 가 보정. */
|
|
7449
|
+
category?: PlatformIssueCategory;
|
|
7450
|
+
/** 긴급도. 기본 `medium`. AI triage 가 보정. */
|
|
7451
|
+
severity?: PlatformIssueSeverity;
|
|
7452
|
+
/** AppMember 가 없는 경우 회신용 이메일. */
|
|
7453
|
+
reporterEmail?: string;
|
|
7454
|
+
/** 익명 발행 시 reCAPTCHA v3 토큰 (운영팀이 RECAPTCHA_SECRET 설정한 경우). */
|
|
7455
|
+
recaptchaToken?: string;
|
|
7456
|
+
/** 자유 컨텍스트 (페이지 URL, request_id 등). PII 직접 포함 금지 — 호출자 책임. */
|
|
7457
|
+
metadata?: Record<string, unknown>;
|
|
7458
|
+
/**
|
|
7459
|
+
* 자동 컨텍스트 첨부 on/off (기본 true).
|
|
7460
|
+
* false 로 설정하면 SDK 버전/플랫폼/breadcrumb/stack 모두 미첨부.
|
|
7461
|
+
*/
|
|
7462
|
+
attachAutomaticContext?: boolean;
|
|
7463
|
+
/**
|
|
7464
|
+
* 에러 객체. .stack 을 sanitize 후 자동 첨부.
|
|
7465
|
+
* stackTrace 와 둘 중 하나만 — error 가 우선.
|
|
7466
|
+
*/
|
|
7467
|
+
error?: Error;
|
|
7468
|
+
/** 직접 작성한 stack trace (≤32KB, SDK 가 sanitize). */
|
|
7469
|
+
stackTrace?: string;
|
|
7470
|
+
/** 호출자가 명시적으로 buffer 를 override (테스트/특수 케이스). */
|
|
7471
|
+
recentApiCalls?: RecentApiCall[];
|
|
7472
|
+
/** SDK 버전 override (자동 감지 실패 시). */
|
|
7473
|
+
sdkVersion?: string;
|
|
7474
|
+
/** SDK 플랫폼 override. */
|
|
7475
|
+
sdkPlatform?: 'web' | 'node' | 'unity' | 'godot' | 'unreal' | 'cli' | 'mcp' | 'other';
|
|
7476
|
+
/** 환경 (production/staging/development). 기본 unknown. */
|
|
7477
|
+
environment?: 'production' | 'staging' | 'development' | 'unknown';
|
|
7478
|
+
}
|
|
7479
|
+
interface ReportPlatformBugResponse {
|
|
7480
|
+
id: string;
|
|
7481
|
+
status: 'open';
|
|
7482
|
+
created_at: string;
|
|
7483
|
+
}
|
|
7484
|
+
/**
|
|
7485
|
+
* Platform issue thread 의 단일 reply.
|
|
7486
|
+
*
|
|
7487
|
+
* - `author_kind=admin`: ConnectBase 운영팀 응답
|
|
7488
|
+
* - `author_kind=user`: 본인이 작성
|
|
7489
|
+
* - `author_kind=system`: 자동 메시지 (상태 변경 알림 등)
|
|
7490
|
+
*/
|
|
7491
|
+
/**
|
|
7492
|
+
* Platform issue 의 처리 진행 상황 (reporter 시점).
|
|
7493
|
+
*
|
|
7494
|
+
* admin-only 필드(`assignee_user_id`, internal triage signal) 는 server 가 redact.
|
|
7495
|
+
*
|
|
7496
|
+
* 주요 필드:
|
|
7497
|
+
* - `status` : `open` → `triaged` → `in_progress` → `resolved` | `wontfix` | `duplicate`
|
|
7498
|
+
* - `resolution_note` : 단말 상태 진입 시 ConnectBase 운영팀이 작성한 처리 결과 (markdown)
|
|
7499
|
+
* - `triage_summary` : AI triage 가 작성한 1줄 요약
|
|
7500
|
+
* - `external_links` : 운영팀이 연결한 GitHub PR / Linear ticket 등
|
|
7501
|
+
* - `resolved_at` : `resolved`/`wontfix` 진입 시각 (해결됐는지 빠른 검사용)
|
|
7502
|
+
*/
|
|
7503
|
+
interface PlatformIssueDetail {
|
|
7504
|
+
id: string;
|
|
7505
|
+
reporter_kind: 'user' | 'app' | 'system';
|
|
7506
|
+
title: string;
|
|
7507
|
+
body: string;
|
|
7508
|
+
category: PlatformIssueCategory;
|
|
7509
|
+
severity: PlatformIssueSeverity;
|
|
7510
|
+
status: 'open' | 'triaged' | 'in_progress' | 'resolved' | 'wontfix' | 'duplicate';
|
|
7511
|
+
resolution_note?: string;
|
|
7512
|
+
sdk_version?: string;
|
|
7513
|
+
sdk_platform?: 'web' | 'node' | 'unity' | 'godot' | 'unreal' | 'cli' | 'mcp' | 'other';
|
|
7514
|
+
environment?: 'production' | 'staging' | 'development' | 'unknown';
|
|
7515
|
+
triage_summary?: string;
|
|
7516
|
+
triaged_at?: string;
|
|
7517
|
+
external_links?: Array<{
|
|
7518
|
+
kind: string;
|
|
7519
|
+
url: string;
|
|
7520
|
+
label?: string;
|
|
7521
|
+
}>;
|
|
7522
|
+
duplicate_of_id?: string;
|
|
7523
|
+
created_at: string;
|
|
7524
|
+
updated_at: string;
|
|
7525
|
+
resolved_at?: string;
|
|
7526
|
+
}
|
|
7527
|
+
/** `listMyPlatformIssues` 응답 페이지. */
|
|
7528
|
+
interface PlatformIssueListPage {
|
|
7529
|
+
issues: PlatformIssueDetail[];
|
|
7530
|
+
/** 다음 페이지 cursor. 빈 문자열/undefined 면 끝. */
|
|
7531
|
+
next_cursor?: string;
|
|
7532
|
+
}
|
|
7533
|
+
/** `listMyPlatformIssues` 옵션. */
|
|
7534
|
+
interface ListMyPlatformIssuesOptions {
|
|
7535
|
+
/** 다중 status 필터. 미지정 시 전체. 처리중만 보려면 `['open','triaged','in_progress']`. */
|
|
7536
|
+
status?: PlatformIssueDetail['status'][];
|
|
7537
|
+
severity?: PlatformIssueSeverity[];
|
|
7538
|
+
category?: PlatformIssueCategory[];
|
|
7539
|
+
/** RFC3339 timestamp — 이후 update 된 issue 만. polling 시 마지막 fetch 시각 전달. */
|
|
7540
|
+
sinceUpdatedAt?: string;
|
|
7541
|
+
/** 이전 페이지 응답의 `next_cursor`. */
|
|
7542
|
+
cursor?: string;
|
|
7543
|
+
/** 페이지 크기. 기본 50, 최대 200. */
|
|
7544
|
+
limit?: number;
|
|
7545
|
+
}
|
|
7546
|
+
interface PlatformIssueReply {
|
|
7547
|
+
id: string;
|
|
7548
|
+
issue_id: string;
|
|
7549
|
+
author_kind: 'admin' | 'user' | 'system';
|
|
7550
|
+
author_user_id?: string;
|
|
7551
|
+
author_member_id?: string;
|
|
7552
|
+
body: string;
|
|
7553
|
+
is_internal: boolean;
|
|
7554
|
+
created_at: string;
|
|
7317
7555
|
}
|
|
7318
7556
|
|
|
7319
7557
|
/**
|
|
@@ -7525,6 +7763,23 @@ interface ConnectBaseConfig {
|
|
|
7525
7763
|
* ```
|
|
7526
7764
|
*/
|
|
7527
7765
|
onTokenExpired?: () => void;
|
|
7766
|
+
/**
|
|
7767
|
+
* `/v1/auth/re-issue` 의 일시적 실패 (5xx, 네트워크 오류, abort, 손상된 200 응답) 시 호출.
|
|
7768
|
+
*
|
|
7769
|
+
* 이 경우 토큰은 폐기되지 않으며 `onTokenExpired` 도 호출되지 않습니다 — 다음 호출에서
|
|
7770
|
+
* backoff 만료 후 자동 재시도. 사용자에게 "연결이 잠시 불안정합니다" 같은 비파괴적
|
|
7771
|
+
* 알림을 띄울 때 사용. permanent (refresh token 자체 무효) 와 분리하기 위함.
|
|
7772
|
+
*
|
|
7773
|
+
* @example
|
|
7774
|
+
* ```typescript
|
|
7775
|
+
* const cb = new ConnectBase({
|
|
7776
|
+
* publicKey: '...',
|
|
7777
|
+
* onTransientRefreshFailure: (err) => toast.warn('연결이 불안정합니다. 잠시 후 자동 복구됩니다.'),
|
|
7778
|
+
* onTokenExpired: () => { window.location.href = '/login' },
|
|
7779
|
+
* })
|
|
7780
|
+
* ```
|
|
7781
|
+
*/
|
|
7782
|
+
onTransientRefreshFailure?: (error: Error) => void;
|
|
7528
7783
|
/**
|
|
7529
7784
|
* 토큰 저장 방식.
|
|
7530
7785
|
* - 'none' (기본·권장): access token 만 메모리. refresh token 은 서버 HttpOnly cookie 로
|
|
@@ -7724,4 +7979,4 @@ declare class ConnectBase {
|
|
|
7724
7979
|
updateConfig(config: Partial<ConnectBaseConfig>): void;
|
|
7725
7980
|
}
|
|
7726
7981
|
|
|
7727
|
-
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AckMessagesRequest, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, 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 CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, 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 DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, 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 GameConfig, GameConfigAPI, type GameConfigPatch, 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 LeaderboardListResponse, type LeaderboardScoreEntry, 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 MatchqueueListResponse, type MatchqueueTicket, 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 PollUntilOptions, 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 ScriptDetailResponse, type ScriptListResponse, type ScriptMeta, type ScriptVersion, type ScriptVersionListResponse, 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 StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, 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 TokenPersistence, 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 };
|
|
7982
|
+
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AckMessagesRequest, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, 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 CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, 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 DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, 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 GameConfig, GameConfigAPI, type GameConfigPatch, 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 LeaderboardListResponse, type LeaderboardScoreEntry, 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 MatchqueueListResponse, type MatchqueueTicket, 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 PollUntilOptions, 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 ScriptDetailResponse, type ScriptListResponse, type ScriptMeta, type ScriptVersion, type ScriptVersionListResponse, 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 StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, 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 TokenPersistence, 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, toCreateRoomWire };
|