File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { z } from "zod";
77 */
88export const serverSchema = z . object ( {
99 DATABASE_URL : z . string ( ) . url ( ) ,
10- NEXT_PUBLIC_ADMIN_PASSWORD : z . string ( ) ,
1110 NODE_ENV : z . enum ( [ "development" , "test" , "production" ] ) ,
1211} ) ;
1312
@@ -17,6 +16,7 @@ export const serverSchema = z.object({
1716 * To expose them to the client, prefix them with `NEXT_PUBLIC_`.
1817 */
1918export const clientSchema = z . object ( {
19+ NEXT_PUBLIC_ADMIN_PASSWORD : z . string ( ) ,
2020 // NEXT_PUBLIC_CLIENTVAR: z.string(),
2121} ) ;
2222
@@ -27,5 +27,6 @@ export const clientSchema = z.object({
2727 * @type {{ [k in keyof z.infer<typeof clientSchema>]: z.infer<typeof clientSchema>[k] | undefined } }
2828 */
2929export const clientEnv = {
30+ NEXT_PUBLIC_ADMIN_PASSWORD : process . env . NEXT_PUBLIC_ADMIN_PASSWORD ,
3031 // NEXT_PUBLIC_CLIENTVAR: process.env.NEXT_PUBLIC_CLIENTVAR,
3132} ;
You can’t perform that action at this time.
0 commit comments