From 340e3ef5116cd99c8ddfdbb3d9e0bbd914e07825 Mon Sep 17 00:00:00 2001
From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
Date: Fri, 25 Aug 2023 16:03:49 +0000
Subject: [PATCH] feat(consistency): Add `.obsidian` to ignorePatterns (#420)
---
quartz/components/types.ts | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index b37ccee..fd9574f 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -1,5 +1,5 @@
import { ComponentType, JSX } from "preact"
-import { StaticResources } from "../resources"
+import { StaticResources } from "../util/resources"
import { QuartzPluginData } from "../plugins/vfile"
import { GlobalConfiguration } from "../cfg"
import { Node } from "hast"
@@ -11,15 +11,17 @@
children: (QuartzComponent | JSX.Element)[]
tree: Node<QuartzPluginData>
allFiles: QuartzPluginData[]
- displayClass?: 'mobile-only' | 'desktop-only'
+ displayClass?: "mobile-only" | "desktop-only"
} & JSX.IntrinsicAttributes & {
- [key: string]: any
-}
+ [key: string]: any
+ }
export type QuartzComponent = ComponentType<QuartzComponentProps> & {
- css?: string,
- beforeDOMLoaded?: string,
- afterDOMLoaded?: string,
+ css?: string
+ beforeDOMLoaded?: string
+ afterDOMLoaded?: string
}
-export type QuartzComponentConstructor<Options extends object | undefined = undefined> = (opts: Options) => QuartzComponent
+export type QuartzComponentConstructor<Options extends object | undefined = undefined> = (
+ opts: Options,
+) => QuartzComponent
--
Gitblit v1.10.0