Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 21, 2024
1 parent b4bba76 commit 8933d38
Show file tree
Hide file tree
Showing 9 changed files with 84 additions and 135 deletions.
81 changes: 29 additions & 52 deletions Target/Function/Integration.d.ts
Original file line number Diff line number Diff line change
@@ -1,62 +1,39 @@
import type Interface from "../Interface/Integration.js";

/**
* @module Integration
*
*/
declare const _default: Interface;
export default _default;
export declare const Default: {
File: string;
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Accomplished: false;
Failed: (
On: import("@playform/pipe/Target/Interface/File.js").default,
) => Promise<string>;
Fulfilled: ({
File,
}: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<
string | false
>;
Read: ({
Input,
}: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
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<true>;
Changed: (
Plan: import("@playform/pipe/Target/Interface/Plan.js").default,
) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
};
Exclude: false;
Critters: import("../Interface/Critters.js").default;
File: string;
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Accomplished: false;
Failed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
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<true>;
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
};
Exclude: false;
Critters: import("../Interface/Critters.js").default;
};
export declare const Search: string;
export declare const Merge: <Ts extends readonly unknown[]>(
...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<Readonly<Record<PropertyKey, unknown>>>;
}>
>;
export declare const Merge: <Ts extends readonly unknown[]>(...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<Readonly<Record<PropertyKey, unknown>>>;
}>>;
2 changes: 1 addition & 1 deletion Target/Function/Integration.js

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

28 changes: 11 additions & 17 deletions Target/Function/Merge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@
* @module Merge
*
*/
declare const _default: <Ts extends readonly unknown[]>(
...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<Readonly<Record<PropertyKey, unknown>>>;
}>
>;
declare const _default: <Ts extends readonly unknown[]>(...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<Readonly<Record<PropertyKey, unknown>>>;
}>>;
export default _default;
37 changes: 18 additions & 19 deletions Target/Interface/Critters.d.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
import type Logger from "../Interface/Logger.js";

/**
* @module Critters
*
*/
export default interface Interface {
path?: string;
publicPath?: string;
external?: boolean;
inlineThreshold?: number;
minimumExternalSize?: number;
pruneSource?: boolean;
mergeStylesheets?: boolean;
additionalStylesheets?: string[];
preload?: "body" | "media" | "swap" | "js" | "js-lazy";
noscriptFallback?: boolean;
inlineFonts?: boolean;
preloadFonts?: boolean;
fonts?: boolean;
keyframes?: string;
compress?: boolean;
logLevel?: "info" | "warn" | "error" | "trace" | "debug" | "silent";
reduceInlineStyles?: boolean;
logger?: Logger;
path?: string;
publicPath?: string;
external?: boolean;
inlineThreshold?: number;
minimumExternalSize?: number;
pruneSource?: boolean;
mergeStylesheets?: boolean;
additionalStylesheets?: string[];
preload?: "body" | "media" | "swap" | "js" | "js-lazy";
noscriptFallback?: boolean;
inlineFonts?: boolean;
preloadFonts?: boolean;
fonts?: boolean;
keyframes?: string;
compress?: boolean;
logLevel?: "info" | "warn" | "error" | "trace" | "debug" | "silent";
reduceInlineStyles?: boolean;
logger?: Logger;
}
4 changes: 1 addition & 3 deletions Target/Interface/Integration.d.ts
Original file line number Diff line number Diff line change
@@ -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;
}
10 changes: 5 additions & 5 deletions Target/Interface/Logger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*
*/
export default interface Interface {
trace?: (message: string) => void;
debug?: (message: string) => void;
info?: (message: string) => void;
warn?: (message: string) => void;
error?: (message: string) => void;
trace?: (message: string) => void;
debug?: (message: string) => void;
info?: (message: string) => void;
warn?: (message: string) => void;
error?: (message: string) => void;
}
4 changes: 1 addition & 3 deletions Target/Interface/Option.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import type Option from "@playform/pipe/Target/Interface/Option.js";

import type Critters from "../Interface/Critters.js";

/**
* @module Option
*
*/
export default interface Interface extends Option {
Critters?: boolean | Critters;
Critters?: boolean | Critters;
}
1 change: 0 additions & 1 deletion Target/Variable/Critters.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type Interface from "../Interface/Critters.js";

/**
* @module Critters
*
Expand Down
52 changes: 18 additions & 34 deletions Target/Variable/Option.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,23 @@
*
*/
declare const _default: {
File: string;
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Accomplished: false;
Failed: (
On: import("@playform/pipe/Target/Interface/File.js").default,
) => Promise<string>;
Fulfilled: ({
File,
}: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<
string | false
>;
Read: ({
Input,
}: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
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<true>;
Changed: (
Plan: import("@playform/pipe/Target/Interface/Plan.js").default,
) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
};
Exclude: false;
Critters: import("../Interface/Critters.js").default;
File: string;
Cache: {
Search: string;
Folder: string;
};
Path: string;
Logger: 2;
Action: {
Accomplished: false;
Failed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
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<true>;
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
};
Exclude: false;
Critters: import("../Interface/Critters.js").default;
};
export default _default;

0 comments on commit 8933d38

Please sign in to comment.