CipherStashDocs
IntegrationsPrisma ORMAPI reference

codec-types

codec-types is a module in @cipherstash/stack-prisma. TypeScript API reference with its signature, parameters, and usage.

@cipherstash/stack-prisma


codec-types

Type Aliases

CodecTypes

type CodecTypes = {
  cipherstash/eql-v3/eql_v3_integer@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_integer_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_integer_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_integer_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_smallint@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_smallint_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_smallint_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_smallint_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_bigint@1: V3Codec<bigint, EncryptedBigInt, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_bigint_eq@1: V3Codec<bigint, EncryptedBigInt, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_bigint_ord_ore@1: V3Codec<bigint, EncryptedBigInt, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_bigint_ord@1: V3Codec<bigint, EncryptedBigInt, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_date@1: V3Codec<Date, EncryptedDate, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_date_eq@1: V3Codec<Date, EncryptedDate, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_date_ord_ore@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_date_ord@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_timestamp@1: V3Codec<Date, EncryptedDate, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_timestamp_eq@1: V3Codec<Date, EncryptedDate, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_timestamp_ord_ore@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_timestamp_ord@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_numeric@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_numeric_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_numeric_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_numeric_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_text@1: V3Codec<string, EncryptedString, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_text_eq@1: V3Codec<string, EncryptedString, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_text_match@1: V3Codec<string, EncryptedString, V3TraitsMatch>;
  cipherstash/eql-v3/eql_v3_text_ord_ore@1: V3Codec<string, EncryptedString, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_text_ord@1: V3Codec<string, EncryptedString, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_text_search@1: V3Codec<string, EncryptedString, V3TraitsSearch>;
  cipherstash/eql-v3/eql_v3_boolean@1: V3Codec<boolean, EncryptedBoolean, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_real@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_real_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_real_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_real_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_double@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;
  cipherstash/eql-v3/eql_v3_double_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;
  cipherstash/eql-v3/eql_v3_double_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_double_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;
  cipherstash/eql-v3/eql_v3_json_search@1: {
     input: unknown;
     output: EncryptedJson;
     traits: V3TraitsJson;
  };
};

Defined in: ../types/codec-types.ts:94

Codec-types subpath entry for the cipherstash extension. Re-exports the hand-written CodecTypes table from ../types/codec-types so the contract emitter can pull it via import type { CodecTypes as CipherstashTypes } from '@prisma-next/extension-cipherstash/codec-types'.

Mirrors packages/3-extensions/pgvector/src/exports/codec-types.ts.

Properties

cipherstash/eql-v3/eql_v3_integer@1
readonly cipherstash/eql-v3/eql_v3_integer@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;

Defined in: ../types/codec-types.ts:103

cipherstash/eql-v3/eql_v3_integer_eq@1
readonly cipherstash/eql-v3/eql_v3_integer_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;

Defined in: ../types/codec-types.ts:108

cipherstash/eql-v3/eql_v3_integer_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_integer_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:113

cipherstash/eql-v3/eql_v3_integer_ord@1
readonly cipherstash/eql-v3/eql_v3_integer_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:118

cipherstash/eql-v3/eql_v3_smallint@1
readonly cipherstash/eql-v3/eql_v3_smallint@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;

Defined in: ../types/codec-types.ts:123

cipherstash/eql-v3/eql_v3_smallint_eq@1
readonly cipherstash/eql-v3/eql_v3_smallint_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;

Defined in: ../types/codec-types.ts:128

cipherstash/eql-v3/eql_v3_smallint_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_smallint_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:133

cipherstash/eql-v3/eql_v3_smallint_ord@1
readonly cipherstash/eql-v3/eql_v3_smallint_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:138

cipherstash/eql-v3/eql_v3_bigint@1
readonly cipherstash/eql-v3/eql_v3_bigint@1: V3Codec<bigint, EncryptedBigInt, V3TraitsNone>;

Defined in: ../types/codec-types.ts:143

cipherstash/eql-v3/eql_v3_bigint_eq@1
readonly cipherstash/eql-v3/eql_v3_bigint_eq@1: V3Codec<bigint, EncryptedBigInt, V3TraitsEq>;

Defined in: ../types/codec-types.ts:148

cipherstash/eql-v3/eql_v3_bigint_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_bigint_ord_ore@1: V3Codec<bigint, EncryptedBigInt, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:153

cipherstash/eql-v3/eql_v3_bigint_ord@1
readonly cipherstash/eql-v3/eql_v3_bigint_ord@1: V3Codec<bigint, EncryptedBigInt, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:158

cipherstash/eql-v3/eql_v3_date@1
readonly cipherstash/eql-v3/eql_v3_date@1: V3Codec<Date, EncryptedDate, V3TraitsNone>;

Defined in: ../types/codec-types.ts:163

cipherstash/eql-v3/eql_v3_date_eq@1
readonly cipherstash/eql-v3/eql_v3_date_eq@1: V3Codec<Date, EncryptedDate, V3TraitsEq>;

Defined in: ../types/codec-types.ts:168

cipherstash/eql-v3/eql_v3_date_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_date_ord_ore@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:173

cipherstash/eql-v3/eql_v3_date_ord@1
readonly cipherstash/eql-v3/eql_v3_date_ord@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:178

cipherstash/eql-v3/eql_v3_timestamp@1
readonly cipherstash/eql-v3/eql_v3_timestamp@1: V3Codec<Date, EncryptedDate, V3TraitsNone>;

Defined in: ../types/codec-types.ts:183

cipherstash/eql-v3/eql_v3_timestamp_eq@1
readonly cipherstash/eql-v3/eql_v3_timestamp_eq@1: V3Codec<Date, EncryptedDate, V3TraitsEq>;

Defined in: ../types/codec-types.ts:188

cipherstash/eql-v3/eql_v3_timestamp_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_timestamp_ord_ore@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:193

cipherstash/eql-v3/eql_v3_timestamp_ord@1
readonly cipherstash/eql-v3/eql_v3_timestamp_ord@1: V3Codec<Date, EncryptedDate, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:198

cipherstash/eql-v3/eql_v3_numeric@1
readonly cipherstash/eql-v3/eql_v3_numeric@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;

Defined in: ../types/codec-types.ts:203

cipherstash/eql-v3/eql_v3_numeric_eq@1
readonly cipherstash/eql-v3/eql_v3_numeric_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;

Defined in: ../types/codec-types.ts:208

cipherstash/eql-v3/eql_v3_numeric_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_numeric_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:213

cipherstash/eql-v3/eql_v3_numeric_ord@1
readonly cipherstash/eql-v3/eql_v3_numeric_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:218

cipherstash/eql-v3/eql_v3_text@1
readonly cipherstash/eql-v3/eql_v3_text@1: V3Codec<string, EncryptedString, V3TraitsNone>;

Defined in: ../types/codec-types.ts:223

cipherstash/eql-v3/eql_v3_text_eq@1
readonly cipherstash/eql-v3/eql_v3_text_eq@1: V3Codec<string, EncryptedString, V3TraitsEq>;

Defined in: ../types/codec-types.ts:228

cipherstash/eql-v3/eql_v3_text_match@1
readonly cipherstash/eql-v3/eql_v3_text_match@1: V3Codec<string, EncryptedString, V3TraitsMatch>;

Defined in: ../types/codec-types.ts:233

cipherstash/eql-v3/eql_v3_text_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_text_ord_ore@1: V3Codec<string, EncryptedString, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:238

cipherstash/eql-v3/eql_v3_text_ord@1
readonly cipherstash/eql-v3/eql_v3_text_ord@1: V3Codec<string, EncryptedString, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:243

cipherstash/eql-v3/eql_v3_text_search@1
readonly cipherstash/eql-v3/eql_v3_text_search@1: V3Codec<string, EncryptedString, V3TraitsSearch>;

Defined in: ../types/codec-types.ts:248

cipherstash/eql-v3/eql_v3_boolean@1
readonly cipherstash/eql-v3/eql_v3_boolean@1: V3Codec<boolean, EncryptedBoolean, V3TraitsNone>;

Defined in: ../types/codec-types.ts:253

cipherstash/eql-v3/eql_v3_real@1
readonly cipherstash/eql-v3/eql_v3_real@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;

Defined in: ../types/codec-types.ts:258

cipherstash/eql-v3/eql_v3_real_eq@1
readonly cipherstash/eql-v3/eql_v3_real_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;

Defined in: ../types/codec-types.ts:263

cipherstash/eql-v3/eql_v3_real_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_real_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:268

cipherstash/eql-v3/eql_v3_real_ord@1
readonly cipherstash/eql-v3/eql_v3_real_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:273

cipherstash/eql-v3/eql_v3_double@1
readonly cipherstash/eql-v3/eql_v3_double@1: V3Codec<number, EncryptedNumber, V3TraitsNone>;

Defined in: ../types/codec-types.ts:278

cipherstash/eql-v3/eql_v3_double_eq@1
readonly cipherstash/eql-v3/eql_v3_double_eq@1: V3Codec<number, EncryptedNumber, V3TraitsEq>;

Defined in: ../types/codec-types.ts:283

cipherstash/eql-v3/eql_v3_double_ord_ore@1
readonly cipherstash/eql-v3/eql_v3_double_ord_ore@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:288

cipherstash/eql-v3/eql_v3_double_ord@1
readonly cipherstash/eql-v3/eql_v3_double_ord@1: V3Codec<number, EncryptedNumber, V3TraitsOrd>;

Defined in: ../types/codec-types.ts:293

cipherstash/eql-v3/eql_v3_json_search@1
readonly cipherstash/eql-v3/eql_v3_json_search@1: {
  input: unknown;
  output: EncryptedJson;
  traits: V3TraitsJson;
};

Defined in: ../types/codec-types.ts:302

input
readonly input: unknown;
output
readonly output: EncryptedJson;
traits
readonly traits: V3TraitsJson;

On this page

codec-typesType AliasesCodecTypesPropertiescipherstash/eql-v3/eql_v3_integer@1cipherstash/eql-v3/eql_v3_integer_eq@1cipherstash/eql-v3/eql_v3_integer_ord_ore@1cipherstash/eql-v3/eql_v3_integer_ord@1cipherstash/eql-v3/eql_v3_smallint@1cipherstash/eql-v3/eql_v3_smallint_eq@1cipherstash/eql-v3/eql_v3_smallint_ord_ore@1cipherstash/eql-v3/eql_v3_smallint_ord@1cipherstash/eql-v3/eql_v3_bigint@1cipherstash/eql-v3/eql_v3_bigint_eq@1cipherstash/eql-v3/eql_v3_bigint_ord_ore@1cipherstash/eql-v3/eql_v3_bigint_ord@1cipherstash/eql-v3/eql_v3_date@1cipherstash/eql-v3/eql_v3_date_eq@1cipherstash/eql-v3/eql_v3_date_ord_ore@1cipherstash/eql-v3/eql_v3_date_ord@1cipherstash/eql-v3/eql_v3_timestamp@1cipherstash/eql-v3/eql_v3_timestamp_eq@1cipherstash/eql-v3/eql_v3_timestamp_ord_ore@1cipherstash/eql-v3/eql_v3_timestamp_ord@1cipherstash/eql-v3/eql_v3_numeric@1cipherstash/eql-v3/eql_v3_numeric_eq@1cipherstash/eql-v3/eql_v3_numeric_ord_ore@1cipherstash/eql-v3/eql_v3_numeric_ord@1cipherstash/eql-v3/eql_v3_text@1cipherstash/eql-v3/eql_v3_text_eq@1cipherstash/eql-v3/eql_v3_text_match@1cipherstash/eql-v3/eql_v3_text_ord_ore@1cipherstash/eql-v3/eql_v3_text_ord@1cipherstash/eql-v3/eql_v3_text_search@1cipherstash/eql-v3/eql_v3_boolean@1cipherstash/eql-v3/eql_v3_real@1cipherstash/eql-v3/eql_v3_real_eq@1cipherstash/eql-v3/eql_v3_real_ord_ore@1cipherstash/eql-v3/eql_v3_real_ord@1cipherstash/eql-v3/eql_v3_double@1cipherstash/eql-v3/eql_v3_double_eq@1cipherstash/eql-v3/eql_v3_double_ord_ore@1cipherstash/eql-v3/eql_v3_double_ord@1cipherstash/eql-v3/eql_v3_json_search@1inputoutputtraits