Merge remote-tracking branch 'origin/master' into feat/pricing-plan
Project CI / Backend tests (pull_request) Failing after 1m51s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m10s
Project CI / Frontend tests (pull_request) Failing after 1m31s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 4m59s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m50s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m38s
Project CI / Repository checks (pull_request) Failing after 4m27s
Project CI / Native shell tests (pull_request) Successful in 7m43s
Project CI / Backend tests (pull_request) Failing after 1m51s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m10s
Project CI / Frontend tests (pull_request) Failing after 1m31s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 4m59s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m50s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m38s
Project CI / Repository checks (pull_request) Failing after 4m27s
Project CI / Native shell tests (pull_request) Successful in 7m43s
# Conflicts: # docs/project-memory/shared-memory/decision-log.md # server-rs/crates/module-runtime/src/lib.rs
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