fix default type

This commit is contained in:
nicwands
2026-02-24 14:05:45 -05:00
parent 52d7d78a84
commit 0f1acd9528
3 changed files with 9 additions and 3 deletions

1
.gitignore vendored
View File

@@ -13,6 +13,7 @@ dist
dist-ssr
coverage
*.local
.npmrc
# Editor directories and files
.vscode/*

View File

@@ -1,10 +1,14 @@
{
"name": "@takerofnotes/plugin-sdk",
"name": "takerofnotes-plugin-sdk",
"version": "0.1.0",
"description": "SDK to create a storage plugin for Taker of Notes",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/nicwands/takerofnotes-plugin-sdk.git"
},
"files": [
"dist"
],
@@ -16,7 +20,8 @@
},
"scripts": {
"build": "tsup src/index.ts --format esm --dts",
"dev": "tsup src/index.ts --format esm --dts --watch"
"dev": "tsup src/index.ts --format esm --dts --watch",
"prepublishOnly": "npm run build"
},
"author": "nicwands",
"license": "MIT",

View File

@@ -2,7 +2,7 @@ export interface ConfigField {
key: string
label: string
type: 'text' | 'password' | 'directory' | 'number' | 'boolean'
default: 'text' | 'password' | 'directory' | 'number' | 'boolean'
default: string
required?: boolean
}