From dc077841f247606ce12673e1c599ac89f435655f Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sun, 13 Oct 2024 20:01:07 +0300 Subject: [PATCH] --- Target/Function/Integration.d.ts | 85 +++++++++++++++++++++----------- Target/Interface/Integraton.d.ts | 8 +-- Target/Type/Option.d.ts | 3 +- Target/Variable/Option.d.ts | 53 +++++++++++++------- 4 files changed, 99 insertions(+), 50 deletions(-) diff --git a/Target/Function/Integration.d.ts b/Target/Function/Integration.d.ts index cbf91d5..2bc6b4b 100644 --- a/Target/Function/Integration.d.ts +++ b/Target/Function/Integration.d.ts @@ -1,37 +1,64 @@ +import type Interface from "../Interface/Integraton.js"; + /** * @module Integration * */ declare const _default: Interface; export default _default; -import type Interface from "../Interface/Integraton.js"; + export declare const Default: { - Cache: { - Search: string; - Folder: string; - }; - Path: string; - Logger: 2; - Action: { - Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; - Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; - Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; - Failed: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; - Accomplished: ({ Input, Output }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; - Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise; - Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise; - }; - File: string; - Exclude: false; + Cache: { + Search: string; + Folder: string; + }; + Path: string; + Logger: 2; + Action: { + Read: ({ + Input, + }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Wrote: ({ + Buffer, + }: import("@playform/pipe/Target/Interface/File.js").default) => Promise< + import("@playform/pipe/Target/Type/Buffer.js").Type + >; + Passed: ( + On: import("@playform/pipe/Target/Interface/File.js").default, + ) => Promise; + Failed: ({ + Input, + }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Accomplished: ({ + Input, + Output, + }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Fulfilled: ({ + File, + }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise< + string | false + >; + Changed: ( + Plan: import("@playform/pipe/Target/Interface/Plan.js").default, + ) => Promise; + }; + File: string; + Exclude: false; }; -export declare const Merge: (...objects: Ts) => import("deepmerge-ts").DeepMergeHKT, Readonly<{ - key: PropertyKey; - parents: ReadonlyArray>>; -}>>; +export declare const Merge: ( + ...objects: Ts +) => import("deepmerge-ts").DeepMergeHKT< + Ts, + Readonly<{ + DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI"; + DeepMergeArraysURI: "DeepMergeArraysDefaultURI"; + DeepMergeSetsURI: "DeepMergeSetsDefaultURI"; + DeepMergeMapsURI: "DeepMergeMapsDefaultURI"; + DeepMergeOthersURI: "DeepMergeLeafURI"; + DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI"; + }>, + Readonly<{ + key: PropertyKey; + parents: ReadonlyArray>>; + }> +>; diff --git a/Target/Interface/Integraton.d.ts b/Target/Interface/Integraton.d.ts index 06f2a01..e24a5cd 100644 --- a/Target/Interface/Integraton.d.ts +++ b/Target/Interface/Integraton.d.ts @@ -1,9 +1,11 @@ +import type { AstroIntegration } from "astro"; + +import type Option from "../Type/Option.js"; + /** * @module Integration * */ export default interface Interface { - (Option: Option): AstroIntegration; + (Option: Option): AstroIntegration; } -import type Option from "../Type/Option.js"; -import type { AstroIntegration } from "astro"; diff --git a/Target/Type/Option.d.ts b/Target/Type/Option.d.ts index 1e257b2..a156d04 100644 --- a/Target/Type/Option.d.ts +++ b/Target/Type/Option.d.ts @@ -1,7 +1,8 @@ +import type Option from "@playform/pipe/Target/Interface/Option.js"; + /** * @module Option * */ export type Type = Option; export type { Type as default }; -import type Option from "@playform/pipe/Target/Interface/Option.js"; diff --git a/Target/Variable/Option.d.ts b/Target/Variable/Option.d.ts index d440ddd..ee570bb 100644 --- a/Target/Variable/Option.d.ts +++ b/Target/Variable/Option.d.ts @@ -3,22 +3,41 @@ * */ declare const _default: { - Cache: { - Search: string; - Folder: string; - }; - Path: string; - Logger: 2; - Action: { - Read: ({ Input }: import("@playform/pipe/Target/Interface/File").default) => Promise; - Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File").default) => Promise; - Passed: (On: import("@playform/pipe/Target/Interface/File").default) => Promise; - Failed: ({ Input }: import("@playform/pipe/Target/Interface/File").default) => Promise; - Accomplished: ({ Input, Output }: import("@playform/pipe/Target/Interface/File").default) => Promise; - Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan").default) => Promise; - Changed: (Plan: import("@playform/pipe/Target/Interface/Plan").default) => Promise; - }; - File: string; - Exclude: false; + Cache: { + Search: string; + Folder: string; + }; + Path: string; + Logger: 2; + Action: { + Read: ({ + Input, + }: import("@playform/pipe/Target/Interface/File").default) => Promise; + Wrote: ({ + Buffer, + }: import("@playform/pipe/Target/Interface/File").default) => Promise< + import("@playform/pipe/Target/Type/Buffer").Type + >; + Passed: ( + On: import("@playform/pipe/Target/Interface/File").default, + ) => Promise; + Failed: ({ + Input, + }: import("@playform/pipe/Target/Interface/File").default) => Promise; + Accomplished: ({ + Input, + Output, + }: import("@playform/pipe/Target/Interface/File").default) => Promise; + Fulfilled: ({ + File, + }: import("@playform/pipe/Target/Interface/Plan").default) => Promise< + string | false + >; + Changed: ( + Plan: import("@playform/pipe/Target/Interface/Plan").default, + ) => Promise; + }; + File: string; + Exclude: false; }; export default _default;