@decaf-ts/db-decorators
Version:
Agnostic database decorators and repository
39 lines (38 loc) • 853 B
TypeScript
/**
* @summary Holds the Model reflection keys
* @const DBKeys
*
* @memberOf module:db-decorators.Model
*/
export declare const DBKeys: {
REFLECT: string;
REPOSITORY: string;
CLASS: string;
ID: string;
INDEX: string;
UNIQUE: string;
SERIALIZE: string;
READONLY: string;
TIMESTAMP: string;
TRANSIENT: string;
HASH: string;
COMPOSED: string;
VERSION: string;
ORIGINAL: string;
};
/**
* @summary The default separator when concatenating indexes
*
* @const DefaultIndexSeparator
*
* @category Managers
* @subcategory Constants
*/
export declare const DefaultSeparator = "_";
/**
* @summary Holds the default timestamp date format
* @constant DEFAULT_TIMESTAMP_FORMAT
*
* @memberOf module:db-decorators.Model
*/
export declare const DEFAULT_TIMESTAMP_FORMAT = "dd/MM/yyyy HH:mm:ss:S";