@wp-playground/blueprints 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -350,7 +350,7 @@ export interface IsomorphicLocalPHP extends RequestHandler {
350
350
  * @param key - The name of the constant.
351
351
  * @param value - The value of the constant.
352
352
  */
353
- defineConstant(key: string, value: string | number | null): void;
353
+ defineConstant(key: string, value: boolean | string | number | null): void;
354
354
  /**
355
355
  * Adds an event listener for a PHP event.
356
356
  * @param eventType - The type of event to listen for.
@@ -941,21 +941,6 @@ export interface ActivatePluginStep {
941
941
  * @param playground The playground client.
942
942
  */
943
943
  export declare const activatePlugin: StepHandler<ActivatePluginStep>;
944
- /**
945
- * @private
946
- */
947
- export interface ApplyWordPressPatchesStep {
948
- step: "applyWordPressPatches";
949
- siteUrl?: string;
950
- wordpressPath?: string;
951
- addPhpInfo?: boolean;
952
- patchSecrets?: boolean;
953
- disableSiteHealth?: boolean;
954
- disableWpNewBlogNotification?: boolean;
955
- prepareForRunningInsideWebBrowser?: boolean;
956
- addFetchNetworkTransport?: boolean;
957
- }
958
- export declare const applyWordPressPatches: StepHandler<ApplyWordPressPatchesStep>;
959
944
  /**
960
945
  * @inheritDoc defineSiteUrl
961
946
  * @hasRunnableExample
@@ -1647,7 +1632,7 @@ export declare const importFile: StepHandler<ImportFileStep<File>>;
1647
1632
  *
1648
1633
  * <code>
1649
1634
  * {
1650
- * "step": "enableMultisite",
1635
+ * "step": "enableMultisite"
1651
1636
  * }
1652
1637
  * </code>
1653
1638
  */
@@ -1680,7 +1665,7 @@ export type StepDefinition = Step & {
1680
1665
  * If you add a step here, make sure to also
1681
1666
  * add it to the exports below.
1682
1667
  */
1683
- export type GenericStep<Resource> = ActivatePluginStep | ActivateThemeStep | ApplyWordPressPatchesStep | CpStep | DefineWpConfigConstsStep | DefineSiteUrlStep | EnableMultisiteStep | ImportFileStep<Resource> | ImportWordPressFilesStep<Resource> | InstallPluginStep<Resource> | InstallThemeStep<Resource> | LoginStep | MkdirStep | MvStep | RequestStep | RmStep | RmdirStep | RunPHPStep | RunPHPWithOptionsStep | RunWpInstallationWizardStep | RunSqlStep<Resource> | SetPhpIniEntryStep | SetSiteOptionsStep | UnzipStep<Resource> | UpdateUserMetaStep | WriteFileStep<Resource>;
1668
+ export type GenericStep<Resource> = ActivatePluginStep | ActivateThemeStep | CpStep | DefineWpConfigConstsStep | DefineSiteUrlStep | EnableMultisiteStep | ImportFileStep<Resource> | ImportWordPressFilesStep<Resource> | InstallPluginStep<Resource> | InstallThemeStep<Resource> | LoginStep | MkdirStep | MvStep | RequestStep | RmStep | RmdirStep | RunPHPStep | RunPHPWithOptionsStep | RunWpInstallationWizardStep | RunSqlStep<Resource> | SetPhpIniEntryStep | SetSiteOptionsStep | UnzipStep<Resource> | UpdateUserMetaStep | WriteFileStep<Resource>;
1684
1669
  /**
1685
1670
  * Progress reporting details.
1686
1671
  */