Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Dec 17, 2023
1 parent ce04066 commit 2162e4d
Show file tree
Hide file tree
Showing 9 changed files with 2,429 additions and 56 deletions.
2,303 changes: 2,299 additions & 4 deletions Documentation/assets/main.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Documentation/assets/navigation.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAACqXQTQuCQBAG4P8y56VAy8OeI+ggXaKLeNh01KVtlWWEIvzvYYnuboaHrvPxMPMmTyC8E3A4aMLSCJK1BgaNoAo4xHXeKlxbvVVFNwUMrlLnwAMGWSVVblADT0br9GhwQvptU4jMdfoZD9tGHRuNHRaiVTQxZ2GkuHjXDFMuFAaWM/vXvtVZX3Gsn19GG8uL0ZS4IL1nvozUUo7NbNCf8l8ZD8RSvP4BY7rD/twlYdClXfoC6oYObDMCAAA="
window.navigationData =
"data:application/octet-stream;base64,H4sIAAAAAAAACqXQTQuCQBAG4P8y56VAy8OeI+ggXaKLeNh01KVtlWWEIvzvYYnuboaHrvPxMPMmTyC8E3A4aMLSCJK1BgaNoAo4xHXeKlxbvVVFNwUMrlLnwAMGWSVVblADT0br9GhwQvptU4jMdfoZD9tGHRuNHRaiVTQxZ2GkuHjXDFMuFAaWM/vXvtVZX3Gsn19GG8uL0ZS4IL1nvozUUo7NbNCf8l8ZD8RSvP4BY7rD/twlYdClXfoC6oYObDMCAAA=";
3 changes: 2 additions & 1 deletion Documentation/assets/search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Source/Function/Integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @module Integration
*
*/
export default ((...[_Option = {}]: Parameters<Type>) => {
export default (((...[_Option = {}]: Parameters<Type>) => {
for (const Option in _Option) {
if (
Object.prototype.hasOwnProperty.call(_Option, Option) &&
Expand Down Expand Up @@ -34,7 +34,7 @@ export default ((...[_Option = {}]: Parameters<Type>) => {
},
},
};
}) satisfies Type as Type;
}) satisfies Type as Type);

import type Type from "../Interface/Integration.js";

Expand Down
72 changes: 49 additions & 23 deletions Target/Function/Integration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,52 @@
declare const _default: Type;
export default _default;
import type Type from "../Interface/Integration.js";
export declare const Default: Omit<{} & {
Pipe: {};
default: {
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Read: ({ Input }: import("files-pipe/Target/Interface/File.js").default) => Promise<string>;
Wrote: ({ Buffer }: import("files-pipe/Target/Interface/File.js").default) => Promise<import("files-pipe/Target/Type/Buffer.js").Type>;
Passed: (On: import("files-pipe/Target/Interface/File.js").default) => Promise<true>;
Failed: ({ Input }: import("files-pipe/Target/Interface/File.js").default) => Promise<string>;
Accomplished: ({ Input, Output }: import("files-pipe/Target/Interface/File.js").default) => Promise<string>;
Fulfilled: ({ Files }: import("files-pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
Changed: (Plan: import("files-pipe/Target/Interface/Plan.js").default) => Promise<import("files-pipe/Target/Interface/Plan.js").default>;
};
Files: string;
Exclude: false;
};
}, "__proto__">;
export declare const Merge: import("typescript-esbuild/Target/Interface/Merge.js").default<import("typescript-esbuild/Target/Interface/Merge.js").Generic>;
export declare const Default: Omit<
{} & {
Pipe: {};
default: {
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Read: ({
Input,
}: import("files-pipe/Target/Interface/File.js").default) => Promise<string>;
Wrote: ({
Buffer,
}: import("files-pipe/Target/Interface/File.js").default) => Promise<
import("files-pipe/Target/Type/Buffer.js").Type
>;
Passed: (
On: import("files-pipe/Target/Interface/File.js").default,
) => Promise<true>;
Failed: ({
Input,
}: import("files-pipe/Target/Interface/File.js").default) => Promise<string>;
Accomplished: ({
Input,
Output,
}: import("files-pipe/Target/Interface/File.js").default) => Promise<string>;
Fulfilled: ({
Files,
}: import("files-pipe/Target/Interface/Plan.js").default) => Promise<
string | false
>;
Changed: (
Plan: import("files-pipe/Target/Interface/Plan.js").default,
) => Promise<
import("files-pipe/Target/Interface/Plan.js").default
>;
};
Files: string;
Exclude: false;
};
},
"__proto__"
>;
export declare const Merge: import("typescript-esbuild/Target/Interface/Merge.js").default<
import("typescript-esbuild/Target/Interface/Merge.js").Generic
>;
24 changes: 23 additions & 1 deletion Target/Function/Integration.js
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
var f=(...[e={}])=>{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&e[t]===!0&&(e[t]=o[t]);const{Path:a}=s(o,e),r=new Set;if(typeof a<"u"&&(Array.isArray(a)||a instanceof Set))for(const t of a)r.add(t);return{name:"astro-convert",hooks:{"astro:build:done":async({dir:t})=>{r.size||r.add(t)}}}};const{default:o}=await import("../Variable/Option.js"),{default:s}=await import("typescript-esbuild/Target/Function/Merge.js");export{o as Default,s as Merge,f as default};
var f = (...[e = {}]) => {
for (const t in e)
Object.prototype.hasOwnProperty.call(e, t) &&
e[t] === !0 &&
(e[t] = o[t]);
const { Path: a } = s(o, e),
r = new Set();
if (typeof a < "u" && (Array.isArray(a) || a instanceof Set))
for (const t of a) r.add(t);
return {
name: "astro-convert",
hooks: {
"astro:build:done": async ({ dir: t }) => {
r.size || r.add(t);
},
},
};
};
const { default: o } = await import("../Variable/Option.js"),
{ default: s } = await import(
"typescript-esbuild/Target/Function/Merge.js"
);
export { o as Default, s as Merge, f as default };
2 changes: 1 addition & 1 deletion Target/Interface/Integration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*/
export default interface Type {
(Option: Option): AstroIntegration;
(Option: Option): AstroIntegration;
}
import type { AstroIntegration } from "astro";
import type Option from "../Interface/Option.js";
68 changes: 46 additions & 22 deletions Target/Variable/Option.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,50 @@
* @module Option
*
*/
declare const _default: Omit<{} & {
Pipe: {};
default: {
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Read: ({ Input }: import("files-pipe/Target/Interface/File").default) => Promise<string>;
Wrote: ({ Buffer }: import("files-pipe/Target/Interface/File").default) => Promise<import("files-pipe/Target/Type/Buffer").Type>;
Passed: (On: import("files-pipe/Target/Interface/File").default) => Promise<true>;
Failed: ({ Input }: import("files-pipe/Target/Interface/File").default) => Promise<string>;
Accomplished: ({ Input, Output }: import("files-pipe/Target/Interface/File").default) => Promise<string>;
Fulfilled: ({ Files }: import("files-pipe/Target/Interface/Plan").default) => Promise<string | false>;
Changed: (Plan: import("files-pipe/Target/Interface/Plan").default) => Promise<import("files-pipe/Target/Interface/Plan").default>;
};
Files: string;
Exclude: false;
};
}, "__proto__">;
declare const _default: Omit<
{} & {
Pipe: {};
default: {
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Read: ({
Input,
}: import("files-pipe/Target/Interface/File").default) => Promise<string>;
Wrote: ({
Buffer,
}: import("files-pipe/Target/Interface/File").default) => Promise<
import("files-pipe/Target/Type/Buffer").Type
>;
Passed: (
On: import("files-pipe/Target/Interface/File").default,
) => Promise<true>;
Failed: ({
Input,
}: import("files-pipe/Target/Interface/File").default) => Promise<string>;
Accomplished: ({
Input,
Output,
}: import("files-pipe/Target/Interface/File").default) => Promise<string>;
Fulfilled: ({
Files,
}: import("files-pipe/Target/Interface/Plan").default) => Promise<
string | false
>;
Changed: (
Plan: import("files-pipe/Target/Interface/Plan").default,
) => Promise<
import("files-pipe/Target/Interface/Plan").default
>;
};
Files: string;
Exclude: false;
};
},
"__proto__"
>;
export default _default;
6 changes: 5 additions & 1 deletion Target/Variable/Option.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
var t=(await import("typescript-esbuild/Target/Function/Merge.js")).default(await import("files-pipe/Target/Variable/Option.js"),{Pipe:{}});export{t as default};
var t = (await import("typescript-esbuild/Target/Function/Merge.js")).default(
await import("files-pipe/Target/Variable/Option.js"),
{ Pipe: {} },
);
export { t as default };

0 comments on commit 2162e4d

Please sign in to comment.