Home / File/ constants.ts — drizzle-orm Source File

constants.ts — drizzle-orm Source File

Architecture documentation for constants.ts, a typescript file in the drizzle-orm codebase. 0 imports, 1 dependents.

Entity Profile

Dependency Diagram

graph LR
  3498a09f_4cfe_0692_d88a_298489c84d0f["constants.ts"]
  04df2f9f_a1ec_55a9_5392_86b92a0e6555["column.ts"]
  04df2f9f_a1ec_55a9_5392_86b92a0e6555 --> 3498a09f_4cfe_0692_d88a_298489c84d0f
  style 3498a09f_4cfe_0692_d88a_298489c84d0f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

export const CONSTANTS = {
	INT8_MIN: -128,
	INT8_MAX: 127,
	INT8_UNSIGNED_MAX: 255,
	INT16_MIN: -32768,
	INT16_MAX: 32767,
	INT16_UNSIGNED_MAX: 65535,
	INT24_MIN: -8388608,
	INT24_MAX: 8388607,
	INT24_UNSIGNED_MAX: 16777215,
	INT32_MIN: -2147483648,
	INT32_MAX: 2147483647,
	INT32_UNSIGNED_MAX: 4294967295,
	INT48_MIN: -140737488355328,
	INT48_MAX: 140737488355327,
	INT48_UNSIGNED_MAX: 281474976710655,
	INT64_MIN: -9223372036854775808n,
	INT64_MAX: 9223372036854775807n,
	INT64_UNSIGNED_MAX: 18446744073709551615n,
};

Frequently Asked Questions

What does constants.ts do?
constants.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the ValidationAdapters domain.
What files import constants.ts?
constants.ts is imported by 1 file(s): column.ts.
Where is constants.ts in the architecture?
constants.ts is located at drizzle-valibot/src/constants.ts (domain: ValidationAdapters, directory: drizzle-valibot/src).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free