From d913c8d5cae5a297b040bafa41b79034152b6c52 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Thu, 21 Mar 2024 11:33:49 +0800 Subject: [PATCH] chore(schemas): remove deprecated `prune:logs` scope (#5524) --- packages/schemas/src/seeds/cloud-api.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/schemas/src/seeds/cloud-api.ts b/packages/schemas/src/seeds/cloud-api.ts index 3c839e771..30782d563 100644 --- a/packages/schemas/src/seeds/cloud-api.ts +++ b/packages/schemas/src/seeds/cloud-api.ts @@ -26,8 +26,6 @@ export enum CloudScope { ManageAffiliate = 'manage:affiliate', /** The user can create new affiliates and logs. */ CreateAffiliate = 'create:affiliate', - /** The user can prune logs which are expired. */ - PruneLogs = 'prune:logs', } export const createCloudApi = (): Readonly<[UpdateAdminData, ...CreateScope[]]> => {