@godspeedsystems/prisma-deterministic-search-field-encryption
Version:
Transparent and customizable field-level encryption at rest for Prisma based on prisma-field-encryption package
22 lines (21 loc) • 1.1 kB
TypeScript
import type { DMMFField, DMMFModel } from './types';
export declare const errors: {
noEncryptionKey: string;
invalidConfig: string;
invalidKeysConfiguration: string;
invalidFunctionsConfiguration: string;
unsupportedFieldType: (model: DMMFModel, field: DMMFField) => string;
fieldEncryptionError: (model: string, field: string, path: string, error: any) => string;
encryptionErrorReport: (operation: string, errors: string[]) => string;
fieldDecryptionError: (model: string, field: string, path: string, error: any) => string;
decryptionErrorReport: (operation: string, errors: string[]) => string;
nonUniqueCursor: (model: string, field: string) => string;
unsupportedCursorType: (model: string, field: string, type: string) => string;
encryptedCursor: (model: string, field: string) => string;
noInteractiveTransactions: string;
};
export declare const warnings: {
strictAndReadonlyAnnotation: (model: string, field: string) => string;
noCursorFound: (model: string) => string;
whereClause: (operation: string, path: string) => string;
};