Unverified Commit 73d6ec10 authored by Lemon-miaow's avatar Lemon-miaow
Browse files

feat(mock): add mock submissions for owner account

parent b84debf8
Loading
Loading
Loading
Loading
+31 −0
Changes for panel/dev/mockApi.ts: 31 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -278,6 +278,37 @@ function initialState(): MockState {
        status: "pending_review",
        created_at: new Date(Date.now() - 3600000).toISOString(),
      },
      {
        id: "sub-owner-1",
        submitted_by: "[email protected]",
        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: "[email protected]",
        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: "[email protected]",
        created_at: new Date(Date.now() - 86400000).toISOString(),
        reviewed_at: new Date(Date.now() - 86300000).toISOString(),
      },
      {
        id: "sub-owner-3",
        submitted_by: "[email protected]",
        display_name: "Oversized Custom Modpack",
        context_ref: "minio/contexts/sub-owner-3/context.tar.gz",
        status: "rejected",
        reviewed_by: "[email protected]",
        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: "[email protected]",