Files
windmill/frontend/src/lib/instanceUi.ts
T
Ruben Fiszelandwindmill-internal-app[bot] 6acf185854 feat: add an api base url instance setting for displayed urls (#11628)
* feat: add an api base url instance setting for displayed urls

* feat: show the api base url as cli remote, keep mcp url on origin

* fix: keep push captures on origin and load the api base url on svix page

* fix: reject shell metacharacters in webhook and api base urls

* test: drop the trivial api base url resolver test

* feat: hide the api base url setting behind a toggle

* fix: let the quick setup toggle reveal the api base url field

* chore: update ee-repo-ref to 017710bdd0a10de857f0f40800dde238cdb1ad24

This commit updates the EE repository reference after PR #863 was merged in windmill-ee-private.

Previous ee-repo-ref: f67cd621bd45840e6389e0469a67378864f269a0

New ee-repo-ref: 017710bdd0a10de857f0f40800dde238cdb1ad24

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-10-08 22:35:07 +02:00

11 lines
461 B
TypeScript

import { writable } from 'svelte/store'
import type { GetInstanceUiResponse } from '$lib/gen'
/**
* The last `/settings/instance_ui` response: the announcement banner, accent color
* and API base url.
* `undefined` until one lands, and left as is when a fetch fails, so a transient error
* never retracts an announcement still in force. Written only by `InstanceUiSync`.
*/
export const instanceUi = writable<GetInstanceUiResponse | undefined>(undefined)