Skip to content

Commit

Permalink
AstroCritters/v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 9, 2025
1 parent 03e61fa commit 0597a43
Show file tree
Hide file tree
Showing 47 changed files with 2,402 additions and 0 deletions.
39 changes: 39 additions & 0 deletions Target/Function/Integration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +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;
};
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>>>;
}>>;
1 change: 1 addition & 0 deletions Target/Function/Integration.js

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

16 changes: 16 additions & 0 deletions Target/Function/Merge.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* @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>>>;
}>>;
export default _default;
1 change: 1 addition & 0 deletions Target/Function/Merge.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
var e=(await import("deepmerge-ts")).deepmergeCustom({mergeArrays:!1});export{e as default};
25 changes: 25 additions & 0 deletions Target/Interface/Critters.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +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;
}
Empty file added Target/Interface/Critters.js
Empty file.
9 changes: 9 additions & 0 deletions Target/Interface/Integration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { AstroIntegration } from "astro";
import type Option from "../Interface/Option.js";
/**
* @module Integration
*
*/
export default interface Interface {
(Option?: Option): AstroIntegration;
}
Empty file added Target/Interface/Integration.js
Empty file.
11 changes: 11 additions & 0 deletions Target/Interface/Logger.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* @module Critters
*
*/
export default interface Interface {
trace?: (message: string) => void;
debug?: (message: string) => void;
info?: (message: string) => void;
warn?: (message: string) => void;
error?: (message: string) => void;
}
Empty file added Target/Interface/Logger.js
Empty file.
9 changes: 9 additions & 0 deletions Target/Interface/Option.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +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;
}
Empty file added Target/Interface/Option.js
Empty file.
7 changes: 7 additions & 0 deletions Target/Variable/Critters.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type Interface from "../Interface/Critters.js";
/**
* @module Critters
*
*/
declare const _default: Interface;
export default _default;
1 change: 1 addition & 0 deletions Target/Variable/Critters.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
var e={preload:"media",inlineFonts:!0,compress:!0,pruneSource:!0,reduceInlineStyles:!1};export{e as default};
25 changes: 25 additions & 0 deletions Target/Variable/Option.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* @module Option
*
*/
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;
};
export default _default;
1 change: 1 addition & 0 deletions Target/Variable/Option.js

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

1 change: 1 addition & 0 deletions docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
54 changes: 54 additions & 0 deletions docs/assets/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
:root {
--dark-color-background: #000;
--dark-color-background-secondary: #000;
--dark-code-background: #040404;
--color-accent: #2463eb;
--light-hl-0: #b58900;
--light-hl-1: #d33682;
--light-hl-2: #dc322f;
--light-hl-3: #2aa198;
--light-hl-4: #859900;
--dark-hl-0: #ffdd00;
--dark-hl-1: #ff66ff;
--dark-hl-2: #ff4444;
--dark-hl-3: #44ffff;
--dark-hl-4: #44ff44;
}

body #tsd-search .field label {
left: 50%;
margin-left: -20px;
z-index: 1;
text-align: center;
}

body #tsd-search.has-focus .field label {
display: none;
}

body #tsd-search .field input {
z-index: 2;
}

body pre,
body .tsd-page-toolbar,
body .tsd-generator {
border: none;
}

body .tsd-navigation a,
body .tsd-navigation summary > span,
body .tsd-page-navigation a {
padding: 0.5rem;
border-radius: 8px;
}

body .tsd-description .tsd-signatures .tsd-signature,
body .tsd-signature,
body .tsd-signatures .tsd-signature,
body .tsd-typography td,
body .tsd-typography th,
body code.tsd-tag {
border-radius: 12px;
border-width: 2px;
}
92 changes: 92 additions & 0 deletions docs/assets/highlight.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
:root {
--light-hl-0: #795E26;
--dark-hl-0: #DCDCAA;
--light-hl-1: #000000;
--dark-hl-1: #D4D4D4;
--light-hl-2: #A31515;
--dark-hl-2: #CE9178;
--light-hl-3: #0000FF;
--dark-hl-3: #569CD6;
--light-hl-4: #AF00DB;
--dark-hl-4: #C586C0;
--light-hl-5: #001080;
--dark-hl-5: #9CDCFE;
--light-hl-6: #008000;
--dark-hl-6: #6A9955;
--light-hl-7: #267F99;
--dark-hl-7: #4EC9B0;
--light-hl-8: #098658;
--dark-hl-8: #B5CEA8;
--light-hl-9: #000000;
--dark-hl-9: #C8C8C8;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}

@media (prefers-color-scheme: light) { :root {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
} }

@media (prefers-color-scheme: dark) { :root {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
} }

:root[data-theme='light'] {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
}

:root[data-theme='dark'] {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
}

.hl-0 { color: var(--hl-0); }
.hl-1 { color: var(--hl-1); }
.hl-2 { color: var(--hl-2); }
.hl-3 { color: var(--hl-3); }
.hl-4 { color: var(--hl-4); }
.hl-5 { color: var(--hl-5); }
.hl-6 { color: var(--hl-6); }
.hl-7 { color: var(--hl-7); }
.hl-8 { color: var(--hl-8); }
.hl-9 { color: var(--hl-9); }
pre, code { background: var(--code-background); }
Loading

0 comments on commit 0597a43

Please sign in to comment.