@wp-playground/blueprints 3.1.44 → 3.1.45

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.
Files changed (37) hide show
  1. package/blueprint-schema-validator.d.ts +4 -1
  2. package/blueprint-schema-validator.js +2322 -1831
  3. package/blueprint-schema.json +3067 -1
  4. package/blueprint-v2-schema-validator.d.ts +5 -0
  5. package/blueprint-v2-schema-validator.js +37821 -0
  6. package/index.cjs +974 -151
  7. package/index.cjs.map +1 -1
  8. package/index.d.ts +7 -4
  9. package/index.js +7203 -5120
  10. package/index.js.map +1 -1
  11. package/lib/compile.d.ts +5 -2
  12. package/lib/invalid-blueprint-error.d.ts +5 -0
  13. package/lib/reflection.d.ts +1 -1
  14. package/lib/resolve-runtime-configuration.d.ts +13 -1
  15. package/lib/steps/import-wxr.d.ts +20 -0
  16. package/lib/steps/reset-data.d.ts +9 -2
  17. package/lib/v1/compile.d.ts +2 -4
  18. package/lib/v2/blueprint-v2-declaration.d.ts +0 -10
  19. package/lib/v2/compile.d.ts +23 -2
  20. package/lib/v2/resolve-runtime-configuration.d.ts +20 -0
  21. package/lib/v2/validate-blueprint-v2.d.ts +17 -0
  22. package/lib/v2/wep-1-blueprint-v2-schema/appendix-A-blueprint-v2-schema.d.ts +91 -17
  23. package/lib/v2/wep-1-blueprint-v2-schema/appendix-B-data-sources.d.ts +54 -15
  24. package/lib/validate-blueprint-declaration.d.ts +6 -0
  25. package/package.json +11 -11
  26. package/schema-readme.md +6 -5
  27. package/tests/v2/schema-conformance-fixtures.d.ts +2033 -0
  28. package/validate-blueprint-v2-C3rgpKFU.js +17393 -0
  29. package/validate-blueprint-v2-C3rgpKFU.js.map +1 -0
  30. package/validate-blueprint-v2-CJ8Xbxyz.cjs +201 -0
  31. package/validate-blueprint-v2-CJ8Xbxyz.cjs.map +1 -0
  32. package/blueprints-Gs5fAvvo.cjs +0 -2
  33. package/blueprints-Gs5fAvvo.cjs.map +0 -1
  34. package/blueprints-pMn3V9MZ.js +0 -5
  35. package/blueprints-pMn3V9MZ.js.map +0 -1
  36. package/lib/v2/get-v2-runner.d.ts +0 -1
  37. package/lib/v2/run-blueprint-v2.d.ts +0 -36
package/index.d.ts CHANGED
@@ -3,18 +3,21 @@ export type { Blueprint, BlueprintBundle, BlueprintDeclaration, RuntimeConfigura
3
3
  export { BlueprintReflection } from './lib/reflection';
4
4
  export { getBlueprintDeclaration, isBlueprintBundle, compileBlueprintV1, runBlueprintV1Steps, InvalidBlueprintError, BlueprintStepExecutionError, validateBlueprint, compileBlueprintV1 as compileBlueprint, runBlueprintV1Steps as runBlueprintSteps, isStepDefinition, } from './lib/v1/compile';
5
5
  export type { CompileBlueprintV1Options, CompiledBlueprintV1, CompiledV1Step, OnStepCompleted, BlueprintValidationResult, } from './lib/v1/compile';
6
+ export { validateBlueprintDeclaration } from './lib/validate-blueprint-declaration';
6
7
  export type { CachedResource, CorePluginReference, CorePluginResource, CoreThemeReference, CoreThemeResource, FetchResource, FileReference, LiteralReference, LiteralResource, Resource, ResourceDecorator, ResourceTypes, SemaphoreResource, UrlReference, UrlResource, VFSReference, VFSResource, } from './lib/v1/resources';
7
8
  export { BlueprintFilesystemRequiredError, ResourceDownloadError, } from './lib/v1/resources';
8
9
  export * from './lib/steps';
9
10
  export * from './lib/steps/handlers';
10
- export type { BlueprintV2, BlueprintV2Declaration, RawBlueprintV2Data, ParsedBlueprintV1orV2String as ParsedBlueprintV2String, } from './lib/v2/blueprint-v2-declaration';
11
- export { getV2Runner } from './lib/v2/get-v2-runner';
12
- export { runBlueprintV2 } from './lib/v2/run-blueprint-v2';
13
- export type { BlueprintMessage } from './lib/v2/run-blueprint-v2';
11
+ export type { BlueprintV2, BlueprintV2Declaration, } from './lib/v2/blueprint-v2-declaration';
12
+ export { compileBlueprintV2, createBlueprintV2ExecutionPlan, resolveBlueprintV2WordPressSource, } from './lib/v2/compile';
13
+ export type { CompiledBlueprintV2, CompileBlueprintV2Options, ResolveBlueprintV2WordPressSourceOptions, } from './lib/v2/compile';
14
14
  export { resolveRemoteBlueprint, BlueprintFetchError, } from './lib/resolve-remote-blueprint';
15
15
  export type { ResolveRemoteBlueprintOptions } from './lib/resolve-remote-blueprint';
16
16
  export { wpContentFilesExcludedFromExport } from './lib/utils/wp-content-files-excluded-from-exports';
17
17
  export { resolveRuntimeConfiguration } from './lib/resolve-runtime-configuration';
18
+ export type { ResolveRuntimeConfigurationOptions } from './lib/resolve-runtime-configuration';
19
+ export { assertBlueprintV2WordPressVersionCompatibility } from './lib/v2/resolve-runtime-configuration';
20
+ export type { BlueprintV2SiteMode } from './lib/v2/resolve-runtime-configuration';
18
21
  export { compileBlueprintForExecution } from './lib/compile';
19
22
  export type { BlueprintExecutionPath, CompiledBlueprintForExecution, CompileBlueprintForExecutionOptions, } from './lib/compile';
20
23
  /**