{"_id":"@quartz-community/types","_rev":"3-692b7beb23b1ca7a38d41e8f20023f7a","name":"@quartz-community/types","dist-tags":{"latest":"1.0.0"},"versions":{"0.2.1":{"name":"@quartz-community/types","version":"0.2.1","keywords":["quartz","quartz-plugin","types","typescript"],"author":{"name":"Quartz Community"},"license":"MIT","_id":"@quartz-community/types@0.2.1","maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"homepage":"https://quartz.jzhao.xyz","bugs":{"url":"https://github.com/quartz-community/types/issues"},"dist":{"shasum":"ad337c6de9bb77f8c48c6e84b13017417abe8334","tarball":"https://registry.npmjs.org/@quartz-community/types/-/types-0.2.1.tgz","fileCount":8,"integrity":"sha512-IELSoFY8WKoiaMj30JNt8SRVU3TPnYtTZ8Clr4kv0vXXnBsxG6FxhiHbLIEu96RUin4ft4FqHkBjCZyYmzroHA==","signatures":[{"sig":"MEQCIC2F3xNSTH9z1apOFlBBvzzoyN6xn8KCWL8QxCDeSpwnAiAWvenyjUbGdMvXFDpj6tw+PS/nkrZvCgElecXxi4l0Cw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@quartz-community%2ftypes@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":44649},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"npm":">=10.9.2","node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./globals":{"types":"./globals.d.ts"},"./package.json":"./package.json"},"gitHead":"6f927cba7def46e7d46f238f79b5e19e80682628","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"saberzero1","email":"github@emilebangma.com"},"repository":{"url":"git+https://github.com/quartz-community/types.git","type":"git"},"_npmVersion":"10.9.8","description":"Type definitions for Quartz community plugins","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"vfile":"^6.0.3","unified":"^11.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.9.3","@types/hast":"^3.0.4","@types/mdast":"^4.0.4"},"peerDependencies":{"vfile":"^6.0.3","unified":"^11.0.5"},"peerDependenciesMeta":{"vfile":{"optional":true},"unified":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/types_0.2.1_1784761116212_0.4826961928243636","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@quartz-community/types","version":"0.3.0","keywords":["quartz","quartz-plugin","types","typescript"],"author":{"name":"Quartz Community"},"license":"MIT","_id":"@quartz-community/types@0.3.0","maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"homepage":"https://quartz.jzhao.xyz","bugs":{"url":"https://github.com/quartz-community/types/issues"},"dist":{"shasum":"a95e4579b7ade630d926d939bec70340241bd751","tarball":"https://registry.npmjs.org/@quartz-community/types/-/types-0.3.0.tgz","fileCount":8,"integrity":"sha512-egTCu7cn5d5uVBkW8Hbj6DSlwtQXfiXtPfkHaTqW5hT57I9XrHONbOYEPpL/IvCkQzZUwX6m03nFxbmxGrhyqA==","signatures":[{"sig":"MEYCIQDZt/XmoCY5FfGvX9tpiajtxXicOaZbiK6IsDzrUpDgdwIhAIPqI3GNGyiBcdNveImFGejPGXaxxscR3A77l8I/CPWv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44745},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"npm":">=10.9.2","node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./globals":{"types":"./globals.d.ts"},"./package.json":"./package.json"},"gitHead":"0f5711da9144cc354d833ea1507036dc69ebb8ca","scripts":{"dev":"tsup --watch","build":"tsup","release":"npm run build && changeset publish","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"saberzero1","email":"github@emilebangma.com"},"repository":{"url":"git+https://github.com/quartz-community/types.git","type":"git"},"_npmVersion":"10.9.8","description":"Type definitions for Quartz community plugins","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"vfile":"^6.0.3","unified":"^11.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.9.3","@types/hast":"^3.0.4","@types/mdast":"^4.0.4","@changesets/cli":"^2.29.2"},"peerDependencies":{"vfile":"^6.0.3","unified":"^11.0.5"},"peerDependenciesMeta":{"vfile":{"optional":true},"unified":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/types_0.3.0_1785169335156_0.7384797830577166","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@quartz-community/types","version":"1.0.0","description":"Type definitions for Quartz community plugins","type":"module","license":"MIT","author":{"name":"Quartz Community"},"homepage":"https://quartz.jzhao.xyz","repository":{"type":"git","url":"git+https://github.com/quartz-community/types.git"},"keywords":["quartz","quartz-plugin","types","typescript"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./globals":{"types":"./globals.d.ts"},"./package.json":"./package.json"},"main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","prepublishOnly":"npm run build","release":"npm run build && changeset publish"},"dependencies":{"unified":"^11.0.5","vfile":"^6.0.3"},"engines":{"node":">=22","npm":">=10.9.2"},"devDependencies":{"@types/hast":"^3.0.4","@types/mdast":"^4.0.4","tsup":"^8.5.0","typescript":"^5.9.3","@changesets/cli":"^2.29.2"},"peerDependencies":{"unified":"^11.0.5","vfile":"^6.0.3"},"peerDependenciesMeta":{"unified":{"optional":true},"vfile":{"optional":true}},"publishConfig":{"access":"public"},"_id":"@quartz-community/types@1.0.0","gitHead":"4c13f6c39de9db4809e23f83f58e1b617281ca3c","bugs":{"url":"https://github.com/quartz-community/types/issues"},"_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-PJcku35L+DwotX6H8VunLxS1UEBl2hOATexTtdWAIy8eUpQ1d49jhfuMF0ylJu3gXdInEg82N6sbh095LWsKNw==","shasum":"3605b43c63802ce32153f420e70f6d1c24a6b14b","tarball":"https://registry.npmjs.org/@quartz-community/types/-/types-1.0.0.tgz","fileCount":8,"unpackedSize":44745,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC3dhYw9HFJV/oK/RFBO9HvSh2IEZHncFwVzm76viysDAIgLkN614ETEBxVmTTLpSvGduFxGhmbztz7a0qSLj8XLYk="}]},"_npmUser":{"name":"saberzero1","email":"github@emilebangma.com"},"directories":{},"maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/types_1.0.0_1789427918988_0.7470854778985296"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-22T22:58:35.876Z","modified":"2026-09-14T23:18:39.351Z","0.2.1":"2026-07-22T22:58:36.347Z","0.3.0":"2026-07-27T16:22:15.392Z","1.0.0":"2026-09-14T23:18:39.143Z"},"bugs":{"url":"https://github.com/quartz-community/types/issues"},"author":{"name":"Quartz Community"},"license":"MIT","homepage":"https://quartz.jzhao.xyz","keywords":["quartz","quartz-plugin","types","typescript"],"repository":{"type":"git","url":"git+https://github.com/quartz-community/types.git"},"description":"Type definitions for Quartz community plugins","maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"readme":"# @quartz-community/types\n\nType definitions for Quartz community plugins. This package provides TypeScript interfaces and types that mirror the internal Quartz types, enabling external plugins to have full type safety without depending on the core Quartz package.\n\n## Installation\n\n```bash\nnpm install @quartz-community/types\n```\n\n## Usage\n\n```typescript\nimport {\n  QuartzComponent,\n  QuartzComponentProps,\n  ExplorerOptions,\n} from \"@quartz-community/types\";\n\nconst MyComponent: QuartzComponent = (props: QuartzComponentProps) => {\n  // Component implementation\n};\n\nMyComponent.css = `\n  .my-component { /* styles */ }\n`;\n\nMyComponent.afterDOMLoaded = `\n  // Client-side script\n`;\n```\n\n## Included Types\n\n- **Component Types**: `QuartzComponent`, `QuartzComponentProps`, `StringResource`\n- **Plugin Types**: `QuartzTransformerPlugin`, `QuartzFilterPlugin`, `QuartzEmitterPlugin`\n- **Data Types**: `FileTrieNode`, `ContentIndex`, `ContentIndexEntry`\n- **Component Options**: `ExplorerOptions`, `GraphOptions`, `SearchOptions`, `D3Config`\n- **Utility Types**: `HTMLAttributes`, `EventHandler`, `CleanupFunction`, `ClassValue`\n\n## License\n\nMIT\n","readmeFilename":"README.md"}