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
|
MCP Protocol
|
||||||
</UBadge>
|
</UBadge>
|
||||||
<UBadge
|
<UBadge
|
||||||
color="secondary"
|
color="primary"
|
||||||
variant="subtle"
|
variant="subtle"
|
||||||
>
|
>
|
||||||
TypeScript
|
TypeScript
|
||||||
@@ -135,7 +135,7 @@ const resources = [
|
|||||||
v-for="feature in features"
|
v-for="feature in features"
|
||||||
:key="feature.title"
|
:key="feature.title"
|
||||||
:ui="{
|
:ui="{
|
||||||
body: 'p-6',
|
body: 'p-6'
|
||||||
}"
|
}"
|
||||||
variant="subtle"
|
variant="subtle"
|
||||||
>
|
>
|
||||||
@@ -199,7 +199,7 @@ const resources = [
|
|||||||
<UContainer class="py-16">
|
<UContainer class="py-16">
|
||||||
<UCard
|
<UCard
|
||||||
:ui="{
|
:ui="{
|
||||||
body: 'p-8 sm:p-12',
|
body: 'p-8 sm:p-12'
|
||||||
}"
|
}"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
>
|
>
|
||||||
@@ -211,8 +211,9 @@ const resources = [
|
|||||||
<p class="text-gray-600 dark:text-gray-400 mb-4">
|
<p class="text-gray-600 dark:text-gray-400 mb-4">
|
||||||
Configure your MCP client to connect to my server:
|
Configure your MCP client to connect to my server:
|
||||||
</p>
|
</p>
|
||||||
<UCard
|
<UCard
|
||||||
variant="solid">
|
variant="solid"
|
||||||
|
>
|
||||||
<pre class="text-sm text-gray-100 overflow-x-auto">
|
<pre class="text-sm text-gray-100 overflow-x-auto">
|
||||||
<code>
|
<code>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ export default defineNuxtConfig({
|
|||||||
modules: [
|
modules: [
|
||||||
'@nuxthub/core',
|
'@nuxthub/core',
|
||||||
'@nuxt/eslint',
|
'@nuxt/eslint',
|
||||||
|
'@nuxt/ui',
|
||||||
'@nuxt/content',
|
'@nuxt/content',
|
||||||
'@nuxtjs/mcp-toolkit',
|
'@nuxtjs/mcp-toolkit',
|
||||||
'nuxt-studio',
|
'nuxt-studio'
|
||||||
'@nuxt/ui'
|
|
||||||
],
|
],
|
||||||
|
|
||||||
devtools: {
|
devtools: {
|
||||||
@@ -15,6 +15,21 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
css: ['~/assets/css/main.css'],
|
css: ['~/assets/css/main.css'],
|
||||||
|
|
||||||
|
ui: {
|
||||||
|
theme: {
|
||||||
|
colors: [
|
||||||
|
'primary',
|
||||||
|
'secondary',
|
||||||
|
'tertiary',
|
||||||
|
'info',
|
||||||
|
'success',
|
||||||
|
'warning',
|
||||||
|
'error',
|
||||||
|
'blue'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
discord: {
|
discord: {
|
||||||
userId: '',
|
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;
|
[key: string]: string | number | boolean | object;
|
||||||
};
|
};
|
||||||
type AIGatewayUniversalRequest = {
|
type AIGatewayUniversalRequest = {
|
||||||
provider: AIGatewayProviders | string; // eslint-disable-line
|
provider: AIGatewayProviders | string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
headers: Partial<AIGatewayHeaders>;
|
headers: Partial<AIGatewayHeaders>;
|
||||||
query: unknown;
|
query: unknown;
|
||||||
@@ -8626,7 +8626,7 @@ declare abstract class AiGateway {
|
|||||||
gateway?: UniversalGatewayOptions;
|
gateway?: UniversalGatewayOptions;
|
||||||
extraHeaders?: object;
|
extraHeaders?: object;
|
||||||
}): Promise<Response>;
|
}): Promise<Response>;
|
||||||
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
|
getUrl(provider?: AIGatewayProviders | string): Promise<string>;
|
||||||
}
|
}
|
||||||
interface AutoRAGInternalError extends Error {
|
interface AutoRAGInternalError extends Error {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user