feat: add websiteUrl to project config

pull/717/head
Travis Fischer 2025-07-01 02:05:01 -05:00
rodzic cd4353e052
commit 030200ce91
3 zmienionych plików z 17 dodań i 0 usunięć

Wyświetl plik

@ -72,6 +72,7 @@ export const deployments = pgTable(
readme: text().default('').notNull(),
iconUrl: text(),
sourceUrl: text(),
websiteUrl: text(),
userId: userId()
.notNull()
@ -168,6 +169,7 @@ export const deploymentSelectBaseSchema = createSelectSchema(deployments, {
readme: resolvedAgenticProjectConfigSchema.shape.readme,
iconUrl: resolvedAgenticProjectConfigSchema.shape.iconUrl,
sourceUrl: resolvedAgenticProjectConfigSchema.shape.sourceUrl,
websiteUrl: resolvedAgenticProjectConfigSchema.shape.websiteUrl,
origin: resolvedAgenticProjectConfigSchema.shape.origin,
pricingPlans: resolvedAgenticProjectConfigSchema.shape.pricingPlans,
pricingIntervals: resolvedAgenticProjectConfigSchema.shape.pricingIntervals,

Wyświetl plik

@ -61,6 +61,10 @@ Examples: `1.0.0`, `0.0.1`, `5.0.1`, etc.
Optional URL to the source code of the project (eg, GitHub repo).
</ResponseField>
<ResponseField name='websiteUrl' type='string'>
Optional URL to the product's website.
</ResponseField>
<ResponseField name='origin' type='object' required>
Origin API adapter used to configure the origin API server downstream from
Agentic's MCP gateway.

Wyświetl plik

@ -135,6 +135,17 @@ export const agenticProjectConfigSchema = z
)
.optional(),
/**
* Optional URL to the product's website.
*
* @example "https://my-product.com"
*/
websiteUrl: z
.string()
.url()
.describe("Optional URL to the product's website.")
.optional(),
/**
* Origin API adapter used to configure the origin API server downstream
* from Agentic's API gateway. It specifies whether the origin API server's