Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@t3-oss/env-nextjs

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@t3-oss/env-nextjs - npm Package Compare versions

Comparing version 0.2.3-canary.d741dde to 0.2.3-canary.edd0ea5

2

dist/index.d.ts

@@ -28,4 +28,4 @@ import * as zod from 'zod';

}
declare function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>>({ runtimeEnv, ...opts }: Options<TServer, TClient>): (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_9 extends object ? { [k_1 in keyof T_9]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]> extends infer T_7 ? { [k in keyof T_7]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_8 extends object ? { [k_1 in keyof T_8]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]>[k]; } : never) & (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_12 extends object ? { [k_3 in keyof T_12]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]> extends infer T_10 ? { [k_2 in keyof T_10]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_11 extends object ? { [k_3 in keyof T_11]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]>[k_2]; } : never) extends infer T ? { [TKey in keyof T]: ((zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_3 extends object ? { [k_1 in keyof T_3]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]> extends infer T_1 ? { [k in keyof T_1]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_2 extends object ? { [k_1 in keyof T_2]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]>[k]; } : never) & (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_6 extends object ? { [k_3 in keyof T_6]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]> extends infer T_4 ? { [k_2 in keyof T_4]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_5 extends object ? { [k_3 in keyof T_5]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]>[k_2]; } : never))[TKey]; } : never;
declare function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>>({ runtimeEnv, ...opts }: Options<TServer, TClient>): (TClient extends Record<string, never> ? zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_15 extends object ? { [k_1 in keyof T_15]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]> extends infer T_13 ? { [k in keyof T_13]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_14 extends object ? { [k_1 in keyof T_14]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]>[k]; } : never : TServer extends Record<string, never> ? zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_18 extends object ? { [k_3 in keyof T_18]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]> extends infer T_16 ? { [k_2 in keyof T_16]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_17 extends object ? { [k_3 in keyof T_17]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]>[k_2]; } : never : (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_21 extends object ? { [k_1 in keyof T_21]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]> extends infer T_19 ? { [k in keyof T_19]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_20 extends object ? { [k_1 in keyof T_20]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]>[k]; } : never) & (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_24 extends object ? { [k_3 in keyof T_24]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]> extends infer T_22 ? { [k_2 in keyof T_22]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_23 extends object ? { [k_3 in keyof T_23]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]>[k_2]; } : never)) extends infer T ? { [TKey in keyof T]: (TClient extends Record<string, never> ? zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_3 extends object ? { [k_1 in keyof T_3]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]> extends infer T_1 ? { [k in keyof T_1]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_2 extends object ? { [k_1 in keyof T_2]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]>[k]; } : never : TServer extends Record<string, never> ? zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_6 extends object ? { [k_3 in keyof T_6]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]> extends infer T_4 ? { [k_2 in keyof T_4]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_5 extends object ? { [k_3 in keyof T_5]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]>[k_2]; } : never : (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_9 extends object ? { [k_1 in keyof T_9]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]> extends infer T_7 ? { [k in keyof T_7]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TServer>, (zod.baseObjectOutputType<TServer> extends infer T_8 extends object ? { [k_1 in keyof T_8]: undefined extends zod.baseObjectOutputType<TServer>[k_1] ? never : k_1; } : never)[keyof TServer]>[k]; } : never) & (zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_12 extends object ? { [k_3 in keyof T_12]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]> extends infer T_10 ? { [k_2 in keyof T_10]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<TClient>, (zod.baseObjectOutputType<TClient> extends infer T_11 extends object ? { [k_3 in keyof T_11]: undefined extends zod.baseObjectOutputType<TClient>[k_3] ? never : k_3; } : never)[keyof TClient]>[k_2]; } : never))[TKey]; } : never;
export { createEnv };
{
"name": "@t3-oss/env-nextjs",
"version": "0.2.3-canary.d741dde",
"version": "0.2.3-canary.edd0ea5",
"keywords": [

@@ -5,0 +5,0 @@ "create-t3-app",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc