@yamlresume/core 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +24 -0
- package/dist/index.js +118 -76
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1086,6 +1086,14 @@ type HtmlTypography = {
|
|
|
1086
1086
|
type HtmlAdvanced = {
|
|
1087
1087
|
/** Whether to show icons for links and profiles. */
|
|
1088
1088
|
showIcons?: boolean;
|
|
1089
|
+
/** Custom title for the HTML document. */
|
|
1090
|
+
title?: string;
|
|
1091
|
+
/** Custom footer for the HTML document. */
|
|
1092
|
+
footer?: string;
|
|
1093
|
+
/** Meta description for the HTML document. */
|
|
1094
|
+
description?: string;
|
|
1095
|
+
/** Meta keywords for the HTML document. */
|
|
1096
|
+
keywords?: string;
|
|
1089
1097
|
};
|
|
1090
1098
|
/**
|
|
1091
1099
|
* HTML layout configuration.
|
|
@@ -1639,6 +1647,12 @@ declare const ErrorType: {
|
|
|
1639
1647
|
readonly message: "LaTeX compilation failed: {error}";
|
|
1640
1648
|
readonly error: "";
|
|
1641
1649
|
};
|
|
1650
|
+
readonly LATEX_COMPILE_TIMEOUT: {
|
|
1651
|
+
readonly code: "LATEX_COMPILE_TIMEOUT";
|
|
1652
|
+
readonly errno: number;
|
|
1653
|
+
readonly message: string;
|
|
1654
|
+
readonly timeout: "";
|
|
1655
|
+
};
|
|
1642
1656
|
};
|
|
1643
1657
|
/**
|
|
1644
1658
|
* Type for the error code.
|
|
@@ -2025,6 +2039,12 @@ declare class HtmlRenderer extends Renderer {
|
|
|
2025
2039
|
* @returns {string} The rendered volunteer section
|
|
2026
2040
|
*/
|
|
2027
2041
|
renderVolunteer(): string;
|
|
2042
|
+
/**
|
|
2043
|
+
* Render the footer section of the resume.
|
|
2044
|
+
*
|
|
2045
|
+
* @returns {string} The rendered footer section
|
|
2046
|
+
*/
|
|
2047
|
+
renderFooter(): string;
|
|
2028
2048
|
/**
|
|
2029
2049
|
* Render the complete HTML resume.
|
|
2030
2050
|
*
|
|
@@ -2516,6 +2536,10 @@ declare const ResumeSchema: z.ZodObject<{
|
|
|
2516
2536
|
}, z.core.$strip>>>;
|
|
2517
2537
|
advanced: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2518
2538
|
showIcons: z.ZodDefault<z.ZodBoolean>;
|
|
2539
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2540
|
+
footer: z.ZodDefault<z.ZodString>;
|
|
2541
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
2519
2543
|
}, z.core.$strip>>>;
|
|
2520
2544
|
typography: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2521
2545
|
fontSize: z.ZodOptional<z.ZodNullable<z.ZodType<"14px" | "15px" | "16px" | "17px" | "18px" | "19px" | "20px", unknown, z.core.$ZodTypeInternals<"14px" | "15px" | "16px" | "17px" | "18px" | "19px" | "20px", unknown>>>>;
|