teableio/teable

View on GitHub
apps/nextjs-app/src/lib/server-env.ts

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';

export interface IServerEnv {
  driver?: string;
  templateSiteLink?: string;
  microsoftClarityId?: string;
  umamiWebSiteId?: string;
  umamiUrl?: string;
  sentryDsn?: string;
  socialAuthProviders?: string[];
  storagePrefix?: string;
  edition?: string;
}

export const EnvContext = React.createContext<IServerEnv>({});