test(housekeeping): cover nitro cleanup page in migration matrix
This commit is contained in:
1 parent
694f87d98c
commit
ea4fd375b4
4 files changed
+29
-6
No files matched your search
@@ -573,6 +573,29 @@ export const hotelMigrationEntries: readonly MigrationEntry[] = [
|
||||
accessibility: "PARTIAL",
|
||||
notes: ["The current page relies on action-level catalog-edit enforcement"],
|
||||
}),
|
||||
plannedHotelEntry({
|
||||
surface: "admin",
|
||||
legacyPath: "/admin/studio/nitro-cleanup",
|
||||
sourceFile: "src/app/admin/studio/nitro-cleanup/page.tsx",
|
||||
targetPath: "/admin/hotel/studio/nitro-cleanup",
|
||||
decision: "REBUILD",
|
||||
capabilities: {
|
||||
read: [PERMS.ASSETS_IMPORT],
|
||||
mutate: [PERMS.ASSETS_IMPORT],
|
||||
},
|
||||
dependencies: {
|
||||
queries: ["GET /api/admin/studio/nitro-cleanup", "scanFakeBrokenNitros"],
|
||||
mutations: [
|
||||
"DELETE /api/admin/studio/nitro-cleanup",
|
||||
"clearFurniImportCache",
|
||||
"deleteNitroCleanupFiles",
|
||||
],
|
||||
},
|
||||
auditRequirement: "PRIVILEGED_MUTATION",
|
||||
localization: "PARTIAL",
|
||||
accessibility: "PARTIAL",
|
||||
notes: ["Deletes orphaned or unparseable nitro bundles from asset files"],
|
||||
}),
|
||||
plannedHotelEntry({
|
||||
surface: "admin",
|
||||
legacyPath: "/admin/studio/pets",
|
||||
|
||||
Reference in new issue
Block a user