platform.js
2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
* `@drama/contracts/platform` —— 两条产品线共用的平台数据形态。
*
* 账号 / 鉴权 / 计费 / 支付、通用错误信封、遥测事件、分享 meta。drama 线与
* visual-game 线都消费。
*/
export { Account, Subscription } from './schemas/account.js'
export { LoginRequest, LoginResponse, RegisterRequest, SendRegistrationCodeRequest } from './schemas/auth.js'
export { ApiError } from './schemas/error.js'
export { UnlockReq, UnlockRes, TopupCheckoutReq, LedgerEntry } from './schemas/credits.js'
export { TelemetryEvent } from './schemas/telemetry.js'
export { ShareMeta } from './schemas/share.js'
export { BillingSummary, DailyClaimResponse } from './schemas/commerce.js'
export {
VisualGameAdminBillingActionPolicy,
VisualGameAdminBillingLedgerPage,
VisualGameAdminBillingOrderPage,
VisualGameAdminBillingPolicyList,
VisualGameAdminBillingProduct,
VisualGameAdminBillingProductList,
} from './schemas/visual-game-admin-commerce.js'
export {
WAITLIST_INVITE_CODE_LENGTH,
WAITLIST_INVITE_CODE_ALPHABET,
WAITLIST_INVITE_CODE_PATTERN,
WaitlistInviteCode,
WaitlistStatus,
WaitlistInviteDeliveryStatus,
WaitlistSource,
WaitlistPublicSource,
WaitlistEventType,
WaitlistActorType,
WaitlistJoinRequest,
WaitlistJoinResponse,
WaitlistInviteValidateResponse,
WaitlistSendRegisterCodeResponse,
WaitlistEntry,
WaitlistEvent,
WaitlistInviteDelivery,
WaitlistEntryListResponse,
WaitlistEntryDetailResponse,
WaitlistCreateManualEntryRequest,
WaitlistNoteRequest,
WaitlistInviteRequest,
WaitlistRejectRequest,
WaitlistActionResponse,
WaitlistExportResponse,
} from './schemas/waitlist.js'
/**
* @typedef {import('./schemas/account.js').AccountT} AccountT
* @typedef {import('./schemas/account.js').SubscriptionT} SubscriptionT
* @typedef {import('./schemas/auth.js').LoginRequestT} LoginRequestT
* @typedef {import('./schemas/auth.js').LoginResponseT} LoginResponseT
* @typedef {import('./schemas/auth.js').RegisterRequestT} RegisterRequestT
* @typedef {import('./schemas/auth.js').SendRegistrationCodeRequestT} SendRegistrationCodeRequestT
* @typedef {import('./schemas/error.js').ApiErrorT} ApiErrorT
* @typedef {import('./schemas/telemetry.js').TelemetryEventT} TelemetryEventT
* @typedef {import('./schemas/share.js').ShareMetaT} ShareMetaT
* @typedef {import('./schemas/waitlist.js').WaitlistEntryT} WaitlistEntryT
* @typedef {import('./schemas/waitlist.js').WaitlistEntryListResponseT} WaitlistEntryListResponseT
*/