合并最新 master 到作品管理分支
Project CI / Backend tests (pull_request) Failing after 39s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m44s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Failing after 3m43s
Project CI / Repository checks (pull_request) Failing after 40s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m52s
Project CI / Frontend tests (pull_request) Successful in 3m17s
Project CI / AI game creator shell web tests (pull_request) Successful in 3m12s
Project CI / Native shell tests (pull_request) Successful in 6m41s
Project CI / Backend tests (pull_request) Failing after 39s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m44s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Failing after 3m43s
Project CI / Repository checks (pull_request) Failing after 40s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m52s
Project CI / Frontend tests (pull_request) Successful in 3m17s
Project CI / AI game creator shell web tests (pull_request) Successful in 3m12s
Project CI / Native shell tests (pull_request) Successful in 6m41s
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
export type PaymentApp = {
|
||||
appId: string;
|
||||
name: string;
|
||||
callbackUrl: string | null;
|
||||
enabled: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type PaymentApiKey = {
|
||||
keyId: string;
|
||||
appId: string;
|
||||
name: string;
|
||||
keyPrefix: string;
|
||||
scopes: string[];
|
||||
createdAt: string;
|
||||
lastUsedAt: string | null;
|
||||
revokedAt: string | null;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type PaymentAppCreateResponse = {
|
||||
app: PaymentApp;
|
||||
apiKey: string;
|
||||
key: PaymentApiKey;
|
||||
};
|
||||
|
||||
export type PaymentAppListResponse = {
|
||||
apps: PaymentApp[];
|
||||
keys: PaymentApiKey[];
|
||||
};
|
||||
|
||||
export type PaymentOrder = {
|
||||
orderId: string;
|
||||
appId: string;
|
||||
merchantOrderId: string;
|
||||
title: string;
|
||||
items: unknown[];
|
||||
amountCents: number;
|
||||
currency: string;
|
||||
provider: string;
|
||||
providerTradeNo: string | null;
|
||||
checkoutToken: string;
|
||||
status: 'pending' | 'paying' | 'paid' | 'expired' | 'closed' | 'refunded';
|
||||
checkoutUrl: string;
|
||||
providerQrCode: string | null;
|
||||
createdAt: string;
|
||||
expiresAt: string;
|
||||
paidAt: string | null;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type PaymentOrderCreateResponse = {
|
||||
order: PaymentOrder;
|
||||
};
|
||||
@@ -7,6 +7,7 @@ export * from './contracts/editorScene';
|
||||
export * from './contracts/externalGeneration';
|
||||
export * from './contracts/gameDistribution';
|
||||
export type * from './contracts/hyper3d';
|
||||
export * from './contracts/payment';
|
||||
export * from './contracts/runtime';
|
||||
export * from './http';
|
||||
export * from './llm/narrativeLanguage';
|
||||
|
||||
Reference in New Issue
Block a user