@decaf-ts/db-decorators
Version:
Agnostic database decorators and repository
28 lines • 968 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultRepositoryFlags = void 0;
/**
* @description Default configuration flags for repository operations.
* @summary Provides default values for repository operation flags, excluding the timestamp property.
* These flags control behavior such as context handling, validation, error handling, and more.
* @const DefaultRepositoryFlags
* @memberOf module:db-decorators
*/
exports.DefaultRepositoryFlags = {
parentContext: undefined,
childContexts: [],
ignoredValidationProperties: [],
callArgs: [],
writeOperation: false,
affectedTables: [],
operation: undefined,
breakOnHandlerError: true,
rebuildWithTransient: true,
ignoreValidation: false,
ignoreHandlers: false,
ignoreDevSafeGuards: false,
mergeForUpdate: true,
applyUpdateValidation: true,
allowGenerationOverride: false,
};
//# sourceMappingURL=constants.js.map