From 8fae5fb15bee37d92b2f00ba1e7250c491b53dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Wed, 31 Jul 2024 15:54:07 +0200 Subject: [PATCH] Blueprints: Add resetData step to documentation. (#1658) `resetData` step for blueprints exists and it's the recommended way to reest data IDs. However, this step doesn't appear in the list of steps available for blueprints in the docs. This PR adds that step to the documentation by removing the internal and private annotations. ## Testing instructions Run `nx build docs-site` and `npm run dev:docs` locally. Go to http://localhost:3000/wordpress-playground/blueprints-api/steps#ResetDataStep and confirm the `resetData` step is there. cc @juanmaguitar Fixes #1653 --- .../playground/blueprints/src/lib/steps/reset-data.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/playground/blueprints/src/lib/steps/reset-data.ts b/packages/playground/blueprints/src/lib/steps/reset-data.ts index 09390c5d1d..b56ed981da 100644 --- a/packages/playground/blueprints/src/lib/steps/reset-data.ts +++ b/packages/playground/blueprints/src/lib/steps/reset-data.ts @@ -1,11 +1,6 @@ import { StepHandler } from '.'; /** - * Deletes WordPress posts and comments and sets the auto increment sequence for the - * posts and comments tables to 0. - * - * @private - * @internal * @inheritDoc resetData * @example * @@ -20,6 +15,9 @@ export interface ResetDataStep { } /** + * Deletes WordPress posts and comments and sets the auto increment sequence for the + * posts and comments tables to 0. + * * @param playground Playground client. */ export const resetData: StepHandler = async (