feat: implement automation key management with middleware and routes for organization API keys, invite improvements

This commit is contained in:
Rotimi Best
2026-03-13 18:40:07 +01:00
parent 77a1188573
commit 492f8dc5ed
71 changed files with 3655 additions and 456 deletions
+2 -5
View File
@@ -1,7 +1,6 @@
import { escapeSvelte, mdsvex } from 'mdsvex';
import adapterNode from '@sveltejs/adapter-node';
import adapterVercel from '@sveltejs/adapter-vercel';
import adapter from '@sveltejs/adapter-cloudflare';
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import path from 'path';
@@ -11,8 +10,6 @@ import remarkUnwrapImages from 'remark-unwrap-images';
import shiki from 'shiki';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const useNodeAdapter = process.env.VERCEL !== '1' && process.env.VERCEL !== 'true';
/** @type {import('@sveltejs/kit').Config}*/
/** @type {import('mdsvex').MdsvexOptions} */
@@ -34,7 +31,7 @@ const mdsvexOptions = {
const config = {
kit: {
adapter: useNodeAdapter ? adapterNode() : adapterVercel(),
adapter: adapter(),
alias: {
$lib: path.resolve('./src/lib'),
'$src/tools': path.resolve('./node_modules/@cio/ui/src/tools/index.ts'),