From 0dd00cbec8c3ff1f42380153c34b8118a91f8fee Mon Sep 17 00:00:00 2001 From: Jason MacDonald <5718527+jasonmacdonald@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:33:48 -0400 Subject: [PATCH] Update 3-writing-plugins.md Fixed an issue where the exported member did not exist --- docs/the-complete-guide/part2/3-writing-plugins.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/the-complete-guide/part2/3-writing-plugins.md b/docs/the-complete-guide/part2/3-writing-plugins.md index c8d8ea74..b0281e72 100644 --- a/docs/the-complete-guide/part2/3-writing-plugins.md +++ b/docs/the-complete-guide/part2/3-writing-plugins.md @@ -17,7 +17,8 @@ A plugin is a Node.js module that has the following exports: Here's what a bare minimum plugin looks like: ```ts -import type { DMMF, PluginOptions } from '@zenstackhq/sdk'; +import type { PluginOptions } from '@zenstackhq/sdk'; +import type { DMMF } from '@zenstackhq/sdk/prisma'; import type { Model } from '@zenstackhq/sdk/ast'; export const name = 'My Plugin';