main.tsx, App, the i18n setup, index.css's theme mapping and base styles, the not-found and loading pages, ProtectedRoute, the lazy admin panel, the form edition context, the Sievepad button, the logo and the env types are rewritten in our own words. Routes, strings, storage keys and the look are unchanged. EnterpriseUpsell goes: inbuxa has one edition with everything in it, so it never opened. The menu, sidebar, top bar and list no longer hold state for it; a locked item (which never occurs) simply does nothing.
28 lines
853 B
TypeScript
28 lines
853 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2026 Coffey Labs LLC
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
/** Where the server's API is, when the console isn't served by the server itself. */
|
|
readonly VITE_API_BASE_URL: string;
|
|
/** Development only: a token that skips signing in. */
|
|
readonly VITE_ACCESS_TOKEN: string;
|
|
readonly VITE_OAUTH_SCOPES: string;
|
|
/** Development only: log JMAP traffic and form changes (lib/debug.ts). */
|
|
readonly VITE_DEBUG_JMAP?: string;
|
|
readonly VITE_DEBUG_FORMS?: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
/** The console's version, set at build time. */
|
|
declare const __APP_VERSION__: string;
|
|
/** The Sieve playground's page, relative to the console (sieve-playground.ts). */
|
|
declare const __SIEVE_PLAYGROUND__: string;
|