@karakeep/sdk 0.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +64 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1484 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/package.json +52 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import createClient from \"openapi-fetch\";\n\nimport type { paths } from \"./hoarder-api.d.ts\";\n\nexport const createHoarderClient = createClient<paths>;\n"],"names":[],"mappings":";AAIO,MAAM,sBAAsB;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
+
"name": "@karakeep/sdk",
|
|
4
|
+
"version": "0.23.2",
|
|
5
|
+
"description": "Typescript SDK for Karakeep",
|
|
6
|
+
"license": "GNU Affero General Public License version 3",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"hoarder",
|
|
9
|
+
"sdk"
|
|
10
|
+
],
|
|
11
|
+
"main": "./dist/index.js",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@karakeep/eslint-config": "^0.2.0",
|
|
15
|
+
"@karakeep/prettier-config": "^0.1.0",
|
|
16
|
+
"@karakeep/tsconfig": "^0.1.0",
|
|
17
|
+
"@tsconfig/node22": "^22.0.0",
|
|
18
|
+
"tsx": "^4.7.1",
|
|
19
|
+
"vite": "^5.1.0",
|
|
20
|
+
"vite-plugin-dts": "^4.4.0"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/karakeep-app/karakeep.git",
|
|
25
|
+
"directory": "packages/sdk"
|
|
26
|
+
},
|
|
27
|
+
"eslintConfig": {
|
|
28
|
+
"root": true,
|
|
29
|
+
"extends": [
|
|
30
|
+
"@karakeep/eslint-config/base"
|
|
31
|
+
],
|
|
32
|
+
"ignorePatterns": [
|
|
33
|
+
"src/hoarder-api.d.ts"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"prettier": "@karakeep/prettier-config",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"openapi-fetch": "^0.13.3"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "vite build",
|
|
42
|
+
"run": "tsx src/index.ts",
|
|
43
|
+
"lint": "eslint .",
|
|
44
|
+
"lint:fix": "eslint . --fix",
|
|
45
|
+
"format": "prettier . --ignore-path ../../.prettierignore",
|
|
46
|
+
"format:fix": "prettier . --write --ignore-path ../../.prettierignore",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
},
|
|
49
|
+
"exports": "./dist/index.js",
|
|
50
|
+
"module": "./dist/index.mjs",
|
|
51
|
+
"types": "./dist/index.d.ts"
|
|
52
|
+
}
|