Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(api): update OpenAPI schema and dependencies

Andrej Acevski303db4b07da7
diff --git a/apps/docs/components/api-page.client.tsx b/apps/docs/components/api-page.client.tsx
deleted file mode 100644
index e324cf005..000000000
--- a/apps/docs/components/api-page.client.tsx
+++ /dev/null
@@ -1,4 +0,0 @@
-"use client";
-import { defineClientConfig } from "fumadocs-openapi/ui/client";
-
-export default defineClientConfig();
diff --git a/apps/docs/components/api-page.tsx b/apps/docs/components/api-page.tsx
index 641a3f811..41eaa55c4 100644
--- a/apps/docs/components/api-page.tsx
+++ b/apps/docs/components/api-page.tsx
@@ -1,7 +1,4 @@
import { createAPIPage } from "fumadocs-openapi/ui";
import { openapi } from "@/lib/openapi";
-import client from "./api-page.client";
-export const APIPage = createAPIPage(openapi, {
- client,
-});
+export const APIPage = createAPIPage(openapi);
diff --git a/apps/docs/next-env.d.ts b/apps/docs/next-env.d.ts
index 9edff1c7c..c4b7818fb 100644
--- a/apps/docs/next-env.d.ts
+++ b/apps/docs/next-env.d.ts
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
-import "./.next/types/routes.d.ts";
+import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/apps/docs/openapi.json b/apps/docs/openapi.json
index ab110883a..70ec5815f 100644
--- a/apps/docs/openapi.json
+++ b/apps/docs/openapi.json
@@ -6,7 +6,7 @@
"version": "1.0.0"
},
"servers": [
- { "url": "http://cloud.kaneo.app/api", "description": "Kaneo API Server" }
+ { "url": "https://cloud.kaneo.app/api", "description": "Kaneo API Server" }
],
"components": {
"securitySchemes": {
@@ -147,7 +147,8 @@
"isActive": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
},
- "createdAt": {}
+ "createdAt": {},
+ "updatedAt": {}
},
"required": [
"id",
@@ -156,7 +157,8 @@
"repositoryName",
"installationId",
"isActive",
- "createdAt"
+ "createdAt",
+ "updatedAt"
]
}
}
@@ -194,7 +196,8 @@
"isActive": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
},
- "createdAt": {}
+ "createdAt": {},
+ "updatedAt": {}
},
"required": [
"id",
@@ -203,7 +206,8 @@
"repositoryName",
"installationId",
"isActive",
- "createdAt"
+ "createdAt",
+ "updatedAt"
]
}
}
@@ -255,7 +259,8 @@
"isActive": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
},
- "createdAt": {}
+ "createdAt": {},
+ "updatedAt": {}
},
"required": [
"id",
@@ -264,7 +269,8 @@
"repositoryName",
"installationId",
"isActive",
- "createdAt"
+ "createdAt",
+ "updatedAt"
]
}
}
@@ -325,7 +331,8 @@
"isActive": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
},
- "createdAt": {}
+ "createdAt": {},
+ "updatedAt": {}
},
"required": [
"id",
@@ -334,7 +341,8 @@
"repositoryName",
"installationId",
"isActive",
- "createdAt"
+ "createdAt",
+ "updatedAt"
]
}
}
@@ -411,8 +419,14 @@
"hasGoogleSignIn": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
},
+ "hasDiscordSignIn": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
"hasCustomOAuth": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "hasGuestAccess": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
}
},
"required": [
@@ -421,7 +435,9 @@
"hasSmtp",
"hasGithubSignIn",
"hasGoogleSignIn",
- "hasCustomOAuth"
+ "hasDiscordSignIn",
+ "hasCustomOAuth",
+ "hasGuestAccess"
]
}
}
@@ -719,6 +735,12 @@
"name": "id",
"schema": { "type": "string" },
"required": true
+ },
+ {
+ "in": "query",
+ "name": "workspaceId",
+ "schema": { "type": "string" },
+ "required": true
}
]
}
@@ -1964,7 +1986,8 @@
"type": "object",
"properties": {
"startTime": { "type": "string" },
- "endTime": { "type": "string" }
+ "endTime": { "type": "string" },
+ "description": { "type": "string" }
},
"required": ["startTime"]
}
@@ -2180,7 +2203,7 @@
"name": { "type": "string" },
"color": { "type": "string" },
"workspaceId": { "type": "string" },
- "description": { "type": "string" }
+ "taskId": { "type": "string" }
},
"required": ["name", "color", "workspaceId"]
}
@@ -2286,8 +2309,7 @@
"type": "object",
"properties": {
"name": { "type": "string" },
- "color": { "type": "string" },
- "description": { "type": "string" }
+ "color": { "type": "string" }
},
"required": ["name", "color"]
}
@@ -2739,7 +2761,7 @@
{
"in": "query",
"name": "q",
- "schema": { "type": "string" },
+ "schema": { "type": "string", "minLength": 1 },
"required": true
},
{
@@ -2770,7 +2792,12 @@
{
"in": "query",
"name": "limit",
- "schema": { "type": "number", "default": "20" }
+ "schema": {
+ "type": "string",
+ "minimum": 1,
+ "maximum": 50,
+ "default": "20"
+ }
},
{
"in": "query",
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 4fb7fac50..4fa6ba63c 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -24,6 +24,7 @@
"next": "16.0.9",
"react": "^19.2.2",
"react-dom": "^19.2.2",
+ "shiki": "^3.20.0",
"tailwind-merge": "^3.4.0",
"twoslash": "^0.3.4"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e54146dde..d37468050 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -166,6 +166,9 @@ importers:
react-dom:
specifier: ^19.2.2
version: 19.2.2([email protected])
+ shiki:
+ specifier: ^3.20.0
+ version: 3.20.0
tailwind-merge:
specifier: ^3.4.0
version: 3.4.0
@@ -3034,21 +3037,36 @@ packages:
'@shikijs/[email protected]':
resolution: {integrity: sha512-L7SrRibU7ZoYi1/TrZsJOFAnnHyLTE1SwHG1yNWjZIVCqjOEmCSuK2ZO9thnRbJG6TOkPp+Z963JmpCNw5nzvA==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-f2ED7HYV4JEk827mtMDwe/yQ25pRiXZmtHjWF8uzZKuKiEsJR7Ce1nuQ+HhV9FzDcbIo4ObBCD9GPTzNuy9S1g==}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-ZfWJNm2VMhKkQIKT9qXbs76RRcT0SF/CAvEz0+RkpUDAoDaCx0uFdCGzSRiD9gSlhm6AHkjdieOBJMaO2eC1rQ==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-OFx8fHAZuk7I42Z9YAdZ95To6jDePQ9Rnfbw9uSRTSbBhYBp1kEOKv/3jOimcj3VRUKusDYM6DswLauwfhboLg==}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-1hRxtYIJfJSZeM5ivbUXv9hcJP3PWRo5prG/V2sWwiubUKTa+7P62d2qxCW8jiVFX4pgRHhnHNp+qeR7Xl+6kg==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-Yx3gy7xLzM0ZOjqoxciHjA7dAt5tyzJE3L4uQoM83agahy+PlW244XJSrmJRSBvGYELDhYXPacD4R/cauV5bzQ==}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-dBMFzzg1QiXqCVQ5ONc0z2ebyoi5BKz+MtfByLm0o5/nbUu3Iz8uaTCa5uzGiscQKm7lVShfZHU1+OG3t5hgwg==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-le+bssCxcSHrygCWuOrYJHvjus6zhQ2K7q/0mgjiffRbkhM4o1EWu2m+29l0yEsHDbWaWPNnDUTRVVBvBBeKaA==}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-pzp/JVxrTd95HgMimHgYb9lCGSzVYEp1BweWUprFAEgGOF15d9IyX+IVW/+1Z5ZxdT9IUUF27UbC5YdA5oCzjw==}
'@shikijs/[email protected]':
resolution: {integrity: sha512-H36qw+oh91Y0s6OlFfdSuQ0Ld+5CgB/VE6gNPK+Hk4VRbVG/XQgkjnt4KzfnnoO6tZPtKJKHPjwebOCfjd6F8A==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-U1NSU7Sl26Q7ErRvJUouArxfM2euWqq1xaSrbqMu2iqa+tSp0D1Yah8216sDYbdDHw4C8b75UpE65eWorm2erQ==}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-e6vwrsyw+wx4OkcrDbL+FVCxwx8jgKiCoXzakVur++mIWVcgpzIi8vxf4/b4dVTYrV/nUx5RjinMf4tq8YV8Fw==}
@@ -3063,6 +3081,9 @@ packages:
'@shikijs/[email protected]':
resolution: {integrity: sha512-/NTWAk4KE2M8uac0RhOsIhYQf4pdU0OywQuYDGIGAJ6Mjunxl2cGiuLkvu4HLCMn+OTTLRWkjZITp+aYJv60yA==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-lhYAATn10nkZcBQ0BlzSbJA3wcmL5MXUUF8d2Zzon6saZDlToKaiRX60n2+ZaHJCmXEcZRWNzn+k9vplr8Jhsw==}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}
@@ -6548,6 +6569,9 @@ packages:
resolution: {integrity: sha512-77VJr3OR/VUZzPiStyRhADmO2jApMM0V2b1qf0RpfWya8Zr1PeZev5AEpPGAAKWdiYUtcZGBE4F5QvJml1PvWA==}
+ resolution: {integrity: sha512-kgCOlsnyWb+p0WU+01RjkCH+eBVsjL1jOwUYWv0YDWkM2/A46+LDKVs5yZCUXjJG6bj4ndFoAg5iLIIue6dulg==}
+
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
engines: {node: '>=14'}
@@ -10310,21 +10334,43 @@ snapshots:
'@types/hast': 3.0.4
hast-util-to-html: 9.0.5
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 3.20.0
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+ hast-util-to-html: 9.0.5
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.19.0
'@shikijs/vscode-textmate': 10.0.2
oniguruma-to-es: 4.3.4
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 3.20.0
+ '@shikijs/vscode-textmate': 10.0.2
+ oniguruma-to-es: 4.3.4
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.19.0
'@shikijs/vscode-textmate': 10.0.2
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 3.20.0
+ '@shikijs/vscode-textmate': 10.0.2
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.19.0
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 3.20.0
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.19.0
@@ -10338,6 +10384,10 @@ snapshots:
dependencies:
'@shikijs/types': 3.19.0
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 3.20.0
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/core': 3.19.0
@@ -10362,6 +10412,11 @@ snapshots:
'@shikijs/vscode-textmate': 10.0.2
'@types/hast': 3.0.4
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+
'@shikijs/[email protected]': {}
'@smithy/[email protected]':
@@ -12308,7 +12363,7 @@ snapshots:
remark-gfm: 4.0.1
remark-rehype: 11.1.2
scroll-into-view-if-needed: 3.1.0
- shiki: 3.19.0
+ shiki: 3.20.0
unist-util-visit: 5.0.0
optionalDependencies:
'@tanstack/react-router': 1.140.0([email protected]([email protected]))([email protected])
@@ -12390,7 +12445,7 @@ snapshots:
mdast-util-gfm: 3.1.0
mdast-util-to-hast: 13.2.0
react: 19.2.2
- shiki: 3.19.0
+ shiki: 3.20.0
tailwind-merge: 3.4.0
twoslash: 0.3.4([email protected])
optionalDependencies:
@@ -14421,6 +14476,17 @@ snapshots:
'@shikijs/vscode-textmate': 10.0.2
'@types/hast': 3.0.4
+ dependencies:
+ '@shikijs/core': 3.20.0
+ '@shikijs/engine-javascript': 3.20.0
+ '@shikijs/engine-oniguruma': 3.20.0
+ '@shikijs/langs': 3.20.0
+ '@shikijs/themes': 3.20.0
+ '@shikijs/types': 3.20.0
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+