diff --git a/panel/dev/mockApi.ts b/panel/dev/mockApi.ts index fcc0656..2c87e9c 100644 --- a/panel/dev/mockApi.ts +++ b/panel/dev/mockApi.ts @@ -278,6 +278,37 @@ function initialState(): MockState { status: "pending_review", created_at: new Date(Date.now() - 3600000).toISOString(), }, + { + id: "sub-owner-1", + submitted_by: "owner@mock.felis.local", + display_name: "RLCraft Survival Pack", + context_ref: "minio/contexts/sub-owner-1/context.tar.gz", + status: "pending_review", + created_at: new Date(Date.now() - 1800000).toISOString(), + }, + { + id: "sub-owner-2", + submitted_by: "owner@mock.felis.local", + display_name: "ATM 9 Server Pack", + context_ref: "minio/contexts/sub-owner-2/context.tar.gz", + status: "approved", + image_ref: "registry.felis.svc:5000/user-uploads/sub-owner-2:latest", + build_id: "bld-3", + reviewed_by: "setup@mock.felis.local", + created_at: new Date(Date.now() - 86400000).toISOString(), + reviewed_at: new Date(Date.now() - 86300000).toISOString(), + }, + { + id: "sub-owner-3", + submitted_by: "owner@mock.felis.local", + display_name: "Oversized Custom Modpack", + context_ref: "minio/contexts/sub-owner-3/context.tar.gz", + status: "rejected", + reviewed_by: "setup@mock.felis.local", + created_at: new Date(Date.now() - 172800000).toISOString(), + reviewed_at: new Date(Date.now() - 172700000).toISOString(), + reject_reason: "Compressed file size exceeds the platform-wide 1GB threshold. Please reduce the size by removing heavy client-only mods (e.g. resourcepacks or local shaders).", + }, { id: "sub-2", submitted_by: "linked@mock.felis.local",