Skip to content

Commit 4ada00d

Browse files
committed
fresh build
1 parent 697b2c0 commit 4ada00d

File tree

2 files changed

+195
-179
lines changed

2 files changed

+195
-179
lines changed

dist/index.d.ts

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@ import z from "zod";
22
import { EleventyScope, EleventySuppliedData } from "11ty.ts";
33

44
//#region rolldown:runtime
5-
65
//#endregion
76
//#region src/core/const.d.ts
87
declare const THEMES: readonly ["Traditional", "Modernist", "Midnight", "Chocolate", "Oldstyle", "Steely", "Swiss", "Ultramarine"];
98
//#endregion
109
//#region src/core/options.d.ts
1110
declare const PluginOptionsSchema: z.ZodObject<{
1211
launchPath: z.ZodPipe<z.ZodTransform<{} | null | undefined, unknown>, z.ZodOptional<z.ZodString>>;
13-
layout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14-
theme: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
12+
theme: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1513
Traditional: "Traditional";
1614
Modernist: "Modernist";
1715
Midnight: "Midnight";
@@ -20,36 +18,14 @@ declare const PluginOptionsSchema: z.ZodObject<{
2018
Steely: "Steely";
2119
Swiss: "Swiss";
2220
Ultramarine: "Ultramarine";
23-
}>>>;
21+
}>>, z.ZodTransform<"Traditional" | "Modernist" | "Midnight" | "Chocolate" | "Oldstyle" | "Steely" | "Swiss" | "Ultramarine", "Traditional" | "Modernist" | "Midnight" | "Chocolate" | "Oldstyle" | "Steely" | "Swiss" | "Ultramarine" | undefined>>;
22+
layout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2423
checkLaunchPath: z.ZodDefault<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>>;
2524
collectionPage: z.ZodDefault<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>>;
2625
verbose: z.ZodDefault<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>>;
2726
silent: z.ZodDefault<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>>;
2827
noSTL: z.ZodDefault<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>>;
2928
}, z.core.$strip>;
30-
//#endregion
31-
//#region src/core/scad-bin.d.ts
32-
/**
33-
* Alias mappings to use when installing the plugin into an eleventy project.
34-
*
35-
* @example ```
36-
* import Eleventy from "@11ty/eleventy";
37-
* import { EleventyPluginOpenSCAD, SCAD_BINS } from "eleventy-plugin-scad";
38-
*
39-
* const launchPath = SCAD_BINS.MACOS;
40-
*```
41-
*/
42-
declare const SCAD_BINS: {
43-
readonly LINUX: string;
44-
readonly LINUX_NIGHTLY: string;
45-
readonly MACOS: string;
46-
readonly MACOS_NIGHTLY: string;
47-
readonly WINDOWS: string;
48-
readonly WINDOWS_NIGHTLY: string;
49-
};
50-
/**
51-
* Returns the OpenSCAD binary path for the current platform.
52-
*/
5329
declare namespace types_d_exports {
5430
export { EleventyDirs, FullPageData, MainPlatforms, ModelViewerTheme, ParsedPluginOptions, PlatformMap, PluginOptions, PluginOptionsInput, ScadTemplateData };
5531
}
@@ -99,6 +75,29 @@ declare function EleventyPluginOpenSCAD(eleventyConfig: types_d_exports.Eleventy
9975
//#endregion
10076
//#region src/lib/register.d.ts
10177
declare function addOpenSCADPlugin(eleventyConfig: types_d_exports.EleventyConfig, options: PluginOptionsInput): void;
78+
//#endregion
79+
//#region src/lib/scad-bin.d.ts
80+
/**
81+
* Alias mappings to use when installing the plugin into an eleventy project.
82+
*
83+
* @example ```
84+
* import Eleventy from "@11ty/eleventy";
85+
* import { EleventyPluginOpenSCAD, SCAD_BINS } from "eleventy-plugin-scad";
86+
*
87+
* const launchPath = SCAD_BINS.MACOS;
88+
*```
89+
*/
90+
declare const SCAD_BINS: {
91+
readonly LINUX: string;
92+
readonly LINUX_NIGHTLY: string;
93+
readonly MACOS: string;
94+
readonly MACOS_NIGHTLY: string;
95+
readonly WINDOWS: string;
96+
readonly WINDOWS_NIGHTLY: string;
97+
};
98+
/**
99+
* Returns the OpenSCAD binary path for the current platform.
100+
*/
102101
declare namespace index_d_exports {
103102
export { EleventyDirs, EleventyPluginOpenSCAD, FullPageData, MainPlatforms, ModelViewerTheme, ParsedPluginOptions, PlatformMap, PluginOptions, PluginOptionsInput, SCAD_BINS, ScadTemplateData, addOpenSCADPlugin, EleventyPluginOpenSCAD as default };
104103
}

0 commit comments

Comments
 (0)