chore: update env.example and NestedMenuItem in index.d.ts
This commit is contained in:
parent
eff72bee91
commit
9c385b11a7
16
env.example
16
env.example
@ -5,10 +5,17 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
NEXT_PUBLIC_BASE_URL="http://localhost:3000"
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Database
|
||||
# https://orm.drizzle.team/docs/get-started/neon-new
|
||||
# https://orm.drizzle.team/docs/connect-supabase
|
||||
# -----------------------------------------------------------------------------
|
||||
DATABASE_URL=""
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Better Auth
|
||||
# https://www.better-auth.com/docs/installation
|
||||
# Click `Generate Secret` button in Better Auth documentation
|
||||
# Generate a random string for the secret key using `openssl rand -base64 32`
|
||||
# -----------------------------------------------------------------------------
|
||||
BETTER_AUTH_SECRET=""
|
||||
|
||||
@ -28,13 +35,6 @@ GITHUB_CLIENT_SECRET=""
|
||||
GOOGLE_CLIENT_ID=""
|
||||
GOOGLE_CLIENT_SECRET=""
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Database (Neon or Supabase or database provider of your choice)
|
||||
# https://orm.drizzle.team/docs/get-started/neon-new
|
||||
# https://orm.drizzle.team/docs/connect-supabase
|
||||
# -----------------------------------------------------------------------------
|
||||
DATABASE_URL=""
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Email (Resend)
|
||||
# https://resend.com/docs/api-reference/introduction
|
||||
|
8
src/types/index.d.ts
vendored
8
src/types/index.d.ts
vendored
@ -116,12 +116,6 @@ export type MenuItem = {
|
||||
/**
|
||||
* nested menu item, used for navbar links, sidebar links, footer links
|
||||
*/
|
||||
export type NestedMenuItem = {
|
||||
title: string;
|
||||
description?: string;
|
||||
icon?: ReactNode;
|
||||
href?: string;
|
||||
external?: boolean;
|
||||
authorizeOnly?: string[];
|
||||
export type NestedMenuItem = MenuItem & {
|
||||
items?: MenuItem[]; // The items to display in the nested menu
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user