envin 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -167,6 +167,50 @@ declare const netlify: {
|
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
type NetlifyEnv = InferPresetOutput<typeof netlify>;
|
|
170
|
+
/**
|
|
171
|
+
* Cloudflare Pages System Environment Variables
|
|
172
|
+
* @see https://developers.cloudflare.com/pages/configuration/build-configuration/#environment-variables
|
|
173
|
+
*/
|
|
174
|
+
declare const cloudflarePages: {
|
|
175
|
+
readonly id: "cloudflare-pages";
|
|
176
|
+
readonly server: {
|
|
177
|
+
readonly CF_PAGES: arktype0.BaseType<string | undefined, {}>;
|
|
178
|
+
readonly CF_PAGES_COMMIT_SHA: arktype0.BaseType<string | undefined, {}>;
|
|
179
|
+
readonly CF_PAGES_BRANCH: arktype0.BaseType<string | undefined, {}>;
|
|
180
|
+
readonly CF_PAGES_URL: arktype0.BaseType<string | undefined, {}>;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
type CloudflarePagesEnv = InferPresetOutput<typeof cloudflarePages>;
|
|
184
|
+
/**
|
|
185
|
+
* Cloudflare Workers Builds System Environment Variables
|
|
186
|
+
* @see https://developers.cloudflare.com/workers/ci-cd/builds/configuration/#environment-variables
|
|
187
|
+
*/
|
|
188
|
+
declare const cloudflareWorkers: {
|
|
189
|
+
readonly id: "cloudflare-workers";
|
|
190
|
+
readonly server: {
|
|
191
|
+
readonly WORKERS_CI: arktype0.BaseType<string | undefined, {}>;
|
|
192
|
+
readonly WORKERS_CI_BUILD_UUID: arktype0.BaseType<string | undefined, {}>;
|
|
193
|
+
readonly WORKERS_CI_COMMIT_SHA: arktype0.BaseType<string | undefined, {}>;
|
|
194
|
+
readonly WORKERS_CI_BRANCH: arktype0.BaseType<string | undefined, {}>;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
type CloudflareWorkersEnv = InferPresetOutput<typeof cloudflareWorkers>;
|
|
198
|
+
/**
|
|
199
|
+
* Cloudflare Containers Runtime Environment Variables
|
|
200
|
+
* @see https://developers.cloudflare.com/containers/configuration/environment-variables/
|
|
201
|
+
*/
|
|
202
|
+
declare const cloudflareContainers: {
|
|
203
|
+
readonly id: "cloudflare-containers";
|
|
204
|
+
readonly server: {
|
|
205
|
+
readonly CLOUDFLARE_APPLICATION_ID: arktype0.BaseType<string | undefined, {}>;
|
|
206
|
+
readonly CLOUDFLARE_COUNTRY_A2: arktype0.BaseType<string | undefined, {}>;
|
|
207
|
+
readonly CLOUDFLARE_DEPLOYMENT_ID: arktype0.BaseType<string | undefined, {}>;
|
|
208
|
+
readonly CLOUDFLARE_LOCATION: arktype0.BaseType<string | undefined, {}>;
|
|
209
|
+
readonly CLOUDFLARE_REGION: arktype0.BaseType<string | undefined, {}>;
|
|
210
|
+
readonly CLOUDFLARE_DURABLE_OBJECT_ID: arktype0.BaseType<string | undefined, {}>;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
type CloudflareContainersEnv = InferPresetOutput<typeof cloudflareContainers>;
|
|
170
214
|
/**
|
|
171
215
|
* Upstash redis Environment Variables
|
|
172
216
|
* @see https://upstash.com/docs/redis/howto/connectwithupstashredis
|
|
@@ -256,4 +300,4 @@ declare const wxt: {
|
|
|
256
300
|
};
|
|
257
301
|
type WxtEnv = InferPresetOutput<typeof wxt>;
|
|
258
302
|
//#endregion
|
|
259
|
-
export { CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };
|
|
303
|
+
export { CloudflareContainersEnv, CloudflarePagesEnv, CloudflareWorkersEnv, CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, cloudflareContainers, cloudflarePages, cloudflareWorkers, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };
|
package/dist/presets/arktype.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{type as e}from"arktype";const t={id:`vercel`,server:{VERCEL:e(`string | undefined`),CI:e(`string | undefined`),VERCEL_ENV:e(`'development'|'preview'|'production' | undefined`),VERCEL_URL:e(`string.url | undefined`),VERCEL_PROJECT_PRODUCTION_URL:e(`string.url | undefined`),VERCEL_BRANCH_URL:e(`string.url | undefined`),VERCEL_REGION:e(`string | undefined`),VERCEL_DEPLOYMENT_ID:e(`string | undefined`),VERCEL_SKEW_PROTECTION_ENABLED:e(`string | undefined`),VERCEL_AUTOMATION_BYPASS_SECRET:e(`string | undefined`),VERCEL_GIT_PROVIDER:e(`string | undefined`),VERCEL_GIT_REPO_SLUG:e(`string | undefined`),VERCEL_GIT_REPO_OWNER:e(`string | undefined`),VERCEL_GIT_REPO_ID:e(`string | undefined`),VERCEL_GIT_COMMIT_REF:e(`string | undefined`),VERCEL_GIT_COMMIT_SHA:e(`string | undefined`),VERCEL_GIT_COMMIT_MESSAGE:e(`string | undefined`),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:e(`string | undefined`),VERCEL_GIT_COMMIT_AUTHOR_NAME:e(`string | undefined`),VERCEL_GIT_PREVIOUS_SHA:e(`string | undefined`),VERCEL_GIT_PULL_REQUEST_ID:e(`string | undefined`)}},n={id:`neon-vercel`,server:{DATABASE_URL:e(`string.url`),DATABASE_URL_UNPOOLED:e(`string.url | undefined`),PGHOST:e(`string | undefined`),PGHOST_UNPOOLED:e(`string | undefined`),PGUSER:e(`string | undefined`),PGDATABASE:e(`string | undefined`),PGPASSWORD:e(`string | undefined`),POSTGRES_URL:e(`string.url | undefined`),POSTGRES_URL_NON_POOLING:e(`string.url | undefined`),POSTGRES_USER:e(`string | undefined`),POSTGRES_HOST:e(`string | undefined`),POSTGRES_PASSWORD:e(`string | undefined`),POSTGRES_DATABASE:e(`string | undefined`),POSTGRES_URL_NO_SSL:e(`string.url | undefined`),POSTGRES_PRISMA_URL:e(`string.url | undefined`)}},r={id:`uploadthing`,server:{UPLOADTHING_TOKEN:e(`string`)}},i={id:`render`,server:{IS_PULL_REQUEST:e(`string | undefined`),RENDER_DISCOVERY_SERVICE:e(`string | undefined`),RENDER_EXTERNAL_HOSTNAME:e(`string | undefined`),RENDER_EXTERNAL_URL:e(`string.url | undefined`),RENDER_GIT_BRANCH:e(`string | undefined`),RENDER_GIT_COMMIT:e(`string | undefined`),RENDER_GIT_REPO_SLUG:e(`string | undefined`),RENDER_INSTANCE_ID:e(`string | undefined`),RENDER_SERVICE_ID:e(`string | undefined`),RENDER_SERVICE_NAME:e(`string | undefined`),RENDER_SERVICE_TYPE:e(`'web'|'pserv'|'cron'|'worker'|'static' | undefined`),RENDER:e(`string | undefined`)}},a={id:`railway`,server:{RAILWAY_PUBLIC_DOMAIN:e(`string.url | undefined`),RAILWAY_PRIVATE_DOMAIN:e(`string.url | undefined`),RAILWAY_TCP_PROXY_DOMAIN:e(`string.url | undefined`),RAILWAY_TCP_PROXY_PORT:e(`string | undefined`),RAILWAY_TCP_APPLICATION_PORT:e(`string | undefined`),RAILWAY_PROJECT_NAME:e(`string | undefined`),RAILWAY_PROJECT_ID:e(`string | undefined`),RAILWAY_ENVIRONMENT_NAME:e(`string | undefined`),RAILWAY_ENVIRONMENT_ID:e(`string | undefined`),RAILWAY_SERVICE_NAME:e(`string | undefined`),RAILWAY_SERVICE_ID:e(`string | undefined`),RAILWAY_REPLICA_ID:e(`string | undefined`),RAILWAY_DEPLOYMENT_ID:e(`string | undefined`),RAILWAY_SNAPSHOT_ID:e(`string | undefined`),RAILWAY_VOLUME_NAME:e(`string | undefined`),RAILWAY_VOLUME_MOUNT_PATH:e(`string | undefined`),RAILWAY_RUN_UID:e(`string | undefined`),RAILWAY_GIT_COMMIT_SHA:e(`string | undefined`),RAILWAY_GIT_AUTHOR_EMAIL:e(`string | undefined`),RAILWAY_GIT_BRANCH:e(`string | undefined`),RAILWAY_GIT_REPO_NAME:e(`string | undefined`),RAILWAY_GIT_REPO_OWNER:e(`string | undefined`),RAILWAY_GIT_COMMIT_MESSAGE:e(`string | undefined`)}},o={id:`fly`,server:{FLY_APP_NAME:e(`string | undefined`),FLY_MACHINE_ID:e(`string | undefined`),FLY_ALLOC_ID:e(`string | undefined`),FLY_REGION:e(`string | undefined`),FLY_PUBLIC_IP:e(`string | undefined`),FLY_IMAGE_REF:e(`string | undefined`),FLY_MACHINE_VERSION:e(`string | undefined`),FLY_PRIVATE_IP:e(`string | undefined`),FLY_PROCESS_GROUP:e(`string | undefined`),FLY_VM_MEMORY_MB:e(`string | undefined`),PRIMARY_REGION:e(`string | undefined`)}},s={id:`netlify`,server:{NETLIFY:e(`string | undefined`),BUILD_ID:e(`string | undefined`),CONTEXT:e(`'production'|'deploy-preview'|'branch-deploy'|'dev' | undefined`),REPOSITORY_URL:e(`string.url | undefined`),BRANCH:e(`string | undefined`),URL:e(`string.url | undefined`),DEPLOY_URL:e(`string.url | undefined`),DEPLOY_PRIME_URL:e(`string.url | undefined`),DEPLOY_ID:e(`string | undefined`),SITE_NAME:e(`string | undefined`),SITE_ID:e(`string | undefined`)}},c={id:`upstash-redis`,server:{UPSTASH_REDIS_REST_URL:e(`string.url`),UPSTASH_REDIS_REST_TOKEN:e(`string`)}},
|
|
1
|
+
import{type as e}from"arktype";const t={id:`vercel`,server:{VERCEL:e(`string | undefined`),CI:e(`string | undefined`),VERCEL_ENV:e(`'development'|'preview'|'production' | undefined`),VERCEL_URL:e(`string.url | undefined`),VERCEL_PROJECT_PRODUCTION_URL:e(`string.url | undefined`),VERCEL_BRANCH_URL:e(`string.url | undefined`),VERCEL_REGION:e(`string | undefined`),VERCEL_DEPLOYMENT_ID:e(`string | undefined`),VERCEL_SKEW_PROTECTION_ENABLED:e(`string | undefined`),VERCEL_AUTOMATION_BYPASS_SECRET:e(`string | undefined`),VERCEL_GIT_PROVIDER:e(`string | undefined`),VERCEL_GIT_REPO_SLUG:e(`string | undefined`),VERCEL_GIT_REPO_OWNER:e(`string | undefined`),VERCEL_GIT_REPO_ID:e(`string | undefined`),VERCEL_GIT_COMMIT_REF:e(`string | undefined`),VERCEL_GIT_COMMIT_SHA:e(`string | undefined`),VERCEL_GIT_COMMIT_MESSAGE:e(`string | undefined`),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:e(`string | undefined`),VERCEL_GIT_COMMIT_AUTHOR_NAME:e(`string | undefined`),VERCEL_GIT_PREVIOUS_SHA:e(`string | undefined`),VERCEL_GIT_PULL_REQUEST_ID:e(`string | undefined`)}},n={id:`neon-vercel`,server:{DATABASE_URL:e(`string.url`),DATABASE_URL_UNPOOLED:e(`string.url | undefined`),PGHOST:e(`string | undefined`),PGHOST_UNPOOLED:e(`string | undefined`),PGUSER:e(`string | undefined`),PGDATABASE:e(`string | undefined`),PGPASSWORD:e(`string | undefined`),POSTGRES_URL:e(`string.url | undefined`),POSTGRES_URL_NON_POOLING:e(`string.url | undefined`),POSTGRES_USER:e(`string | undefined`),POSTGRES_HOST:e(`string | undefined`),POSTGRES_PASSWORD:e(`string | undefined`),POSTGRES_DATABASE:e(`string | undefined`),POSTGRES_URL_NO_SSL:e(`string.url | undefined`),POSTGRES_PRISMA_URL:e(`string.url | undefined`)}},r={id:`uploadthing`,server:{UPLOADTHING_TOKEN:e(`string`)}},i={id:`render`,server:{IS_PULL_REQUEST:e(`string | undefined`),RENDER_DISCOVERY_SERVICE:e(`string | undefined`),RENDER_EXTERNAL_HOSTNAME:e(`string | undefined`),RENDER_EXTERNAL_URL:e(`string.url | undefined`),RENDER_GIT_BRANCH:e(`string | undefined`),RENDER_GIT_COMMIT:e(`string | undefined`),RENDER_GIT_REPO_SLUG:e(`string | undefined`),RENDER_INSTANCE_ID:e(`string | undefined`),RENDER_SERVICE_ID:e(`string | undefined`),RENDER_SERVICE_NAME:e(`string | undefined`),RENDER_SERVICE_TYPE:e(`'web'|'pserv'|'cron'|'worker'|'static' | undefined`),RENDER:e(`string | undefined`)}},a={id:`railway`,server:{RAILWAY_PUBLIC_DOMAIN:e(`string.url | undefined`),RAILWAY_PRIVATE_DOMAIN:e(`string.url | undefined`),RAILWAY_TCP_PROXY_DOMAIN:e(`string.url | undefined`),RAILWAY_TCP_PROXY_PORT:e(`string | undefined`),RAILWAY_TCP_APPLICATION_PORT:e(`string | undefined`),RAILWAY_PROJECT_NAME:e(`string | undefined`),RAILWAY_PROJECT_ID:e(`string | undefined`),RAILWAY_ENVIRONMENT_NAME:e(`string | undefined`),RAILWAY_ENVIRONMENT_ID:e(`string | undefined`),RAILWAY_SERVICE_NAME:e(`string | undefined`),RAILWAY_SERVICE_ID:e(`string | undefined`),RAILWAY_REPLICA_ID:e(`string | undefined`),RAILWAY_DEPLOYMENT_ID:e(`string | undefined`),RAILWAY_SNAPSHOT_ID:e(`string | undefined`),RAILWAY_VOLUME_NAME:e(`string | undefined`),RAILWAY_VOLUME_MOUNT_PATH:e(`string | undefined`),RAILWAY_RUN_UID:e(`string | undefined`),RAILWAY_GIT_COMMIT_SHA:e(`string | undefined`),RAILWAY_GIT_AUTHOR_EMAIL:e(`string | undefined`),RAILWAY_GIT_BRANCH:e(`string | undefined`),RAILWAY_GIT_REPO_NAME:e(`string | undefined`),RAILWAY_GIT_REPO_OWNER:e(`string | undefined`),RAILWAY_GIT_COMMIT_MESSAGE:e(`string | undefined`)}},o={id:`fly`,server:{FLY_APP_NAME:e(`string | undefined`),FLY_MACHINE_ID:e(`string | undefined`),FLY_ALLOC_ID:e(`string | undefined`),FLY_REGION:e(`string | undefined`),FLY_PUBLIC_IP:e(`string | undefined`),FLY_IMAGE_REF:e(`string | undefined`),FLY_MACHINE_VERSION:e(`string | undefined`),FLY_PRIVATE_IP:e(`string | undefined`),FLY_PROCESS_GROUP:e(`string | undefined`),FLY_VM_MEMORY_MB:e(`string | undefined`),PRIMARY_REGION:e(`string | undefined`)}},s={id:`netlify`,server:{NETLIFY:e(`string | undefined`),BUILD_ID:e(`string | undefined`),CONTEXT:e(`'production'|'deploy-preview'|'branch-deploy'|'dev' | undefined`),REPOSITORY_URL:e(`string.url | undefined`),BRANCH:e(`string | undefined`),URL:e(`string.url | undefined`),DEPLOY_URL:e(`string.url | undefined`),DEPLOY_PRIME_URL:e(`string.url | undefined`),DEPLOY_ID:e(`string | undefined`),SITE_NAME:e(`string | undefined`),SITE_ID:e(`string | undefined`)}},c={id:`cloudflare-pages`,server:{CF_PAGES:e(`string | undefined`),CF_PAGES_COMMIT_SHA:e(`string | undefined`),CF_PAGES_BRANCH:e(`string | undefined`),CF_PAGES_URL:e(`string.url | undefined`)}},l={id:`cloudflare-workers`,server:{WORKERS_CI:e(`string | undefined`),WORKERS_CI_BUILD_UUID:e(`string | undefined`),WORKERS_CI_COMMIT_SHA:e(`string | undefined`),WORKERS_CI_BRANCH:e(`string | undefined`)}},u={id:`cloudflare-containers`,server:{CLOUDFLARE_APPLICATION_ID:e(`string | undefined`),CLOUDFLARE_COUNTRY_A2:e(`string | undefined`),CLOUDFLARE_DEPLOYMENT_ID:e(`string | undefined`),CLOUDFLARE_LOCATION:e(`string | undefined`),CLOUDFLARE_REGION:e(`string | undefined`),CLOUDFLARE_DURABLE_OBJECT_ID:e(`string | undefined`)}},d={id:`upstash-redis`,server:{UPSTASH_REDIS_REST_URL:e(`string.url`),UPSTASH_REDIS_REST_TOKEN:e(`string`)}},f={id:`coolify`,server:{COOLIFY_FQDN:e(`string | undefined`),COOLIFY_URL:e(`string | undefined`),COOLIFY_BRANCH:e(`string | undefined`),COOLIFY_RESOURCE_UUID:e(`string | undefined`),COOLIFY_CONTAINER_NAME:e(`string | undefined`),SOURCE_COMMIT:e(`string | undefined`),PORT:e(`string | undefined`),HOST:e(`string | undefined`)}},p={id:`supabase-vercel`,clientPrefix:`NEXT_PUBLIC_`,server:{POSTGRES_URL:e(`string`),POSTGRES_PRISMA_URL:e(`string | undefined`),POSTGRES_URL_NON_POOLING:e(`string | undefined`),POSTGRES_USER:e(`string | undefined`),POSTGRES_HOST:e(`string | undefined`),POSTGRES_PASSWORD:e(`string | undefined`),POSTGRES_DATABASE:e(`string | undefined`),SUPABASE_SERVICE_ROLE_KEY:e(`string | undefined`),SUPABASE_ANON_KEY:e(`string | undefined`),SUPABASE_URL:e(`string | undefined`),SUPABASE_JWT_SECRET:e(`string | undefined`)},client:{NEXT_PUBLIC_SUPABASE_ANON_KEY:e(`string | undefined`),NEXT_PUBLIC_SUPABASE_URL:e(`string | undefined`)}},m={id:`vite`,shared:{BASE_URL:e(`string | undefined`),MODE:e(`string | undefined`),DEV:e(`boolean | undefined`),PROD:e(`boolean | undefined`),SSR:e(`boolean | undefined`)}},h={id:`wxt`,server:{MANIFEST_VERSION:e(`'2' | '3' | undefined`).pipe(e=>e?Number.parseInt(e,10):void 0),BROWSER:e(`'chrome'|'firefox'|'safari'|'edge'|'opera' | undefined`),CHROME:e(`boolean | undefined`),FIREFOX:e(`boolean | undefined`),SAFARI:e(`boolean | undefined`),EDGE:e(`boolean | undefined`),OPERA:e(`boolean | undefined`)}};export{u as cloudflareContainers,c as cloudflarePages,l as cloudflareWorkers,f as coolify,o as fly,n as neonVercel,s as netlify,a as railway,i as render,p as supabaseVercel,r as uploadthing,d as upstashRedis,t as vercel,m as vite,h as wxt};
|
|
@@ -166,6 +166,50 @@ declare const netlify: {
|
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
168
|
type NetlifyEnv = InferPresetOutput<typeof netlify>;
|
|
169
|
+
/**
|
|
170
|
+
* Cloudflare Pages System Environment Variables
|
|
171
|
+
* @see https://developers.cloudflare.com/pages/configuration/build-configuration/#environment-variables
|
|
172
|
+
*/
|
|
173
|
+
declare const cloudflarePages: {
|
|
174
|
+
readonly id: "cloudflare-pages";
|
|
175
|
+
readonly server: {
|
|
176
|
+
readonly CF_PAGES: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly CF_PAGES_COMMIT_SHA: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
+
readonly CF_PAGES_BRANCH: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
179
|
+
readonly CF_PAGES_URL: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
type CloudflarePagesEnv = InferPresetOutput<typeof cloudflarePages>;
|
|
183
|
+
/**
|
|
184
|
+
* Cloudflare Workers Builds System Environment Variables
|
|
185
|
+
* @see https://developers.cloudflare.com/workers/ci-cd/builds/configuration/#environment-variables
|
|
186
|
+
*/
|
|
187
|
+
declare const cloudflareWorkers: {
|
|
188
|
+
readonly id: "cloudflare-workers";
|
|
189
|
+
readonly server: {
|
|
190
|
+
readonly WORKERS_CI: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
191
|
+
readonly WORKERS_CI_BUILD_UUID: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
192
|
+
readonly WORKERS_CI_COMMIT_SHA: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
193
|
+
readonly WORKERS_CI_BRANCH: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
type CloudflareWorkersEnv = InferPresetOutput<typeof cloudflareWorkers>;
|
|
197
|
+
/**
|
|
198
|
+
* Cloudflare Containers Runtime Environment Variables
|
|
199
|
+
* @see https://developers.cloudflare.com/containers/configuration/environment-variables/
|
|
200
|
+
*/
|
|
201
|
+
declare const cloudflareContainers: {
|
|
202
|
+
readonly id: "cloudflare-containers";
|
|
203
|
+
readonly server: {
|
|
204
|
+
readonly CLOUDFLARE_APPLICATION_ID: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
205
|
+
readonly CLOUDFLARE_COUNTRY_A2: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
206
|
+
readonly CLOUDFLARE_DEPLOYMENT_ID: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
+
readonly CLOUDFLARE_LOCATION: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
208
|
+
readonly CLOUDFLARE_REGION: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
209
|
+
readonly CLOUDFLARE_DURABLE_OBJECT_ID: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
type CloudflareContainersEnv = InferPresetOutput<typeof cloudflareContainers>;
|
|
169
213
|
/**
|
|
170
214
|
* Upstash redis Environment Variables
|
|
171
215
|
* @see https://upstash.com/docs/redis/howto/connectwithupstashredis
|
|
@@ -255,4 +299,4 @@ declare const wxt: {
|
|
|
255
299
|
};
|
|
256
300
|
type WxtEnv = InferPresetOutput<typeof wxt>;
|
|
257
301
|
//#endregion
|
|
258
|
-
export { CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };
|
|
302
|
+
export { CloudflareContainersEnv, CloudflarePagesEnv, CloudflareWorkersEnv, CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, cloudflareContainers, cloudflarePages, cloudflareWorkers, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };
|
package/dist/presets/valibot.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"valibot";const t={id:`vercel`,server:{VERCEL:e.optional(e.string()),CI:e.optional(e.string()),VERCEL_ENV:e.optional(e.picklist([`development`,`preview`,`production`]),`development`),VERCEL_URL:e.optional(e.string()),VERCEL_PROJECT_PRODUCTION_URL:e.optional(e.string()),VERCEL_BRANCH_URL:e.optional(e.string()),VERCEL_REGION:e.optional(e.string()),VERCEL_DEPLOYMENT_ID:e.optional(e.string()),VERCEL_SKEW_PROTECTION_ENABLED:e.optional(e.string()),VERCEL_AUTOMATION_BYPASS_SECRET:e.optional(e.string()),VERCEL_GIT_PROVIDER:e.optional(e.string()),VERCEL_GIT_REPO_SLUG:e.optional(e.string()),VERCEL_GIT_REPO_OWNER:e.optional(e.string()),VERCEL_GIT_REPO_ID:e.optional(e.string()),VERCEL_GIT_COMMIT_REF:e.optional(e.string()),VERCEL_GIT_COMMIT_SHA:e.optional(e.string()),VERCEL_GIT_COMMIT_MESSAGE:e.optional(e.string()),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:e.optional(e.string()),VERCEL_GIT_COMMIT_AUTHOR_NAME:e.optional(e.string()),VERCEL_GIT_PREVIOUS_SHA:e.optional(e.string()),VERCEL_GIT_PULL_REQUEST_ID:e.optional(e.string())}},n={id:`neon-vercel`,server:{DATABASE_URL:e.string(),DATABASE_URL_UNPOOLED:e.optional(e.string()),PGHOST:e.optional(e.string()),PGHOST_UNPOOLED:e.optional(e.string()),PGUSER:e.optional(e.string()),PGDATABASE:e.optional(e.string()),PGPASSWORD:e.optional(e.string()),POSTGRES_URL:e.optional(e.pipe(e.string(),e.url())),POSTGRES_URL_NON_POOLING:e.optional(e.pipe(e.string(),e.url())),POSTGRES_USER:e.optional(e.string()),POSTGRES_HOST:e.optional(e.string()),POSTGRES_PASSWORD:e.optional(e.string()),POSTGRES_DATABASE:e.optional(e.string()),POSTGRES_URL_NO_SSL:e.optional(e.pipe(e.string(),e.url())),POSTGRES_PRISMA_URL:e.optional(e.pipe(e.string(),e.url()))}},r={id:`uploadthing`,server:{UPLOADTHING_TOKEN:e.string()}},i={id:`render`,server:{IS_PULL_REQUEST:e.optional(e.string()),RENDER_DISCOVERY_SERVICE:e.optional(e.string()),RENDER_EXTERNAL_HOSTNAME:e.optional(e.string()),RENDER_EXTERNAL_URL:e.optional(e.pipe(e.string(),e.url())),RENDER_GIT_BRANCH:e.optional(e.string()),RENDER_GIT_COMMIT:e.optional(e.string()),RENDER_GIT_REPO_SLUG:e.optional(e.string()),RENDER_INSTANCE_ID:e.optional(e.string()),RENDER_SERVICE_ID:e.optional(e.string()),RENDER_SERVICE_NAME:e.optional(e.string()),RENDER_SERVICE_TYPE:e.optional(e.picklist([`web`,`pserv`,`cron`,`worker`,`static`])),RENDER:e.optional(e.string())}},a={id:`railway`,server:{RAILWAY_PUBLIC_DOMAIN:e.optional(e.string()),RAILWAY_PRIVATE_DOMAIN:e.optional(e.string()),RAILWAY_TCP_PROXY_DOMAIN:e.optional(e.string()),RAILWAY_TCP_PROXY_PORT:e.optional(e.string()),RAILWAY_TCP_APPLICATION_PORT:e.optional(e.string()),RAILWAY_PROJECT_NAME:e.optional(e.string()),RAILWAY_PROJECT_ID:e.optional(e.string()),RAILWAY_ENVIRONMENT_NAME:e.optional(e.string()),RAILWAY_ENVIRONMENT_ID:e.optional(e.string()),RAILWAY_SERVICE_NAME:e.optional(e.string()),RAILWAY_SERVICE_ID:e.optional(e.string()),RAILWAY_REPLICA_ID:e.optional(e.string()),RAILWAY_DEPLOYMENT_ID:e.optional(e.string()),RAILWAY_SNAPSHOT_ID:e.optional(e.string()),RAILWAY_VOLUME_NAME:e.optional(e.string()),RAILWAY_VOLUME_MOUNT_PATH:e.optional(e.string()),RAILWAY_RUN_UID:e.optional(e.string()),RAILWAY_GIT_COMMIT_SHA:e.optional(e.string()),RAILWAY_GIT_AUTHOR_EMAIL:e.optional(e.string()),RAILWAY_GIT_BRANCH:e.optional(e.string()),RAILWAY_GIT_REPO_NAME:e.optional(e.string()),RAILWAY_GIT_REPO_OWNER:e.optional(e.string()),RAILWAY_GIT_COMMIT_MESSAGE:e.optional(e.string())}},o={id:`fly`,server:{FLY_APP_NAME:e.optional(e.string()),FLY_MACHINE_ID:e.optional(e.string()),FLY_ALLOC_ID:e.optional(e.string()),FLY_REGION:e.optional(e.string()),FLY_PUBLIC_IP:e.optional(e.string()),FLY_IMAGE_REF:e.optional(e.string()),FLY_MACHINE_VERSION:e.optional(e.string()),FLY_PRIVATE_IP:e.optional(e.string()),FLY_PROCESS_GROUP:e.optional(e.string()),FLY_VM_MEMORY_MB:e.optional(e.string()),PRIMARY_REGION:e.optional(e.string())}},s={id:`netlify`,server:{NETLIFY:e.optional(e.string()),BUILD_ID:e.optional(e.string()),CONTEXT:e.optional(e.picklist([`production`,`deploy-preview`,`branch-deploy`,`dev`])),REPOSITORY_URL:e.optional(e.string()),BRANCH:e.optional(e.string()),URL:e.optional(e.string()),DEPLOY_URL:e.optional(e.string()),DEPLOY_PRIME_URL:e.optional(e.string()),DEPLOY_ID:e.optional(e.string()),SITE_NAME:e.optional(e.string()),SITE_ID:e.optional(e.string())}},c={id:`upstash-redis`,server:{UPSTASH_REDIS_REST_URL:e.pipe(e.string(),e.url()),UPSTASH_REDIS_REST_TOKEN:e.string()}},
|
|
1
|
+
import*as e from"valibot";const t={id:`vercel`,server:{VERCEL:e.optional(e.string()),CI:e.optional(e.string()),VERCEL_ENV:e.optional(e.picklist([`development`,`preview`,`production`]),`development`),VERCEL_URL:e.optional(e.string()),VERCEL_PROJECT_PRODUCTION_URL:e.optional(e.string()),VERCEL_BRANCH_URL:e.optional(e.string()),VERCEL_REGION:e.optional(e.string()),VERCEL_DEPLOYMENT_ID:e.optional(e.string()),VERCEL_SKEW_PROTECTION_ENABLED:e.optional(e.string()),VERCEL_AUTOMATION_BYPASS_SECRET:e.optional(e.string()),VERCEL_GIT_PROVIDER:e.optional(e.string()),VERCEL_GIT_REPO_SLUG:e.optional(e.string()),VERCEL_GIT_REPO_OWNER:e.optional(e.string()),VERCEL_GIT_REPO_ID:e.optional(e.string()),VERCEL_GIT_COMMIT_REF:e.optional(e.string()),VERCEL_GIT_COMMIT_SHA:e.optional(e.string()),VERCEL_GIT_COMMIT_MESSAGE:e.optional(e.string()),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:e.optional(e.string()),VERCEL_GIT_COMMIT_AUTHOR_NAME:e.optional(e.string()),VERCEL_GIT_PREVIOUS_SHA:e.optional(e.string()),VERCEL_GIT_PULL_REQUEST_ID:e.optional(e.string())}},n={id:`neon-vercel`,server:{DATABASE_URL:e.string(),DATABASE_URL_UNPOOLED:e.optional(e.string()),PGHOST:e.optional(e.string()),PGHOST_UNPOOLED:e.optional(e.string()),PGUSER:e.optional(e.string()),PGDATABASE:e.optional(e.string()),PGPASSWORD:e.optional(e.string()),POSTGRES_URL:e.optional(e.pipe(e.string(),e.url())),POSTGRES_URL_NON_POOLING:e.optional(e.pipe(e.string(),e.url())),POSTGRES_USER:e.optional(e.string()),POSTGRES_HOST:e.optional(e.string()),POSTGRES_PASSWORD:e.optional(e.string()),POSTGRES_DATABASE:e.optional(e.string()),POSTGRES_URL_NO_SSL:e.optional(e.pipe(e.string(),e.url())),POSTGRES_PRISMA_URL:e.optional(e.pipe(e.string(),e.url()))}},r={id:`uploadthing`,server:{UPLOADTHING_TOKEN:e.string()}},i={id:`render`,server:{IS_PULL_REQUEST:e.optional(e.string()),RENDER_DISCOVERY_SERVICE:e.optional(e.string()),RENDER_EXTERNAL_HOSTNAME:e.optional(e.string()),RENDER_EXTERNAL_URL:e.optional(e.pipe(e.string(),e.url())),RENDER_GIT_BRANCH:e.optional(e.string()),RENDER_GIT_COMMIT:e.optional(e.string()),RENDER_GIT_REPO_SLUG:e.optional(e.string()),RENDER_INSTANCE_ID:e.optional(e.string()),RENDER_SERVICE_ID:e.optional(e.string()),RENDER_SERVICE_NAME:e.optional(e.string()),RENDER_SERVICE_TYPE:e.optional(e.picklist([`web`,`pserv`,`cron`,`worker`,`static`])),RENDER:e.optional(e.string())}},a={id:`railway`,server:{RAILWAY_PUBLIC_DOMAIN:e.optional(e.string()),RAILWAY_PRIVATE_DOMAIN:e.optional(e.string()),RAILWAY_TCP_PROXY_DOMAIN:e.optional(e.string()),RAILWAY_TCP_PROXY_PORT:e.optional(e.string()),RAILWAY_TCP_APPLICATION_PORT:e.optional(e.string()),RAILWAY_PROJECT_NAME:e.optional(e.string()),RAILWAY_PROJECT_ID:e.optional(e.string()),RAILWAY_ENVIRONMENT_NAME:e.optional(e.string()),RAILWAY_ENVIRONMENT_ID:e.optional(e.string()),RAILWAY_SERVICE_NAME:e.optional(e.string()),RAILWAY_SERVICE_ID:e.optional(e.string()),RAILWAY_REPLICA_ID:e.optional(e.string()),RAILWAY_DEPLOYMENT_ID:e.optional(e.string()),RAILWAY_SNAPSHOT_ID:e.optional(e.string()),RAILWAY_VOLUME_NAME:e.optional(e.string()),RAILWAY_VOLUME_MOUNT_PATH:e.optional(e.string()),RAILWAY_RUN_UID:e.optional(e.string()),RAILWAY_GIT_COMMIT_SHA:e.optional(e.string()),RAILWAY_GIT_AUTHOR_EMAIL:e.optional(e.string()),RAILWAY_GIT_BRANCH:e.optional(e.string()),RAILWAY_GIT_REPO_NAME:e.optional(e.string()),RAILWAY_GIT_REPO_OWNER:e.optional(e.string()),RAILWAY_GIT_COMMIT_MESSAGE:e.optional(e.string())}},o={id:`fly`,server:{FLY_APP_NAME:e.optional(e.string()),FLY_MACHINE_ID:e.optional(e.string()),FLY_ALLOC_ID:e.optional(e.string()),FLY_REGION:e.optional(e.string()),FLY_PUBLIC_IP:e.optional(e.string()),FLY_IMAGE_REF:e.optional(e.string()),FLY_MACHINE_VERSION:e.optional(e.string()),FLY_PRIVATE_IP:e.optional(e.string()),FLY_PROCESS_GROUP:e.optional(e.string()),FLY_VM_MEMORY_MB:e.optional(e.string()),PRIMARY_REGION:e.optional(e.string())}},s={id:`netlify`,server:{NETLIFY:e.optional(e.string()),BUILD_ID:e.optional(e.string()),CONTEXT:e.optional(e.picklist([`production`,`deploy-preview`,`branch-deploy`,`dev`])),REPOSITORY_URL:e.optional(e.string()),BRANCH:e.optional(e.string()),URL:e.optional(e.string()),DEPLOY_URL:e.optional(e.string()),DEPLOY_PRIME_URL:e.optional(e.string()),DEPLOY_ID:e.optional(e.string()),SITE_NAME:e.optional(e.string()),SITE_ID:e.optional(e.string())}},c={id:`cloudflare-pages`,server:{CF_PAGES:e.optional(e.string()),CF_PAGES_COMMIT_SHA:e.optional(e.string()),CF_PAGES_BRANCH:e.optional(e.string()),CF_PAGES_URL:e.optional(e.pipe(e.string(),e.url()))}},l={id:`cloudflare-workers`,server:{WORKERS_CI:e.optional(e.string()),WORKERS_CI_BUILD_UUID:e.optional(e.string()),WORKERS_CI_COMMIT_SHA:e.optional(e.string()),WORKERS_CI_BRANCH:e.optional(e.string())}},u={id:`cloudflare-containers`,server:{CLOUDFLARE_APPLICATION_ID:e.optional(e.string()),CLOUDFLARE_COUNTRY_A2:e.optional(e.string()),CLOUDFLARE_DEPLOYMENT_ID:e.optional(e.string()),CLOUDFLARE_LOCATION:e.optional(e.string()),CLOUDFLARE_REGION:e.optional(e.string()),CLOUDFLARE_DURABLE_OBJECT_ID:e.optional(e.string())}},d={id:`upstash-redis`,server:{UPSTASH_REDIS_REST_URL:e.pipe(e.string(),e.url()),UPSTASH_REDIS_REST_TOKEN:e.string()}},f={id:`coolify`,server:{COOLIFY_FQDN:e.optional(e.string()),COOLIFY_URL:e.optional(e.string()),COOLIFY_BRANCH:e.optional(e.string()),COOLIFY_RESOURCE_UUID:e.optional(e.string()),COOLIFY_CONTAINER_NAME:e.optional(e.string()),SOURCE_COMMIT:e.optional(e.string()),PORT:e.optional(e.string()),HOST:e.optional(e.string())}},p={id:`supabase-vercel`,clientPrefix:`NEXT_PUBLIC_`,server:{POSTGRES_URL:e.pipe(e.string(),e.url()),POSTGRES_PRISMA_URL:e.optional(e.pipe(e.string(),e.url())),POSTGRES_URL_NON_POOLING:e.optional(e.pipe(e.string(),e.url())),POSTGRES_USER:e.optional(e.string()),POSTGRES_HOST:e.optional(e.string()),POSTGRES_PASSWORD:e.optional(e.string()),POSTGRES_DATABASE:e.optional(e.string()),SUPABASE_SERVICE_ROLE_KEY:e.optional(e.string()),SUPABASE_ANON_KEY:e.optional(e.string()),SUPABASE_URL:e.optional(e.pipe(e.string(),e.url())),SUPABASE_JWT_SECRET:e.optional(e.string())},client:{NEXT_PUBLIC_SUPABASE_ANON_KEY:e.optional(e.string()),NEXT_PUBLIC_SUPABASE_URL:e.optional(e.pipe(e.string(),e.url()))}},m={id:`vite`,shared:{BASE_URL:e.optional(e.string()),MODE:e.optional(e.string()),DEV:e.optional(e.boolean()),PROD:e.optional(e.boolean()),SSR:e.optional(e.boolean())}},h={id:`wxt`,server:{MANIFEST_VERSION:e.optional(e.pipe(e.union([e.literal(2),e.literal(3)]),e.transform(Number))),BROWSER:e.optional(e.picklist([`chrome`,`firefox`,`safari`,`edge`,`opera`])),CHROME:e.optional(e.boolean()),FIREFOX:e.optional(e.boolean()),SAFARI:e.optional(e.boolean()),EDGE:e.optional(e.boolean()),OPERA:e.optional(e.boolean())}};export{u as cloudflareContainers,c as cloudflarePages,l as cloudflareWorkers,f as coolify,o as fly,n as neonVercel,s as netlify,a as railway,i as render,p as supabaseVercel,r as uploadthing,d as upstashRedis,t as vercel,m as vite,h as wxt};
|
package/dist/presets/zod.d.mts
CHANGED
|
@@ -182,6 +182,50 @@ declare const netlify: {
|
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
184
|
type NetlifyEnv = InferPresetOutput<typeof netlify>;
|
|
185
|
+
/**
|
|
186
|
+
* Cloudflare Pages System Environment Variables
|
|
187
|
+
* @see https://developers.cloudflare.com/pages/configuration/build-configuration/#environment-variables
|
|
188
|
+
*/
|
|
189
|
+
declare const cloudflarePages: {
|
|
190
|
+
readonly id: "cloudflare-pages";
|
|
191
|
+
readonly server: {
|
|
192
|
+
readonly CF_PAGES: z.ZodOptional<z.ZodString>;
|
|
193
|
+
readonly CF_PAGES_COMMIT_SHA: z.ZodOptional<z.ZodString>;
|
|
194
|
+
readonly CF_PAGES_BRANCH: z.ZodOptional<z.ZodString>;
|
|
195
|
+
readonly CF_PAGES_URL: z.ZodOptional<z.ZodURL>;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
type CloudflarePagesEnv = InferPresetOutput<typeof cloudflarePages>;
|
|
199
|
+
/**
|
|
200
|
+
* Cloudflare Workers Builds System Environment Variables
|
|
201
|
+
* @see https://developers.cloudflare.com/workers/ci-cd/builds/configuration/#environment-variables
|
|
202
|
+
*/
|
|
203
|
+
declare const cloudflareWorkers: {
|
|
204
|
+
readonly id: "cloudflare-workers";
|
|
205
|
+
readonly server: {
|
|
206
|
+
readonly WORKERS_CI: z.ZodOptional<z.ZodString>;
|
|
207
|
+
readonly WORKERS_CI_BUILD_UUID: z.ZodOptional<z.ZodString>;
|
|
208
|
+
readonly WORKERS_CI_COMMIT_SHA: z.ZodOptional<z.ZodString>;
|
|
209
|
+
readonly WORKERS_CI_BRANCH: z.ZodOptional<z.ZodString>;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
type CloudflareWorkersEnv = InferPresetOutput<typeof cloudflareWorkers>;
|
|
213
|
+
/**
|
|
214
|
+
* Cloudflare Containers Runtime Environment Variables
|
|
215
|
+
* @see https://developers.cloudflare.com/containers/configuration/environment-variables/
|
|
216
|
+
*/
|
|
217
|
+
declare const cloudflareContainers: {
|
|
218
|
+
readonly id: "cloudflare-containers";
|
|
219
|
+
readonly server: {
|
|
220
|
+
readonly CLOUDFLARE_APPLICATION_ID: z.ZodOptional<z.ZodString>;
|
|
221
|
+
readonly CLOUDFLARE_COUNTRY_A2: z.ZodOptional<z.ZodString>;
|
|
222
|
+
readonly CLOUDFLARE_DEPLOYMENT_ID: z.ZodOptional<z.ZodString>;
|
|
223
|
+
readonly CLOUDFLARE_LOCATION: z.ZodOptional<z.ZodString>;
|
|
224
|
+
readonly CLOUDFLARE_REGION: z.ZodOptional<z.ZodString>;
|
|
225
|
+
readonly CLOUDFLARE_DURABLE_OBJECT_ID: z.ZodOptional<z.ZodString>;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
type CloudflareContainersEnv = InferPresetOutput<typeof cloudflareContainers>;
|
|
185
229
|
/**
|
|
186
230
|
* Upstash redis Environment Variables
|
|
187
231
|
* @see https://upstash.com/docs/redis/howto/connectwithupstashredis
|
|
@@ -277,4 +321,4 @@ declare const wxt: {
|
|
|
277
321
|
};
|
|
278
322
|
type WxtEnv = InferPresetOutput<typeof wxt>;
|
|
279
323
|
//#endregion
|
|
280
|
-
export { CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };
|
|
324
|
+
export { CloudflareContainersEnv, CloudflarePagesEnv, CloudflareWorkersEnv, CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, cloudflareContainers, cloudflarePages, cloudflareWorkers, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };
|
package/dist/presets/zod.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"zod";const t={id:`vercel`,server:{VERCEL:e.string().optional(),CI:e.string().optional(),VERCEL_ENV:e.enum([`development`,`preview`,`production`]).optional().default(`development`),VERCEL_TARGET_ENV:e.string().optional(),VERCEL_URL:e.string().optional(),VERCEL_PROJECT_PRODUCTION_URL:e.string().optional(),VERCEL_BRANCH_URL:e.string().optional(),VERCEL_REGION:e.string().optional(),VERCEL_DEPLOYMENT_ID:e.string().optional(),VERCEL_SKEW_PROTECTION_ENABLED:e.string().optional(),VERCEL_AUTOMATION_BYPASS_SECRET:e.string().optional(),VERCEL_GIT_PROVIDER:e.string().optional(),VERCEL_GIT_REPO_SLUG:e.string().optional(),VERCEL_GIT_REPO_OWNER:e.string().optional(),VERCEL_GIT_REPO_ID:e.string().optional(),VERCEL_GIT_COMMIT_REF:e.string().optional(),VERCEL_GIT_COMMIT_SHA:e.string().optional(),VERCEL_GIT_COMMIT_MESSAGE:e.string().optional(),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:e.string().optional(),VERCEL_GIT_COMMIT_AUTHOR_NAME:e.string().optional(),VERCEL_GIT_PREVIOUS_SHA:e.string().optional(),VERCEL_GIT_PULL_REQUEST_ID:e.string().optional()}},n={id:`neon-vercel`,server:{DATABASE_URL:e.string(),DATABASE_URL_UNPOOLED:e.string().optional(),PGHOST:e.string().optional(),PGHOST_UNPOOLED:e.string().optional(),PGUSER:e.string().optional(),PGDATABASE:e.string().optional(),PGPASSWORD:e.string().optional(),POSTGRES_URL:e.url().optional(),POSTGRES_URL_NON_POOLING:e.url().optional(),POSTGRES_USER:e.string().optional(),POSTGRES_HOST:e.string().optional(),POSTGRES_PASSWORD:e.string().optional(),POSTGRES_DATABASE:e.string().optional(),POSTGRES_URL_NO_SSL:e.url().optional(),POSTGRES_PRISMA_URL:e.url().optional()}},r={id:`uploadthing`,server:{UPLOADTHING_TOKEN:e.string()}},i={id:`render`,server:{IS_PULL_REQUEST:e.string().optional(),RENDER_DISCOVERY_SERVICE:e.string().optional(),RENDER_EXTERNAL_HOSTNAME:e.string().optional(),RENDER_EXTERNAL_URL:e.url().optional(),RENDER_GIT_BRANCH:e.string().optional(),RENDER_GIT_COMMIT:e.string().optional(),RENDER_GIT_REPO_SLUG:e.string().optional(),RENDER_INSTANCE_ID:e.string().optional(),RENDER_SERVICE_ID:e.string().optional(),RENDER_SERVICE_NAME:e.string().optional(),RENDER_SERVICE_TYPE:e.enum([`web`,`pserv`,`cron`,`worker`,`static`]).optional(),RENDER:e.string().optional()}},a={id:`railway`,server:{RAILWAY_PUBLIC_DOMAIN:e.string().optional(),RAILWAY_PRIVATE_DOMAIN:e.string().optional(),RAILWAY_TCP_PROXY_DOMAIN:e.string().optional(),RAILWAY_TCP_PROXY_PORT:e.string().optional(),RAILWAY_TCP_APPLICATION_PORT:e.string().optional(),RAILWAY_PROJECT_NAME:e.string().optional(),RAILWAY_PROJECT_ID:e.string().optional(),RAILWAY_ENVIRONMENT_NAME:e.string().optional(),RAILWAY_ENVIRONMENT_ID:e.string().optional(),RAILWAY_SERVICE_NAME:e.string().optional(),RAILWAY_SERVICE_ID:e.string().optional(),RAILWAY_REPLICA_ID:e.string().optional(),RAILWAY_DEPLOYMENT_ID:e.string().optional(),RAILWAY_SNAPSHOT_ID:e.string().optional(),RAILWAY_VOLUME_NAME:e.string().optional(),RAILWAY_VOLUME_MOUNT_PATH:e.string().optional(),RAILWAY_RUN_UID:e.string().optional(),RAILWAY_GIT_COMMIT_SHA:e.string().optional(),RAILWAY_GIT_AUTHOR_EMAIL:e.string().optional(),RAILWAY_GIT_BRANCH:e.string().optional(),RAILWAY_GIT_REPO_NAME:e.string().optional(),RAILWAY_GIT_REPO_OWNER:e.string().optional(),RAILWAY_GIT_COMMIT_MESSAGE:e.string().optional()}},o={id:`fly`,server:{FLY_APP_NAME:e.string().optional(),FLY_MACHINE_ID:e.string().optional(),FLY_ALLOC_ID:e.string().optional(),FLY_REGION:e.string().optional(),FLY_PUBLIC_IP:e.string().optional(),FLY_IMAGE_REF:e.string().optional(),FLY_MACHINE_VERSION:e.string().optional(),FLY_PRIVATE_IP:e.string().optional(),FLY_PROCESS_GROUP:e.string().optional(),FLY_VM_MEMORY_MB:e.string().optional(),PRIMARY_REGION:e.string().optional()}},s={id:`netlify`,server:{NETLIFY:e.string().optional(),BUILD_ID:e.string().optional(),CONTEXT:e.enum([`production`,`deploy-preview`,`branch-deploy`,`dev`]).optional(),REPOSITORY_URL:e.string().optional(),BRANCH:e.string().optional(),URL:e.string().optional(),DEPLOY_URL:e.string().optional(),DEPLOY_PRIME_URL:e.string().optional(),DEPLOY_ID:e.string().optional(),SITE_NAME:e.string().optional(),SITE_ID:e.string().optional()}},c={id:`upstash-redis`,server:{UPSTASH_REDIS_REST_URL:e.url(),UPSTASH_REDIS_REST_TOKEN:e.string()}},
|
|
1
|
+
import*as e from"zod";const t={id:`vercel`,server:{VERCEL:e.string().optional(),CI:e.string().optional(),VERCEL_ENV:e.enum([`development`,`preview`,`production`]).optional().default(`development`),VERCEL_TARGET_ENV:e.string().optional(),VERCEL_URL:e.string().optional(),VERCEL_PROJECT_PRODUCTION_URL:e.string().optional(),VERCEL_BRANCH_URL:e.string().optional(),VERCEL_REGION:e.string().optional(),VERCEL_DEPLOYMENT_ID:e.string().optional(),VERCEL_SKEW_PROTECTION_ENABLED:e.string().optional(),VERCEL_AUTOMATION_BYPASS_SECRET:e.string().optional(),VERCEL_GIT_PROVIDER:e.string().optional(),VERCEL_GIT_REPO_SLUG:e.string().optional(),VERCEL_GIT_REPO_OWNER:e.string().optional(),VERCEL_GIT_REPO_ID:e.string().optional(),VERCEL_GIT_COMMIT_REF:e.string().optional(),VERCEL_GIT_COMMIT_SHA:e.string().optional(),VERCEL_GIT_COMMIT_MESSAGE:e.string().optional(),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:e.string().optional(),VERCEL_GIT_COMMIT_AUTHOR_NAME:e.string().optional(),VERCEL_GIT_PREVIOUS_SHA:e.string().optional(),VERCEL_GIT_PULL_REQUEST_ID:e.string().optional()}},n={id:`neon-vercel`,server:{DATABASE_URL:e.string(),DATABASE_URL_UNPOOLED:e.string().optional(),PGHOST:e.string().optional(),PGHOST_UNPOOLED:e.string().optional(),PGUSER:e.string().optional(),PGDATABASE:e.string().optional(),PGPASSWORD:e.string().optional(),POSTGRES_URL:e.url().optional(),POSTGRES_URL_NON_POOLING:e.url().optional(),POSTGRES_USER:e.string().optional(),POSTGRES_HOST:e.string().optional(),POSTGRES_PASSWORD:e.string().optional(),POSTGRES_DATABASE:e.string().optional(),POSTGRES_URL_NO_SSL:e.url().optional(),POSTGRES_PRISMA_URL:e.url().optional()}},r={id:`uploadthing`,server:{UPLOADTHING_TOKEN:e.string()}},i={id:`render`,server:{IS_PULL_REQUEST:e.string().optional(),RENDER_DISCOVERY_SERVICE:e.string().optional(),RENDER_EXTERNAL_HOSTNAME:e.string().optional(),RENDER_EXTERNAL_URL:e.url().optional(),RENDER_GIT_BRANCH:e.string().optional(),RENDER_GIT_COMMIT:e.string().optional(),RENDER_GIT_REPO_SLUG:e.string().optional(),RENDER_INSTANCE_ID:e.string().optional(),RENDER_SERVICE_ID:e.string().optional(),RENDER_SERVICE_NAME:e.string().optional(),RENDER_SERVICE_TYPE:e.enum([`web`,`pserv`,`cron`,`worker`,`static`]).optional(),RENDER:e.string().optional()}},a={id:`railway`,server:{RAILWAY_PUBLIC_DOMAIN:e.string().optional(),RAILWAY_PRIVATE_DOMAIN:e.string().optional(),RAILWAY_TCP_PROXY_DOMAIN:e.string().optional(),RAILWAY_TCP_PROXY_PORT:e.string().optional(),RAILWAY_TCP_APPLICATION_PORT:e.string().optional(),RAILWAY_PROJECT_NAME:e.string().optional(),RAILWAY_PROJECT_ID:e.string().optional(),RAILWAY_ENVIRONMENT_NAME:e.string().optional(),RAILWAY_ENVIRONMENT_ID:e.string().optional(),RAILWAY_SERVICE_NAME:e.string().optional(),RAILWAY_SERVICE_ID:e.string().optional(),RAILWAY_REPLICA_ID:e.string().optional(),RAILWAY_DEPLOYMENT_ID:e.string().optional(),RAILWAY_SNAPSHOT_ID:e.string().optional(),RAILWAY_VOLUME_NAME:e.string().optional(),RAILWAY_VOLUME_MOUNT_PATH:e.string().optional(),RAILWAY_RUN_UID:e.string().optional(),RAILWAY_GIT_COMMIT_SHA:e.string().optional(),RAILWAY_GIT_AUTHOR_EMAIL:e.string().optional(),RAILWAY_GIT_BRANCH:e.string().optional(),RAILWAY_GIT_REPO_NAME:e.string().optional(),RAILWAY_GIT_REPO_OWNER:e.string().optional(),RAILWAY_GIT_COMMIT_MESSAGE:e.string().optional()}},o={id:`fly`,server:{FLY_APP_NAME:e.string().optional(),FLY_MACHINE_ID:e.string().optional(),FLY_ALLOC_ID:e.string().optional(),FLY_REGION:e.string().optional(),FLY_PUBLIC_IP:e.string().optional(),FLY_IMAGE_REF:e.string().optional(),FLY_MACHINE_VERSION:e.string().optional(),FLY_PRIVATE_IP:e.string().optional(),FLY_PROCESS_GROUP:e.string().optional(),FLY_VM_MEMORY_MB:e.string().optional(),PRIMARY_REGION:e.string().optional()}},s={id:`netlify`,server:{NETLIFY:e.string().optional(),BUILD_ID:e.string().optional(),CONTEXT:e.enum([`production`,`deploy-preview`,`branch-deploy`,`dev`]).optional(),REPOSITORY_URL:e.string().optional(),BRANCH:e.string().optional(),URL:e.string().optional(),DEPLOY_URL:e.string().optional(),DEPLOY_PRIME_URL:e.string().optional(),DEPLOY_ID:e.string().optional(),SITE_NAME:e.string().optional(),SITE_ID:e.string().optional()}},c={id:`cloudflare-pages`,server:{CF_PAGES:e.string().optional(),CF_PAGES_COMMIT_SHA:e.string().optional(),CF_PAGES_BRANCH:e.string().optional(),CF_PAGES_URL:e.url().optional()}},l={id:`cloudflare-workers`,server:{WORKERS_CI:e.string().optional(),WORKERS_CI_BUILD_UUID:e.string().optional(),WORKERS_CI_COMMIT_SHA:e.string().optional(),WORKERS_CI_BRANCH:e.string().optional()}},u={id:`cloudflare-containers`,server:{CLOUDFLARE_APPLICATION_ID:e.string().optional(),CLOUDFLARE_COUNTRY_A2:e.string().optional(),CLOUDFLARE_DEPLOYMENT_ID:e.string().optional(),CLOUDFLARE_LOCATION:e.string().optional(),CLOUDFLARE_REGION:e.string().optional(),CLOUDFLARE_DURABLE_OBJECT_ID:e.string().optional()}},d={id:`upstash-redis`,server:{UPSTASH_REDIS_REST_URL:e.url(),UPSTASH_REDIS_REST_TOKEN:e.string()}},f={id:`coolify`,server:{COOLIFY_FQDN:e.string().optional(),COOLIFY_URL:e.string().optional(),COOLIFY_BRANCH:e.string().optional(),COOLIFY_RESOURCE_UUID:e.string().optional(),COOLIFY_CONTAINER_NAME:e.string().optional(),SOURCE_COMMIT:e.string().optional(),PORT:e.string().optional(),HOST:e.string().optional()}},p={id:`supabase-vercel`,clientPrefix:`NEXT_PUBLIC_`,server:{POSTGRES_URL:e.url(),POSTGRES_PRISMA_URL:e.url().optional(),POSTGRES_URL_NON_POOLING:e.url().optional(),POSTGRES_USER:e.string().optional(),POSTGRES_HOST:e.string().optional(),POSTGRES_PASSWORD:e.string().optional(),POSTGRES_DATABASE:e.string().optional(),SUPABASE_SERVICE_ROLE_KEY:e.string().optional(),SUPABASE_ANON_KEY:e.string().optional(),SUPABASE_URL:e.url().optional(),SUPABASE_JWT_SECRET:e.string().optional()},client:{NEXT_PUBLIC_SUPABASE_ANON_KEY:e.string().optional(),NEXT_PUBLIC_SUPABASE_URL:e.url().optional()}},m={id:`vite`,shared:{BASE_URL:e.string().optional(),MODE:e.string().optional(),DEV:e.boolean().optional(),PROD:e.boolean().optional(),SSR:e.boolean().optional()}},h={id:`wxt`,server:{MANIFEST_VERSION:e.preprocess(Number,e.union([e.literal(2),e.literal(3)])).optional(),BROWSER:e.enum([`chrome`,`firefox`,`safari`,`edge`,`opera`]).optional(),CHROME:e.boolean().optional(),FIREFOX:e.boolean().optional(),SAFARI:e.boolean().optional(),EDGE:e.boolean().optional(),OPERA:e.boolean().optional()}};export{u as cloudflareContainers,c as cloudflarePages,l as cloudflareWorkers,f as coolify,o as fly,n as neonVercel,s as netlify,a as railway,i as render,p as supabaseVercel,r as uploadthing,d as upstashRedis,t as vercel,m as vite,h as wxt};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "envin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Type-safe env validation with live previews",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"turbostarter",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/bun": "^1.3.5",
|
|
58
|
-
"arktype": "
|
|
58
|
+
"arktype": "catalog:",
|
|
59
59
|
"expect-type": "^1.3.0",
|
|
60
|
-
"tsdown": "
|
|
61
|
-
"typescript": "
|
|
62
|
-
"valibot": "
|
|
63
|
-
"vitest": "
|
|
64
|
-
"zod": "
|
|
60
|
+
"tsdown": "catalog:",
|
|
61
|
+
"typescript": "catalog:",
|
|
62
|
+
"valibot": "catalog:",
|
|
63
|
+
"vitest": "4.1.2",
|
|
64
|
+
"zod": "catalog:"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"arktype": "^2.1.0",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|