Skip to content

Commit 6aa8bed

Browse files
Nikola HristovNikola Hristov
authored andcommitted
1 parent 576c8fb commit 6aa8bed

File tree

4 files changed

+11
-200
lines changed

4 files changed

+11
-200
lines changed

Target/Function/Integration.d.ts

Lines changed: 5 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -8,87 +8,23 @@ export declare let System: string;
88
declare const _default: Interface;
99
export default _default;
1010
export declare const Default: {
11-
Path: string;
1211
Cache: {
1312
Search: string;
1413
Folder: string;
1514
};
15+
Path: string;
1616
Logger: 2;
1717
Action: {
18-
Failed: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
19-
Passed: ({ Before, Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<boolean>;
20-
Accomplished: ({ Input, Before, After }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
21-
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<any>;
2218
Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
2319
Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<import("@playform/pipe/Target/Type/Buffer.js").Type>;
20+
Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<true>;
21+
Failed: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
22+
Accomplished: ({ Input, Output }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
2423
Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
24+
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
2525
};
2626
File: string;
2727
Exclude: false;
28-
CSS: {
29-
csso: import("../Interface/CSS/csso.js").default;
30-
lightningcss: import("../Interface/CSS/lightningcss.js").default;
31-
};
32-
HTML: {
33-
"html-minifier-terser": {
34-
caseSensitive: true;
35-
collapseInlineTagWhitespace: false;
36-
collapseWhitespace: true;
37-
continueOnParseError: true;
38-
html5: true;
39-
ignoreCustomComments: RegExp[];
40-
ignoreCustomFragments: never[];
41-
includeAutoGeneratedTags: true;
42-
keepClosingSlash: true;
43-
minifyCSS: true;
44-
minifyJS: true;
45-
minifyURLs: false;
46-
noNewlinesBeforeTagClose: true;
47-
preventAttributesEscaping: false;
48-
processConditionalComments: false;
49-
processScripts: string[];
50-
quoteCharacter: string;
51-
removeAttributeQuotes: true;
52-
removeComments: true;
53-
removeScriptTypeAttributes: true;
54-
removeStyleLinkTypeAttributes: true;
55-
removeTagWhitespace: false;
56-
sortAttributes: true;
57-
sortClassName: true;
58-
trimCustomFragments: true;
59-
useShortDoctype: false;
60-
};
61-
};
62-
Image: {
63-
sharp: import("../Interface/Image/sharp.js").default;
64-
};
65-
JavaScript: {
66-
terser: {
67-
ecma: 5;
68-
enclose: false;
69-
keep_classnames: false;
70-
keep_fnames: false;
71-
ie8: false;
72-
module: false;
73-
safari10: false;
74-
toplevel: false;
75-
format: {
76-
comments: false;
77-
};
78-
};
79-
};
80-
SVG: {
81-
svgo: {
82-
multipass: true;
83-
js2svg: {
84-
indent: number;
85-
pretty: false;
86-
};
87-
plugins: "preset-default"[];
88-
};
89-
};
90-
Map: import("../Interface/Map.js").default;
91-
Parser: import("../Interface/Parser.js").default;
9228
};
9329
export declare const Search: string;
9430
export declare const Merge: <Ts extends readonly unknown[]>(...objects: Ts) => import("deepmerge-ts").DeepMergeHKT<Ts, Readonly<{

Target/Interface/Option.d.ts

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +0,0 @@
1-
import type Option from "@playform/pipe/Target/Interface/Option.js";
2-
import type csso from "../Interface/CSS/csso.js";
3-
import type lightningcss from "../Interface/CSS/lightningcss.js";
4-
import type sharp from "../Interface/Image/sharp.js";
5-
import type _Map from "../Interface/Map.js";
6-
import type Parser from "../Interface/Parser.js";
7-
import type html_minifier_terser from "../Type/HTML/html-minifier-terser.js";
8-
import type terser from "../Type/JavaScript/terser.js";
9-
import type svgo from "../Type/SVG/svgo.js";
10-
/**
11-
* @module Option
12-
*
13-
*/
14-
export default interface Interface extends Option {
15-
/**
16-
* csso, lightningcss option properties
17-
*
18-
*/
19-
CSS?: boolean | {
20-
csso?: csso;
21-
lightningcss?: lightningcss;
22-
};
23-
/**
24-
* html-minifier-terser option properties
25-
*
26-
*/
27-
HTML?: boolean | {
28-
"html-minifier-terser"?: html_minifier_terser;
29-
};
30-
/**
31-
* sharp option properties
32-
*
33-
*/
34-
Image?: boolean | {
35-
sharp?: sharp;
36-
};
37-
/**
38-
* terser option properties
39-
*
40-
*/
41-
JavaScript?: boolean | {
42-
terser?: terser;
43-
};
44-
/**
45-
* svgo option properties
46-
*
47-
*/
48-
SVG?: boolean | {
49-
svgo?: svgo;
50-
};
51-
/**
52-
* Map to different file paths
53-
*
54-
*/
55-
Map?: boolean | _Map;
56-
/**
57-
* Parsers for different file types
58-
*
59-
*/
60-
Parser?: Parser;
61-
}

Target/Variable/CSS/lightningcss.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Target/Variable/Option.d.ts

Lines changed: 5 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -3,86 +3,22 @@
33
*
44
*/
55
declare const _default: {
6-
Path: string;
76
Cache: {
87
Search: string;
98
Folder: string;
109
};
10+
Path: string;
1111
Logger: 2;
1212
Action: {
13-
Failed: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
14-
Passed: ({ Before, Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<boolean>;
15-
Accomplished: ({ Input, Before, After }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
16-
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<any>;
1713
Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
1814
Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<import("@playform/pipe/Target/Type/Buffer.js").Type>;
15+
Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<true>;
16+
Failed: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
17+
Accomplished: ({ Input, Output }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
1918
Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
19+
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
2020
};
2121
File: string;
2222
Exclude: false;
23-
CSS: {
24-
csso: import("../Interface/CSS/csso.js").default;
25-
lightningcss: import("../Interface/CSS/lightningcss.js").default;
26-
};
27-
HTML: {
28-
"html-minifier-terser": {
29-
caseSensitive: true;
30-
collapseInlineTagWhitespace: false;
31-
collapseWhitespace: true;
32-
continueOnParseError: true;
33-
html5: true;
34-
ignoreCustomComments: RegExp[];
35-
ignoreCustomFragments: never[];
36-
includeAutoGeneratedTags: true;
37-
keepClosingSlash: true;
38-
minifyCSS: true;
39-
minifyJS: true;
40-
minifyURLs: false;
41-
noNewlinesBeforeTagClose: true;
42-
preventAttributesEscaping: false;
43-
processConditionalComments: false;
44-
processScripts: string[];
45-
quoteCharacter: string;
46-
removeAttributeQuotes: true;
47-
removeComments: true;
48-
removeScriptTypeAttributes: true;
49-
removeStyleLinkTypeAttributes: true;
50-
removeTagWhitespace: false;
51-
sortAttributes: true;
52-
sortClassName: true;
53-
trimCustomFragments: true;
54-
useShortDoctype: false;
55-
};
56-
};
57-
Image: {
58-
sharp: import("../Interface/Image/sharp.js").default;
59-
};
60-
JavaScript: {
61-
terser: {
62-
ecma: 5;
63-
enclose: false;
64-
keep_classnames: false;
65-
keep_fnames: false;
66-
ie8: false;
67-
module: false;
68-
safari10: false;
69-
toplevel: false;
70-
format: {
71-
comments: false;
72-
};
73-
};
74-
};
75-
SVG: {
76-
svgo: {
77-
multipass: true;
78-
js2svg: {
79-
indent: number;
80-
pretty: false;
81-
};
82-
plugins: "preset-default"[];
83-
};
84-
};
85-
Map: import("../Interface/Map.js").default;
86-
Parser: import("../Interface/Parser.js").default;
8723
};
8824
export default _default;

0 commit comments

Comments
 (0)