mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 15:14:22 +01:00
feat: réorganiser la configuration de l'application et améliorer les types dans nuxt.config.ts
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export default defineAppConfig({
|
||||
|
||||
})
|
||||
9
app/app.config.ts
Normal file
9
app/app.config.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export default defineAppConfig({
|
||||
ui: {
|
||||
colors: {
|
||||
primary: 'blue',
|
||||
secondary: 'purple',
|
||||
neutral: 'zinc'
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -104,7 +104,7 @@ const resources = [
|
||||
MCP Protocol
|
||||
</UBadge>
|
||||
<UBadge
|
||||
color="secondary"
|
||||
color="primary"
|
||||
variant="subtle"
|
||||
>
|
||||
TypeScript
|
||||
@@ -135,7 +135,7 @@ const resources = [
|
||||
v-for="feature in features"
|
||||
:key="feature.title"
|
||||
:ui="{
|
||||
body: 'p-6',
|
||||
body: 'p-6'
|
||||
}"
|
||||
variant="subtle"
|
||||
>
|
||||
@@ -199,7 +199,7 @@ const resources = [
|
||||
<UContainer class="py-16">
|
||||
<UCard
|
||||
:ui="{
|
||||
body: 'p-8 sm:p-12',
|
||||
body: 'p-8 sm:p-12'
|
||||
}"
|
||||
variant="outline"
|
||||
>
|
||||
@@ -212,7 +212,8 @@ const resources = [
|
||||
Configure your MCP client to connect to my server:
|
||||
</p>
|
||||
<UCard
|
||||
variant="solid">
|
||||
variant="solid"
|
||||
>
|
||||
<pre class="text-sm text-gray-100 overflow-x-auto">
|
||||
<code>
|
||||
{
|
||||
|
||||
@@ -3,10 +3,10 @@ export default defineNuxtConfig({
|
||||
modules: [
|
||||
'@nuxthub/core',
|
||||
'@nuxt/eslint',
|
||||
'@nuxt/ui',
|
||||
'@nuxt/content',
|
||||
'@nuxtjs/mcp-toolkit',
|
||||
'nuxt-studio',
|
||||
'@nuxt/ui'
|
||||
'nuxt-studio'
|
||||
],
|
||||
|
||||
devtools: {
|
||||
@@ -15,6 +15,21 @@ export default defineNuxtConfig({
|
||||
|
||||
css: ['~/assets/css/main.css'],
|
||||
|
||||
ui: {
|
||||
theme: {
|
||||
colors: [
|
||||
'primary',
|
||||
'secondary',
|
||||
'tertiary',
|
||||
'info',
|
||||
'success',
|
||||
'warning',
|
||||
'error',
|
||||
'blue'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
runtimeConfig: {
|
||||
discord: {
|
||||
userId: '',
|
||||
|
||||
4
worker-configuration.d.ts
vendored
4
worker-configuration.d.ts
vendored
@@ -8610,7 +8610,7 @@ type AIGatewayHeaders = {
|
||||
[key: string]: string | number | boolean | object;
|
||||
};
|
||||
type AIGatewayUniversalRequest = {
|
||||
provider: AIGatewayProviders | string; // eslint-disable-line
|
||||
provider: AIGatewayProviders | string;
|
||||
endpoint: string;
|
||||
headers: Partial<AIGatewayHeaders>;
|
||||
query: unknown;
|
||||
@@ -8626,7 +8626,7 @@ declare abstract class AiGateway {
|
||||
gateway?: UniversalGatewayOptions;
|
||||
extraHeaders?: object;
|
||||
}): Promise<Response>;
|
||||
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
|
||||
getUrl(provider?: AIGatewayProviders | string): Promise<string>;
|
||||
}
|
||||
interface AutoRAGInternalError extends Error {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user