@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.
- package/blueprint-schema-validator.d.ts +4 -1
- package/blueprint-schema-validator.js +2322 -1831
- package/blueprint-schema.json +3067 -1
- package/blueprint-v2-schema-validator.d.ts +5 -0
- package/blueprint-v2-schema-validator.js +37821 -0
- package/index.cjs +974 -151
- package/index.cjs.map +1 -1
- package/index.d.ts +7 -4
- package/index.js +7203 -5120
- package/index.js.map +1 -1
- package/lib/compile.d.ts +5 -2
- package/lib/invalid-blueprint-error.d.ts +5 -0
- package/lib/reflection.d.ts +1 -1
- package/lib/resolve-runtime-configuration.d.ts +13 -1
- package/lib/steps/import-wxr.d.ts +20 -0
- package/lib/steps/reset-data.d.ts +9 -2
- package/lib/v1/compile.d.ts +2 -4
- package/lib/v2/blueprint-v2-declaration.d.ts +0 -10
- package/lib/v2/compile.d.ts +23 -2
- package/lib/v2/resolve-runtime-configuration.d.ts +20 -0
- package/lib/v2/validate-blueprint-v2.d.ts +17 -0
- package/lib/v2/wep-1-blueprint-v2-schema/appendix-A-blueprint-v2-schema.d.ts +91 -17
- package/lib/v2/wep-1-blueprint-v2-schema/appendix-B-data-sources.d.ts +54 -15
- package/lib/validate-blueprint-declaration.d.ts +6 -0
- package/package.json +11 -11
- package/schema-readme.md +6 -5
- package/tests/v2/schema-conformance-fixtures.d.ts +2033 -0
- package/validate-blueprint-v2-C3rgpKFU.js +17393 -0
- package/validate-blueprint-v2-C3rgpKFU.js.map +1 -0
- package/validate-blueprint-v2-CJ8Xbxyz.cjs +201 -0
- package/validate-blueprint-v2-CJ8Xbxyz.cjs.map +1 -0
- package/blueprints-Gs5fAvvo.cjs +0 -2
- package/blueprints-Gs5fAvvo.cjs.map +0 -1
- package/blueprints-pMn3V9MZ.js +0 -5
- package/blueprints-pMn3V9MZ.js.map +0 -1
- package/lib/v2/get-v2-runner.d.ts +0 -1
- package/lib/v2/run-blueprint-v2.d.ts +0 -36
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprints-pMn3V9MZ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getV2Runner(): Promise<File>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { type StreamedPHPResponse, type UniversalPHP } from '@php-wasm/universal';
|
|
2
|
-
import { type RawBlueprintV2Data, type ParsedBlueprintV1orV2String } from './blueprint-v2-declaration';
|
|
3
|
-
import type { BlueprintV1Declaration } from '../v1/types';
|
|
4
|
-
export type PHPExceptionDetails = {
|
|
5
|
-
exception: string;
|
|
6
|
-
message: string;
|
|
7
|
-
file: string;
|
|
8
|
-
line: number;
|
|
9
|
-
trace: string;
|
|
10
|
-
};
|
|
11
|
-
export type BlueprintMessage = {
|
|
12
|
-
type: 'blueprint.target_resolved';
|
|
13
|
-
} | {
|
|
14
|
-
type: 'blueprint.progress';
|
|
15
|
-
progress: number;
|
|
16
|
-
caption: string;
|
|
17
|
-
} | {
|
|
18
|
-
type: 'blueprint.error';
|
|
19
|
-
message: string;
|
|
20
|
-
details?: PHPExceptionDetails;
|
|
21
|
-
} | {
|
|
22
|
-
type: 'blueprint.completion';
|
|
23
|
-
message: string;
|
|
24
|
-
};
|
|
25
|
-
interface RunV2Options {
|
|
26
|
-
php: UniversalPHP;
|
|
27
|
-
cliArgs?: string[];
|
|
28
|
-
blueprint: RawBlueprintV2Data | ParsedBlueprintV1orV2String | BlueprintV1Declaration;
|
|
29
|
-
blueprintOverrides?: {
|
|
30
|
-
wordpressVersion?: string;
|
|
31
|
-
additionalSteps?: any[];
|
|
32
|
-
};
|
|
33
|
-
onMessage?: (message: BlueprintMessage) => void | Promise<void>;
|
|
34
|
-
}
|
|
35
|
-
export declare function runBlueprintV2(options: RunV2Options): Promise<StreamedPHPResponse>;
|
|
36
|
-
export {};
|