Skip to content

Commit

Permalink
fix: Types added for resource utility
Browse files Browse the repository at this point in the history
  • Loading branch information
jahidanowar committed Jun 25, 2023
1 parent 2d79243 commit f281d6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.3",
"description": "A collection of utility functions for Nuxt server.",
"repository": "https://github.com/jahidanowar/nuxt-server-utils",
"homepage": "https://nuxt-server-utils.jahid.dev/",
"license": "MIT",
"type": "module",
"exports": {
Expand Down
9 changes: 9 additions & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ export default defineNuxtModule<ModuleOptions>({
const validateSchema: typeof import("${resolver.resolve(
"./runtime/server/utils"
)}").validateSchema;
const indexRecourceHelper: typeof import("${resolver.resolve(
"./runtime/server/utils"
)}").indexRecourceHelper;
const showResourceHelper: typeof import("${resolver.resolve(
"./runtime/server/utils"
)}").showResourceHelper;
const deleteResourceHelper: typeof import("${resolver.resolve(
"./runtime/server/utils"
)}").deleteResourceHelper;
}`,
});

Expand Down

0 comments on commit f281d6b

Please sign in to comment.