mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Hexclave rename PR5: rename app stack.* files (Step 10/C)
git mv backend/src/stack.tsx -> hexclave.tsx, internal-tool/src/stack.ts -> hexclave.ts, dashboard/src/lib/stack-app-internals.ts -> hexclave-app-internals.ts; updated import specifiers. (stack-companion file+dir deferred to dir-rename step.) typecheck + lint green.
This commit is contained in:
parent
6616f6c4a4
commit
3d8ea0a647
@ -1,7 +1,7 @@
|
||||
import { getClickhouseAdminClient } from "@/lib/clickhouse";
|
||||
import { arePlanLimitsEnforced, getBillingTeamId } from "@/lib/plan-entitlements";
|
||||
import { findRecentSessionReplay } from "@/lib/session-replays";
|
||||
import { getHexclaveServerApp } from "@/stack";
|
||||
import { getHexclaveServerApp } from "@/hexclave";
|
||||
import { getPrismaClientForTenancy } from "@/prisma-client";
|
||||
import { createSmartRouteHandler } from "@/route-handlers/smart-route-handler";
|
||||
import { KnownErrors } from "@hexclave/shared";
|
||||
|
||||
@ -2,7 +2,7 @@ import { getClickhouseExternalClient } from "@/lib/clickhouse";
|
||||
import { getSafeClickhouseErrorMessage } from "@/lib/clickhouse-errors";
|
||||
import { arePlanLimitsEnforced, getBillingTeamId } from "@/lib/plan-entitlements";
|
||||
import { createSmartRouteHandler } from "@/route-handlers/smart-route-handler";
|
||||
import { getHexclaveServerApp } from "@/stack";
|
||||
import { getHexclaveServerApp } from "@/hexclave";
|
||||
import { KnownErrors } from "@hexclave/shared";
|
||||
import { ITEM_IDS, PLAN_LIMITS } from "@hexclave/shared/dist/plans";
|
||||
import { adaptSchema, adminAuthTypeSchema, jsonSchema, yupBoolean, yupMixed, yupNumber, yupObject, yupRecord, yupString } from "@hexclave/shared/dist/schema-fields";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { isSecureEmailPort, lowLevelSendEmailDirectWithoutRetries } from "@/lib/emails-low-level";
|
||||
import { arePlanLimitsEnforced, getBillingTeamId } from "@/lib/plan-entitlements";
|
||||
import { createSmartRouteHandler } from "@/route-handlers/smart-route-handler";
|
||||
import { getHexclaveServerApp } from "@/stack";
|
||||
import { getHexclaveServerApp } from "@/hexclave";
|
||||
import { KnownErrors } from "@hexclave/shared";
|
||||
import { ITEM_IDS } from "@hexclave/shared/dist/plans";
|
||||
import * as schemaFields from "@hexclave/shared/dist/schema-fields";
|
||||
|
||||
@ -4,7 +4,7 @@ import { createSmartRouteHandler } from "@/route-handlers/smart-route-handler";
|
||||
import { Prisma } from "@/generated/prisma/client";
|
||||
import { arePlanLimitsEnforced, getBillingTeamId } from "@/lib/plan-entitlements";
|
||||
import { findRecentSessionReplay } from "@/lib/session-replays";
|
||||
import { getHexclaveServerApp } from "@/stack";
|
||||
import { getHexclaveServerApp } from "@/hexclave";
|
||||
import { KnownErrors } from "@hexclave/shared";
|
||||
import { ITEM_IDS } from "@hexclave/shared/dist/plans";
|
||||
import { adaptSchema, clientOrHigherAuthTypeSchema, yupArray, yupMixed, yupNumber, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
||||
|
||||
@ -4,7 +4,7 @@ import { getEmailThemeForThemeId, renderEmailsForTenancyBatched } from "@/lib/em
|
||||
import { EmailOutboxRecipient, getEmailConfig, } from "@/lib/emails";
|
||||
import { generateUnsubscribeLink, getNotificationCategoryById, hasNotificationEnabled, listNotificationCategories } from "@/lib/notification-categories";
|
||||
import { arePlanLimitsEnforced, getBillingTeamId } from "@/lib/plan-entitlements";
|
||||
import { getHexclaveServerApp } from "@/stack";
|
||||
import { getHexclaveServerApp } from "@/hexclave";
|
||||
import { ITEM_IDS } from "@hexclave/shared/dist/plans";
|
||||
import { getTenancy, Tenancy } from "@/lib/tenancies";
|
||||
import { getPrismaClientForTenancy, globalPrismaClient, PrismaClientTransaction } from "@/prisma-client";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import withPostHog from "@/analytics";
|
||||
import { arePlanLimitsEnforced } from "@/lib/plan-entitlements";
|
||||
import { globalPrismaClient } from "@/prisma-client";
|
||||
import { getHexclaveServerApp } from "@/stack";
|
||||
import { getHexclaveServerApp } from "@/hexclave";
|
||||
import { runAsynchronouslyAndWaitUntil } from "@/utils/background-tasks";
|
||||
import { ITEM_IDS } from "@hexclave/shared/dist/plans";
|
||||
import { urlSchema, yupBoolean, yupMixed, yupNumber, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { AdminOwnedProject } from "@hexclave/next";
|
||||
import { ALL_APPS, type AppId } from "@hexclave/shared/dist/apps/apps-config";
|
||||
import { projectOnboardingStatusValues, type ProjectOnboardingStatus } from "@hexclave/shared/dist/schema-fields";
|
||||
|
||||
@ -5,7 +5,7 @@ import { useRouter } from "@/components/router";
|
||||
import { SearchBar } from "@/components/search-bar";
|
||||
import { Button, Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, Skeleton, Typography, toast } from "@/components/ui";
|
||||
import { getPublicEnvVar } from "@/lib/env";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { GearIcon } from "@phosphor-icons/react";
|
||||
import { AdminOwnedProject, Team, useStackApp, useUser } from "@hexclave/next";
|
||||
import { isPaidPlan } from "@hexclave/shared/dist/plans";
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
import Loading from "@/app/loading";
|
||||
import { useRouter } from "@/components/router";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { useStackApp, useUser } from "@hexclave/next";
|
||||
import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
|
||||
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
||||
import { ErrorBoundary } from "next/dist/client/components/error-boundary";
|
||||
|
||||
@ -12,7 +12,7 @@ import {
|
||||
type MetricsRecentEmail,
|
||||
type MetricsTopReferrer,
|
||||
useMetricsOrThrow,
|
||||
} from "@/lib/stack-app-internals";
|
||||
} from "@/lib/hexclave-app-internals";
|
||||
import { CompassIcon, EnvelopeIcon, EnvelopeOpenIcon, GlobeIcon, SquaresFourIcon, WarningCircleIcon, XCircleIcon } from "@phosphor-icons/react";
|
||||
import useResizeObserver from '@react-hook/resize-observer';
|
||||
import { useUser } from "@hexclave/next";
|
||||
|
||||
@ -45,7 +45,7 @@ import {
|
||||
type RuleNode,
|
||||
} from "@/lib/cel-visual-parser";
|
||||
import { useUpdateConfig } from "@/lib/config-update";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { closestCenter, DndContext, KeyboardSensor, PointerSensor, useSensor, useSensors, type DragEndEvent } from '@dnd-kit/core';
|
||||
import { arrayMove, SortableContext, sortableKeyboardCoordinates, useSortable, verticalListSortingStrategy } from '@dnd-kit/sortable';
|
||||
import { CSS } from '@dnd-kit/utilities';
|
||||
|
||||
@ -42,7 +42,7 @@ import { DeleteUserDialog, ImpersonateUserDialog } from "@/components/user-dialo
|
||||
import { ALL_APPS_FRONTEND } from "@/lib/apps-frontend";
|
||||
import { isAppEnabled } from "@/lib/apps-utils";
|
||||
import { parseRiskScore } from "@/lib/risk-score-utils";
|
||||
import { useUserActivityOrThrow } from "@/lib/stack-app-internals";
|
||||
import { useUserActivityOrThrow } from "@/lib/hexclave-app-internals";
|
||||
import { AtIcon, CalendarIcon, CheckIcon, DatabaseIcon, EnvelopeIcon, GlobeIcon, HashIcon, PlusIcon, ProhibitIcon, ShieldIcon, SquareIcon, XIcon } from "@phosphor-icons/react";
|
||||
import { type DataGridColumnDef } from "@hexclave/dashboard-ui-components";
|
||||
import { ServerContactChannel, ServerOAuthProvider, ServerTeam, ServerUser } from "@hexclave/next";
|
||||
|
||||
@ -5,7 +5,7 @@ import { ExportUsersDialog } from "@/components/export-users-dialog";
|
||||
import { StyledLink } from "@/components/link";
|
||||
import { Alert, Button, SimpleTooltip, Skeleton } from "@/components/ui";
|
||||
import { UserDialog } from "@/components/user-dialog";
|
||||
import { useMetricsUserCountsOrThrow } from "@/lib/stack-app-internals";
|
||||
import { useMetricsUserCountsOrThrow } from "@/lib/hexclave-app-internals";
|
||||
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
||||
import { ArrowsClockwiseIcon, DownloadSimpleIcon } from "@phosphor-icons/react";
|
||||
import { ErrorBoundary } from "next/dist/client/components/error-boundary";
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
import Loading from "@/app/loading";
|
||||
import { getPublicEnvVar } from "@/lib/env";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { useStackApp } from "@hexclave/next";
|
||||
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Skeleton } from "@/components/ui";
|
||||
import { useMetricsOrThrow } from "@/lib/stack-app-internals";
|
||||
import { useMetricsOrThrow } from "@/lib/hexclave-app-internals";
|
||||
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
||||
import { ErrorBoundary } from "next/dist/client/components/error-boundary";
|
||||
import { Suspense } from "react";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import "server-only";
|
||||
|
||||
import { getPublicEnvVar } from "@/lib/env";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { AdminOwnedProject, StackClientApp } from "@hexclave/next";
|
||||
import { Config, override } from "@hexclave/shared/dist/config/format";
|
||||
import { ProjectOnboardingStatus } from "@hexclave/shared/dist/schema-fields";
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/stack-app-internals";
|
||||
import { hexclaveAppInternalsSymbol } from "@/lib/hexclave-app-internals";
|
||||
import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
|
||||
|
||||
export function buildTransferSignUpUrl(): string {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
import { Suspense } from "react";
|
||||
import { StackProvider, StackTheme } from "@hexclave/next";
|
||||
import { hexclaveClientApp } from "../stack";
|
||||
import { hexclaveClientApp } from "../hexclave";
|
||||
import Loading from "./loading";
|
||||
import "./globals.css";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user