Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40344e4e74 | ||
|
|
99d0c8935c | ||
|
|
debbd2c01f |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@takerofnotes/plugin-sdk",
|
"name": "@takerofnotes/plugin-sdk",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@takerofnotes/plugin-sdk",
|
"name": "@takerofnotes/plugin-sdk",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@takerofnotes/plugin-sdk",
|
"name": "@takerofnotes/plugin-sdk",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"description": "SDK to create a storage plugin for Taker of Notes",
|
"description": "SDK to create a storage plugin for Taker of Notes",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { validatePlugin } from './validatePlugin'
|
import { SUPPORTED_API_VERSION, validatePlugin } from './validatePlugin'
|
||||||
|
|
||||||
export interface TestNote {
|
export interface TestNote {
|
||||||
id: string
|
id: string
|
||||||
@@ -39,7 +39,7 @@ export const runPluginTests = ({ plugin, adapter }: TestPluginOptions) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
it('should have correct apiVersion', () => {
|
it('should have correct apiVersion', () => {
|
||||||
equal(plugin.apiVersion, '0.1.0')
|
equal(plugin.apiVersion, SUPPORTED_API_VERSION)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { z } from 'zod'
|
import { z } from 'zod'
|
||||||
|
|
||||||
export const SUPPORTED_API_VERSION = '0.3.0'
|
export const SUPPORTED_API_VERSION = '0.3.1'
|
||||||
|
|
||||||
const ConfigFieldSchema = z.object({
|
const ConfigFieldSchema = z.object({
|
||||||
key: z.string(),
|
key: z.string(),
|
||||||
|
|||||||
Reference in New Issue
Block a user