From ba5948d20941c30b9f525e90efa521330cc9c7d7 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 31 Aug 2024 18:53:51 +0300 Subject: [PATCH] --- .npmignore | 1 - Target/Function/Integration.d.ts | 37 ++++++++++++++++++++++++++++++++ Target/Interface/Integraton.d.ts | 9 ++++++++ Target/Type/Option.d.ts | 7 ++++++ Target/Variable/Option.d.ts | 24 +++++++++++++++++++++ 5 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 Target/Function/Integration.d.ts create mode 100644 Target/Interface/Integraton.d.ts create mode 100644 Target/Type/Option.d.ts create mode 100644 Target/Variable/Option.d.ts diff --git a/.npmignore b/.npmignore index 3582868..12d75aa 100644 --- a/.npmignore +++ b/.npmignore @@ -4,4 +4,3 @@ CODE_OF_CONDUCT.md CONTRIBUTING.md Documentation/ Source/ -Summary.md diff --git a/Target/Function/Integration.d.ts b/Target/Function/Integration.d.ts new file mode 100644 index 0000000..cbf91d5 --- /dev/null +++ b/Target/Function/Integration.d.ts @@ -0,0 +1,37 @@ +/** + * @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; +}; +export declare const Merge: (...objects: Ts) => import("deepmerge-ts").DeepMergeHKT, Readonly<{ + key: PropertyKey; + parents: ReadonlyArray>>; +}>>; diff --git a/Target/Interface/Integraton.d.ts b/Target/Interface/Integraton.d.ts new file mode 100644 index 0000000..06f2a01 --- /dev/null +++ b/Target/Interface/Integraton.d.ts @@ -0,0 +1,9 @@ +/** + * @module Integration + * + */ +export default interface Interface { + (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 new file mode 100644 index 0000000..1e257b2 --- /dev/null +++ b/Target/Type/Option.d.ts @@ -0,0 +1,7 @@ +/** + * @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 new file mode 100644 index 0000000..d440ddd --- /dev/null +++ b/Target/Variable/Option.d.ts @@ -0,0 +1,24 @@ +/** + * @module Option + * + */ +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; +}; +export default _default;