From 606275470c0ac32ec48f9c5d63dfe302bc6aaa78 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 21 Oct 2024 12:40:55 +0300 Subject: [PATCH] --- Target/Function/Integration.d.ts | 64 +------------------------------ Target/Interface/Integration.d.ts | 4 +- Target/Interface/Option.d.ts | 4 +- Target/Type/Option.d.ts | 1 - Target/Variable/Option.d.ts | 44 +-------------------- 5 files changed, 6 insertions(+), 111 deletions(-) diff --git a/Target/Function/Integration.d.ts b/Target/Function/Integration.d.ts index 0c721eb..7f188d3 100644 --- a/Target/Function/Integration.d.ts +++ b/Target/Function/Integration.d.ts @@ -1,69 +1,9 @@ import type Interface from "../Interface/Integration.js"; - /** * @module Integration * */ declare const _default: Interface; export default _default; - -export declare const Default: { - 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< - 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< - import("@playform/pipe/Target/Interface/Plan.js").default - >; - }; - File: string; - Exclude: false; - }; - Action: {}; -}; -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>>; - }> ->; +export declare const Default: typeof import("@playform/pipe/Target/Variable/Option.js"); +export declare const Merge: (Target: T, Source: T) => T; diff --git a/Target/Interface/Integration.d.ts b/Target/Interface/Integration.d.ts index 2c2bc91..8972322 100644 --- a/Target/Interface/Integration.d.ts +++ b/Target/Interface/Integration.d.ts @@ -1,11 +1,9 @@ import type { AstroIntegration } from "astro"; - import type Option from "../Interface/Option.js"; - /** * @module Integration * */ export default interface Interface { - (Option: Option): AstroIntegration; + (Option: Option): AstroIntegration; } diff --git a/Target/Interface/Option.d.ts b/Target/Interface/Option.d.ts index b1abc33..24b13bc 100644 --- a/Target/Interface/Option.d.ts +++ b/Target/Interface/Option.d.ts @@ -1,7 +1,7 @@ import type Option from "@playform/pipe/Target/Interface/Option.js"; - /** * @module Option * */ -export default interface Interface extends Option {} +export default interface Interface extends Option { +} diff --git a/Target/Type/Option.d.ts b/Target/Type/Option.d.ts index a156d04..fafb124 100644 --- a/Target/Type/Option.d.ts +++ b/Target/Type/Option.d.ts @@ -1,5 +1,4 @@ import type Option from "@playform/pipe/Target/Interface/Option.js"; - /** * @module Option * diff --git a/Target/Variable/Option.d.ts b/Target/Variable/Option.d.ts index 625f974..0e39065 100644 --- a/Target/Variable/Option.d.ts +++ b/Target/Variable/Option.d.ts @@ -2,47 +2,5 @@ * @module Option * */ -declare const _default: { - 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< - 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< - import("@playform/pipe/Target/Interface/Plan").default - >; - }; - File: string; - Exclude: false; - }; - Action: {}; -}; +declare const _default: typeof import("@playform/pipe/Target/Variable/Option.js"); export default _default;