File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
packages/playground/blueprints Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 10261026 "type" : " string" ,
10271027 "const" : " unzip"
10281028 },
1029+ "zipFile" : {
1030+ "$ref" : " #/definitions/FileReference" ,
1031+ "description" : " The zip file to extract"
1032+ },
10291033 "zipPath" : {
10301034 "type" : " string" ,
1031- "description" : " The zip file to extract"
1035+ "description" : " The path of the zip file to extract" ,
1036+ "deprecated" : " Use zipFile instead."
10321037 },
10331038 "extractToPath" : {
10341039 "type" : " string" ,
10351040 "description" : " The path to extract the zip file to"
10361041 }
10371042 },
1038- "required" : [" extractToPath" , " step" , " zipPath " ]
1043+ "required" : [" extractToPath" , " step" ]
10391044 },
10401045 {
10411046 "type" : " object" ,
12631268 "code" : {
12641269 "type" : " string" ,
12651270 "description" : " The code snippet to eval instead of a php file."
1271+ },
1272+ "throwOnError" : {
1273+ "type" : " boolean" ,
1274+ "description" : " Whether to throw an error if the PHP process exits with a non-zero code or outputs to stderr."
12661275 }
12671276 },
12681277 "additionalProperties" : false
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { runPhpWithZipFunctions } from '../utils/run-php-with-zip-functions';
2020export interface UnzipStep < ResourceType > {
2121 step : 'unzip' ;
2222 /** The zip file to extract */
23- zipFile : ResourceType ;
23+ zipFile ? : ResourceType ;
2424 /**
2525 * The path of the zip file to extract
2626 * @deprecated Use zipFile instead.
You can’t perform that action at this time.
0 commit comments