Project Context Store (project-[region]-[project]/store.ts)

console-getitforcomm · ui, UI / Frontend, project, region, svelte-store, console, analytics

Exposes derived Svelte stores for the current project, its region, onboarding status, and regional console variables.

// Source: https://github.com/mperkins0155/console-getitforcomm | License: BSD-3-Clause | Copyright 2019 Appwrite (https://appwrite.io) and individual contributors
// Provided via justclaw.it.com; keep this notice with the code.
import type { Models } from '@appwrite.io/console';
import type { BarSeriesOption } from 'echarts/charts';
import { derived, get, writable } from 'svelte/store';
import { regions } from '$lib/stores/organization';
import { page } from '$app/stores';
import CursorIcon from './overview/components/CursorIcon.svelte';
import ClaudeIcon from './overview/components/ClaudeIcon.svelte';
import VSCodeIcon from './overview/components/VSCodeIcon.svelte';
import WindsurfIcon from './overview/components/WindsurfIcon.svelte';

export const project = derived(page, ($page) => $pag

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key