mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-20 15:06:36 +00:00
revert: completely remove all Sora functionality
Remove ALL Sora code — client, gateway, generation, S3 storage, accounts, media, SDK, quota, scheduling, billing, OAuth, settings, and frontend UI. Backend: 60+ files deleted/cleaned, including service layer (scheduling, billing, token provider), handler layer (client/gateway handlers, DTOs), repository layer (sora repos), config, wire DI, routes, domain constants. Frontend: 14 files deleted + 29 files cleaned, including components, views, API clients, composables, i18n keys, types, router entries. Cloudflare challenge detection migrated from soraerror to httputil package. Migration files retained (046/047/063/070) to preserve DB migration history. 136 files changed, ~24,300 lines removed. All tests pass.
This commit is contained in:
1 parent
60d84d621c
commit
dece8987e9
136 files changed
+210
-24127
No files matched your search
@@ -49,10 +49,6 @@ type APIKeyAuthGroupSnapshot struct {
|
||||
ImagePrice1K *float64 `json:"image_price_1k,omitempty"`
|
||||
ImagePrice2K *float64 `json:"image_price_2k,omitempty"`
|
||||
ImagePrice4K *float64 `json:"image_price_4k,omitempty"`
|
||||
SoraImagePrice360 *float64 `json:"sora_image_price_360,omitempty"`
|
||||
SoraImagePrice540 *float64 `json:"sora_image_price_540,omitempty"`
|
||||
SoraVideoPricePerRequest *float64 `json:"sora_video_price_per_request,omitempty"`
|
||||
SoraVideoPricePerRequestHD *float64 `json:"sora_video_price_per_request_hd,omitempty"`
|
||||
ClaudeCodeOnly bool `json:"claude_code_only"`
|
||||
FallbackGroupID *int64 `json:"fallback_group_id,omitempty"`
|
||||
FallbackGroupIDOnInvalidRequest *int64 `json:"fallback_group_id_on_invalid_request,omitempty"`
|
||||
|
||||
Reference in new issue
Block a user