From c11395e7bcd75eef37b4f4e9c67dc9c6f912c0b7 Mon Sep 17 00:00:00 2001
From: LUCASTUCIOUS <peterlucas2804@gmail.com>
Date: Sat, 20 Jan 2024 21:18:35 +0000
Subject: [PATCH] feat: Add an option to display or not reading time from notes (#707)
---
quartz/plugins/types.ts | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/quartz/plugins/types.ts b/quartz/plugins/types.ts
index eaeb12a..bf1c0db 100644
--- a/quartz/plugins/types.ts
+++ b/quartz/plugins/types.ts
@@ -36,19 +36,6 @@
) => QuartzEmitterPluginInstance
export type QuartzEmitterPluginInstance = {
name: string
- emit(
- ctx: BuildCtx,
- content: ProcessedContent[],
- resources: StaticResources,
- emitCallback: EmitCallback,
- ): Promise<FilePath[]>
+ emit(ctx: BuildCtx, content: ProcessedContent[], resources: StaticResources): Promise<FilePath[]>
getQuartzComponents(ctx: BuildCtx): QuartzComponent[]
}
-
-export interface EmitOptions {
- slug: FullSlug
- ext: `.${string}` | ""
- content: string
-}
-
-export type EmitCallback = (data: EmitOptions) => Promise<FilePath>
--
Gitblit v1.10.0